AppKit Changes for Swift
AppKit
Removed NSAlertStyle.CriticalAlertStyle
Removed NSAlertStyle.WarningAlertStyle
Removed NSBezelStyle.circularBezelStyle
Removed NSBezelStyle.inlineBezelStyle
Removed NSBezelStyle.recessedBezelStyle
Removed NSBezelStyle.roundedBezelStyle
Removed NSBezelStyle.roundRectBezelStyle
Removed NSButtonType.acceleratorButton
Removed NSButtonType.onOffButton
Removed NSButtonType.pushOnPushOffButton
Removed NSButtonType.radioButton
Removed NSButtonType.switchButton
Removed NSButtonType.toggleButton
Removed NSCellHitResult.None
Removed NSCellStyleMask.NoCellMask
Removed NSCocoaError.isServiceError
Removed NSCocoaError.isSharingServiceError
Removed NSCocoaError.isTextReadWriteError
Removed NSCocoaError.ServiceApplicationLaunchFailedError
Removed NSCocoaError.ServiceApplicationNotFoundError
Removed NSCocoaError.ServiceInvalidPasteboardDataError
Removed NSCocoaError.ServiceMalformedServiceDictionaryError
Removed NSCocoaError.ServiceMiscellaneousError
Removed NSCocoaError.ServiceRequestTimedOutError
Removed NSCocoaError.SharingServiceNotConfiguredError
Removed NSCocoaError.TextReadInapplicableDocumentTypeError
Removed NSCocoaError.TextWriteInapplicableDocumentTypeError
Removed NSColor.setIgnoresAlpha(_: Bool) [class]
Removed NSComboBox.setDelegate(_: NSComboBoxDelegate?)
Removed NSControlSize.MiniControlSize
Removed NSControlSize.RegularControlSize
Removed NSControlSize.SmallControlSize
Removed NSDragOperation.None
Removed NSEventButtonMask.PenTipMask
Removed NSEventMask.AnyEventMask
Removed NSEventMask.AppKitDefinedMask
Removed NSEventMask.CursorUpdateMask
Removed NSEventMask.FlagsChangedMask
Removed NSEventMask.KeyDownMask
Removed NSEventMask.KeyUpMask
Removed NSEventMask.LeftMouseDownMask
Removed NSEventMask.LeftMouseDraggedMask
Removed NSEventMask.LeftMouseUpMask
Removed NSEventMask.MouseEnteredMask
Removed NSEventMask.MouseExitedMask
Removed NSEventMask.MouseMovedMask
Removed NSEventMask.OtherMouseDownMask
Removed NSEventMask.OtherMouseUpMask
Removed NSEventMask.PeriodicMask
Removed NSEventMask.RightMouseDownMask
Removed NSEventMask.RightMouseUpMask
Removed NSEventMask.ScrollWheelMask
Removed NSEventMask.SystemDefinedMask
Removed NSEventMask.TabletPointMask
Removed NSEventMask.TabletProximityMask
Removed NSEventModifierFlags.HelpKeyMask
Removed NSEventPhase.None
Removed NSEventSubtype.NSAWTEventType
Removed NSImage.init(imageLiteral: String)
Removed NSLayoutAttribute.Baseline
Removed NSOutlineView.setDataSource(_: NSOutlineViewDataSource?)
Removed NSOutlineView.setDelegate(_: NSOutlineViewDelegate?)
Removed NSRemoteNotificationType.none
Removed NSSliderType.CircularSlider
Removed NSSliderType.LinearSlider
Removed NSTableView.setDataSource(_: NSTableViewDataSource?)
Removed NSTableView.setDelegate(_: NSTableViewDelegate?)
Removed NSTickMarkPosition.Left
Removed NSTickMarkPosition.Right
Removed NSTokenField.setDelegate(_: NSTokenFieldDelegate?)
Removed NSFPCurrentField
Removed NSFPPreviewButton
Removed NSFPPreviewField
Removed NSFPRevertButton
Removed NSFPSetButton
Removed NSFPSizeField
Removed NSFPSizeTitle
Removed NSGradientDrawingOptions
Removed NSViewNoInstrinsicMetric
Added IndexPath.item
Added IndexPath.section
Added NSAlertStyle.critical
Added NSAlertStyle.warning
Added NSApplicationDelegate.application(_: NSApplication, userDidAcceptCloudKitShareWith: CKShareMetadata)
Added NSBezelStyle.circular
Added NSBezelStyle.disclosure
Added NSBezelStyle.helpButton
Added NSBezelStyle.inline
Added NSBezelStyle.recessed
Added NSBezelStyle.rounded
Added NSBezelStyle.roundRect
Added NSBezelStyle.smallSquare
Added NSButton.imageHugsTitle
Added NSButton.imageScaling
Added NSButtonType.accelerator
Added NSButtonType.onOff
Added NSButtonType.radio
Added NSButtonType.switch
Added NSButtonType.toggle
Added NSCell.init()
Added NSCloudSharingValidation
Added NSColor.black
Added NSColor.blue
Added NSColor.brown
Added NSColor.clear
Added NSColor.controlColor
Added NSColor.controlTextColor
Added NSColor.cyan
Added NSColor.darkGray
Added NSColor.gray
Added NSColor.green
Added NSColor.gridColor
Added NSColor.headerColor
Added NSColor.headerTextColor
Added NSColor.highlightColor
Added NSColor.ignoresAlpha
Added NSColor.knobColor
Added NSColor.labelColor
Added NSColor.lightGray
Added NSColor.magenta
Added NSColor.orange
Added NSColor.purple
Added NSColor.red
Added NSColor.scrollBarColor
Added NSColor.shadowColor
Added NSColor.textColor
Added NSColor.white
Added NSColor.windowFrameColor
Added NSColor.yellow
Added NSColorPanelMode.CMYK
Added NSColorPanelMode.crayon
Added NSColorPanelMode.gray
Added NSColorPanelMode.HSB
Added NSColorPanelMode.none
Added NSColorPanelMode.RGB
Added NSColorPanelMode.wheel
Added NSColorSpace.deviceCMYK
Added NSColorSpace.deviceGray
Added NSColorSpace.deviceRGB
Added NSColorSpace.displayP3
Added NSColorSpace.genericCMYK
Added NSColorSpace.genericGray
Added NSColorSpace.genericRGB
Added NSColorSpace.sRGB
Added NSColorSpaceModel.CMYK
Added NSColorSpaceModel.gray
Added NSColorSpaceModel.LAB
Added NSColorSpaceModel.RGB
Added NSComboBox.delegate
Added NSControlSize.mini
Added NSControlSize.regular
Added NSControlSize.small
Added NSDisplayGamut [enum]
Added NSDisplayGamut.p3
Added NSDisplayGamut.sRGB
Added NSEventButtonMask.penTip
Added NSEventMask.any
Added NSEventMask.cursorUpdate
Added NSEventMask.flagsChanged
Added NSEventMask.keyDown
Added NSEventMask.keyUp
Added NSEventMask.leftMouseUp
Added NSEventMask.mouseEntered
Added NSEventMask.mouseExited
Added NSEventMask.mouseMoved
Added NSEventMask.otherMouseUp
Added NSEventMask.periodic
Added NSEventMask.rightMouseUp
Added NSEventMask.scrollWheel
Added NSEventMask.tabletPoint
Added NSEventSubtype.powerOff
Added NSEventSubtype.touch
Added NSFilePromiseProvider
Added NSFilePromiseReceiver
Added NSGridCell
Added NSGridCell.column
Added NSGridCell.contentView
Added NSGridCell.row
Added NSGridCell.rowAlignment
Added NSGridCell.xPlacement
Added NSGridCell.yPlacement
Added NSGridCellPlacement.fill
Added NSGridCellPlacement.none
Added NSGridCellPlacement.top
Added NSGridColumn
Added NSGridColumn.gridView
Added NSGridColumn.isHidden
Added NSGridColumn.width
Added NSGridColumn.xPlacement
Added NSGridRow
Added NSGridRow.bottomPadding
Added NSGridRow.gridView
Added NSGridRow.height
Added NSGridRow.isHidden
Added NSGridRow.numberOfCells
Added NSGridRow.rowAlignment
Added NSGridRow.topPadding
Added NSGridRow.yPlacement
Added NSGridRowAlignment.none
Added NSGridView
Added NSGridView.columnSpacing
Added NSGridView.numberOfRows
Added NSGridView.rowAlignment
Added NSGridView.rowSpacing
Added NSGridView.xPlacement
Added NSGridView.yPlacement
Added NSLayoutGuide.constraintsAffectingLayout(for: NSLayoutConstraintOrientation) -> [NSLayoutConstraint]
Added NSOutlineView.dataSource
Added NSOutlineView.delegate
Added NSPointingDeviceType.pen
Added NSPrintInfo.init()
Added NSSlider.init(value: Double, minValue: Double, maxValue: Double, target: Any?, action: Selector?)
Added NSSliderType.circular
Added NSSliderType.linear
Added NSSpellChecker.isAutomaticCapitalizationEnabled() -> Bool [class]
Added NSSpellChecker.isAutomaticPeriodSubstitutionEnabled() -> Bool [class]
Added NSStatusItem.behavior
Added NSStatusItem.isVisible
Added NSTableView.dataSource
Added NSTableView.delegate
Added NSTabPosition [enum]
Added NSTabPosition.bottom
Added NSTabPosition.left
Added NSTabPosition.none
Added NSTabPosition.right
Added NSTabPosition.top
Added NSTabView.tabPosition
Added NSTabViewBorderType.line
Added NSTabViewBorderType.none
Added NSTokenField.delegate
Added NSWindow.tabbedWindows
Added NSWindow.tabbingMode
Added NSWindowStyleMask.titled
Added URLResourceValues.thumbnailDictionary
Added NS_SHARING_SERVICE_DELEGATE_TRANSITION_IMAGE_FOR_SHARE_ITEM_DECLARES_NULLABILITY
Added NSAcceleratorButton
Added NSAlphaFirstBitmapFormat
Added NSAlphaShiftKeyMask
Added NSAlternateKeyMask
Added NSAnyEventMask
Added NSAppKitDefined
Added NSAppKitDefinedMask
Added NSApplicationDefined
Added NSApplicationDefinedMask
Added NSAWTEventType
Added NSBMPFileType
Added NSCircularBezelStyle
Added NSCircularSlider
Added NSCMYKColorSpaceModel
Added NSCMYKModeColorPanel
Added NSCommandKeyMask
Added NSCompositeClear
Added NSCompositeColor
Added NSCompositeColorBurn
Added NSCompositeColorDodge
Added NSCompositeCopy
Added NSCompositeDarken
Added NSCompositeDestinationIn
Added NSCompositeDifference
Added NSCompositeExclusion
Added NSCompositeHardLight
Added NSCompositeHue
Added NSCompositeLighten
Added NSCompositeLuminosity
Added NSCompositeMultiply
Added NSCompositeOverlay
Added NSCompositePlusDarker
Added NSCompositePlusLighter
Added NSCompositeSaturation
Added NSCompositeScreen
Added NSCompositeSoftLight
Added NSCompositeSourceAtop
Added NSCompositeSourceIn
Added NSCompositeSourceOut
Added NSCompositeSourceOver
Added NSCompositeXOR
Added NSControlKeyMask
Added NSCrayonModeColorPanel
Added NSCriticalAlertStyle
Added NSCursorPointingDevice
Added NSCursorUpdate
Added NSCursorUpdateMask
Added NSDeviceNColorSpaceModel
Added NSDisclosureBezelStyle
Added NSEraserPointingDevice
Added NSFlagsChanged
Added NSFlagsChangedMask
Added NSFunctionKeyMask
Added NSGIFFileType
Added NSGrayColorSpaceModel
Added NSGrayModeColorPanel
Added NSGridViewSizeForContent
Added NSHelpButtonBezelStyle
Added NSHelpKeyMask
Added NSHSBModeColorPanel
Added NSIndexedColorSpaceModel
Added NSInlineBezelStyle
Added NSJPEG2000FileType
Added NSJPEGFileType
Added NSKeyDown
Added NSKeyDownMask
Added NSKeyUp
Added NSKeyUpMask
Added NSLABColorSpaceModel
Added NSLeftMouseDown
Added NSLeftMouseDownMask
Added NSLeftMouseDragged
Added NSLeftMouseDraggedMask
Added NSLeftMouseUp
Added NSLeftMouseUpMask
Added NSLinearSlider
Added NSMiniControlSize
Added NSMomentaryChangeButton
Added NSMomentaryLightButton
Added NSMomentaryPushInButton
Added NSMouseEntered
Added NSMouseEnteredMask
Added NSMouseEventSubtype
Added NSMouseExited
Added NSMouseExitedMask
Added NSMouseMoved
Added NSMouseMovedMask
Added NSNoModeColorPanel
Added NSNumericPadKeyMask
Added NSOnOffButton
Added NSOpenGLCPHasDrawable
Added NSOpenGLCPSurfaceOpacity
Added NSOpenGLCPSurfaceOrder
Added NSOpenGLCPSwapInterval
Added NSOpenGLCPSwapRectangle
Added NSOtherMouseDown
Added NSOtherMouseDownMask
Added NSOtherMouseDragged
Added NSOtherMouseDraggedMask
Added NSOtherMouseUp
Added NSOtherMouseUpMask
Added NSPatternColorSpaceModel
Added NSPenLowerSideMask
Added NSPenPointingDevice
Added NSPenTipMask
Added NSPenUpperSideMask
Added NSPeriodic
Added NSPeriodicMask
Added NSPNGFileType
Added NSPowerOffEventType
Added NSPushOnPushOffButton
Added NSRadioButton
Added NSRecessedBezelStyle
Added NSRegularControlSize
Added NSRGBColorSpaceModel
Added NSRGBModeColorPanel
Added NSRightMouseDown
Added NSRightMouseDownMask
Added NSRightMouseDragged
Added NSRightMouseDraggedMask
Added NSRightMouseUp
Added NSRightMouseUpMask
Added NSRoundedBezelStyle
Added NSRoundRectBezelStyle
Added NSScreenChangedEventType
Added NSScrollWheel
Added NSScrollWheelMask
Added NSShiftKeyMask
Added NSSmallControlSize
Added NSSmallSquareBezelStyle
Added NSSwitchButton
Added NSSystemDefined
Added NSSystemDefinedMask
Added NSTabletPoint
Added NSTabletPointMask
Added NSTabletProximity
Added NSTabletProximityMask
Added NSThickSquareBezelStyle
Added NSTickMarkAbove
Added NSTickMarkBelow
Added NSTickMarkLeft
Added NSTickMarkRight
Added NSTIFFFileType
Added NSToggleButton
Added NSTouchEventSubtype
Added NSUnknownColorSpaceModel
Added NSUnknownPointingDevice
Added NSWarningAlertStyle
Added NSWheelModeColorPanel
Added NSWindowExposedEventType
Added NSWindowMovedEventType
Name | Declaration | |
---|---|---|
From | contextHelpForKey(_:) | func contextHelpForKey(_ key: String) -> NSAttributedString? |
To | contextHelp(forKey:) | func contextHelp(forKey key: String) -> NSAttributedString? |
Name | Declaration | |
---|---|---|
From | imageForResource(_:) | func imageForResource(_ name: String) -> NSImage? |
To | image(forResource:) | func image(forResource name: String) -> NSImage? |
Declaration | |
---|---|
From | func loadNibNamed(_ nibName: String, owner owner: AnyObject?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool |
To | func loadNibNamed(_ nibName: String, owner owner: Any?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray>?) -> Bool |
Name | Declaration | |
---|---|---|
From | pathForSoundResource(_:) | func pathForSoundResource(_ name: String) -> String? |
To | path(forSoundResource:) | func path(forSoundResource name: String) -> String? |
Name | Declaration | |
---|---|---|
From | URLForImageResource(_:) | func URLForImageResource(_ name: String) -> NSURL? |
To | urlForImageResource(_:) | func urlForImageResource(_ name: String) -> URL? |
Modified CIImage.draw(at: NSPoint, from: NSRect, operation: NSCompositingOperation, fraction: CGFloat)
Declaration | |
---|---|
From | func drawAtPoint(_ point: NSPoint, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
To | func draw(at point: NSPoint, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
Modified CIImage.draw(in: NSRect, from: NSRect, operation: NSCompositingOperation, fraction: CGFloat)
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
To | func draw(in rect: NSRect, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
Modified NSAccessibility
Declaration | |
---|---|
From | protocol NSAccessibility : NSObjectProtocol { func accessibilityLayoutPointForScreenPoint(_ point: NSPoint) -> NSPoint func accessibilityLayoutSizeForScreenSize(_ size: NSSize) -> NSSize func accessibilityScreenPointForLayoutPoint(_ point: NSPoint) -> NSPoint func accessibilityScreenSizeForLayoutSize(_ size: NSSize) -> NSSize func accessibilityCellForColumn(_ column: Int, row row: Int) -> AnyObject? func accessibilityAttributedStringForRange(_ range: NSRange) -> NSAttributedString? func accessibilityRangeForLine(_ line: Int) -> NSRange func accessibilityStringForRange(_ range: NSRange) -> String? func accessibilityRangeForPosition(_ point: NSPoint) -> NSRange func accessibilityRangeForIndex(_ index: Int) -> NSRange func accessibilityFrameForRange(_ range: NSRange) -> NSRect func accessibilityRTFForRange(_ range: NSRange) -> NSData? func accessibilityStyleRangeForIndex(_ index: Int) -> NSRange func accessibilityLineForIndex(_ index: Int) -> Int func accessibilityPerformCancel() -> Bool func accessibilityPerformConfirm() -> Bool func accessibilityPerformDecrement() -> Bool func accessibilityPerformDelete() -> Bool func accessibilityPerformIncrement() -> Bool func accessibilityPerformPick() -> Bool func accessibilityPerformPress() -> Bool func accessibilityPerformRaise() -> Bool func accessibilityPerformShowAlternateUI() -> Bool func accessibilityPerformShowDefaultUI() -> Bool func accessibilityPerformShowMenu() -> Bool func isAccessibilitySelectorAllowed(_ selector: Selector) -> Bool func isAccessibilityElement() -> Bool func setAccessibilityElement(_ accessibilityElement: Bool) func accessibilityFrame() -> NSRect func setAccessibilityFrame(_ accessibilityFrame: NSRect) func isAccessibilityFocused() -> Bool func setAccessibilityFocused(_ accessibilityFocused: Bool) func accessibilityActivationPoint() -> NSPoint func setAccessibilityActivationPoint(_ accessibilityActivationPoint: NSPoint) func accessibilityTopLevelUIElement() -> AnyObject? func setAccessibilityTopLevelUIElement(_ accessibilityTopLevelUIElement: AnyObject?) func accessibilityURL() -> NSURL? func setAccessibilityURL(_ accessibilityURL: NSURL?) func accessibilityValue() -> AnyObject? func setAccessibilityValue(_ accessibilityValue: AnyObject?) func accessibilityValueDescription() -> String? func setAccessibilityValueDescription(_ accessibilityValueDescription: String?) func accessibilityVisibleChildren() -> [AnyObject]? func setAccessibilityVisibleChildren(_ accessibilityVisibleChildren: [AnyObject]?) func accessibilitySubrole() -> String? func setAccessibilitySubrole(_ accessibilitySubrole: String?) func accessibilityTitle() -> String? func setAccessibilityTitle(_ accessibilityTitle: String?) func accessibilityTitleUIElement() -> AnyObject? func setAccessibilityTitleUIElement(_ accessibilityTitleUIElement: AnyObject?) func accessibilityNextContents() -> [AnyObject]? func setAccessibilityNextContents(_ accessibilityNextContents: [AnyObject]?) func accessibilityOrientation() -> NSAccessibilityOrientation func setAccessibilityOrientation(_ accessibilityOrientation: NSAccessibilityOrientation) func accessibilityOverflowButton() -> AnyObject? func setAccessibilityOverflowButton(_ accessibilityOverflowButton: AnyObject?) func accessibilityParent() -> AnyObject? func setAccessibilityParent(_ accessibilityParent: AnyObject?) func accessibilityPlaceholderValue() -> String? func setAccessibilityPlaceholderValue(_ accessibilityPlaceholderValue: String?) func accessibilityPreviousContents() -> [AnyObject]? func setAccessibilityPreviousContents(_ accessibilityPreviousContents: [AnyObject]?) func accessibilityRole() -> String? func setAccessibilityRole(_ accessibilityRole: String?) func accessibilityRoleDescription() -> String? func setAccessibilityRoleDescription(_ accessibilityRoleDescription: String?) func accessibilitySearchButton() -> AnyObject? func setAccessibilitySearchButton(_ accessibilitySearchButton: AnyObject?) func accessibilitySearchMenu() -> AnyObject? func setAccessibilitySearchMenu(_ accessibilitySearchMenu: AnyObject?) func isAccessibilitySelected() -> Bool func setAccessibilitySelected(_ accessibilitySelected: Bool) func accessibilitySelectedChildren() -> [AnyObject]? func setAccessibilitySelectedChildren(_ accessibilitySelectedChildren: [AnyObject]?) func accessibilityServesAsTitleForUIElements() -> [AnyObject]? func setAccessibilityServesAsTitleForUIElements(_ accessibilityServesAsTitleForUIElements: [AnyObject]?) func accessibilityShownMenu() -> AnyObject? func setAccessibilityShownMenu(_ accessibilityShownMenu: AnyObject?) func accessibilityMinValue() -> AnyObject? func setAccessibilityMinValue(_ accessibilityMinValue: AnyObject?) func accessibilityMaxValue() -> AnyObject? func setAccessibilityMaxValue(_ accessibilityMaxValue: AnyObject?) func accessibilityLinkedUIElements() -> [AnyObject]? func setAccessibilityLinkedUIElements(_ accessibilityLinkedUIElements: [AnyObject]?) func accessibilityWindow() -> AnyObject? func setAccessibilityWindow(_ accessibilityWindow: AnyObject?) func accessibilityIdentifier() -> String? func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func accessibilityHelp() -> String? func setAccessibilityHelp(_ accessibilityHelp: String?) func accessibilityFilename() -> String? func setAccessibilityFilename(_ accessibilityFilename: String?) func isAccessibilityExpanded() -> Bool func setAccessibilityExpanded(_ accessibilityExpanded: Bool) func isAccessibilityEdited() -> Bool func setAccessibilityEdited(_ accessibilityEdited: Bool) func isAccessibilityEnabled() -> Bool func setAccessibilityEnabled(_ accessibilityEnabled: Bool) func accessibilityChildren() -> [AnyObject]? func setAccessibilityChildren(_ accessibilityChildren: [AnyObject]?) func accessibilityClearButton() -> AnyObject? func setAccessibilityClearButton(_ accessibilityClearButton: AnyObject?) func accessibilityCancelButton() -> AnyObject? func setAccessibilityCancelButton(_ accessibilityCancelButton: AnyObject?) func isAccessibilityProtectedContent() -> Bool func setAccessibilityProtectedContent(_ accessibilityProtectedContent: Bool) func accessibilityContents() -> [AnyObject]? func setAccessibilityContents(_ accessibilityContents: [AnyObject]?) func accessibilityLabel() -> String? func setAccessibilityLabel(_ accessibilityLabel: String?) func isAccessibilityAlternateUIVisible() -> Bool func setAccessibilityAlternateUIVisible(_ accessibilityAlternateUIVisible: Bool) func accessibilitySharedFocusElements() -> [AnyObject]? func setAccessibilitySharedFocusElements(_ accessibilitySharedFocusElements: [AnyObject]?) func accessibilityApplicationFocusedUIElement() -> AnyObject? func setAccessibilityApplicationFocusedUIElement(_ accessibilityApplicationFocusedUIElement: AnyObject?) func accessibilityMainWindow() -> AnyObject? func setAccessibilityMainWindow(_ accessibilityMainWindow: AnyObject?) func isAccessibilityHidden() -> Bool func setAccessibilityHidden(_ accessibilityHidden: Bool) func isAccessibilityFrontmost() -> Bool func setAccessibilityFrontmost(_ accessibilityFrontmost: Bool) func accessibilityFocusedWindow() -> AnyObject? func setAccessibilityFocusedWindow(_ accessibilityFocusedWindow: AnyObject?) func accessibilityWindows() -> [AnyObject]? func setAccessibilityWindows(_ accessibilityWindows: [AnyObject]?) func accessibilityExtrasMenuBar() -> AnyObject? func setAccessibilityExtrasMenuBar(_ accessibilityExtrasMenuBar: AnyObject?) func accessibilityMenuBar() -> AnyObject? func setAccessibilityMenuBar(_ accessibilityMenuBar: AnyObject?) func accessibilityColumnTitles() -> [AnyObject]? func setAccessibilityColumnTitles(_ accessibilityColumnTitles: [AnyObject]?) func isAccessibilityOrderedByRow() -> Bool func setAccessibilityOrderedByRow(_ accessibilityOrderedByRow: Bool) func accessibilityHorizontalUnits() -> NSAccessibilityUnits func setAccessibilityHorizontalUnits(_ accessibilityHorizontalUnits: NSAccessibilityUnits) func accessibilityVerticalUnits() -> NSAccessibilityUnits func setAccessibilityVerticalUnits(_ accessibilityVerticalUnits: NSAccessibilityUnits) func accessibilityHorizontalUnitDescription() -> String? func setAccessibilityHorizontalUnitDescription(_ accessibilityHorizontalUnitDescription: String?) func accessibilityVerticalUnitDescription() -> String? func setAccessibilityVerticalUnitDescription(_ accessibilityVerticalUnitDescription: String?) func accessibilityHandles() -> [AnyObject]? func setAccessibilityHandles(_ accessibilityHandles: [AnyObject]?) func accessibilityWarningValue() -> AnyObject? func setAccessibilityWarningValue(_ accessibilityWarningValue: AnyObject?) func accessibilityCriticalValue() -> AnyObject? func setAccessibilityCriticalValue(_ accessibilityCriticalValue: AnyObject?) func isAccessibilityDisclosed() -> Bool func setAccessibilityDisclosed(_ accessibilityDisclosed: Bool) func accessibilityDisclosedByRow() -> AnyObject? func setAccessibilityDisclosedByRow(_ accessibilityDisclosedByRow: AnyObject?) func accessibilityDisclosedRows() -> AnyObject? func setAccessibilityDisclosedRows(_ accessibilityDisclosedRows: AnyObject?) func accessibilityDisclosureLevel() -> Int func setAccessibilityDisclosureLevel(_ accessibilityDisclosureLevel: Int) func accessibilityMarkerUIElements() -> [AnyObject]? func setAccessibilityMarkerUIElements(_ accessibilityMarkerUIElements: [AnyObject]?) func accessibilityMarkerValues() -> AnyObject? func setAccessibilityMarkerValues(_ accessibilityMarkerValues: AnyObject?) func accessibilityMarkerGroupUIElement() -> AnyObject? func setAccessibilityMarkerGroupUIElement(_ accessibilityMarkerGroupUIElement: AnyObject?) func accessibilityUnits() -> NSAccessibilityUnits func setAccessibilityUnits(_ accessibilityUnits: NSAccessibilityUnits) func accessibilityUnitDescription() -> String? func setAccessibilityUnitDescription(_ accessibilityUnitDescription: String?) func accessibilityRulerMarkerType() -> NSAccessibilityRulerMarkerType func setAccessibilityRulerMarkerType(_ accessibilityRulerMarkerType: NSAccessibilityRulerMarkerType) func accessibilityMarkerTypeDescription() -> String? func setAccessibilityMarkerTypeDescription(_ accessibilityMarkerTypeDescription: String?) func accessibilityHorizontalScrollBar() -> AnyObject? func setAccessibilityHorizontalScrollBar(_ accessibilityHorizontalScrollBar: AnyObject?) func accessibilityVerticalScrollBar() -> AnyObject? func setAccessibilityVerticalScrollBar(_ accessibilityVerticalScrollBar: AnyObject?) func accessibilityAllowedValues() -> [NSNumber]? func setAccessibilityAllowedValues(_ accessibilityAllowedValues: [NSNumber]?) func accessibilityLabelUIElements() -> [AnyObject]? func setAccessibilityLabelUIElements(_ accessibilityLabelUIElements: [AnyObject]?) func accessibilityLabelValue() -> Float func setAccessibilityLabelValue(_ accessibilityLabelValue: Float) func accessibilitySplitters() -> [AnyObject]? func setAccessibilitySplitters(_ accessibilitySplitters: [AnyObject]?) func accessibilityDecrementButton() -> AnyObject? func setAccessibilityDecrementButton(_ accessibilityDecrementButton: AnyObject?) func accessibilityIncrementButton() -> AnyObject? func setAccessibilityIncrementButton(_ accessibilityIncrementButton: AnyObject?) func accessibilityTabs() -> [AnyObject]? func setAccessibilityTabs(_ accessibilityTabs: [AnyObject]?) func accessibilityHeader() -> AnyObject? func setAccessibilityHeader(_ accessibilityHeader: AnyObject?) func accessibilityColumnCount() -> Int func setAccessibilityColumnCount(_ accessibilityColumnCount: Int) func accessibilityRowCount() -> Int func setAccessibilityRowCount(_ accessibilityRowCount: Int) func accessibilityIndex() -> Int func setAccessibilityIndex(_ accessibilityIndex: Int) func accessibilityColumns() -> [AnyObject]? func setAccessibilityColumns(_ accessibilityColumns: [AnyObject]?) func accessibilityRows() -> [AnyObject]? func setAccessibilityRows(_ accessibilityRows: [AnyObject]?) func accessibilityVisibleRows() -> [AnyObject]? func setAccessibilityVisibleRows(_ accessibilityVisibleRows: [AnyObject]?) func accessibilitySelectedRows() -> [AnyObject]? func setAccessibilitySelectedRows(_ accessibilitySelectedRows: [AnyObject]?) func accessibilityVisibleColumns() -> [AnyObject]? func setAccessibilityVisibleColumns(_ accessibilityVisibleColumns: [AnyObject]?) func accessibilitySelectedColumns() -> [AnyObject]? func setAccessibilitySelectedColumns(_ accessibilitySelectedColumns: [AnyObject]?) func accessibilitySortDirection() -> NSAccessibilitySortDirection func setAccessibilitySortDirection(_ accessibilitySortDirection: NSAccessibilitySortDirection) func accessibilityRowHeaderUIElements() -> [AnyObject]? func setAccessibilityRowHeaderUIElements(_ accessibilityRowHeaderUIElements: [AnyObject]?) func accessibilitySelectedCells() -> [AnyObject]? func setAccessibilitySelectedCells(_ accessibilitySelectedCells: [AnyObject]?) func accessibilityVisibleCells() -> [AnyObject]? func setAccessibilityVisibleCells(_ accessibilityVisibleCells: [AnyObject]?) func accessibilityColumnHeaderUIElements() -> [AnyObject]? func setAccessibilityColumnHeaderUIElements(_ accessibilityColumnHeaderUIElements: [AnyObject]?) func accessibilityRowIndexRange() -> NSRange func setAccessibilityRowIndexRange(_ accessibilityRowIndexRange: NSRange) func accessibilityColumnIndexRange() -> NSRange func setAccessibilityColumnIndexRange(_ accessibilityColumnIndexRange: NSRange) func accessibilityInsertionPointLineNumber() -> Int func setAccessibilityInsertionPointLineNumber(_ accessibilityInsertionPointLineNumber: Int) func accessibilitySharedCharacterRange() -> NSRange func setAccessibilitySharedCharacterRange(_ accessibilitySharedCharacterRange: NSRange) func accessibilitySharedTextUIElements() -> [AnyObject]? func setAccessibilitySharedTextUIElements(_ accessibilitySharedTextUIElements: [AnyObject]?) func accessibilityVisibleCharacterRange() -> NSRange func setAccessibilityVisibleCharacterRange(_ accessibilityVisibleCharacterRange: NSRange) func accessibilityNumberOfCharacters() -> Int func setAccessibilityNumberOfCharacters(_ accessibilityNumberOfCharacters: Int) func accessibilitySelectedText() -> String? func setAccessibilitySelectedText(_ accessibilitySelectedText: String?) func accessibilitySelectedTextRange() -> NSRange func setAccessibilitySelectedTextRange(_ accessibilitySelectedTextRange: NSRange) func accessibilitySelectedTextRanges() -> [NSValue]? func setAccessibilitySelectedTextRanges(_ accessibilitySelectedTextRanges: [NSValue]?) func accessibilityToolbarButton() -> AnyObject? func setAccessibilityToolbarButton(_ accessibilityToolbarButton: AnyObject?) func isAccessibilityModal() -> Bool func setAccessibilityModal(_ accessibilityModal: Bool) func accessibilityProxy() -> AnyObject? func setAccessibilityProxy(_ accessibilityProxy: AnyObject?) func isAccessibilityMain() -> Bool func setAccessibilityMain(_ accessibilityMain: Bool) func accessibilityFullScreenButton() -> AnyObject? func setAccessibilityFullScreenButton(_ accessibilityFullScreenButton: AnyObject?) func accessibilityGrowArea() -> AnyObject? func setAccessibilityGrowArea(_ accessibilityGrowArea: AnyObject?) func accessibilityDocument() -> String? func setAccessibilityDocument(_ accessibilityDocument: String?) func accessibilityDefaultButton() -> AnyObject? func setAccessibilityDefaultButton(_ accessibilityDefaultButton: AnyObject?) func accessibilityCloseButton() -> AnyObject? func setAccessibilityCloseButton(_ accessibilityCloseButton: AnyObject?) func accessibilityZoomButton() -> AnyObject? func setAccessibilityZoomButton(_ accessibilityZoomButton: AnyObject?) func accessibilityMinimizeButton() -> AnyObject? func setAccessibilityMinimizeButton(_ accessibilityMinimizeButton: AnyObject?) func isAccessibilityMinimized() -> Bool func setAccessibilityMinimized(_ accessibilityMinimized: Bool) } |
To | protocol NSAccessibility : NSObjectProtocol { func accessibilityLayoutPoint(forScreenPoint point: NSPoint) -> NSPoint func accessibilityLayoutSize(forScreenSize size: NSSize) -> NSSize func accessibilityScreenPoint(forLayoutPoint point: NSPoint) -> NSPoint func accessibilityScreenSize(forLayoutSize size: NSSize) -> NSSize func accessibilityCell(forColumn column: Int, row row: Int) -> Any? func accessibilityAttributedString(for range: NSRange) -> NSAttributedString? func accessibilityRange(forLine line: Int) -> NSRange func accessibilityString(for range: NSRange) -> String? func accessibilityRange(for point: NSPoint) -> NSRange func accessibilityRange(for index: Int) -> NSRange func accessibilityFrame(for range: NSRange) -> NSRect func accessibilityRTF(for range: NSRange) -> Data? func accessibilityStyleRange(for index: Int) -> NSRange func accessibilityLine(for index: Int) -> Int func accessibilityPerformCancel() -> Bool func accessibilityPerformConfirm() -> Bool func accessibilityPerformDecrement() -> Bool func accessibilityPerformDelete() -> Bool func accessibilityPerformIncrement() -> Bool func accessibilityPerformPick() -> Bool func accessibilityPerformPress() -> Bool func accessibilityPerformRaise() -> Bool func accessibilityPerformShowAlternateUI() -> Bool func accessibilityPerformShowDefaultUI() -> Bool func accessibilityPerformShowMenu() -> Bool func isAccessibilitySelectorAllowed(_ selector: Selector) -> Bool func isAccessibilityElement() -> Bool func setAccessibilityElement(_ accessibilityElement: Bool) func accessibilityFrame() -> NSRect func setAccessibilityFrame(_ accessibilityFrame: NSRect) func isAccessibilityFocused() -> Bool func setAccessibilityFocused(_ accessibilityFocused: Bool) func accessibilityActivationPoint() -> NSPoint func setAccessibilityActivationPoint(_ accessibilityActivationPoint: NSPoint) func accessibilityTopLevelUIElement() -> Any? func setAccessibilityTopLevelUIElement(_ accessibilityTopLevelUIElement: Any?) func accessibilityURL() -> URL? func setAccessibilityURL(_ accessibilityURL: URL?) func accessibilityValue() -> Any? func setAccessibilityValue(_ accessibilityValue: Any?) func accessibilityValueDescription() -> String? func setAccessibilityValueDescription(_ accessibilityValueDescription: String?) func accessibilityVisibleChildren() -> [Any]? func setAccessibilityVisibleChildren(_ accessibilityVisibleChildren: [Any]?) func accessibilitySubrole() -> String? func setAccessibilitySubrole(_ accessibilitySubrole: String?) func accessibilityTitle() -> String? func setAccessibilityTitle(_ accessibilityTitle: String?) func accessibilityTitleUIElement() -> Any? func setAccessibilityTitleUIElement(_ accessibilityTitleUIElement: Any?) func accessibilityNextContents() -> [Any]? func setAccessibilityNextContents(_ accessibilityNextContents: [Any]?) func accessibilityOrientation() -> NSAccessibilityOrientation func setAccessibilityOrientation(_ accessibilityOrientation: NSAccessibilityOrientation) func accessibilityOverflowButton() -> Any? func setAccessibilityOverflowButton(_ accessibilityOverflowButton: Any?) func accessibilityParent() -> Any? func setAccessibilityParent(_ accessibilityParent: Any?) func accessibilityPlaceholderValue() -> String? func setAccessibilityPlaceholderValue(_ accessibilityPlaceholderValue: String?) func accessibilityPreviousContents() -> [Any]? func setAccessibilityPreviousContents(_ accessibilityPreviousContents: [Any]?) func accessibilityRole() -> String? func setAccessibilityRole(_ accessibilityRole: String?) func accessibilityRoleDescription() -> String? func setAccessibilityRoleDescription(_ accessibilityRoleDescription: String?) func accessibilitySearchButton() -> Any? func setAccessibilitySearchButton(_ accessibilitySearchButton: Any?) func accessibilitySearchMenu() -> Any? func setAccessibilitySearchMenu(_ accessibilitySearchMenu: Any?) func isAccessibilitySelected() -> Bool func setAccessibilitySelected(_ accessibilitySelected: Bool) func accessibilitySelectedChildren() -> [Any]? func setAccessibilitySelectedChildren(_ accessibilitySelectedChildren: [Any]?) func accessibilityServesAsTitleForUIElements() -> [Any]? func setAccessibilityServesAsTitleForUIElements(_ accessibilityServesAsTitleForUIElements: [Any]?) func accessibilityShownMenu() -> Any? func setAccessibilityShownMenu(_ accessibilityShownMenu: Any?) func accessibilityMinValue() -> Any? func setAccessibilityMinValue(_ accessibilityMinValue: Any?) func accessibilityMaxValue() -> Any? func setAccessibilityMaxValue(_ accessibilityMaxValue: Any?) func accessibilityLinkedUIElements() -> [Any]? func setAccessibilityLinkedUIElements(_ accessibilityLinkedUIElements: [Any]?) func accessibilityWindow() -> Any? func setAccessibilityWindow(_ accessibilityWindow: Any?) func accessibilityIdentifier() -> String? func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func accessibilityHelp() -> String? func setAccessibilityHelp(_ accessibilityHelp: String?) func accessibilityFilename() -> String? func setAccessibilityFilename(_ accessibilityFilename: String?) func isAccessibilityExpanded() -> Bool func setAccessibilityExpanded(_ accessibilityExpanded: Bool) func isAccessibilityEdited() -> Bool func setAccessibilityEdited(_ accessibilityEdited: Bool) func isAccessibilityEnabled() -> Bool func setAccessibilityEnabled(_ accessibilityEnabled: Bool) func accessibilityChildren() -> [Any]? func setAccessibilityChildren(_ accessibilityChildren: [Any]?) func accessibilityClearButton() -> Any? func setAccessibilityClearButton(_ accessibilityClearButton: Any?) func accessibilityCancelButton() -> Any? func setAccessibilityCancelButton(_ accessibilityCancelButton: Any?) func isAccessibilityProtectedContent() -> Bool func setAccessibilityProtectedContent(_ accessibilityProtectedContent: Bool) func accessibilityContents() -> [Any]? func setAccessibilityContents(_ accessibilityContents: [Any]?) func accessibilityLabel() -> String? func setAccessibilityLabel(_ accessibilityLabel: String?) func isAccessibilityAlternateUIVisible() -> Bool func setAccessibilityAlternateUIVisible(_ accessibilityAlternateUIVisible: Bool) func accessibilitySharedFocusElements() -> [Any]? func setAccessibilitySharedFocusElements(_ accessibilitySharedFocusElements: [Any]?) func isAccessibilityRequired() -> Bool func setAccessibilityRequired(_ accessibilityRequired: Bool) func accessibilityApplicationFocusedUIElement() -> Any? func setAccessibilityApplicationFocusedUIElement(_ accessibilityApplicationFocusedUIElement: Any?) func accessibilityMainWindow() -> Any? func setAccessibilityMainWindow(_ accessibilityMainWindow: Any?) func isAccessibilityHidden() -> Bool func setAccessibilityHidden(_ accessibilityHidden: Bool) func isAccessibilityFrontmost() -> Bool func setAccessibilityFrontmost(_ accessibilityFrontmost: Bool) func accessibilityFocusedWindow() -> Any? func setAccessibilityFocusedWindow(_ accessibilityFocusedWindow: Any?) func accessibilityWindows() -> [Any]? func setAccessibilityWindows(_ accessibilityWindows: [Any]?) func accessibilityExtrasMenuBar() -> Any? func setAccessibilityExtrasMenuBar(_ accessibilityExtrasMenuBar: Any?) func accessibilityMenuBar() -> Any? func setAccessibilityMenuBar(_ accessibilityMenuBar: Any?) func accessibilityColumnTitles() -> [Any]? func setAccessibilityColumnTitles(_ accessibilityColumnTitles: [Any]?) func isAccessibilityOrderedByRow() -> Bool func setAccessibilityOrderedByRow(_ accessibilityOrderedByRow: Bool) func accessibilityHorizontalUnits() -> NSAccessibilityUnits func setAccessibilityHorizontalUnits(_ accessibilityHorizontalUnits: NSAccessibilityUnits) func accessibilityVerticalUnits() -> NSAccessibilityUnits func setAccessibilityVerticalUnits(_ accessibilityVerticalUnits: NSAccessibilityUnits) func accessibilityHorizontalUnitDescription() -> String? func setAccessibilityHorizontalUnitDescription(_ accessibilityHorizontalUnitDescription: String?) func accessibilityVerticalUnitDescription() -> String? func setAccessibilityVerticalUnitDescription(_ accessibilityVerticalUnitDescription: String?) func accessibilityHandles() -> [Any]? func setAccessibilityHandles(_ accessibilityHandles: [Any]?) func accessibilityWarningValue() -> Any? func setAccessibilityWarningValue(_ accessibilityWarningValue: Any?) func accessibilityCriticalValue() -> Any? func setAccessibilityCriticalValue(_ accessibilityCriticalValue: Any?) func isAccessibilityDisclosed() -> Bool func setAccessibilityDisclosed(_ accessibilityDisclosed: Bool) func accessibilityDisclosedByRow() -> Any? func setAccessibilityDisclosedByRow(_ accessibilityDisclosedByRow: Any?) func accessibilityDisclosedRows() -> Any? func setAccessibilityDisclosedRows(_ accessibilityDisclosedRows: Any?) func accessibilityDisclosureLevel() -> Int func setAccessibilityDisclosureLevel(_ accessibilityDisclosureLevel: Int) func accessibilityMarkerUIElements() -> [Any]? func setAccessibilityMarkerUIElements(_ accessibilityMarkerUIElements: [Any]?) func accessibilityMarkerValues() -> Any? func setAccessibilityMarkerValues(_ accessibilityMarkerValues: Any?) func accessibilityMarkerGroupUIElement() -> Any? func setAccessibilityMarkerGroupUIElement(_ accessibilityMarkerGroupUIElement: Any?) func accessibilityUnits() -> NSAccessibilityUnits func setAccessibilityUnits(_ accessibilityUnits: NSAccessibilityUnits) func accessibilityUnitDescription() -> String? func setAccessibilityUnitDescription(_ accessibilityUnitDescription: String?) func accessibilityRulerMarkerType() -> NSAccessibilityRulerMarkerType func setAccessibilityRulerMarkerType(_ accessibilityRulerMarkerType: NSAccessibilityRulerMarkerType) func accessibilityMarkerTypeDescription() -> String? func setAccessibilityMarkerTypeDescription(_ accessibilityMarkerTypeDescription: String?) func accessibilityHorizontalScrollBar() -> Any? func setAccessibilityHorizontalScrollBar(_ accessibilityHorizontalScrollBar: Any?) func accessibilityVerticalScrollBar() -> Any? func setAccessibilityVerticalScrollBar(_ accessibilityVerticalScrollBar: Any?) func accessibilityAllowedValues() -> [NSNumber]? func setAccessibilityAllowedValues(_ accessibilityAllowedValues: [NSNumber]?) func accessibilityLabelUIElements() -> [Any]? func setAccessibilityLabelUIElements(_ accessibilityLabelUIElements: [Any]?) func accessibilityLabelValue() -> Float func setAccessibilityLabelValue(_ accessibilityLabelValue: Float) func accessibilitySplitters() -> [Any]? func setAccessibilitySplitters(_ accessibilitySplitters: [Any]?) func accessibilityDecrementButton() -> Any? func setAccessibilityDecrementButton(_ accessibilityDecrementButton: Any?) func accessibilityIncrementButton() -> Any? func setAccessibilityIncrementButton(_ accessibilityIncrementButton: Any?) func accessibilityTabs() -> [Any]? func setAccessibilityTabs(_ accessibilityTabs: [Any]?) func accessibilityHeader() -> Any? func setAccessibilityHeader(_ accessibilityHeader: Any?) func accessibilityColumnCount() -> Int func setAccessibilityColumnCount(_ accessibilityColumnCount: Int) func accessibilityRowCount() -> Int func setAccessibilityRowCount(_ accessibilityRowCount: Int) func accessibilityIndex() -> Int func setAccessibilityIndex(_ accessibilityIndex: Int) func accessibilityColumns() -> [Any]? func setAccessibilityColumns(_ accessibilityColumns: [Any]?) func accessibilityRows() -> [Any]? func setAccessibilityRows(_ accessibilityRows: [Any]?) func accessibilityVisibleRows() -> [Any]? func setAccessibilityVisibleRows(_ accessibilityVisibleRows: [Any]?) func accessibilitySelectedRows() -> [Any]? func setAccessibilitySelectedRows(_ accessibilitySelectedRows: [Any]?) func accessibilityVisibleColumns() -> [Any]? func setAccessibilityVisibleColumns(_ accessibilityVisibleColumns: [Any]?) func accessibilitySelectedColumns() -> [Any]? func setAccessibilitySelectedColumns(_ accessibilitySelectedColumns: [Any]?) func accessibilitySortDirection() -> NSAccessibilitySortDirection func setAccessibilitySortDirection(_ accessibilitySortDirection: NSAccessibilitySortDirection) func accessibilityRowHeaderUIElements() -> [Any]? func setAccessibilityRowHeaderUIElements(_ accessibilityRowHeaderUIElements: [Any]?) func accessibilitySelectedCells() -> [Any]? func setAccessibilitySelectedCells(_ accessibilitySelectedCells: [Any]?) func accessibilityVisibleCells() -> [Any]? func setAccessibilityVisibleCells(_ accessibilityVisibleCells: [Any]?) func accessibilityColumnHeaderUIElements() -> [Any]? func setAccessibilityColumnHeaderUIElements(_ accessibilityColumnHeaderUIElements: [Any]?) func accessibilityRowIndexRange() -> NSRange func setAccessibilityRowIndexRange(_ accessibilityRowIndexRange: NSRange) func accessibilityColumnIndexRange() -> NSRange func setAccessibilityColumnIndexRange(_ accessibilityColumnIndexRange: NSRange) func accessibilityInsertionPointLineNumber() -> Int func setAccessibilityInsertionPointLineNumber(_ accessibilityInsertionPointLineNumber: Int) func accessibilitySharedCharacterRange() -> NSRange func setAccessibilitySharedCharacterRange(_ accessibilitySharedCharacterRange: NSRange) func accessibilitySharedTextUIElements() -> [Any]? func setAccessibilitySharedTextUIElements(_ accessibilitySharedTextUIElements: [Any]?) func accessibilityVisibleCharacterRange() -> NSRange func setAccessibilityVisibleCharacterRange(_ accessibilityVisibleCharacterRange: NSRange) func accessibilityNumberOfCharacters() -> Int func setAccessibilityNumberOfCharacters(_ accessibilityNumberOfCharacters: Int) func accessibilitySelectedText() -> String? func setAccessibilitySelectedText(_ accessibilitySelectedText: String?) func accessibilitySelectedTextRange() -> NSRange func setAccessibilitySelectedTextRange(_ accessibilitySelectedTextRange: NSRange) func accessibilitySelectedTextRanges() -> [NSValue]? func setAccessibilitySelectedTextRanges(_ accessibilitySelectedTextRanges: [NSValue]?) func accessibilityToolbarButton() -> Any? func setAccessibilityToolbarButton(_ accessibilityToolbarButton: Any?) func isAccessibilityModal() -> Bool func setAccessibilityModal(_ accessibilityModal: Bool) func accessibilityProxy() -> Any? func setAccessibilityProxy(_ accessibilityProxy: Any?) func isAccessibilityMain() -> Bool func setAccessibilityMain(_ accessibilityMain: Bool) func accessibilityFullScreenButton() -> Any? func setAccessibilityFullScreenButton(_ accessibilityFullScreenButton: Any?) func accessibilityGrowArea() -> Any? func setAccessibilityGrowArea(_ accessibilityGrowArea: Any?) func accessibilityDocument() -> String? func setAccessibilityDocument(_ accessibilityDocument: String?) func accessibilityDefaultButton() -> Any? func setAccessibilityDefaultButton(_ accessibilityDefaultButton: Any?) func accessibilityCloseButton() -> Any? func setAccessibilityCloseButton(_ accessibilityCloseButton: Any?) func accessibilityZoomButton() -> Any? func setAccessibilityZoomButton(_ accessibilityZoomButton: Any?) func accessibilityMinimizeButton() -> Any? func setAccessibilityMinimizeButton(_ accessibilityMinimizeButton: Any?) func isAccessibilityMinimized() -> Bool func setAccessibilityMinimized(_ accessibilityMinimized: Bool) } |
Declaration | |
---|---|
From | func accessibilityApplicationFocusedUIElement() -> AnyObject? |
To | func accessibilityApplicationFocusedUIElement() -> Any? |
Declaration | |
---|---|
From | func accessibilityAttributedStringForRange(_ range: NSRange) -> NSAttributedString? |
To | func accessibilityAttributedString(for range: NSRange) -> NSAttributedString? |
Declaration | |
---|---|
From | func accessibilityCancelButton() -> AnyObject? |
To | func accessibilityCancelButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityCellForColumn(_ column: Int, row row: Int) -> AnyObject? |
To | func accessibilityCell(forColumn column: Int, row row: Int) -> Any? |
Declaration | |
---|---|
From | func accessibilityChildren() -> [AnyObject]? |
To | func accessibilityChildren() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityClearButton() -> AnyObject? |
To | func accessibilityClearButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityCloseButton() -> AnyObject? |
To | func accessibilityCloseButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityColumnHeaderUIElements() -> [AnyObject]? |
To | func accessibilityColumnHeaderUIElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityColumns() -> [AnyObject]? |
To | func accessibilityColumns() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityColumnTitles() -> [AnyObject]? |
To | func accessibilityColumnTitles() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityContents() -> [AnyObject]? |
To | func accessibilityContents() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityCriticalValue() -> AnyObject? |
To | func accessibilityCriticalValue() -> Any? |
Declaration | |
---|---|
From | func accessibilityDecrementButton() -> AnyObject? |
To | func accessibilityDecrementButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityDefaultButton() -> AnyObject? |
To | func accessibilityDefaultButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityDisclosedByRow() -> AnyObject? |
To | func accessibilityDisclosedByRow() -> Any? |
Declaration | |
---|---|
From | func accessibilityDisclosedRows() -> AnyObject? |
To | func accessibilityDisclosedRows() -> Any? |
Declaration | |
---|---|
From | func accessibilityExtrasMenuBar() -> AnyObject? |
To | func accessibilityExtrasMenuBar() -> Any? |
Declaration | |
---|---|
From | func accessibilityFocusedWindow() -> AnyObject? |
To | func accessibilityFocusedWindow() -> Any? |
Declaration | |
---|---|
From | func accessibilityFrameForRange(_ range: NSRange) -> NSRect |
To | func accessibilityFrame(for range: NSRange) -> NSRect |
Declaration | |
---|---|
From | func accessibilityFullScreenButton() -> AnyObject? |
To | func accessibilityFullScreenButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityGrowArea() -> AnyObject? |
To | func accessibilityGrowArea() -> Any? |
Declaration | |
---|---|
From | func accessibilityHandles() -> [AnyObject]? |
To | func accessibilityHandles() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityHeader() -> AnyObject? |
To | func accessibilityHeader() -> Any? |
Declaration | |
---|---|
From | func accessibilityHorizontalScrollBar() -> AnyObject? |
To | func accessibilityHorizontalScrollBar() -> Any? |
Declaration | |
---|---|
From | func accessibilityIncrementButton() -> AnyObject? |
To | func accessibilityIncrementButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityLabelUIElements() -> [AnyObject]? |
To | func accessibilityLabelUIElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityLayoutPointForScreenPoint(_ point: NSPoint) -> NSPoint |
To | func accessibilityLayoutPoint(forScreenPoint point: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func accessibilityLayoutSizeForScreenSize(_ size: NSSize) -> NSSize |
To | func accessibilityLayoutSize(forScreenSize size: NSSize) -> NSSize |
Declaration | |
---|---|
From | func accessibilityLineForIndex(_ index: Int) -> Int |
To | func accessibilityLine(for index: Int) -> Int |
Declaration | |
---|---|
From | func accessibilityLinkedUIElements() -> [AnyObject]? |
To | func accessibilityLinkedUIElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityMainWindow() -> AnyObject? |
To | func accessibilityMainWindow() -> Any? |
Declaration | |
---|---|
From | func accessibilityMarkerGroupUIElement() -> AnyObject? |
To | func accessibilityMarkerGroupUIElement() -> Any? |
Declaration | |
---|---|
From | func accessibilityMarkerUIElements() -> [AnyObject]? |
To | func accessibilityMarkerUIElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityMarkerValues() -> AnyObject? |
To | func accessibilityMarkerValues() -> Any? |
Declaration | |
---|---|
From | func accessibilityMaxValue() -> AnyObject? |
To | func accessibilityMaxValue() -> Any? |
Declaration | |
---|---|
From | func accessibilityMenuBar() -> AnyObject? |
To | func accessibilityMenuBar() -> Any? |
Declaration | |
---|---|
From | func accessibilityMinimizeButton() -> AnyObject? |
To | func accessibilityMinimizeButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityMinValue() -> AnyObject? |
To | func accessibilityMinValue() -> Any? |
Declaration | |
---|---|
From | func accessibilityNextContents() -> [AnyObject]? |
To | func accessibilityNextContents() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityOverflowButton() -> AnyObject? |
To | func accessibilityOverflowButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityParent() -> AnyObject? |
To | func accessibilityParent() -> Any? |
Declaration | |
---|---|
From | func accessibilityPreviousContents() -> [AnyObject]? |
To | func accessibilityPreviousContents() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityProxy() -> AnyObject? |
To | func accessibilityProxy() -> Any? |
Declaration | |
---|---|
From | func accessibilityRangeForIndex(_ index: Int) -> NSRange |
To | func accessibilityRange(for index: Int) -> NSRange |
Declaration | |
---|---|
From | func accessibilityRangeForPosition(_ point: NSPoint) -> NSRange |
To | func accessibilityRange(for point: NSPoint) -> NSRange |
Declaration | |
---|---|
From | func accessibilityRangeForLine(_ line: Int) -> NSRange |
To | func accessibilityRange(forLine line: Int) -> NSRange |
Declaration | |
---|---|
From | func accessibilityRowHeaderUIElements() -> [AnyObject]? |
To | func accessibilityRowHeaderUIElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityRows() -> [AnyObject]? |
To | func accessibilityRows() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityRTFForRange(_ range: NSRange) -> NSData? |
To | func accessibilityRTF(for range: NSRange) -> Data? |
Declaration | |
---|---|
From | func accessibilityScreenPointForLayoutPoint(_ point: NSPoint) -> NSPoint |
To | func accessibilityScreenPoint(forLayoutPoint point: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func accessibilityScreenSizeForLayoutSize(_ size: NSSize) -> NSSize |
To | func accessibilityScreenSize(forLayoutSize size: NSSize) -> NSSize |
Declaration | |
---|---|
From | func accessibilitySearchButton() -> AnyObject? |
To | func accessibilitySearchButton() -> Any? |
Declaration | |
---|---|
From | func accessibilitySearchMenu() -> AnyObject? |
To | func accessibilitySearchMenu() -> Any? |
Declaration | |
---|---|
From | func accessibilitySelectedCells() -> [AnyObject]? |
To | func accessibilitySelectedCells() -> [Any]? |
Declaration | |
---|---|
From | func accessibilitySelectedChildren() -> [AnyObject]? |
To | func accessibilitySelectedChildren() -> [Any]? |
Declaration | |
---|---|
From | func accessibilitySelectedColumns() -> [AnyObject]? |
To | func accessibilitySelectedColumns() -> [Any]? |
Declaration | |
---|---|
From | func accessibilitySelectedRows() -> [AnyObject]? |
To | func accessibilitySelectedRows() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityServesAsTitleForUIElements() -> [AnyObject]? |
To | func accessibilityServesAsTitleForUIElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilitySharedFocusElements() -> [AnyObject]? |
To | func accessibilitySharedFocusElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilitySharedTextUIElements() -> [AnyObject]? |
To | func accessibilitySharedTextUIElements() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityShownMenu() -> AnyObject? |
To | func accessibilityShownMenu() -> Any? |
Declaration | |
---|---|
From | func accessibilitySplitters() -> [AnyObject]? |
To | func accessibilitySplitters() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityStringForRange(_ range: NSRange) -> String? |
To | func accessibilityString(for range: NSRange) -> String? |
Declaration | |
---|---|
From | func accessibilityStyleRangeForIndex(_ index: Int) -> NSRange |
To | func accessibilityStyleRange(for index: Int) -> NSRange |
Declaration | |
---|---|
From | func accessibilityTabs() -> [AnyObject]? |
To | func accessibilityTabs() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityTitleUIElement() -> AnyObject? |
To | func accessibilityTitleUIElement() -> Any? |
Declaration | |
---|---|
From | func accessibilityToolbarButton() -> AnyObject? |
To | func accessibilityToolbarButton() -> Any? |
Declaration | |
---|---|
From | func accessibilityTopLevelUIElement() -> AnyObject? |
To | func accessibilityTopLevelUIElement() -> Any? |
Declaration | |
---|---|
From | func accessibilityURL() -> NSURL? |
To | func accessibilityURL() -> URL? |
Declaration | |
---|---|
From | func accessibilityValue() -> AnyObject? |
To | func accessibilityValue() -> Any? |
Declaration | |
---|---|
From | func accessibilityVerticalScrollBar() -> AnyObject? |
To | func accessibilityVerticalScrollBar() -> Any? |
Declaration | |
---|---|
From | func accessibilityVisibleCells() -> [AnyObject]? |
To | func accessibilityVisibleCells() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityVisibleChildren() -> [AnyObject]? |
To | func accessibilityVisibleChildren() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityVisibleColumns() -> [AnyObject]? |
To | func accessibilityVisibleColumns() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityVisibleRows() -> [AnyObject]? |
To | func accessibilityVisibleRows() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityWarningValue() -> AnyObject? |
To | func accessibilityWarningValue() -> Any? |
Declaration | |
---|---|
From | func accessibilityWindow() -> AnyObject? |
To | func accessibilityWindow() -> Any? |
Declaration | |
---|---|
From | func accessibilityWindows() -> [AnyObject]? |
To | func accessibilityWindows() -> [Any]? |
Declaration | |
---|---|
From | func accessibilityZoomButton() -> AnyObject? |
To | func accessibilityZoomButton() -> Any? |
Declaration | |
---|---|
From | func setAccessibilityApplicationFocusedUIElement(_ accessibilityApplicationFocusedUIElement: AnyObject?) |
To | func setAccessibilityApplicationFocusedUIElement(_ accessibilityApplicationFocusedUIElement: Any?) |
Declaration | |
---|---|
From | func setAccessibilityCancelButton(_ accessibilityCancelButton: AnyObject?) |
To | func setAccessibilityCancelButton(_ accessibilityCancelButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityChildren(_ accessibilityChildren: [AnyObject]?) |
To | func setAccessibilityChildren(_ accessibilityChildren: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityClearButton(_ accessibilityClearButton: AnyObject?) |
To | func setAccessibilityClearButton(_ accessibilityClearButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityCloseButton(_ accessibilityCloseButton: AnyObject?) |
To | func setAccessibilityCloseButton(_ accessibilityCloseButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityColumnHeaderUIElements(_ accessibilityColumnHeaderUIElements: [AnyObject]?) |
To | func setAccessibilityColumnHeaderUIElements(_ accessibilityColumnHeaderUIElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityColumns(_ accessibilityColumns: [AnyObject]?) |
To | func setAccessibilityColumns(_ accessibilityColumns: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityColumnTitles(_ accessibilityColumnTitles: [AnyObject]?) |
To | func setAccessibilityColumnTitles(_ accessibilityColumnTitles: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityContents(_ accessibilityContents: [AnyObject]?) |
To | func setAccessibilityContents(_ accessibilityContents: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityCriticalValue(_ accessibilityCriticalValue: AnyObject?) |
To | func setAccessibilityCriticalValue(_ accessibilityCriticalValue: Any?) |
Declaration | |
---|---|
From | func setAccessibilityDecrementButton(_ accessibilityDecrementButton: AnyObject?) |
To | func setAccessibilityDecrementButton(_ accessibilityDecrementButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityDefaultButton(_ accessibilityDefaultButton: AnyObject?) |
To | func setAccessibilityDefaultButton(_ accessibilityDefaultButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityDisclosedByRow(_ accessibilityDisclosedByRow: AnyObject?) |
To | func setAccessibilityDisclosedByRow(_ accessibilityDisclosedByRow: Any?) |
Declaration | |
---|---|
From | func setAccessibilityDisclosedRows(_ accessibilityDisclosedRows: AnyObject?) |
To | func setAccessibilityDisclosedRows(_ accessibilityDisclosedRows: Any?) |
Declaration | |
---|---|
From | func setAccessibilityExtrasMenuBar(_ accessibilityExtrasMenuBar: AnyObject?) |
To | func setAccessibilityExtrasMenuBar(_ accessibilityExtrasMenuBar: Any?) |
Declaration | |
---|---|
From | func setAccessibilityFocusedWindow(_ accessibilityFocusedWindow: AnyObject?) |
To | func setAccessibilityFocusedWindow(_ accessibilityFocusedWindow: Any?) |
Declaration | |
---|---|
From | func setAccessibilityFullScreenButton(_ accessibilityFullScreenButton: AnyObject?) |
To | func setAccessibilityFullScreenButton(_ accessibilityFullScreenButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityGrowArea(_ accessibilityGrowArea: AnyObject?) |
To | func setAccessibilityGrowArea(_ accessibilityGrowArea: Any?) |
Declaration | |
---|---|
From | func setAccessibilityHandles(_ accessibilityHandles: [AnyObject]?) |
To | func setAccessibilityHandles(_ accessibilityHandles: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityHeader(_ accessibilityHeader: AnyObject?) |
To | func setAccessibilityHeader(_ accessibilityHeader: Any?) |
Declaration | |
---|---|
From | func setAccessibilityHorizontalScrollBar(_ accessibilityHorizontalScrollBar: AnyObject?) |
To | func setAccessibilityHorizontalScrollBar(_ accessibilityHorizontalScrollBar: Any?) |
Declaration | |
---|---|
From | func setAccessibilityIncrementButton(_ accessibilityIncrementButton: AnyObject?) |
To | func setAccessibilityIncrementButton(_ accessibilityIncrementButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityLabelUIElements(_ accessibilityLabelUIElements: [AnyObject]?) |
To | func setAccessibilityLabelUIElements(_ accessibilityLabelUIElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityLinkedUIElements(_ accessibilityLinkedUIElements: [AnyObject]?) |
To | func setAccessibilityLinkedUIElements(_ accessibilityLinkedUIElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityMainWindow(_ accessibilityMainWindow: AnyObject?) |
To | func setAccessibilityMainWindow(_ accessibilityMainWindow: Any?) |
Declaration | |
---|---|
From | func setAccessibilityMarkerGroupUIElement(_ accessibilityMarkerGroupUIElement: AnyObject?) |
To | func setAccessibilityMarkerGroupUIElement(_ accessibilityMarkerGroupUIElement: Any?) |
Declaration | |
---|---|
From | func setAccessibilityMarkerUIElements(_ accessibilityMarkerUIElements: [AnyObject]?) |
To | func setAccessibilityMarkerUIElements(_ accessibilityMarkerUIElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityMarkerValues(_ accessibilityMarkerValues: AnyObject?) |
To | func setAccessibilityMarkerValues(_ accessibilityMarkerValues: Any?) |
Declaration | |
---|---|
From | func setAccessibilityMaxValue(_ accessibilityMaxValue: AnyObject?) |
To | func setAccessibilityMaxValue(_ accessibilityMaxValue: Any?) |
Declaration | |
---|---|
From | func setAccessibilityMenuBar(_ accessibilityMenuBar: AnyObject?) |
To | func setAccessibilityMenuBar(_ accessibilityMenuBar: Any?) |
Declaration | |
---|---|
From | func setAccessibilityMinimizeButton(_ accessibilityMinimizeButton: AnyObject?) |
To | func setAccessibilityMinimizeButton(_ accessibilityMinimizeButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityMinValue(_ accessibilityMinValue: AnyObject?) |
To | func setAccessibilityMinValue(_ accessibilityMinValue: Any?) |
Declaration | |
---|---|
From | func setAccessibilityNextContents(_ accessibilityNextContents: [AnyObject]?) |
To | func setAccessibilityNextContents(_ accessibilityNextContents: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityOverflowButton(_ accessibilityOverflowButton: AnyObject?) |
To | func setAccessibilityOverflowButton(_ accessibilityOverflowButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityParent(_ accessibilityParent: AnyObject?) |
To | func setAccessibilityParent(_ accessibilityParent: Any?) |
Declaration | |
---|---|
From | func setAccessibilityPreviousContents(_ accessibilityPreviousContents: [AnyObject]?) |
To | func setAccessibilityPreviousContents(_ accessibilityPreviousContents: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityProxy(_ accessibilityProxy: AnyObject?) |
To | func setAccessibilityProxy(_ accessibilityProxy: Any?) |
Declaration | |
---|---|
From | func setAccessibilityRowHeaderUIElements(_ accessibilityRowHeaderUIElements: [AnyObject]?) |
To | func setAccessibilityRowHeaderUIElements(_ accessibilityRowHeaderUIElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityRows(_ accessibilityRows: [AnyObject]?) |
To | func setAccessibilityRows(_ accessibilityRows: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilitySearchButton(_ accessibilitySearchButton: AnyObject?) |
To | func setAccessibilitySearchButton(_ accessibilitySearchButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilitySearchMenu(_ accessibilitySearchMenu: AnyObject?) |
To | func setAccessibilitySearchMenu(_ accessibilitySearchMenu: Any?) |
Declaration | |
---|---|
From | func setAccessibilitySelectedCells(_ accessibilitySelectedCells: [AnyObject]?) |
To | func setAccessibilitySelectedCells(_ accessibilitySelectedCells: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilitySelectedChildren(_ accessibilitySelectedChildren: [AnyObject]?) |
To | func setAccessibilitySelectedChildren(_ accessibilitySelectedChildren: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilitySelectedColumns(_ accessibilitySelectedColumns: [AnyObject]?) |
To | func setAccessibilitySelectedColumns(_ accessibilitySelectedColumns: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilitySelectedRows(_ accessibilitySelectedRows: [AnyObject]?) |
To | func setAccessibilitySelectedRows(_ accessibilitySelectedRows: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityServesAsTitleForUIElements(_ accessibilityServesAsTitleForUIElements: [AnyObject]?) |
To | func setAccessibilityServesAsTitleForUIElements(_ accessibilityServesAsTitleForUIElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilitySharedFocusElements(_ accessibilitySharedFocusElements: [AnyObject]?) |
To | func setAccessibilitySharedFocusElements(_ accessibilitySharedFocusElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilitySharedTextUIElements(_ accessibilitySharedTextUIElements: [AnyObject]?) |
To | func setAccessibilitySharedTextUIElements(_ accessibilitySharedTextUIElements: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityShownMenu(_ accessibilityShownMenu: AnyObject?) |
To | func setAccessibilityShownMenu(_ accessibilityShownMenu: Any?) |
Declaration | |
---|---|
From | func setAccessibilitySplitters(_ accessibilitySplitters: [AnyObject]?) |
To | func setAccessibilitySplitters(_ accessibilitySplitters: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityTabs(_ accessibilityTabs: [AnyObject]?) |
To | func setAccessibilityTabs(_ accessibilityTabs: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityTitleUIElement(_ accessibilityTitleUIElement: AnyObject?) |
To | func setAccessibilityTitleUIElement(_ accessibilityTitleUIElement: Any?) |
Declaration | |
---|---|
From | func setAccessibilityToolbarButton(_ accessibilityToolbarButton: AnyObject?) |
To | func setAccessibilityToolbarButton(_ accessibilityToolbarButton: Any?) |
Declaration | |
---|---|
From | func setAccessibilityTopLevelUIElement(_ accessibilityTopLevelUIElement: AnyObject?) |
To | func setAccessibilityTopLevelUIElement(_ accessibilityTopLevelUIElement: Any?) |
Declaration | |
---|---|
From | func setAccessibilityURL(_ accessibilityURL: NSURL?) |
To | func setAccessibilityURL(_ accessibilityURL: URL?) |
Declaration | |
---|---|
From | func setAccessibilityValue(_ accessibilityValue: AnyObject?) |
To | func setAccessibilityValue(_ accessibilityValue: Any?) |
Declaration | |
---|---|
From | func setAccessibilityVerticalScrollBar(_ accessibilityVerticalScrollBar: AnyObject?) |
To | func setAccessibilityVerticalScrollBar(_ accessibilityVerticalScrollBar: Any?) |
Declaration | |
---|---|
From | func setAccessibilityVisibleCells(_ accessibilityVisibleCells: [AnyObject]?) |
To | func setAccessibilityVisibleCells(_ accessibilityVisibleCells: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityVisibleChildren(_ accessibilityVisibleChildren: [AnyObject]?) |
To | func setAccessibilityVisibleChildren(_ accessibilityVisibleChildren: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityVisibleColumns(_ accessibilityVisibleColumns: [AnyObject]?) |
To | func setAccessibilityVisibleColumns(_ accessibilityVisibleColumns: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityVisibleRows(_ accessibilityVisibleRows: [AnyObject]?) |
To | func setAccessibilityVisibleRows(_ accessibilityVisibleRows: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityWarningValue(_ accessibilityWarningValue: AnyObject?) |
To | func setAccessibilityWarningValue(_ accessibilityWarningValue: Any?) |
Declaration | |
---|---|
From | func setAccessibilityWindow(_ accessibilityWindow: AnyObject?) |
To | func setAccessibilityWindow(_ accessibilityWindow: Any?) |
Declaration | |
---|---|
From | func setAccessibilityWindows(_ accessibilityWindows: [AnyObject]?) |
To | func setAccessibilityWindows(_ accessibilityWindows: [Any]?) |
Declaration | |
---|---|
From | func setAccessibilityZoomButton(_ accessibilityZoomButton: AnyObject?) |
To | func setAccessibilityZoomButton(_ accessibilityZoomButton: Any?) |
Modified NSAccessibilityElement
Declaration | Protocols | |
---|---|---|
From | class NSAccessibilityElement : NSObject, NSAccessibility { class func accessibilityElementWithRole(_ role: String, frame frame: NSRect, label label: String?, parent parent: AnyObject?) -> AnyObject func accessibilityAddChildElement(_ childElement: NSAccessibilityElement) func accessibilityFrameInParentSpace() -> NSRect func setAccessibilityFrameInParentSpace(_ accessibilityFrameInParentSpace: NSRect) } | NSAccessibility |
To | class NSAccessibilityElement : NSObject, NSAccessibility { class func element(withRole role: String, frame frame: NSRect, label label: String?, parent parent: Any?) -> Any func accessibilityAddChildElement(_ childElement: NSAccessibilityElement) func accessibilityFrameInParentSpace() -> NSRect func setAccessibilityFrameInParentSpace(_ accessibilityFrameInParentSpace: NSRect) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSAccessibilityElement : CVarArg { } extension NSAccessibilityElement : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibility |
Declaration | |
---|---|
From | class func accessibilityElementWithRole(_ role: String, frame frame: NSRect, label label: String?, parent parent: AnyObject?) -> AnyObject |
To | class func element(withRole role: String, frame frame: NSRect, label label: String?, parent parent: Any?) -> Any |
Modified NSAccessibilityElementProtocol
Declaration | |
---|---|
From | protocol NSAccessibilityElementProtocol : NSObjectProtocol { func accessibilityFrame() -> NSRect func accessibilityParent() -> AnyObject? optional func isAccessibilityFocused() -> Bool optional func accessibilityIdentifier() -> String } |
To | protocol NSAccessibilityElementProtocol : NSObjectProtocol { func accessibilityFrame() -> NSRect func accessibilityParent() -> Any? optional func isAccessibilityFocused() -> Bool optional func accessibilityIdentifier() -> String } |
Declaration | |
---|---|
From | func accessibilityParent() -> AnyObject? |
To | func accessibilityParent() -> Any? |
Modified NSAccessibilityLayoutArea
Declaration | |
---|---|
From | protocol NSAccessibilityLayoutArea : NSAccessibilityGroup { func accessibilityLabel() -> String func accessibilityChildren() -> [AnyObject]? func accessibilitySelectedChildren() -> [AnyObject]? func accessibilityFocusedUIElement() -> AnyObject } |
To | protocol NSAccessibilityLayoutArea : NSAccessibilityGroup { func accessibilityLabel() -> String func accessibilityChildren() -> [Any]? func accessibilitySelectedChildren() -> [Any]? var accessibilityFocusedUIElement: Any { get } } |
Declaration | |
---|---|
From | func accessibilityChildren() -> [AnyObject]? |
To | func accessibilityChildren() -> [Any]? |
Declaration | |
---|---|
From | func accessibilitySelectedChildren() -> [AnyObject]? |
To | func accessibilitySelectedChildren() -> [Any]? |
Modified NSAccessibilityNavigableStaticText
Declaration | |
---|---|
From | protocol NSAccessibilityNavigableStaticText : NSAccessibilityStaticText { func accessibilityStringForRange(_ range: NSRange) -> String? func accessibilityLineForIndex(_ index: Int) -> Int func accessibilityRangeForLine(_ lineNumber: Int) -> NSRange func accessibilityFrameForRange(_ range: NSRange) -> NSRect } |
To | protocol NSAccessibilityNavigableStaticText : NSAccessibilityStaticText { func accessibilityString(for range: NSRange) -> String? func accessibilityLine(for index: Int) -> Int func accessibilityRange(forLine lineNumber: Int) -> NSRange func accessibilityFrame(for range: NSRange) -> NSRect } |
Declaration | |
---|---|
From | func accessibilityFrameForRange(_ range: NSRange) -> NSRect |
To | func accessibilityFrame(for range: NSRange) -> NSRect |
Declaration | |
---|---|
From | func accessibilityLineForIndex(_ index: Int) -> Int |
To | func accessibilityLine(for index: Int) -> Int |
Declaration | |
---|---|
From | func accessibilityRangeForLine(_ lineNumber: Int) -> NSRange |
To | func accessibilityRange(forLine lineNumber: Int) -> NSRange |
Declaration | |
---|---|
From | func accessibilityStringForRange(_ range: NSRange) -> String? |
To | func accessibilityString(for range: NSRange) -> String? |
Modified NSAccessibilityOrientation [enum]
Declaration | |
---|---|
From | enum NSAccessibilityOrientation : Int { case Unknown case Vertical case Horizontal } |
To | enum NSAccessibilityOrientation : Int { case unknown case vertical case horizontal } |
Declaration | |
---|---|
From | case Horizontal |
To | case horizontal |
Modified NSAccessibilityOrientation.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified NSAccessibilityOrientation.vertical
Declaration | |
---|---|
From | case Vertical |
To | case vertical |
Modified NSAccessibilityPriorityLevel [enum]
Declaration | |
---|---|
From | enum NSAccessibilityPriorityLevel : Int { case Low case Medium case High } |
To | enum NSAccessibilityPriorityLevel : Int { case low case medium case high } |
Modified NSAccessibilityPriorityLevel.high
Declaration | |
---|---|
From | case High |
To | case high |
Modified NSAccessibilityPriorityLevel.low
Declaration | |
---|---|
From | case Low |
To | case low |
Modified NSAccessibilityPriorityLevel.medium
Declaration | |
---|---|
From | case Medium |
To | case medium |
Declaration | |
---|---|
From | enum NSAccessibilityRulerMarkerType : Int { case Unknown case TabStopLeft case TabStopRight case TabStopCenter case TabStopDecimal case IndentHead case IndentTail case IndentFirstLine } |
To | enum NSAccessibilityRulerMarkerType : Int { case unknown case tabStopLeft case tabStopRight case tabStopCenter case tabStopDecimal case indentHead case indentTail case indentFirstLine } |
Declaration | |
---|---|
From | case IndentFirstLine |
To | case indentFirstLine |
Declaration | |
---|---|
From | case IndentHead |
To | case indentHead |
Declaration | |
---|---|
From | case IndentTail |
To | case indentTail |
Declaration | |
---|---|
From | case TabStopCenter |
To | case tabStopCenter |
Declaration | |
---|---|
From | case TabStopDecimal |
To | case tabStopDecimal |
Declaration | |
---|---|
From | case TabStopLeft |
To | case tabStopLeft |
Declaration | |
---|---|
From | case TabStopRight |
To | case tabStopRight |
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified NSAccessibilitySlider
Declaration | |
---|---|
From | protocol NSAccessibilitySlider : NSAccessibilityElementProtocol { func accessibilityLabel() -> String? func accessibilityValue() -> AnyObject? func accessibilityPerformIncrement() -> Bool func accessibilityPerformDecrement() -> Bool } |
To | protocol NSAccessibilitySlider : NSAccessibilityElementProtocol { func accessibilityLabel() -> String? func accessibilityValue() -> Any? func accessibilityPerformIncrement() -> Bool func accessibilityPerformDecrement() -> Bool } |
Declaration | |
---|---|
From | func accessibilityValue() -> AnyObject? |
To | func accessibilityValue() -> Any? |
Modified NSAccessibilitySortDirection [enum]
Declaration | |
---|---|
From | enum NSAccessibilitySortDirection : Int { case Unknown case Ascending case Descending } |
To | enum NSAccessibilitySortDirection : Int { case unknown case ascending case descending } |
Declaration | |
---|---|
From | case Ascending |
To | case ascending |
Declaration | |
---|---|
From | case Descending |
To | case descending |
Modified NSAccessibilitySortDirection.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified NSAccessibilityStaticText
Declaration | |
---|---|
From | protocol NSAccessibilityStaticText : NSAccessibilityElementProtocol { func accessibilityValue() -> String? optional func accessibilityAttributedStringForRange(_ range: NSRange) -> NSAttributedString? optional func accessibilityVisibleCharacterRange() -> NSRange } |
To | protocol NSAccessibilityStaticText : NSAccessibilityElementProtocol { func accessibilityValue() -> String? optional func accessibilityAttributedString(for range: NSRange) -> NSAttributedString? optional func accessibilityVisibleCharacterRange() -> NSRange } |
Modified NSAccessibilityStaticText.accessibilityAttributedString(for: NSRange) -> NSAttributedString?
Declaration | |
---|---|
From | optional func accessibilityAttributedStringForRange(_ range: NSRange) -> NSAttributedString? |
To | optional func accessibilityAttributedString(for range: NSRange) -> NSAttributedString? |
Modified NSAccessibilityStepper
Declaration | |
---|---|
From | protocol NSAccessibilityStepper : NSAccessibilityElementProtocol { func accessibilityLabel() -> String? func accessibilityPerformIncrement() -> Bool func accessibilityPerformDecrement() -> Bool optional func accessibilityValue() -> AnyObject? } |
To | protocol NSAccessibilityStepper : NSAccessibilityElementProtocol { func accessibilityLabel() -> String? func accessibilityPerformIncrement() -> Bool func accessibilityPerformDecrement() -> Bool optional func accessibilityValue() -> Any? } |
Declaration | |
---|---|
From | optional func accessibilityValue() -> AnyObject? |
To | optional func accessibilityValue() -> Any? |
Modified NSAccessibilityTable
Declaration | |
---|---|
From | protocol NSAccessibilityTable : NSAccessibilityGroup { func accessibilityLabel() -> String? func accessibilityRows() -> [NSAccessibilityRow]? optional func accessibilitySelectedRows() -> [NSAccessibilityRow]? optional func setAccessibilitySelectedRows(_ selectedRows: [NSAccessibilityRow]) optional func accessibilityVisibleRows() -> [NSAccessibilityRow]? optional func accessibilityColumns() -> [AnyObject]? optional func accessibilityVisibleColumns() -> [AnyObject]? optional func accessibilitySelectedColumns() -> [AnyObject]? optional func accessibilityHeaderGroup() -> String? optional func accessibilitySelectedCells() -> [AnyObject]? optional func accessibilityVisibleCells() -> [AnyObject]? optional func accessibilityRowHeaderUIElements() -> [AnyObject]? optional func accessibilityColumnHeaderUIElements() -> [AnyObject]? } |
To | protocol NSAccessibilityTable : NSAccessibilityGroup { func accessibilityLabel() -> String? func accessibilityRows() -> [NSAccessibilityRow]? optional func accessibilitySelectedRows() -> [NSAccessibilityRow]? optional func setAccessibilitySelectedRows(_ selectedRows: [NSAccessibilityRow]) optional func accessibilityVisibleRows() -> [NSAccessibilityRow]? optional func accessibilityColumns() -> [Any]? optional func accessibilityVisibleColumns() -> [Any]? optional func accessibilitySelectedColumns() -> [Any]? optional func accessibilityHeaderGroup() -> String? optional func accessibilitySelectedCells() -> [Any]? optional func accessibilityVisibleCells() -> [Any]? optional func accessibilityRowHeaderUIElements() -> [Any]? optional func accessibilityColumnHeaderUIElements() -> [Any]? } |
Declaration | |
---|---|
From | optional func accessibilityColumnHeaderUIElements() -> [AnyObject]? |
To | optional func accessibilityColumnHeaderUIElements() -> [Any]? |
Declaration | |
---|---|
From | optional func accessibilityColumns() -> [AnyObject]? |
To | optional func accessibilityColumns() -> [Any]? |
Declaration | |
---|---|
From | optional func accessibilityRowHeaderUIElements() -> [AnyObject]? |
To | optional func accessibilityRowHeaderUIElements() -> [Any]? |
Declaration | |
---|---|
From | optional func accessibilitySelectedCells() -> [AnyObject]? |
To | optional func accessibilitySelectedCells() -> [Any]? |
Declaration | |
---|---|
From | optional func accessibilitySelectedColumns() -> [AnyObject]? |
To | optional func accessibilitySelectedColumns() -> [Any]? |
Declaration | |
---|---|
From | optional func accessibilityVisibleCells() -> [AnyObject]? |
To | optional func accessibilityVisibleCells() -> [Any]? |
Declaration | |
---|---|
From | optional func accessibilityVisibleColumns() -> [AnyObject]? |
To | optional func accessibilityVisibleColumns() -> [Any]? |
Modified NSAccessibilityUnits [enum]
Declaration | |
---|---|
From | enum NSAccessibilityUnits : Int { case Unknown case Inches case Centimeters case Points case Picas } |
To | enum NSAccessibilityUnits : Int { case unknown case inches case centimeters case points case picas } |
Modified NSAccessibilityUnits.centimeters
Declaration | |
---|---|
From | case Centimeters |
To | case centimeters |
Modified NSAccessibilityUnits.inches
Declaration | |
---|---|
From | case Inches |
To | case inches |
Modified NSAccessibilityUnits.picas
Declaration | |
---|---|
From | case Picas |
To | case picas |
Modified NSAccessibilityUnits.points
Declaration | |
---|---|
From | case Points |
To | case points |
Modified NSAccessibilityUnits.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified NSActionCell
Declaration | Protocols | |
---|---|---|
From | class NSActionCell : NSCell { weak var target: AnyObject? var action: Selector var tag: Int } | -- |
To | class NSActionCell : NSCell { weak var target: AnyObject? var action: Selector? var tag: Int func entryType() -> Int func setEntryType(_ type: Int) func isEntryAcceptable(_ string: String) -> Bool func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String func setTitleWithMnemonic(_ stringWithAmpersand: String) var backgroundStyle: NSBackgroundStyle var interiorBackgroundStyle: NSBackgroundStyle { get } func expansionFrame(withFrame cellFrame: NSRect, in view: NSView) -> NSRect func draw(withExpansionFrame cellFrame: NSRect, in view: NSView) func hitTest(for event: NSEvent, in cellFrame: NSRect, of controlView: NSView) -> NSCellHitResult var allowsMixedState: Bool var nextState: Int { get } func setNextState() @NSCopying var attributedStringValue: NSAttributedString var allowsEditingTextAttributes: Bool var importsGraphics: Bool var refusesFirstResponder: Bool var acceptsFirstResponder: Bool { get } var showsFirstResponder: Bool func performClick(_ sender: Any?) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask(withFrame cellFrame: NSRect, in controlView: NSView) func focusRingMaskBounds(forFrame cellFrame: NSRect, in controlView: NSView) -> NSRect var wantsNotificationForMarkedText: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSActionCell : CVarArg { } extension NSActionCell : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSActionCell.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Declaration | |
---|---|
From | func transformBezierPath(_ aPath: NSBezierPath) -> NSBezierPath |
To | func transform(_ path: NSBezierPath) -> NSBezierPath |
Modified NSAlert
Declaration | Protocols | |
---|---|---|
From | class NSAlert : NSObject { init(error error: NSError) class func alertWithError(_ error: NSError) -> NSAlert var messageText: String var informativeText: String var icon: NSImage! func addButtonWithTitle(_ title: String) -> NSButton var buttons: [NSButton] { get } var showsHelp: Bool var helpAnchor: String? var alertStyle: NSAlertStyle unowned(unsafe) var delegate: NSAlertDelegate? var showsSuppressionButton: Bool var suppressionButton: NSButton? { get } var accessoryView: NSView? func layout() func runModal() -> NSModalResponse func beginSheetModalForWindow(_ window: NSWindow, modalDelegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func beginSheetModalForWindow(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Void)?) var window: NSWindow { get } } | -- |
To | class NSAlert : NSObject { init(error error: Error) class func withError(_ error: Error) -> NSAlert var messageText: String var informativeText: String var icon: NSImage! func addButton(withTitle title: String) -> NSButton var buttons: [NSButton] { get } var showsHelp: Bool var helpAnchor: String? var alertStyle: NSAlertStyle weak var delegate: NSAlertDelegate? var showsSuppressionButton: Bool var suppressionButton: NSButton? { get } var accessoryView: NSView? func layout() func runModal() -> NSModalResponse func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) var window: NSWindow { get } func beginSheetModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSAlert : CVarArg { } extension NSAlert : Equatable, Hashable { var hashValue: Int { get } } extension NSAlert { func beginSheetModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addButtonWithTitle(_ title: String) -> NSButton |
To | func addButton(withTitle title: String) -> NSButton |
Modified NSAlert.beginSheetModal(for: NSWindow, completionHandler: ( (NSModalResponse) -> Swift.Void)?)
Declaration | |
---|---|
From | func beginSheetModalForWindow(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Void)?) |
To | func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func beginSheetModalForWindow(_ window: NSWindow, modalDelegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func beginSheetModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSAlert.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: NSAlertDelegate? |
To | weak var delegate: NSAlertDelegate? |
Modified NSAlert.init(error: Error)
Declaration | |
---|---|
From | init(error error: NSError) |
To | init(error error: Error) |
Modified NSAlertStyle [enum]
Declaration | |
---|---|
From | enum NSAlertStyle : UInt { case WarningAlertStyle case InformationalAlertStyle case CriticalAlertStyle } |
To | enum NSAlertStyle : UInt { case warning case informational case critical } |
Modified NSAlignmentFeedbackFilter
Declaration | Protocols | |
---|---|---|
From | class NSAlignmentFeedbackFilter : NSObject { class func inputEventMask() -> NSEventMask func updateWithEvent(_ event: NSEvent) func updateWithPanRecognizer(_ panRecognizer: NSPanGestureRecognizer) func alignmentFeedbackTokenForMovementInView(_ view: NSView?, previousPoint previousPoint: NSPoint, alignedPoint alignedPoint: NSPoint, defaultPoint defaultPoint: NSPoint) -> NSAlignmentFeedbackToken? func alignmentFeedbackTokenForHorizontalMovementInView(_ view: NSView?, previousX previousX: CGFloat, alignedX alignedX: CGFloat, defaultX defaultX: CGFloat) -> NSAlignmentFeedbackToken? func alignmentFeedbackTokenForVerticalMovementInView(_ view: NSView?, previousY previousY: CGFloat, alignedY alignedY: CGFloat, defaultY defaultY: CGFloat) -> NSAlignmentFeedbackToken? func performFeedback(_ alignmentFeedbackTokens: [NSAlignmentFeedbackToken], performanceTime performanceTime: NSHapticFeedbackPerformanceTime) } | -- |
To | class NSAlignmentFeedbackFilter : NSObject { class func inputEventMask() -> NSEventMask func update(with event: NSEvent) func update(withPanRecognizer panRecognizer: NSPanGestureRecognizer) func alignmentFeedbackTokenForMovement(in view: NSView?, previousPoint previousPoint: NSPoint, alignedPoint alignedPoint: NSPoint, defaultPoint defaultPoint: NSPoint) -> NSAlignmentFeedbackToken? func alignmentFeedbackTokenForHorizontalMovement(in view: NSView?, previousX previousX: CGFloat, alignedX alignedX: CGFloat, defaultX defaultX: CGFloat) -> NSAlignmentFeedbackToken? func alignmentFeedbackTokenForVerticalMovement(in view: NSView?, previousY previousY: CGFloat, alignedY alignedY: CGFloat, defaultY defaultY: CGFloat) -> NSAlignmentFeedbackToken? func performFeedback(_ alignmentFeedbackTokens: [NSAlignmentFeedbackToken], performanceTime performanceTime: NSHapticFeedbackPerformanceTime) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSAlignmentFeedbackFilter : CVarArg { } extension NSAlignmentFeedbackFilter : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func alignmentFeedbackTokenForHorizontalMovementInView(_ view: NSView?, previousX previousX: CGFloat, alignedX alignedX: CGFloat, defaultX defaultX: CGFloat) -> NSAlignmentFeedbackToken? |
To | func alignmentFeedbackTokenForHorizontalMovement(in view: NSView?, previousX previousX: CGFloat, alignedX alignedX: CGFloat, defaultX defaultX: CGFloat) -> NSAlignmentFeedbackToken? |
Declaration | |
---|---|
From | func alignmentFeedbackTokenForMovementInView(_ view: NSView?, previousPoint previousPoint: NSPoint, alignedPoint alignedPoint: NSPoint, defaultPoint defaultPoint: NSPoint) -> NSAlignmentFeedbackToken? |
To | func alignmentFeedbackTokenForMovement(in view: NSView?, previousPoint previousPoint: NSPoint, alignedPoint alignedPoint: NSPoint, defaultPoint defaultPoint: NSPoint) -> NSAlignmentFeedbackToken? |
Declaration | |
---|---|
From | func alignmentFeedbackTokenForVerticalMovementInView(_ view: NSView?, previousY previousY: CGFloat, alignedY alignedY: CGFloat, defaultY defaultY: CGFloat) -> NSAlignmentFeedbackToken? |
To | func alignmentFeedbackTokenForVerticalMovement(in view: NSView?, previousY previousY: CGFloat, alignedY alignedY: CGFloat, defaultY defaultY: CGFloat) -> NSAlignmentFeedbackToken? |
Declaration | |
---|---|
From | func updateWithEvent(_ event: NSEvent) |
To | func update(with event: NSEvent) |
Declaration | |
---|---|
From | func updateWithPanRecognizer(_ panRecognizer: NSPanGestureRecognizer) |
To | func update(withPanRecognizer panRecognizer: NSPanGestureRecognizer) |
Modified NSAnimatablePropertyContainer
Declaration | |
---|---|
From | protocol NSAnimatablePropertyContainer { func animator() -> Self var animations: [String : AnyObject] { get set } func animationForKey(_ key: String) -> AnyObject? static func defaultAnimationForKey(_ key: String) -> AnyObject? } |
To | protocol NSAnimatablePropertyContainer { func animator() -> Self var animations: [String : Any] { get set } func animation(forKey key: String) -> Any? static func defaultAnimation(forKey key: String) -> Any? } |
Declaration | |
---|---|
From | func animationForKey(_ key: String) -> AnyObject? |
To | func animation(forKey key: String) -> Any? |
Declaration | |
---|---|
From | var animations: [String : AnyObject] { get set } |
To | var animations: [String : Any] { get set } |
Declaration | |
---|---|
From | static func defaultAnimationForKey(_ key: String) -> AnyObject? |
To | static func defaultAnimation(forKey key: String) -> Any? |
Modified NSAnimation
Declaration | Protocols | |
---|---|---|
From | class NSAnimation : NSObject, NSCopying, NSCoding { init(duration duration: NSTimeInterval, animationCurve animationCurve: NSAnimationCurve) func startAnimation() func stopAnimation() var animating: Bool { get } var currentProgress: NSAnimationProgress var duration: NSTimeInterval var animationBlockingMode: NSAnimationBlockingMode var frameRate: Float var animationCurve: NSAnimationCurve var currentValue: Float { get } unowned(unsafe) var delegate: NSAnimationDelegate? var progressMarks: [NSNumber] func addProgressMark(_ progressMark: NSAnimationProgress) func removeProgressMark(_ progressMark: NSAnimationProgress) func startWhenAnimation(_ animation: NSAnimation, reachesProgress startProgress: NSAnimationProgress) func stopWhenAnimation(_ animation: NSAnimation, reachesProgress stopProgress: NSAnimationProgress) func clearStartAnimation() func clearStopAnimation() var runLoopModesForAnimating: [String]? { get } } | NSCoding, NSCopying |
To | class NSAnimation : NSObject, NSCopying, NSCoding { init(duration duration: TimeInterval, animationCurve animationCurve: NSAnimationCurve) init?(coder coder: NSCoder) func start() func stop() var isAnimating: Bool { get } var currentProgress: NSAnimationProgress var duration: TimeInterval var animationBlockingMode: NSAnimationBlockingMode var frameRate: Float var animationCurve: NSAnimationCurve var currentValue: Float { get } unowned(unsafe) var delegate: NSAnimationDelegate? var progressMarks: [NSNumber] func addProgressMark(_ progressMark: NSAnimationProgress) func removeProgressMark(_ progressMark: NSAnimationProgress) func start(when animation: NSAnimation, reachesProgress startProgress: NSAnimationProgress) func stop(when animation: NSAnimation, reachesProgress stopProgress: NSAnimationProgress) func clearStart() func clearStop() var runLoopModesForAnimating: [RunLoopMode]? { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSAnimation : CVarArg { } extension NSAnimation : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSAnimation.clearStart()
Declaration | |
---|---|
From | func clearStartAnimation() |
To | func clearStart() |
Modified NSAnimation.clearStop()
Declaration | |
---|---|
From | func clearStopAnimation() |
To | func clearStop() |
Modified NSAnimation.duration
Declaration | |
---|---|
From | var duration: NSTimeInterval |
To | var duration: TimeInterval |
Declaration | |
---|---|
From | init(duration duration: NSTimeInterval, animationCurve animationCurve: NSAnimationCurve) |
To | init(duration duration: TimeInterval, animationCurve animationCurve: NSAnimationCurve) |
Modified NSAnimation.isAnimating
Declaration | |
---|---|
From | var animating: Bool { get } |
To | var isAnimating: Bool { get } |
Modified NSAnimation.runLoopModesForAnimating
Declaration | |
---|---|
From | var runLoopModesForAnimating: [String]? { get } |
To | var runLoopModesForAnimating: [RunLoopMode]? { get } |
Modified NSAnimation.start()
Declaration | |
---|---|
From | func startAnimation() |
To | func start() |
Declaration | |
---|---|
From | func startWhenAnimation(_ animation: NSAnimation, reachesProgress startProgress: NSAnimationProgress) |
To | func start(when animation: NSAnimation, reachesProgress startProgress: NSAnimationProgress) |
Modified NSAnimation.stop()
Declaration | |
---|---|
From | func stopAnimation() |
To | func stop() |
Declaration | |
---|---|
From | func stopWhenAnimation(_ animation: NSAnimation, reachesProgress stopProgress: NSAnimationProgress) |
To | func stop(when animation: NSAnimation, reachesProgress stopProgress: NSAnimationProgress) |
Modified NSAnimationBlockingMode [enum]
Declaration | |
---|---|
From | enum NSAnimationBlockingMode : UInt { case Blocking case Nonblocking case NonblockingThreaded } |
To | enum NSAnimationBlockingMode : UInt { case blocking case nonblocking case nonblockingThreaded } |
Modified NSAnimationBlockingMode.blocking
Declaration | |
---|---|
From | case Blocking |
To | case blocking |
Modified NSAnimationBlockingMode.nonblocking
Declaration | |
---|---|
From | case Nonblocking |
To | case nonblocking |
Declaration | |
---|---|
From | case NonblockingThreaded |
To | case nonblockingThreaded |
Modified NSAnimationContext
Declaration | Protocols | |
---|---|---|
From | class NSAnimationContext : NSObject { class func runAnimationGroup(_ changes: (NSAnimationContext) -> Void, completionHandler completionHandler: (() -> Void)?) class func beginGrouping() class func endGrouping() class func currentContext() -> NSAnimationContext var duration: NSTimeInterval var timingFunction: CAMediaTimingFunction? var completionHandler: (() -> Void)? var allowsImplicitAnimation: Bool } | -- |
To | class NSAnimationContext : NSObject { class func runAnimationGroup(_ changes: (NSAnimationContext) -> Swift.Void, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) class func beginGrouping() class func endGrouping() class func current() -> NSAnimationContext var duration: TimeInterval var timingFunction: CAMediaTimingFunction? var completionHandler: (() -> Swift.Void)? var allowsImplicitAnimation: Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSAnimationContext : CVarArg { } extension NSAnimationContext : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSAnimationContext.completionHandler
Declaration | |
---|---|
From | var completionHandler: (() -> Void)? |
To | var completionHandler: (() -> Swift.Void)? |
Declaration | |
---|---|
From | class func currentContext() -> NSAnimationContext |
To | class func current() -> NSAnimationContext |
Modified NSAnimationContext.duration
Declaration | |
---|---|
From | var duration: NSTimeInterval |
To | var duration: TimeInterval |
Declaration | |
---|---|
From | class func runAnimationGroup(_ changes: (NSAnimationContext) -> Void, completionHandler completionHandler: (() -> Void)?) |
To | class func runAnimationGroup(_ changes: (NSAnimationContext) -> Swift.Void, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
Modified NSAnimationCurve [enum]
Declaration | |
---|---|
From | enum NSAnimationCurve : UInt { case EaseInOut case EaseIn case EaseOut case Linear } |
To | enum NSAnimationCurve : UInt { case easeInOut case easeIn case easeOut case linear } |
Modified NSAnimationCurve.easeIn
Declaration | |
---|---|
From | case EaseIn |
To | case easeIn |
Modified NSAnimationCurve.easeInOut
Declaration | |
---|---|
From | case EaseInOut |
To | case easeInOut |
Modified NSAnimationCurve.easeOut
Declaration | |
---|---|
From | case EaseOut |
To | case easeOut |
Modified NSAnimationCurve.linear
Declaration | |
---|---|
From | case Linear |
To | case linear |
Modified NSAnimationEffect [enum]
Declaration | |
---|---|
From | enum NSAnimationEffect : UInt { case DisappearingItemDefault case Poof } |
To | enum NSAnimationEffect : UInt { case disappearingItemDefault case poof } |
Declaration | |
---|---|
From | case DisappearingItemDefault |
To | case disappearingItemDefault |
Modified NSAnimationEffect.poof
Declaration | |
---|---|
From | case Poof |
To | case poof |
Modified NSAppearance
Declaration | Protocols | |
---|---|---|
From | class NSAppearance : NSObject, NSCoding { var name: String { get } class func currentAppearance() -> NSAppearance class func setCurrentAppearance(_ appearance: NSAppearance?) init?(named name: String) class func appearanceNamed(_ name: String) -> NSAppearance? init?(appearanceNamed name: String, bundle bundle: NSBundle?) var allowsVibrancy: Bool { get } } | NSCoding |
To | class NSAppearance : NSObject, NSCoding { var name: String { get } class func current() -> NSAppearance class func setCurrent(_ appearance: NSAppearance?) init?(named name: String) class func appearanceNamed(_ name: String) -> NSAppearance? init?(appearanceNamed name: String, bundle bundle: Bundle?) init?(coder aDecoder: NSCoder) var allowsVibrancy: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSAppearance : CVarArg { } extension NSAppearance : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | class func currentAppearance() -> NSAppearance |
To | class func current() -> NSAppearance |
Declaration | |
---|---|
From | init?(appearanceNamed name: String, bundle bundle: NSBundle?) |
To | init?(appearanceNamed name: String, bundle bundle: Bundle?) |
Modified NSAppearance.setCurrent(_: NSAppearance?) [class]
Declaration | |
---|---|
From | class func setCurrentAppearance(_ appearance: NSAppearance?) |
To | class func setCurrent(_ appearance: NSAppearance?) |
Modified NSApplication
Declaration | Protocols | |
---|---|---|
From | class NSApplication : NSResponder, NSUserInterfaceValidations, NSAccessibilityElementProtocol, NSAccessibility { class func sharedApplication() -> NSApplication unowned(unsafe) var delegate: NSApplicationDelegate? var context: NSGraphicsContext? { get } func hide(_ sender: AnyObject?) func unhide(_ sender: AnyObject?) func unhideWithoutActivation() func windowWithWindowNumber(_ windowNum: Int) -> NSWindow? unowned(unsafe) var mainWindow: NSWindow? { get } unowned(unsafe) var keyWindow: NSWindow? { get } var active: Bool { get } var hidden: Bool { get } var running: Bool { get } func deactivate() func activateIgnoringOtherApps(_ flag: Bool) func hideOtherApplications(_ sender: AnyObject?) func unhideAllApplications(_ sender: AnyObject?) func finishLaunching() func run() func runModalForWindow(_ theWindow: NSWindow) -> Int func stop(_ sender: AnyObject?) func stopModal() func stopModalWithCode(_ returnCode: Int) func abortModal() var modalWindow: NSWindow? { get } func beginModalSessionForWindow(_ theWindow: NSWindow) -> NSModalSession func runModalSession(_ session: NSModalSession) -> Int func endModalSession(_ session: NSModalSession) func terminate(_ sender: AnyObject?) func requestUserAttention(_ requestType: NSRequestUserAttentionType) -> Int func cancelUserAttentionRequest(_ request: Int) func nextEventMatchingMask(_ mask: Int, untilDate expiration: NSDate?, inMode mode: String, dequeue deqFlag: Bool) -> NSEvent? func discardEventsMatchingMask(_ mask: Int, beforeEvent lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } func sendEvent(_ theEvent: NSEvent) func preventWindowOrdering() func makeWindowsPerform(_ aSelector: Selector, inOrder flag: Bool) -> NSWindow? var windows: [NSWindow] { get } func setWindowsNeedUpdate(_ needUpdate: Bool) func updateWindows() var mainMenu: NSMenu? var helpMenu: NSMenu? var applicationIconImage: NSImage! func activationPolicy() -> NSApplicationActivationPolicy func setActivationPolicy(_ activationPolicy: NSApplicationActivationPolicy) -> Bool var dockTile: NSDockTile { get } func sendAction(_ theAction: Selector, to theTarget: AnyObject?, from sender: AnyObject?) -> Bool func targetForAction(_ theAction: Selector) -> AnyObject? func targetForAction(_ theAction: Selector, to theTarget: AnyObject?, from sender: AnyObject?) -> AnyObject? func tryToPerform(_ anAction: Selector, with anObject: AnyObject?) -> Bool func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? func reportException(_ theException: NSException) class func detachDrawingThread(_ selector: Selector, toTarget target: AnyObject, withObject argument: AnyObject?) func replyToApplicationShouldTerminate(_ shouldTerminate: Bool) func replyToOpenOrPrint(_ reply: NSApplicationDelegateReply) func orderFrontCharacterPalette(_ sender: AnyObject?) var presentationOptions: NSApplicationPresentationOptions var currentSystemPresentationOptions: NSApplicationPresentationOptions { get } var occlusionState: NSApplicationOcclusionState { get } } extension NSApplication { var windowsMenu: NSMenu? func arrangeInFront(_ sender: AnyObject?) func removeWindowsItem(_ win: NSWindow) func addWindowsItem(_ win: NSWindow, title aString: String, filename isFilename: Bool) func changeWindowsItem(_ win: NSWindow, title aString: String, filename isFilename: Bool) func updateWindowsItem(_ win: NSWindow) func miniaturizeAll(_ sender: AnyObject?) } extension NSApplication { var fullKeyboardAccessEnabled: Bool { get } } extension NSApplication { var servicesMenu: NSMenu? func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String]) } extension NSApplication { var servicesProvider: AnyObject? } extension NSApplication { func orderFrontStandardAboutPanel(_ sender: AnyObject?) func orderFrontStandardAboutPanelWithOptions(_ optionsDictionary: [String : AnyObject]) } extension NSApplication { var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get } } extension NSApplication { func disableRelaunchOnLogin() func enableRelaunchOnLogin() } extension NSApplication { func registerForRemoteNotificationTypes(_ types: NSRemoteNotificationType) func unregisterForRemoteNotifications() var enabledRemoteNotificationTypes: NSRemoteNotificationType { get } } extension NSApplication { func runModalForWindow(_ theWindow: NSWindow!, relativeToWindow docWindow: NSWindow!) -> Int func beginModalSessionForWindow(_ theWindow: NSWindow!, relativeToWindow docWindow: NSWindow!) -> NSModalSession func application(_ sender: NSApplication!, printFiles filenames: [String]!) func beginSheet(_ sheet: NSWindow, modalForWindow docWindow: NSWindow, modalDelegate modalDelegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func endSheet(_ sheet: NSWindow) func endSheet(_ sheet: NSWindow, returnCode returnCode: Int) } extension NSApplication { var orderedDocuments: [NSDocument] { get } var orderedWindows: [NSWindow] { get } } extension NSApplication { func orderFrontColorPanel(_ sender: AnyObject?) } extension NSApplication { func activateContextHelpMode(_ sender: AnyObject?) func showHelp(_ sender: AnyObject?) } extension NSApplication { func runPageLayout(_ sender: AnyObject?) } extension NSApplication { func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func unregisterUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, searchRange searchRange: NSRange, foundRange foundRange: UnsafeMutablePointer<NSRange>) -> Bool } extension NSApplication { func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void) -> Bool } extension NSApplication { func extendStateRestoration() func completeStateRestoration() } | NSAccessibility, NSAccessibilityElementProtocol, NSUserInterfaceValidations |
To | class NSApplication : NSResponder, NSUserInterfaceValidations, NSAccessibilityElementProtocol, NSAccessibility { class func shared() -> NSApplication unowned(unsafe) var delegate: NSApplicationDelegate? func hide(_ sender: Any?) func unhide(_ sender: Any?) func unhideWithoutActivation() func window(withWindowNumber windowNum: Int) -> NSWindow? unowned(unsafe) var mainWindow: NSWindow? { get } unowned(unsafe) var keyWindow: NSWindow? { get } var isActive: Bool { get } var isHidden: Bool { get } var isRunning: Bool { get } func deactivate() func activate(ignoringOtherApps flag: Bool) func hideOtherApplications(_ sender: Any?) func unhideAllApplications(_ sender: Any?) func finishLaunching() func run() func runModal(for window: NSWindow) -> Int func stop(_ sender: Any?) func stopModal() func stopModal(withCode returnCode: Int) func abortModal() var modalWindow: NSWindow? { get } func beginModalSession(for window: NSWindow) -> NSModalSession func runModalSession(_ session: NSModalSession) -> Int func endModalSession(_ session: NSModalSession) func terminate(_ sender: Any?) func requestUserAttention(_ requestType: NSRequestUserAttentionType) -> Int func cancelUserAttentionRequest(_ request: Int) func enumerateWindows(options options: NSWindowListOptions = [], using block: (NSWindow, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func preventWindowOrdering() var windows: [NSWindow] { get } func setWindowsNeedUpdate(_ needUpdate: Bool) func updateWindows() var mainMenu: NSMenu? var helpMenu: NSMenu? var applicationIconImage: NSImage! func activationPolicy() -> NSApplicationActivationPolicy func setActivationPolicy(_ activationPolicy: NSApplicationActivationPolicy) -> Bool var dockTile: NSDockTile { get } func reportException(_ exception: NSException) class func detachDrawingThread(_ selector: Selector, toTarget target: Any, with argument: Any?) func reply(toApplicationShouldTerminate shouldTerminate: Bool) func reply(toOpenOrPrint reply: NSApplicationDelegateReply) func orderFrontCharacterPalette(_ sender: Any?) var presentationOptions: NSApplicationPresentationOptions var currentSystemPresentationOptions: NSApplicationPresentationOptions { get } var occlusionState: NSApplicationOcclusionState { get } func sendEvent(_ event: NSEvent) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool func target(forAction action: Selector) -> Any? func target(forAction action: Selector, to target: Any?, from sender: Any?) -> Any? func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? var windowsMenu: NSMenu? func arrangeInFront(_ sender: Any?) func removeWindowsItem(_ win: NSWindow) func addWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func changeWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func updateWindowsItem(_ win: NSWindow) func miniaturizeAll(_ sender: Any?) var isFullKeyboardAccessEnabled: Bool { get } var servicesMenu: NSMenu? func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String]) var servicesProvider: Any? func orderFrontStandardAboutPanel(_ sender: Any?) func orderFrontStandardAboutPanel(options optionsDictionary: [String : Any] = [:]) var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get } func disableRelaunchOnLogin() func enableRelaunchOnLogin() func registerForRemoteNotifications(matching types: NSRemoteNotificationType) func unregisterForRemoteNotifications() var enabledRemoteNotificationTypes: NSRemoteNotificationType { get } func runModal(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> Int func beginModalSession(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> NSModalSession func application(_ sender: NSApplication!, printFiles filenames: [String]!) func beginSheet(_ sheet: NSWindow, modalFor docWindow: NSWindow, modalDelegate modalDelegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer!) func endSheet(_ sheet: NSWindow) func endSheet(_ sheet: NSWindow, returnCode returnCode: Int) func makeWindowsPerform(_ selector: Selector, inOrder flag: Bool) -> NSWindow? var context: NSGraphicsContext? { get } func orderFrontColorPanel(_ sender: Any?) func activateContextHelpMode(_ sender: Any?) func showHelp(_ sender: Any?) func runPageLayout(_ sender: Any?) var orderedDocuments: [NSDocument] { get } var orderedWindows: [NSWindow] { get } func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func unregisterUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, range searchRange: NSRange, found foundRange: UnsafeMutablePointer<NSRange>?) -> Bool func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) -> Bool func extendStateRestoration() func completeStateRestoration() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? } extension NSApplication : CVarArg { } extension NSApplication : Equatable, Hashable { var hashValue: Int { get } } extension NSApplication { func sendEvent(_ event: NSEvent) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) } extension NSApplication { func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool func target(forAction action: Selector) -> Any? func target(forAction action: Selector, to target: Any?, from sender: Any?) -> Any? func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? } extension NSApplication { var windowsMenu: NSMenu? func arrangeInFront(_ sender: Any?) func removeWindowsItem(_ win: NSWindow) func addWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func changeWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func updateWindowsItem(_ win: NSWindow) func miniaturizeAll(_ sender: Any?) } extension NSApplication { var isFullKeyboardAccessEnabled: Bool { get } } extension NSApplication { var servicesMenu: NSMenu? func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String]) } extension NSApplication { var servicesProvider: Any? } extension NSApplication { func orderFrontStandardAboutPanel(_ sender: Any?) func orderFrontStandardAboutPanel(options optionsDictionary: [String : Any] = [:]) } extension NSApplication { var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get } } extension NSApplication { func disableRelaunchOnLogin() func enableRelaunchOnLogin() } extension NSApplication { func registerForRemoteNotifications(matching types: NSRemoteNotificationType) func unregisterForRemoteNotifications() var enabledRemoteNotificationTypes: NSRemoteNotificationType { get } } extension NSApplication { func runModal(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> Int func beginModalSession(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> NSModalSession func application(_ sender: NSApplication!, printFiles filenames: [String]!) func beginSheet(_ sheet: NSWindow, modalFor docWindow: NSWindow, modalDelegate modalDelegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer!) func endSheet(_ sheet: NSWindow) func endSheet(_ sheet: NSWindow, returnCode returnCode: Int) func makeWindowsPerform(_ selector: Selector, inOrder flag: Bool) -> NSWindow? var context: NSGraphicsContext? { get } } extension NSApplication { var orderedDocuments: [NSDocument] { get } var orderedWindows: [NSWindow] { get } } extension NSApplication { func orderFrontColorPanel(_ sender: Any?) } extension NSApplication { func activateContextHelpMode(_ sender: Any?) func showHelp(_ sender: Any?) } extension NSApplication { func runPageLayout(_ sender: Any?) } extension NSApplication { func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func unregisterUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, range searchRange: NSRange, found foundRange: UnsafeMutablePointer<NSRange>?) -> Bool } extension NSApplication { func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) -> Bool } extension NSApplication { func extendStateRestoration() func completeStateRestoration() } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSUserInterfaceValidations |
Declaration | |
---|---|
From | func activateIgnoringOtherApps(_ flag: Bool) |
To | func activate(ignoringOtherApps flag: Bool) |
Declaration | |
---|---|
From | func activateContextHelpMode(_ sender: AnyObject?) |
To | func activateContextHelpMode(_ sender: Any?) |
Declaration | |
---|---|
From | func arrangeInFront(_ sender: AnyObject?) |
To | func arrangeInFront(_ sender: Any?) |
Declaration | |
---|---|
From | func beginModalSessionForWindow(_ theWindow: NSWindow) -> NSModalSession |
To | func beginModalSession(for window: NSWindow) -> NSModalSession |
Declaration | |
---|---|
From | func beginSheet(_ sheet: NSWindow, modalForWindow docWindow: NSWindow, modalDelegate modalDelegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func beginSheet(_ sheet: NSWindow, modalFor docWindow: NSWindow, modalDelegate modalDelegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer!) |
Modified NSApplication.context
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | class func detachDrawingThread(_ selector: Selector, toTarget target: AnyObject, withObject argument: AnyObject?) |
To | class func detachDrawingThread(_ selector: Selector, toTarget target: Any, with argument: Any?) |
Declaration | |
---|---|
From | func discardEventsMatchingMask(_ mask: Int, beforeEvent lastEvent: NSEvent?) |
To | func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) |
Modified NSApplication.hide(_: Any?)
Declaration | |
---|---|
From | func hide(_ sender: AnyObject?) |
To | func hide(_ sender: Any?) |
Declaration | |
---|---|
From | func hideOtherApplications(_ sender: AnyObject?) |
To | func hideOtherApplications(_ sender: Any?) |
Modified NSApplication.isActive
Declaration | |
---|---|
From | var active: Bool { get } |
To | var isActive: Bool { get } |
Declaration | |
---|---|
From | var fullKeyboardAccessEnabled: Bool { get } |
To | var isFullKeyboardAccessEnabled: Bool { get } |
Modified NSApplication.isHidden
Declaration | |
---|---|
From | var hidden: Bool { get } |
To | var isHidden: Bool { get } |
Modified NSApplication.isRunning
Declaration | |
---|---|
From | var running: Bool { get } |
To | var isRunning: Bool { get } |
Declaration | |
---|---|
From | func miniaturizeAll(_ sender: AnyObject?) |
To | func miniaturizeAll(_ sender: Any?) |
Declaration | |
---|---|
From | func nextEventMatchingMask(_ mask: Int, untilDate expiration: NSDate?, inMode mode: String, dequeue deqFlag: Bool) -> NSEvent? |
To | func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? |
Declaration | |
---|---|
From | func orderFrontCharacterPalette(_ sender: AnyObject?) |
To | func orderFrontCharacterPalette(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontColorPanel(_ sender: AnyObject?) |
To | func orderFrontColorPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontStandardAboutPanel(_ sender: AnyObject?) |
To | func orderFrontStandardAboutPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontStandardAboutPanelWithOptions(_ optionsDictionary: [String : AnyObject]) |
To | func orderFrontStandardAboutPanel(options optionsDictionary: [String : Any] = [:]) |
Declaration | |
---|---|
From | func registerForRemoteNotificationTypes(_ types: NSRemoteNotificationType) |
To | func registerForRemoteNotifications(matching types: NSRemoteNotificationType) |
Declaration | |
---|---|
From | func replyToApplicationShouldTerminate(_ shouldTerminate: Bool) |
To | func reply(toApplicationShouldTerminate shouldTerminate: Bool) |
Declaration | |
---|---|
From | func replyToOpenOrPrint(_ reply: NSApplicationDelegateReply) |
To | func reply(toOpenOrPrint reply: NSApplicationDelegateReply) |
Declaration | |
---|---|
From | func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void) -> Bool |
To | func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) -> Bool |
Declaration | |
---|---|
From | func runModalForWindow(_ theWindow: NSWindow) -> Int |
To | func runModal(for window: NSWindow) -> Int |
Modified NSApplication.runPageLayout(_: Any?)
Declaration | |
---|---|
From | func runPageLayout(_ sender: AnyObject?) |
To | func runPageLayout(_ sender: Any?) |
Declaration | |
---|---|
From | func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, searchRange searchRange: NSRange, foundRange foundRange: UnsafeMutablePointer<NSRange>) -> Bool |
To | func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, range searchRange: NSRange, found foundRange: UnsafeMutablePointer<NSRange>?) -> Bool |
Declaration | |
---|---|
From | func sendAction(_ theAction: Selector, to theTarget: AnyObject?, from sender: AnyObject?) -> Bool |
To | func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool |
Modified NSApplication.servicesProvider
Declaration | |
---|---|
From | var servicesProvider: AnyObject? |
To | var servicesProvider: Any? |
Declaration | |
---|---|
From | class func sharedApplication() -> NSApplication |
To | class func shared() -> NSApplication |
Modified NSApplication.showHelp(_: Any?)
Declaration | |
---|---|
From | func showHelp(_ sender: AnyObject?) |
To | func showHelp(_ sender: Any?) |
Modified NSApplication.stop(_: Any?)
Declaration | |
---|---|
From | func stop(_ sender: AnyObject?) |
To | func stop(_ sender: Any?) |
Declaration | |
---|---|
From | func stopModalWithCode(_ returnCode: Int) |
To | func stopModal(withCode returnCode: Int) |
Declaration | |
---|---|
From | func targetForAction(_ theAction: Selector) -> AnyObject? |
To | func target(forAction action: Selector) -> Any? |
Declaration | |
---|---|
From | func targetForAction(_ theAction: Selector, to theTarget: AnyObject?, from sender: AnyObject?) -> AnyObject? |
To | func target(forAction action: Selector, to target: Any?, from sender: Any?) -> Any? |
Modified NSApplication.terminate(_: Any?)
Declaration | |
---|---|
From | func terminate(_ sender: AnyObject?) |
To | func terminate(_ sender: Any?) |
Declaration | |
---|---|
From | func tryToPerform(_ anAction: Selector, with anObject: AnyObject?) -> Bool |
To | func `try`(toPerform action: Selector, with object: Any?) -> Bool |
Modified NSApplication.unhide(_: Any?)
Declaration | |
---|---|
From | func unhide(_ sender: AnyObject?) |
To | func unhide(_ sender: Any?) |
Declaration | |
---|---|
From | func unhideAllApplications(_ sender: AnyObject?) |
To | func unhideAllApplications(_ sender: Any?) |
Declaration | |
---|---|
From | func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? |
To | func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? |
Declaration | |
---|---|
From | func windowWithWindowNumber(_ windowNum: Int) -> NSWindow? |
To | func window(withWindowNumber windowNum: Int) -> NSWindow? |
Declaration | Protocols | |
---|---|---|
From | struct NSApplicationActivationOptions : OptionSetType { init(rawValue rawValue: UInt) static var ActivateAllWindows: NSApplicationActivationOptions { get } static var ActivateIgnoringOtherApps: NSApplicationActivationOptions { get } } | OptionSetType |
To | struct NSApplicationActivationOptions : OptionSet { init(rawValue rawValue: UInt) static var activateAllWindows: NSApplicationActivationOptions { get } static var activateIgnoringOtherApps: NSApplicationActivationOptions { get } func intersect(_ other: NSApplicationActivationOptions) -> NSApplicationActivationOptions func exclusiveOr(_ other: NSApplicationActivationOptions) -> NSApplicationActivationOptions mutating func unionInPlace(_ other: NSApplicationActivationOptions) mutating func intersectInPlace(_ other: NSApplicationActivationOptions) mutating func exclusiveOrInPlace(_ other: NSApplicationActivationOptions) func isSubsetOf(_ other: NSApplicationActivationOptions) -> Bool func isDisjointWith(_ other: NSApplicationActivationOptions) -> Bool func isSupersetOf(_ other: NSApplicationActivationOptions) -> Bool mutating func subtractInPlace(_ other: NSApplicationActivationOptions) func isStrictSupersetOf(_ other: NSApplicationActivationOptions) -> Bool func isStrictSubsetOf(_ other: NSApplicationActivationOptions) -> Bool } extension NSApplicationActivationOptions { func union(_ other: NSApplicationActivationOptions) -> NSApplicationActivationOptions func intersection(_ other: NSApplicationActivationOptions) -> NSApplicationActivationOptions func symmetricDifference(_ other: NSApplicationActivationOptions) -> NSApplicationActivationOptions } extension NSApplicationActivationOptions { func contains(_ member: NSApplicationActivationOptions) -> Bool mutating func insert(_ newMember: NSApplicationActivationOptions) -> (inserted: Bool, memberAfterInsert: NSApplicationActivationOptions) mutating func remove(_ member: NSApplicationActivationOptions) -> NSApplicationActivationOptions? mutating func update(with newMember: NSApplicationActivationOptions) -> NSApplicationActivationOptions? } extension NSApplicationActivationOptions { convenience init() mutating func formUnion(_ other: NSApplicationActivationOptions) mutating func formIntersection(_ other: NSApplicationActivationOptions) mutating func formSymmetricDifference(_ other: NSApplicationActivationOptions) } extension NSApplicationActivationOptions { convenience init<S : Sequence where S.Iterator.Element == NSApplicationActivationOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSApplicationActivationOptions...) mutating func subtract(_ other: NSApplicationActivationOptions) func isSubset(of other: NSApplicationActivationOptions) -> Bool func isSuperset(of other: NSApplicationActivationOptions) -> Bool func isDisjoint(with other: NSApplicationActivationOptions) -> Bool func subtracting(_ other: NSApplicationActivationOptions) -> NSApplicationActivationOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSApplicationActivationOptions) -> Bool func isStrictSubset(of other: NSApplicationActivationOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ActivateAllWindows: NSApplicationActivationOptions { get } |
To | static var activateAllWindows: NSApplicationActivationOptions { get } |
Declaration | |
---|---|
From | static var ActivateIgnoringOtherApps: NSApplicationActivationOptions { get } |
To | static var activateIgnoringOtherApps: NSApplicationActivationOptions { get } |
Modified NSApplicationActivationPolicy [enum]
Declaration | |
---|---|
From | enum NSApplicationActivationPolicy : Int { case Regular case Accessory case Prohibited } |
To | enum NSApplicationActivationPolicy : Int { case regular case accessory case prohibited } |
Declaration | |
---|---|
From | case Accessory |
To | case accessory |
Declaration | |
---|---|
From | case Prohibited |
To | case prohibited |
Declaration | |
---|---|
From | case Regular |
To | case regular |
Modified NSApplicationDelegate
Declaration | |
---|---|
From | protocol NSApplicationDelegate : NSObjectProtocol { optional func applicationShouldTerminate(_ sender: NSApplication) -> NSApplicationTerminateReply optional func application(_ sender: NSApplication, openFile filename: String) -> Bool optional func application(_ sender: NSApplication, openFiles filenames: [String]) optional func application(_ sender: NSApplication, openTempFile filename: String) -> Bool optional func applicationShouldOpenUntitledFile(_ sender: NSApplication) -> Bool optional func applicationOpenUntitledFile(_ sender: NSApplication) -> Bool optional func application(_ sender: AnyObject, openFileWithoutUI filename: String) -> Bool optional func application(_ sender: NSApplication, printFile filename: String) -> Bool optional func application(_ application: NSApplication, printFiles fileNames: [String], withSettings printSettings: [String : AnyObject], showPrintPanels showPrintPanels: Bool) -> NSApplicationPrintReply optional func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool optional func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool optional func applicationDockMenu(_ sender: NSApplication) -> NSMenu? optional func application(_ application: NSApplication, willPresentError error: NSError) -> NSError optional func application(_ application: NSApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) optional func application(_ application: NSApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError) optional func application(_ application: NSApplication, didReceiveRemoteNotification userInfo: [String : AnyObject]) optional func application(_ app: NSApplication, willEncodeRestorableState coder: NSCoder) optional func application(_ app: NSApplication, didDecodeRestorableState coder: NSCoder) optional func application(_ application: NSApplication, willContinueUserActivityWithType userActivityType: String) -> Bool optional func application(_ application: NSApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]) -> Void) -> Bool optional func application(_ application: NSApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: NSError) optional func application(_ application: NSApplication, didUpdateUserActivity userActivity: NSUserActivity) optional func applicationWillFinishLaunching(_ notification: NSNotification) optional func applicationDidFinishLaunching(_ notification: NSNotification) optional func applicationWillHide(_ notification: NSNotification) optional func applicationDidHide(_ notification: NSNotification) optional func applicationWillUnhide(_ notification: NSNotification) optional func applicationDidUnhide(_ notification: NSNotification) optional func applicationWillBecomeActive(_ notification: NSNotification) optional func applicationDidBecomeActive(_ notification: NSNotification) optional func applicationWillResignActive(_ notification: NSNotification) optional func applicationDidResignActive(_ notification: NSNotification) optional func applicationWillUpdate(_ notification: NSNotification) optional func applicationDidUpdate(_ notification: NSNotification) optional func applicationWillTerminate(_ notification: NSNotification) optional func applicationDidChangeScreenParameters(_ notification: NSNotification) optional func applicationDidChangeOcclusionState(_ notification: NSNotification) } |
To | protocol NSApplicationDelegate : NSObjectProtocol { optional func applicationShouldTerminate(_ sender: NSApplication) -> NSApplicationTerminateReply optional func application(_ sender: NSApplication, openFile filename: String) -> Bool optional func application(_ sender: NSApplication, openFiles filenames: [String]) optional func application(_ sender: NSApplication, openTempFile filename: String) -> Bool optional func applicationShouldOpenUntitledFile(_ sender: NSApplication) -> Bool optional func applicationOpenUntitledFile(_ sender: NSApplication) -> Bool optional func application(_ sender: Any, openFileWithoutUI filename: String) -> Bool optional func application(_ sender: NSApplication, printFile filename: String) -> Bool optional func application(_ application: NSApplication, printFiles fileNames: [String], withSettings printSettings: [String : Any], showPrintPanels showPrintPanels: Bool) -> NSApplicationPrintReply optional func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool optional func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool optional func applicationDockMenu(_ sender: NSApplication) -> NSMenu? optional func application(_ application: NSApplication, willPresentError error: Error) -> Error optional func application(_ application: NSApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) optional func application(_ application: NSApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) optional func application(_ application: NSApplication, didReceiveRemoteNotification userInfo: [String : Any]) optional func application(_ app: NSApplication, willEncodeRestorableState coder: NSCoder) optional func application(_ app: NSApplication, didDecodeRestorableState coder: NSCoder) optional func application(_ application: NSApplication, willContinueUserActivityWithType userActivityType: String) -> Bool optional func application(_ application: NSApplication, continue userActivity: NSUserActivity, restorationHandler restorationHandler: @escaping ([Any]) -> Swift.Void) -> Bool optional func application(_ application: NSApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: Error) optional func application(_ application: NSApplication, didUpdate userActivity: NSUserActivity) optional func application(_ application: NSApplication, userDidAcceptCloudKitShareWith metadata: CKShareMetadata) optional func applicationWillFinishLaunching(_ notification: Notification) optional func applicationDidFinishLaunching(_ notification: Notification) optional func applicationWillHide(_ notification: Notification) optional func applicationDidHide(_ notification: Notification) optional func applicationWillUnhide(_ notification: Notification) optional func applicationDidUnhide(_ notification: Notification) optional func applicationWillBecomeActive(_ notification: Notification) optional func applicationDidBecomeActive(_ notification: Notification) optional func applicationWillResignActive(_ notification: Notification) optional func applicationDidResignActive(_ notification: Notification) optional func applicationWillUpdate(_ notification: Notification) optional func applicationDidUpdate(_ notification: Notification) optional func applicationWillTerminate(_ notification: Notification) optional func applicationDidChangeScreenParameters(_ notification: Notification) optional func applicationDidChangeOcclusionState(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]) -> Void) -> Bool |
To | optional func application(_ application: NSApplication, continue userActivity: NSUserActivity, restorationHandler restorationHandler: @escaping ([Any]) -> Swift.Void) -> Bool |
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: NSError) |
To | optional func application(_ application: NSApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: Error) |
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError) |
To | optional func application(_ application: NSApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) |
Modified NSApplicationDelegate.application(_: NSApplication, didReceiveRemoteNotification: [String : Any])
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, didReceiveRemoteNotification userInfo: [String : AnyObject]) |
To | optional func application(_ application: NSApplication, didReceiveRemoteNotification userInfo: [String : Any]) |
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) |
To | optional func application(_ application: NSApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) |
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, didUpdateUserActivity userActivity: NSUserActivity) |
To | optional func application(_ application: NSApplication, didUpdate userActivity: NSUserActivity) |
Declaration | |
---|---|
From | optional func application(_ sender: AnyObject, openFileWithoutUI filename: String) -> Bool |
To | optional func application(_ sender: Any, openFileWithoutUI filename: String) -> Bool |
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, printFiles fileNames: [String], withSettings printSettings: [String : AnyObject], showPrintPanels showPrintPanels: Bool) -> NSApplicationPrintReply |
To | optional func application(_ application: NSApplication, printFiles fileNames: [String], withSettings printSettings: [String : Any], showPrintPanels showPrintPanels: Bool) -> NSApplicationPrintReply |
Declaration | |
---|---|
From | optional func application(_ application: NSApplication, willPresentError error: NSError) -> NSError |
To | optional func application(_ application: NSApplication, willPresentError error: Error) -> Error |
Declaration | |
---|---|
From | optional func applicationDidBecomeActive(_ notification: NSNotification) |
To | optional func applicationDidBecomeActive(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationDidChangeOcclusionState(_ notification: NSNotification) |
To | optional func applicationDidChangeOcclusionState(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationDidChangeScreenParameters(_ notification: NSNotification) |
To | optional func applicationDidChangeScreenParameters(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationDidFinishLaunching(_ notification: NSNotification) |
To | optional func applicationDidFinishLaunching(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationDidHide(_ notification: NSNotification) |
To | optional func applicationDidHide(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationDidResignActive(_ notification: NSNotification) |
To | optional func applicationDidResignActive(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationDidUnhide(_ notification: NSNotification) |
To | optional func applicationDidUnhide(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationDidUpdate(_ notification: NSNotification) |
To | optional func applicationDidUpdate(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationWillBecomeActive(_ notification: NSNotification) |
To | optional func applicationWillBecomeActive(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationWillFinishLaunching(_ notification: NSNotification) |
To | optional func applicationWillFinishLaunching(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationWillHide(_ notification: NSNotification) |
To | optional func applicationWillHide(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationWillResignActive(_ notification: NSNotification) |
To | optional func applicationWillResignActive(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationWillTerminate(_ notification: NSNotification) |
To | optional func applicationWillTerminate(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationWillUnhide(_ notification: NSNotification) |
To | optional func applicationWillUnhide(_ notification: Notification) |
Declaration | |
---|---|
From | optional func applicationWillUpdate(_ notification: NSNotification) |
To | optional func applicationWillUpdate(_ notification: Notification) |
Modified NSApplicationDelegateReply [enum]
Declaration | |
---|---|
From | enum NSApplicationDelegateReply : UInt { case Success case Cancel case Failure } |
To | enum NSApplicationDelegateReply : UInt { case success case cancel case failure } |
Modified NSApplicationDelegateReply.cancel
Declaration | |
---|---|
From | case Cancel |
To | case cancel |
Modified NSApplicationDelegateReply.failure
Declaration | |
---|---|
From | case Failure |
To | case failure |
Modified NSApplicationDelegateReply.success
Declaration | |
---|---|
From | case Success |
To | case success |
Modified NSApplicationOcclusionState [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSApplicationOcclusionState : OptionSetType { init(rawValue rawValue: UInt) static var Visible: NSApplicationOcclusionState { get } } | OptionSetType |
To | struct NSApplicationOcclusionState : OptionSet { init(rawValue rawValue: UInt) static var visible: NSApplicationOcclusionState { get } func intersect(_ other: NSApplicationOcclusionState) -> NSApplicationOcclusionState func exclusiveOr(_ other: NSApplicationOcclusionState) -> NSApplicationOcclusionState mutating func unionInPlace(_ other: NSApplicationOcclusionState) mutating func intersectInPlace(_ other: NSApplicationOcclusionState) mutating func exclusiveOrInPlace(_ other: NSApplicationOcclusionState) func isSubsetOf(_ other: NSApplicationOcclusionState) -> Bool func isDisjointWith(_ other: NSApplicationOcclusionState) -> Bool func isSupersetOf(_ other: NSApplicationOcclusionState) -> Bool mutating func subtractInPlace(_ other: NSApplicationOcclusionState) func isStrictSupersetOf(_ other: NSApplicationOcclusionState) -> Bool func isStrictSubsetOf(_ other: NSApplicationOcclusionState) -> Bool } extension NSApplicationOcclusionState { func union(_ other: NSApplicationOcclusionState) -> NSApplicationOcclusionState func intersection(_ other: NSApplicationOcclusionState) -> NSApplicationOcclusionState func symmetricDifference(_ other: NSApplicationOcclusionState) -> NSApplicationOcclusionState } extension NSApplicationOcclusionState { func contains(_ member: NSApplicationOcclusionState) -> Bool mutating func insert(_ newMember: NSApplicationOcclusionState) -> (inserted: Bool, memberAfterInsert: NSApplicationOcclusionState) mutating func remove(_ member: NSApplicationOcclusionState) -> NSApplicationOcclusionState? mutating func update(with newMember: NSApplicationOcclusionState) -> NSApplicationOcclusionState? } extension NSApplicationOcclusionState { convenience init() mutating func formUnion(_ other: NSApplicationOcclusionState) mutating func formIntersection(_ other: NSApplicationOcclusionState) mutating func formSymmetricDifference(_ other: NSApplicationOcclusionState) } extension NSApplicationOcclusionState { convenience init<S : Sequence where S.Iterator.Element == NSApplicationOcclusionState>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSApplicationOcclusionState...) mutating func subtract(_ other: NSApplicationOcclusionState) func isSubset(of other: NSApplicationOcclusionState) -> Bool func isSuperset(of other: NSApplicationOcclusionState) -> Bool func isDisjoint(with other: NSApplicationOcclusionState) -> Bool func subtracting(_ other: NSApplicationOcclusionState) -> NSApplicationOcclusionState var isEmpty: Bool { get } func isStrictSuperset(of other: NSApplicationOcclusionState) -> Bool func isStrictSubset(of other: NSApplicationOcclusionState) -> Bool } | OptionSet |
Modified NSApplicationOcclusionState.visible
Declaration | |
---|---|
From | static var Visible: NSApplicationOcclusionState { get } |
To | static var visible: NSApplicationOcclusionState { get } |
Declaration | Protocols | |
---|---|---|
From | struct NSApplicationPresentationOptions : OptionSetType { init(rawValue rawValue: UInt) static var Default: NSApplicationPresentationOptions { get } static var AutoHideDock: NSApplicationPresentationOptions { get } static var HideDock: NSApplicationPresentationOptions { get } static var AutoHideMenuBar: NSApplicationPresentationOptions { get } static var HideMenuBar: NSApplicationPresentationOptions { get } static var DisableAppleMenu: NSApplicationPresentationOptions { get } static var DisableProcessSwitching: NSApplicationPresentationOptions { get } static var DisableForceQuit: NSApplicationPresentationOptions { get } static var DisableSessionTermination: NSApplicationPresentationOptions { get } static var DisableHideApplication: NSApplicationPresentationOptions { get } static var DisableMenuBarTransparency: NSApplicationPresentationOptions { get } static var FullScreen: NSApplicationPresentationOptions { get } static var AutoHideToolbar: NSApplicationPresentationOptions { get } static var DisableCursorLocationAssistance: NSApplicationPresentationOptions { get } } | OptionSetType |
To | struct NSApplicationPresentationOptions : OptionSet { init(rawValue rawValue: UInt) static var `default`: NSApplicationPresentationOptions { get } static var autoHideDock: NSApplicationPresentationOptions { get } static var hideDock: NSApplicationPresentationOptions { get } static var autoHideMenuBar: NSApplicationPresentationOptions { get } static var hideMenuBar: NSApplicationPresentationOptions { get } static var disableAppleMenu: NSApplicationPresentationOptions { get } static var disableProcessSwitching: NSApplicationPresentationOptions { get } static var disableForceQuit: NSApplicationPresentationOptions { get } static var disableSessionTermination: NSApplicationPresentationOptions { get } static var disableHideApplication: NSApplicationPresentationOptions { get } static var disableMenuBarTransparency: NSApplicationPresentationOptions { get } static var fullScreen: NSApplicationPresentationOptions { get } static var autoHideToolbar: NSApplicationPresentationOptions { get } static var disableCursorLocationAssistance: NSApplicationPresentationOptions { get } func intersect(_ other: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions func exclusiveOr(_ other: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions mutating func unionInPlace(_ other: NSApplicationPresentationOptions) mutating func intersectInPlace(_ other: NSApplicationPresentationOptions) mutating func exclusiveOrInPlace(_ other: NSApplicationPresentationOptions) func isSubsetOf(_ other: NSApplicationPresentationOptions) -> Bool func isDisjointWith(_ other: NSApplicationPresentationOptions) -> Bool func isSupersetOf(_ other: NSApplicationPresentationOptions) -> Bool mutating func subtractInPlace(_ other: NSApplicationPresentationOptions) func isStrictSupersetOf(_ other: NSApplicationPresentationOptions) -> Bool func isStrictSubsetOf(_ other: NSApplicationPresentationOptions) -> Bool } extension NSApplicationPresentationOptions { func union(_ other: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions func intersection(_ other: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions func symmetricDifference(_ other: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions } extension NSApplicationPresentationOptions { func contains(_ member: NSApplicationPresentationOptions) -> Bool mutating func insert(_ newMember: NSApplicationPresentationOptions) -> (inserted: Bool, memberAfterInsert: NSApplicationPresentationOptions) mutating func remove(_ member: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions? mutating func update(with newMember: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions? } extension NSApplicationPresentationOptions { convenience init() mutating func formUnion(_ other: NSApplicationPresentationOptions) mutating func formIntersection(_ other: NSApplicationPresentationOptions) mutating func formSymmetricDifference(_ other: NSApplicationPresentationOptions) } extension NSApplicationPresentationOptions { convenience init<S : Sequence where S.Iterator.Element == NSApplicationPresentationOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSApplicationPresentationOptions...) mutating func subtract(_ other: NSApplicationPresentationOptions) func isSubset(of other: NSApplicationPresentationOptions) -> Bool func isSuperset(of other: NSApplicationPresentationOptions) -> Bool func isDisjoint(with other: NSApplicationPresentationOptions) -> Bool func subtracting(_ other: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSApplicationPresentationOptions) -> Bool func isStrictSubset(of other: NSApplicationPresentationOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var AutoHideDock: NSApplicationPresentationOptions { get } |
To | static var autoHideDock: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var AutoHideMenuBar: NSApplicationPresentationOptions { get } |
To | static var autoHideMenuBar: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var AutoHideToolbar: NSApplicationPresentationOptions { get } |
To | static var autoHideToolbar: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var DisableAppleMenu: NSApplicationPresentationOptions { get } |
To | static var disableAppleMenu: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var DisableCursorLocationAssistance: NSApplicationPresentationOptions { get } |
To | static var disableCursorLocationAssistance: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var DisableForceQuit: NSApplicationPresentationOptions { get } |
To | static var disableForceQuit: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var DisableHideApplication: NSApplicationPresentationOptions { get } |
To | static var disableHideApplication: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var DisableMenuBarTransparency: NSApplicationPresentationOptions { get } |
To | static var disableMenuBarTransparency: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var DisableProcessSwitching: NSApplicationPresentationOptions { get } |
To | static var disableProcessSwitching: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var DisableSessionTermination: NSApplicationPresentationOptions { get } |
To | static var disableSessionTermination: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var FullScreen: NSApplicationPresentationOptions { get } |
To | static var fullScreen: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var HideDock: NSApplicationPresentationOptions { get } |
To | static var hideDock: NSApplicationPresentationOptions { get } |
Declaration | |
---|---|
From | static var HideMenuBar: NSApplicationPresentationOptions { get } |
To | static var hideMenuBar: NSApplicationPresentationOptions { get } |
Modified NSApplicationPrintReply [enum]
Declaration | |
---|---|
From | enum NSApplicationPrintReply : UInt { case PrintingCancelled case PrintingSuccess case PrintingFailure case PrintingReplyLater } |
To | enum NSApplicationPrintReply : UInt { case printingCancelled case printingSuccess case printingFailure case printingReplyLater } |
Declaration | |
---|---|
From | case PrintingCancelled |
To | case printingCancelled |
Declaration | |
---|---|
From | case PrintingFailure |
To | case printingFailure |
Declaration | |
---|---|
From | case PrintingReplyLater |
To | case printingReplyLater |
Declaration | |
---|---|
From | case PrintingSuccess |
To | case printingSuccess |
Modified NSApplicationTerminateReply [enum]
Declaration | |
---|---|
From | enum NSApplicationTerminateReply : UInt { case TerminateCancel case TerminateNow case TerminateLater } |
To | enum NSApplicationTerminateReply : UInt { case terminateCancel case terminateNow case terminateLater } |
Declaration | |
---|---|
From | case TerminateCancel |
To | case terminateCancel |
Declaration | |
---|---|
From | case TerminateLater |
To | case terminateLater |
Declaration | |
---|---|
From | case TerminateNow |
To | case terminateNow |
Modified NSArrayController
Declaration | |
---|---|
From | class NSArrayController : NSObjectController { func rearrangeObjects() var automaticallyRearrangesObjects: Bool var automaticRearrangementKeyPaths: [String]? { get } func didChangeArrangementCriteria() var sortDescriptors: [NSSortDescriptor] var filterPredicate: NSPredicate? var clearsFilterPredicateOnInsertion: Bool func arrangeObjects(_ objects: [AnyObject]) -> [AnyObject] var arrangedObjects: AnyObject { get } var avoidsEmptySelection: Bool var preservesSelection: Bool var selectsInsertedObjects: Bool var alwaysUsesMultipleValuesMarker: Bool func setSelectionIndexes(_ indexes: NSIndexSet) -> Bool @NSCopying var selectionIndexes: NSIndexSet { get } func setSelectionIndex(_ index: Int) -> Bool var selectionIndex: Int { get } func addSelectionIndexes(_ indexes: NSIndexSet) -> Bool func removeSelectionIndexes(_ indexes: NSIndexSet) -> Bool func setSelectedObjects(_ objects: [AnyObject]) -> Bool var selectedObjects: [AnyObject]! { get } func addSelectedObjects(_ objects: [AnyObject]) -> Bool func removeSelectedObjects(_ objects: [AnyObject]) -> Bool func add(_ sender: AnyObject?) func remove(_ sender: AnyObject?) func insert(_ sender: AnyObject?) var canInsert: Bool { get } func selectNext(_ sender: AnyObject?) func selectPrevious(_ sender: AnyObject?) var canSelectNext: Bool { get } var canSelectPrevious: Bool { get } func addObject(_ object: AnyObject) func addObjects(_ objects: [AnyObject]) func insertObject(_ object: AnyObject, atArrangedObjectIndex index: Int) func insertObjects(_ objects: [AnyObject], atArrangedObjectIndexes indexes: NSIndexSet) func removeObjectAtArrangedObjectIndex(_ index: Int) func removeObjectsAtArrangedObjectIndexes(_ indexes: NSIndexSet) func removeObject(_ object: AnyObject) func removeObjects(_ objects: [AnyObject]) } |
To | class NSArrayController : NSObjectController { func rearrangeObjects() var automaticallyRearrangesObjects: Bool var automaticRearrangementKeyPaths: [String]? { get } func didChangeArrangementCriteria() var sortDescriptors: [NSSortDescriptor] var filterPredicate: NSPredicate? var clearsFilterPredicateOnInsertion: Bool func arrange(_ objects: [Any]) -> [Any] var arrangedObjects: Any { get } var avoidsEmptySelection: Bool var preservesSelection: Bool var selectsInsertedObjects: Bool var alwaysUsesMultipleValuesMarker: Bool func setSelectionIndexes(_ indexes: IndexSet) -> Bool var selectionIndexes: IndexSet { get } func setSelectionIndex(_ index: Int) -> Bool var selectionIndex: Int { get } func addSelectionIndexes(_ indexes: IndexSet) -> Bool func removeSelectionIndexes(_ indexes: IndexSet) -> Bool func setSelectedObjects(_ objects: [Any]) -> Bool var selectedObjects: [Any]! { get } func addSelectedObjects(_ objects: [Any]) -> Bool func removeSelectedObjects(_ objects: [Any]) -> Bool func add(_ sender: Any?) func remove(_ sender: Any?) func insert(_ sender: Any?) var canInsert: Bool { get } func selectNext(_ sender: Any?) func selectPrevious(_ sender: Any?) var canSelectNext: Bool { get } var canSelectPrevious: Bool { get } func addObject(_ object: Any) func add(contentsOf objects: [Any]) func insert(_ object: Any, atArrangedObjectIndex index: Int) func insert(contentsOf objects: [Any], atArrangedObjectIndexes indexes: IndexSet) func remove(atArrangedObjectIndex index: Int) func remove(atArrangedObjectIndexes indexes: IndexSet) func removeObject(_ object: Any) func remove(contentsOf objects: [Any]) var managedObjectContext: NSManagedObjectContext? var entityName: String? var fetchPredicate: NSPredicate? func fetch(with fetchRequest: NSFetchRequest<NSFetchRequestResult>?, merge merge: Bool) throws func fetch(_ sender: Any?) var usesLazyFetching: Bool func defaultFetchRequest() -> NSFetchRequest<NSFetchRequestResult> } |
Modified NSArrayController.add(_: Any?)
Declaration | |
---|---|
From | func add(_ sender: AnyObject?) |
To | func add(_ sender: Any?) |
Declaration | |
---|---|
From | func addObjects(_ objects: [AnyObject]) |
To | func add(contentsOf objects: [Any]) |
Modified NSArrayController.addObject(_: Any)
Declaration | |
---|---|
From | func addObject(_ object: AnyObject) |
To | func addObject(_ object: Any) |
Declaration | |
---|---|
From | func addSelectedObjects(_ objects: [AnyObject]) -> Bool |
To | func addSelectedObjects(_ objects: [Any]) -> Bool |
Declaration | |
---|---|
From | func addSelectionIndexes(_ indexes: NSIndexSet) -> Bool |
To | func addSelectionIndexes(_ indexes: IndexSet) -> Bool |
Declaration | |
---|---|
From | func arrangeObjects(_ objects: [AnyObject]) -> [AnyObject] |
To | func arrange(_ objects: [Any]) -> [Any] |
Modified NSArrayController.arrangedObjects
Declaration | |
---|---|
From | var arrangedObjects: AnyObject { get } |
To | var arrangedObjects: Any { get } |
Modified NSArrayController.insert(_: Any?)
Declaration | |
---|---|
From | func insert(_ sender: AnyObject?) |
To | func insert(_ sender: Any?) |
Declaration | |
---|---|
From | func insertObject(_ object: AnyObject, atArrangedObjectIndex index: Int) |
To | func insert(_ object: Any, atArrangedObjectIndex index: Int) |
Declaration | |
---|---|
From | func insertObjects(_ objects: [AnyObject], atArrangedObjectIndexes indexes: NSIndexSet) |
To | func insert(contentsOf objects: [Any], atArrangedObjectIndexes indexes: IndexSet) |
Modified NSArrayController.remove(_: Any?)
Declaration | |
---|---|
From | func remove(_ sender: AnyObject?) |
To | func remove(_ sender: Any?) |
Declaration | |
---|---|
From | func removeObjectAtArrangedObjectIndex(_ index: Int) |
To | func remove(atArrangedObjectIndex index: Int) |
Declaration | |
---|---|
From | func removeObjectsAtArrangedObjectIndexes(_ indexes: NSIndexSet) |
To | func remove(atArrangedObjectIndexes indexes: IndexSet) |
Declaration | |
---|---|
From | func removeObjects(_ objects: [AnyObject]) |
To | func remove(contentsOf objects: [Any]) |
Declaration | |
---|---|
From | func removeObject(_ object: AnyObject) |
To | func removeObject(_ object: Any) |
Declaration | |
---|---|
From | func removeSelectedObjects(_ objects: [AnyObject]) -> Bool |
To | func removeSelectedObjects(_ objects: [Any]) -> Bool |
Declaration | |
---|---|
From | func removeSelectionIndexes(_ indexes: NSIndexSet) -> Bool |
To | func removeSelectionIndexes(_ indexes: IndexSet) -> Bool |
Modified NSArrayController.selectedObjects
Declaration | |
---|---|
From | var selectedObjects: [AnyObject]! { get } |
To | var selectedObjects: [Any]! { get } |
Modified NSArrayController.selectionIndexes
Declaration | |
---|---|
From | @NSCopying var selectionIndexes: NSIndexSet { get } |
To | var selectionIndexes: IndexSet { get } |
Declaration | |
---|---|
From | func selectNext(_ sender: AnyObject?) |
To | func selectNext(_ sender: Any?) |
Declaration | |
---|---|
From | func selectPrevious(_ sender: AnyObject?) |
To | func selectPrevious(_ sender: Any?) |
Declaration | |
---|---|
From | func setSelectedObjects(_ objects: [AnyObject]) -> Bool |
To | func setSelectedObjects(_ objects: [Any]) -> Bool |
Declaration | |
---|---|
From | func setSelectionIndexes(_ indexes: NSIndexSet) -> Bool |
To | func setSelectionIndexes(_ indexes: IndexSet) -> Bool |
Modified NSATSTypesetter
Declaration | Protocols | |
---|---|---|
From | class NSATSTypesetter : NSTypesetter { class func sharedTypesetter() -> NSATSTypesetter } extension NSATSTypesetter { func lineFragmentRectForProposedRect(_ proposedRect: NSRect, remainingRect remainingRect: NSRectPointer) -> NSRect } extension NSATSTypesetter { var usesFontLeading: Bool var typesetterBehavior: NSTypesetterBehavior var hyphenationFactor: Float var lineFragmentPadding: CGFloat func substituteFontForFont(_ originalFont: NSFont) -> NSFont func textTabForGlyphLocation(_ glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? var bidiProcessingEnabled: Bool unowned(unsafe) var attributedString: NSAttributedString? func setParagraphGlyphRange(_ paragraphRange: NSRange, separatorGlyphRange paragraphSeparatorRange: NSRange) var paragraphGlyphRange: NSRange { get } var paragraphSeparatorGlyphRange: NSRange { get } func layoutParagraphAtPoint(_ lineFragmentOrigin: UnsafeMutablePointer<NSPoint>) -> Int func lineSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacingBeforeGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var currentTextContainer: NSTextContainer? { get } func setHardInvalidation(_ flag: Bool, forGlyphRange glyphRange: NSRange) func getLineFragmentRect(_ lineFragmentRect: UnsafeMutablePointer<NSRect>, usedRect lineFragmentUsedRect: UnsafeMutablePointer<NSRect>, forParagraphSeparatorGlyphRange paragraphSeparatorGlyphRange: NSRange, atProposedOrigin lineOrigin: NSPoint) } extension NSATSTypesetter { func willSetLineFragmentRect(_ lineRect: UnsafeMutablePointer<NSRect>, forGlyphRange glyphRange: NSRange, usedRect usedRect: UnsafeMutablePointer<NSRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>) func shouldBreakLineByWordBeforeCharacterAtIndex(_ charIndex: Int) -> Bool func shouldBreakLineByHyphenatingBeforeCharacterAtIndex(_ charIndex: Int) -> Bool func hyphenationFactorForGlyphAtIndex(_ glyphIndex: Int) -> Float func hyphenCharacterForGlyphAtIndex(_ glyphIndex: Int) -> UTF32Char func boundingBoxForControlGlyphAtIndex(_ glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect } extension NSATSTypesetter { func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange func getGlyphsInRange(_ glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>) -> Int func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect, baselineOffset baselineOffset: CGFloat) func substituteGlyphsInRange(_ glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>) func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex characterIndex: Int) func deleteGlyphsInRange(_ glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>, forStartOfGlyphRange glyphRange: NSRange) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func setBidiLevels(_ levels: UnsafePointer<UInt8>, forGlyphRange glyphRange: NSRange) } | -- |
To | class NSATSTypesetter : NSTypesetter { class func shared() -> NSATSTypesetter func lineFragmentRect(forProposedRect proposedRect: NSRect, remaining remainingRect: NSRectPointer!) -> NSRect var usesFontLeading: Bool var typesetterBehavior: NSTypesetterBehavior var hyphenationFactor: Float var lineFragmentPadding: CGFloat func substituteFont(for originalFont: NSFont) -> NSFont func textTab(forGlyphLocation glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? var bidiProcessingEnabled: Bool unowned(unsafe) var attributedString: NSAttributedString? func setParagraphGlyphRange(_ paragraphRange: NSRange, separatorGlyphRange paragraphSeparatorRange: NSRange) var paragraphGlyphRange: NSRange { get } var paragraphSeparatorGlyphRange: NSRange { get } func layoutParagraph(at lineFragmentOrigin: UnsafeMutablePointer<NSPoint>) -> Int func lineSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacing(beforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var currentTextContainer: NSTextContainer? { get } func setHardInvalidation(_ flag: Bool, forGlyphRange glyphRange: NSRange) func getLineFragmentRect(_ lineFragmentRect: UnsafeMutablePointer<NSRect>, usedRect lineFragmentUsedRect: UnsafeMutablePointer<NSRect>, forParagraphSeparatorGlyphRange paragraphSeparatorGlyphRange: NSRange, atProposedOrigin lineOrigin: NSPoint) func willSetLineFragmentRect(_ lineRect: UnsafeMutablePointer<NSRect>, forGlyphRange glyphRange: NSRange, usedRect usedRect: UnsafeMutablePointer<NSRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>) func shouldBreakLine(byWordBeforeCharacterAt charIndex: Int) -> Bool func shouldBreakLine(byHyphenatingBeforeCharacterAt charIndex: Int) -> Bool func hyphenationFactor(forGlyphAt glyphIndex: Int) -> Float func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32Char func boundingBox(forControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange func getGlyphs(in glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>!, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>!, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>!, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>!) -> Int func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect, baselineOffset baselineOffset: CGFloat) func substituteGlyphs(in glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>!) func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex characterIndex: Int) func deleteGlyphs(in glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>!, forStartOfGlyphRange glyphRange: NSRange) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func setBidiLevels(_ levels: UnsafePointer<UInt8>!, forGlyphRange glyphRange: NSRange) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func getGlyphs(in glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>!, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>!, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>!, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>!, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>!) -> Int func getLineFragmentRect(_ lineFragmentRect: NSRectPointer!, usedRect lineFragmentUsedRect: NSRectPointer!, remaining remainingRect: NSRectPointer!, forStartingGlyphAt startingGlyphIndex: Int, proposedRect proposedRect: NSRect, lineSpacing lineSpacing: CGFloat, paragraphSpacingBefore paragraphSpacingBefore: CGFloat, paragraphSpacingAfter paragraphSpacingAfter: CGFloat) var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSATSTypesetter : CVarArg { } extension NSATSTypesetter : Equatable, Hashable { var hashValue: Int { get } } extension NSATSTypesetter { func lineFragmentRect(forProposedRect proposedRect: NSRect, remaining remainingRect: NSRectPointer!) -> NSRect } extension NSATSTypesetter { var usesFontLeading: Bool var typesetterBehavior: NSTypesetterBehavior var hyphenationFactor: Float var lineFragmentPadding: CGFloat func substituteFont(for originalFont: NSFont) -> NSFont func textTab(forGlyphLocation glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? var bidiProcessingEnabled: Bool unowned(unsafe) var attributedString: NSAttributedString? func setParagraphGlyphRange(_ paragraphRange: NSRange, separatorGlyphRange paragraphSeparatorRange: NSRange) var paragraphGlyphRange: NSRange { get } var paragraphSeparatorGlyphRange: NSRange { get } func layoutParagraph(at lineFragmentOrigin: UnsafeMutablePointer<NSPoint>) -> Int func lineSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacing(beforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var currentTextContainer: NSTextContainer? { get } func setHardInvalidation(_ flag: Bool, forGlyphRange glyphRange: NSRange) func getLineFragmentRect(_ lineFragmentRect: UnsafeMutablePointer<NSRect>, usedRect lineFragmentUsedRect: UnsafeMutablePointer<NSRect>, forParagraphSeparatorGlyphRange paragraphSeparatorGlyphRange: NSRange, atProposedOrigin lineOrigin: NSPoint) } extension NSATSTypesetter { func willSetLineFragmentRect(_ lineRect: UnsafeMutablePointer<NSRect>, forGlyphRange glyphRange: NSRange, usedRect usedRect: UnsafeMutablePointer<NSRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>) func shouldBreakLine(byWordBeforeCharacterAt charIndex: Int) -> Bool func shouldBreakLine(byHyphenatingBeforeCharacterAt charIndex: Int) -> Bool func hyphenationFactor(forGlyphAt glyphIndex: Int) -> Float func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32Char func boundingBox(forControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect } extension NSATSTypesetter { func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange func getGlyphs(in glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>!, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>!, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>!, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>!) -> Int func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect, baselineOffset baselineOffset: CGFloat) func substituteGlyphs(in glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>!) func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex characterIndex: Int) func deleteGlyphs(in glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>!, forStartOfGlyphRange glyphRange: NSRange) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func setBidiLevels(_ levels: UnsafePointer<UInt8>!, forGlyphRange glyphRange: NSRange) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func boundingBoxForControlGlyphAtIndex(_ glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect |
To | func boundingBox(forControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect |
Modified NSATSTypesetter.characterRange(forGlyphRange: NSRange, actualGlyphRange: NSRangePointer?) -> NSRange
Declaration | |
---|---|
From | func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange |
To | func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange |
Modified NSATSTypesetter.deleteGlyphs(in: NSRange)
Declaration | |
---|---|
From | func deleteGlyphsInRange(_ glyphRange: NSRange) |
To | func deleteGlyphs(in glyphRange: NSRange) |
Declaration | |
---|---|
From | func getGlyphsInRange(_ glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>) -> Int |
To | func getGlyphs(in glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>!, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>!, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>!, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>!) -> Int |
Modified NSATSTypesetter.glyphRange(forCharacterRange: NSRange, actualCharacterRange: NSRangePointer?) -> NSRange
Declaration | |
---|---|
From | func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange |
To | func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange |
Declaration | |
---|---|
From | func hyphenationFactorForGlyphAtIndex(_ glyphIndex: Int) -> Float |
To | func hyphenationFactor(forGlyphAt glyphIndex: Int) -> Float |
Declaration | |
---|---|
From | func hyphenCharacterForGlyphAtIndex(_ glyphIndex: Int) -> UTF32Char |
To | func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32Char |
Declaration | |
---|---|
From | func layoutParagraphAtPoint(_ lineFragmentOrigin: UnsafeMutablePointer<NSPoint>) -> Int |
To | func layoutParagraph(at lineFragmentOrigin: UnsafeMutablePointer<NSPoint>) -> Int |
Modified NSATSTypesetter.lineSpacing(afterGlyphAt: Int, withProposedLineFragmentRect: NSRect) -> CGFloat
Declaration | |
---|---|
From | func lineSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | func lineSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Modified NSATSTypesetter.paragraphSpacing(afterGlyphAt: Int, withProposedLineFragmentRect: NSRect) -> CGFloat
Declaration | |
---|---|
From | func paragraphSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | func paragraphSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Declaration | |
---|---|
From | func paragraphSpacingBeforeGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | func paragraphSpacing(beforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Modified NSATSTypesetter.setBidiLevels(_: UnsafePointer<UInt8>!, forGlyphRange: NSRange)
Declaration | |
---|---|
From | func setBidiLevels(_ levels: UnsafePointer<UInt8>, forGlyphRange glyphRange: NSRange) |
To | func setBidiLevels(_ levels: UnsafePointer<UInt8>!, forGlyphRange glyphRange: NSRange) |
Modified NSATSTypesetter.setLocation(_: NSPoint, withAdvancements: UnsafePointer<CGFloat>!, forStartOfGlyphRange: NSRange)
Declaration | |
---|---|
From | func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>, forStartOfGlyphRange glyphRange: NSRange) |
To | func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>!, forStartOfGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | class func sharedTypesetter() -> NSATSTypesetter |
To | class func shared() -> NSATSTypesetter |
Declaration | |
---|---|
From | func shouldBreakLineByHyphenatingBeforeCharacterAtIndex(_ charIndex: Int) -> Bool |
To | func shouldBreakLine(byHyphenatingBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | func shouldBreakLineByWordBeforeCharacterAtIndex(_ charIndex: Int) -> Bool |
To | func shouldBreakLine(byWordBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | func substituteFontForFont(_ originalFont: NSFont) -> NSFont |
To | func substituteFont(for originalFont: NSFont) -> NSFont |
Modified NSATSTypesetter.substituteGlyphs(in: NSRange, withGlyphs: UnsafeMutablePointer<NSGlyph>!)
Declaration | |
---|---|
From | func substituteGlyphsInRange(_ glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>) |
To | func substituteGlyphs(in glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>!) |
Declaration | |
---|---|
From | func textTabForGlyphLocation(_ glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? |
To | func textTab(forGlyphLocation glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? |
Declaration | |
---|---|
From | func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions) -> NSRect |
To | func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = []) -> NSRect |
Declaration | |
---|---|
From | func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, context context: NSStringDrawingContext?) -> NSRect |
To | func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) -> NSRect |
Declaration | |
---|---|
From | func containsAttachmentsInRange(_ range: NSRange) -> Bool |
To | func containsAttachments(in range: NSRange) -> Bool |
Declaration | |
---|---|
From | func dataFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSData |
To | func data(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> Data |
Declaration | |
---|---|
From | func docFormatFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData? |
To | func docFormat(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data? |
Declaration | |
---|---|
From | func doubleClickAtIndex(_ location: Int) -> NSRange |
To | func doubleClick(at location: Int) -> NSRange |
Modified NSAttributedString.draw(at: NSPoint)
Declaration | |
---|---|
From | func drawAtPoint(_ point: NSPoint) |
To | func draw(at point: NSPoint) |
Modified NSAttributedString.draw(in: NSRect)
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect) |
To | func draw(in rect: NSRect) |
Declaration | |
---|---|
From | func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions) |
To | func draw(with rect: NSRect, options options: NSStringDrawingOptions = []) |
Declaration | |
---|---|
From | func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, context context: NSStringDrawingContext?) |
To | func draw(with rect: NSRect, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) |
Declaration | |
---|---|
From | func fileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSFileWrapper |
To | func fileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> FileWrapper |
Declaration | |
---|---|
From | func fontAttributesInRange(_ range: NSRange) -> [String : AnyObject] |
To | func fontAttributes(in range: NSRange) -> [String : Any] |
Declaration | |
---|---|
From | init(data data: NSData, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
To | init(data data: Data, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws |
Declaration | |
---|---|
From | init?(docFormat data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(docFormat data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(HTML data: NSData, baseURL base: NSURL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(html data: Data, baseURL base: URL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(HTML data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(html data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(HTML data: NSData, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(html data: Data, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(path path: String, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(path path: String, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(RTF data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(rtf data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(RTFD data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(rtfd data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(RTFDFileWrapper wrapper: NSFileWrapper, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(rtfdFileWrapper wrapper: FileWrapper, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | |
---|---|
From | init?(URL url: NSURL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(url url: URL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
Declaration | Introduction | |
---|---|---|
From | init(URL url: NSURL, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws | OS X 10.11 |
To | init(url url: URL, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws | OS X 10.4 |
Declaration | |
---|---|
From | func itemNumberInTextList(_ list: NSTextList, atIndex location: Int) -> Int |
To | func itemNumber(in list: NSTextList, at location: Int) -> Int |
Declaration | |
---|---|
From | func lineBreakBeforeIndex(_ location: Int, withinRange aRange: NSRange) -> Int |
To | func lineBreak(before location: Int, within aRange: NSRange) -> Int |
Declaration | |
---|---|
From | func lineBreakByHyphenatingBeforeIndex(_ location: Int, withinRange aRange: NSRange) -> Int |
To | func lineBreakByHyphenating(before location: Int, within aRange: NSRange) -> Int |
Declaration | |
---|---|
From | func nextWordFromIndex(_ location: Int, forward isForward: Bool) -> Int |
To | func nextWord(from location: Int, forward isForward: Bool) -> Int |
Declaration | |
---|---|
From | func rangeOfTextTable(_ table: NSTextTable, atIndex location: Int) -> NSRange |
To | func range(of table: NSTextTable, at location: Int) -> NSRange |
Declaration | |
---|---|
From | func rangeOfTextBlock(_ block: NSTextBlock, atIndex location: Int) -> NSRange |
To | func range(of block: NSTextBlock, at location: Int) -> NSRange |
Declaration | |
---|---|
From | func rangeOfTextList(_ list: NSTextList, atIndex location: Int) -> NSRange |
To | func range(of list: NSTextList, at location: Int) -> NSRange |
Declaration | |
---|---|
From | func RTFFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData? |
To | func rtf(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data? |
Declaration | |
---|---|
From | func RTFDFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData? |
To | func rtfd(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data? |
Declaration | |
---|---|
From | func RTFDFileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSFileWrapper? |
To | func rtfdFileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> FileWrapper? |
Declaration | |
---|---|
From | func rulerAttributesInRange(_ range: NSRange) -> [String : AnyObject] |
To | func rulerAttributes(in range: NSRange) -> [String : Any] |
Declaration | |
---|---|
From | func URLAtIndex(_ location: Int, effectiveRange effectiveRange: NSRangePointer) -> NSURL? |
To | func url(at location: Int, effectiveRange effectiveRange: NSRangePointer) -> URL? |
Modified NSAutoresizingMaskOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSAutoresizingMaskOptions : OptionSetType { init(rawValue rawValue: UInt) static var ViewNotSizable: NSAutoresizingMaskOptions { get } static var ViewMinXMargin: NSAutoresizingMaskOptions { get } static var ViewWidthSizable: NSAutoresizingMaskOptions { get } static var ViewMaxXMargin: NSAutoresizingMaskOptions { get } static var ViewMinYMargin: NSAutoresizingMaskOptions { get } static var ViewHeightSizable: NSAutoresizingMaskOptions { get } static var ViewMaxYMargin: NSAutoresizingMaskOptions { get } } | OptionSetType |
To | struct NSAutoresizingMaskOptions : OptionSet { init(rawValue rawValue: UInt) static var viewNotSizable: NSAutoresizingMaskOptions { get } static var viewMinXMargin: NSAutoresizingMaskOptions { get } static var viewWidthSizable: NSAutoresizingMaskOptions { get } static var viewMaxXMargin: NSAutoresizingMaskOptions { get } static var viewMinYMargin: NSAutoresizingMaskOptions { get } static var viewHeightSizable: NSAutoresizingMaskOptions { get } static var viewMaxYMargin: NSAutoresizingMaskOptions { get } func intersect(_ other: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions func exclusiveOr(_ other: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions mutating func unionInPlace(_ other: NSAutoresizingMaskOptions) mutating func intersectInPlace(_ other: NSAutoresizingMaskOptions) mutating func exclusiveOrInPlace(_ other: NSAutoresizingMaskOptions) func isSubsetOf(_ other: NSAutoresizingMaskOptions) -> Bool func isDisjointWith(_ other: NSAutoresizingMaskOptions) -> Bool func isSupersetOf(_ other: NSAutoresizingMaskOptions) -> Bool mutating func subtractInPlace(_ other: NSAutoresizingMaskOptions) func isStrictSupersetOf(_ other: NSAutoresizingMaskOptions) -> Bool func isStrictSubsetOf(_ other: NSAutoresizingMaskOptions) -> Bool } extension NSAutoresizingMaskOptions { func union(_ other: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions func intersection(_ other: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions func symmetricDifference(_ other: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions } extension NSAutoresizingMaskOptions { func contains(_ member: NSAutoresizingMaskOptions) -> Bool mutating func insert(_ newMember: NSAutoresizingMaskOptions) -> (inserted: Bool, memberAfterInsert: NSAutoresizingMaskOptions) mutating func remove(_ member: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions? mutating func update(with newMember: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions? } extension NSAutoresizingMaskOptions { convenience init() mutating func formUnion(_ other: NSAutoresizingMaskOptions) mutating func formIntersection(_ other: NSAutoresizingMaskOptions) mutating func formSymmetricDifference(_ other: NSAutoresizingMaskOptions) } extension NSAutoresizingMaskOptions { convenience init<S : Sequence where S.Iterator.Element == NSAutoresizingMaskOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSAutoresizingMaskOptions...) mutating func subtract(_ other: NSAutoresizingMaskOptions) func isSubset(of other: NSAutoresizingMaskOptions) -> Bool func isSuperset(of other: NSAutoresizingMaskOptions) -> Bool func isDisjoint(with other: NSAutoresizingMaskOptions) -> Bool func subtracting(_ other: NSAutoresizingMaskOptions) -> NSAutoresizingMaskOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSAutoresizingMaskOptions) -> Bool func isStrictSubset(of other: NSAutoresizingMaskOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ViewHeightSizable: NSAutoresizingMaskOptions { get } |
To | static var viewHeightSizable: NSAutoresizingMaskOptions { get } |
Declaration | |
---|---|
From | static var ViewMaxXMargin: NSAutoresizingMaskOptions { get } |
To | static var viewMaxXMargin: NSAutoresizingMaskOptions { get } |
Declaration | |
---|---|
From | static var ViewMaxYMargin: NSAutoresizingMaskOptions { get } |
To | static var viewMaxYMargin: NSAutoresizingMaskOptions { get } |
Declaration | |
---|---|
From | static var ViewMinXMargin: NSAutoresizingMaskOptions { get } |
To | static var viewMinXMargin: NSAutoresizingMaskOptions { get } |
Declaration | |
---|---|
From | static var ViewMinYMargin: NSAutoresizingMaskOptions { get } |
To | static var viewMinYMargin: NSAutoresizingMaskOptions { get } |
Declaration | |
---|---|
From | static var ViewNotSizable: NSAutoresizingMaskOptions { get } |
To | static var viewNotSizable: NSAutoresizingMaskOptions { get } |
Declaration | |
---|---|
From | static var ViewWidthSizable: NSAutoresizingMaskOptions { get } |
To | static var viewWidthSizable: NSAutoresizingMaskOptions { get } |
Modified NSBackgroundStyle [enum]
Declaration | |
---|---|
From | enum NSBackgroundStyle : Int { case Light case Dark case Raised case Lowered } |
To | enum NSBackgroundStyle : Int { case light case dark case raised case lowered } |
Modified NSBackgroundStyle.dark
Declaration | |
---|---|
From | case Dark |
To | case dark |
Modified NSBackgroundStyle.light
Declaration | |
---|---|
From | case Light |
To | case light |
Modified NSBackgroundStyle.lowered
Declaration | |
---|---|
From | case Lowered |
To | case lowered |
Modified NSBackgroundStyle.raised
Declaration | |
---|---|
From | case Raised |
To | case raised |
Modified NSBackingStoreType [enum]
Declaration | |
---|---|
From | enum NSBackingStoreType : UInt { case Retained case Nonretained case Buffered } |
To | enum NSBackingStoreType : UInt { case retained case nonretained case buffered } |
Modified NSBackingStoreType.buffered
Declaration | |
---|---|
From | case Buffered |
To | case buffered |
Modified NSBackingStoreType.nonretained
Declaration | |
---|---|
From | case Nonretained |
To | case nonretained |
Modified NSBackingStoreType.retained
Declaration | |
---|---|
From | case Retained |
To | case retained |
Modified NSBezelStyle [enum]
Declaration | |
---|---|
From | enum NSBezelStyle : UInt { case RoundedBezelStyle case RegularSquareBezelStyle case ThickSquareBezelStyle case ThickerSquareBezelStyle case DisclosureBezelStyle case ShadowlessSquareBezelStyle case CircularBezelStyle case TexturedSquareBezelStyle case HelpButtonBezelStyle case SmallSquareBezelStyle case TexturedRoundedBezelStyle case RoundRectBezelStyle case RecessedBezelStyle case RoundedDisclosureBezelStyle case InlineBezelStyle static var SmallIconButtonBezelStyle: NSBezelStyle { get } } |
To | enum NSBezelStyle : UInt { case rounded case regularSquare case disclosure case shadowlessSquare case circular case texturedSquare case helpButton case smallSquare case texturedRounded case roundRect case recessed case roundedDisclosure case inline } |
Modified NSBezierPath
Declaration | Protocols | |
---|---|---|
From | class NSBezierPath : NSObject, NSCopying, NSCoding { init() class func bezierPath() -> NSBezierPath init(rect rect: NSRect) class func bezierPathWithRect(_ rect: NSRect) -> NSBezierPath init(ovalInRect rect: NSRect) class func bezierPathWithOvalInRect(_ rect: NSRect) -> NSBezierPath init(roundedRect rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) class func bezierPathWithRoundedRect(_ rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) -> NSBezierPath class func fillRect(_ rect: NSRect) class func strokeRect(_ rect: NSRect) class func clipRect(_ rect: NSRect) class func strokeLineFromPoint(_ point1: NSPoint, toPoint point2: NSPoint) class func drawPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>, atPoint point: NSPoint) class func setDefaultMiterLimit(_ limit: CGFloat) class func defaultMiterLimit() -> CGFloat class func setDefaultFlatness(_ flatness: CGFloat) class func defaultFlatness() -> CGFloat class func setDefaultWindingRule(_ windingRule: NSWindingRule) class func defaultWindingRule() -> NSWindingRule class func setDefaultLineCapStyle(_ lineCapStyle: NSLineCapStyle) class func defaultLineCapStyle() -> NSLineCapStyle class func setDefaultLineJoinStyle(_ lineJoinStyle: NSLineJoinStyle) class func defaultLineJoinStyle() -> NSLineJoinStyle class func setDefaultLineWidth(_ lineWidth: CGFloat) class func defaultLineWidth() -> CGFloat func moveToPoint(_ point: NSPoint) func lineToPoint(_ point: NSPoint) func curveToPoint(_ endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) func closePath() func removeAllPoints() func relativeMoveToPoint(_ point: NSPoint) func relativeLineToPoint(_ point: NSPoint) func relativeCurveToPoint(_ endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) var lineWidth: CGFloat var lineCapStyle: NSLineCapStyle var lineJoinStyle: NSLineJoinStyle var windingRule: NSWindingRule var miterLimit: CGFloat var flatness: CGFloat func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>, count count: UnsafeMutablePointer<Int>, phase phase: UnsafeMutablePointer<CGFloat>) func setLineDash(_ pattern: UnsafePointer<CGFloat>, count count: Int, phase phase: CGFloat) func stroke() func fill() func addClip() func setClip() @NSCopying var bezierPathByFlatteningPath: NSBezierPath { get } @NSCopying var bezierPathByReversingPath: NSBezierPath { get } func transformUsingAffineTransform(_ transform: NSAffineTransform) var empty: Bool { get } var currentPoint: NSPoint { get } var controlPointBounds: NSRect { get } var bounds: NSRect { get } var elementCount: Int { get } func elementAtIndex(_ index: Int, associatedPoints points: NSPointArray) -> NSBezierPathElement func elementAtIndex(_ index: Int) -> NSBezierPathElement func setAssociatedPoints(_ points: NSPointArray, atIndex index: Int) func appendBezierPath(_ path: NSBezierPath) func appendBezierPathWithRect(_ rect: NSRect) func appendBezierPathWithPoints(_ points: NSPointArray, count count: Int) func appendBezierPathWithOvalInRect(_ rect: NSRect) func appendBezierPathWithArcWithCenter(_ center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func appendBezierPathWithArcWithCenter(_ center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat) func appendBezierPathWithArcFromPoint(_ point1: NSPoint, toPoint point2: NSPoint, radius radius: CGFloat) func appendBezierPathWithGlyph(_ glyph: NSGlyph, inFont font: NSFont) func appendBezierPathWithGlyphs(_ glyphs: UnsafeMutablePointer<NSGlyph>, count count: Int, inFont font: NSFont) func appendBezierPathWithPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>) func appendBezierPathWithRoundedRect(_ rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) func containsPoint(_ point: NSPoint) -> Bool } extension NSBezierPath { func cachesBezierPath() -> Bool func setCachesBezierPath(_ flag: Bool) } | NSCoding, NSCopying |
To | class NSBezierPath : NSObject, NSCopying, NSCoding { init() class func bezierPath() -> NSBezierPath init(rect rect: NSRect) class func withRect(_ rect: NSRect) -> NSBezierPath init(ovalIn rect: NSRect) class func withOvalIn(_ rect: NSRect) -> NSBezierPath init(roundedRect rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) class func withRoundedRect(_ rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) -> NSBezierPath class func fill(_ rect: NSRect) class func stroke(_ rect: NSRect) class func clip(_ rect: NSRect) class func strokeLine(from point1: NSPoint, to point2: NSPoint) class func drawPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>, at point: NSPoint) class func setDefaultMiterLimit(_ limit: CGFloat) class func defaultMiterLimit() -> CGFloat class func setDefaultFlatness(_ flatness: CGFloat) class func defaultFlatness() -> CGFloat class func setDefaultWindingRule(_ windingRule: NSWindingRule) class func defaultWindingRule() -> NSWindingRule class func setDefaultLineCapStyle(_ lineCapStyle: NSLineCapStyle) class func defaultLineCapStyle() -> NSLineCapStyle class func setDefaultLineJoinStyle(_ lineJoinStyle: NSLineJoinStyle) class func defaultLineJoinStyle() -> NSLineJoinStyle class func setDefaultLineWidth(_ lineWidth: CGFloat) class func defaultLineWidth() -> CGFloat func move(to point: NSPoint) func line(to point: NSPoint) func curve(to endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) func close() func removeAllPoints() func relativeMove(to point: NSPoint) func relativeLine(to point: NSPoint) func relativeCurve(to endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) var lineWidth: CGFloat var lineCapStyle: NSLineCapStyle var lineJoinStyle: NSLineJoinStyle var windingRule: NSWindingRule var miterLimit: CGFloat var flatness: CGFloat func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>?, count count: UnsafeMutablePointer<Int>?, phase phase: UnsafeMutablePointer<CGFloat>?) func setLineDash(_ pattern: UnsafePointer<CGFloat>?, count count: Int, phase phase: CGFloat) func stroke() func fill() func addClip() func setClip() @NSCopying var flattened: NSBezierPath { get } @NSCopying var reversed: NSBezierPath { get } func transform(using transform: AffineTransform) var isEmpty: Bool { get } var currentPoint: NSPoint { get } var controlPointBounds: NSRect { get } var bounds: NSRect { get } var elementCount: Int { get } func element(at index: Int, associatedPoints points: NSPointArray?) -> NSBezierPathElement func element(at index: Int) -> NSBezierPathElement func setAssociatedPoints(_ points: NSPointArray?, at index: Int) func append(_ path: NSBezierPath) func appendRect(_ rect: NSRect) func appendPoints(_ points: NSPointArray, count count: Int) func appendOval(in rect: NSRect) func appendArc(withCenter center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func appendArc(withCenter center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat) func appendArc(from point1: NSPoint, to point2: NSPoint, radius radius: CGFloat) func appendGlyph(_ glyph: NSGlyph, in font: NSFont) func appendGlyphs(_ glyphs: UnsafeMutablePointer<NSGlyph>, count count: Int, in font: NSFont) func appendPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>) func appendRoundedRect(_ rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) func contains(_ point: NSPoint) -> Bool func cachesBezierPath() -> Bool func setCaches(_ flag: Bool) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSBezierPath : CVarArg { } extension NSBezierPath : Equatable, Hashable { var hashValue: Int { get } } extension NSBezierPath { func cachesBezierPath() -> Bool func setCaches(_ flag: Bool) } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSBezierPath.append(_: NSBezierPath)
Declaration | |
---|---|
From | func appendBezierPath(_ path: NSBezierPath) |
To | func append(_ path: NSBezierPath) |
Declaration | |
---|---|
From | func appendBezierPathWithArcFromPoint(_ point1: NSPoint, toPoint point2: NSPoint, radius radius: CGFloat) |
To | func appendArc(from point1: NSPoint, to point2: NSPoint, radius radius: CGFloat) |
Modified NSBezierPath.appendArc(withCenter: NSPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat)
Declaration | |
---|---|
From | func appendBezierPathWithArcWithCenter(_ center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat) |
To | func appendArc(withCenter center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat) |
Declaration | |
---|---|
From | func appendBezierPathWithArcWithCenter(_ center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) |
To | func appendArc(withCenter center: NSPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) |
Declaration | |
---|---|
From | func appendBezierPathWithGlyph(_ glyph: NSGlyph, inFont font: NSFont) |
To | func appendGlyph(_ glyph: NSGlyph, in font: NSFont) |
Declaration | |
---|---|
From | func appendBezierPathWithGlyphs(_ glyphs: UnsafeMutablePointer<NSGlyph>, count count: Int, inFont font: NSFont) |
To | func appendGlyphs(_ glyphs: UnsafeMutablePointer<NSGlyph>, count count: Int, in font: NSFont) |
Modified NSBezierPath.appendOval(in: NSRect)
Declaration | |
---|---|
From | func appendBezierPathWithOvalInRect(_ rect: NSRect) |
To | func appendOval(in rect: NSRect) |
Declaration | |
---|---|
From | func appendBezierPathWithPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>) |
To | func appendPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>) |
Declaration | |
---|---|
From | func appendBezierPathWithPoints(_ points: NSPointArray, count count: Int) |
To | func appendPoints(_ points: NSPointArray, count count: Int) |
Modified NSBezierPath.appendRect(_: NSRect)
Declaration | |
---|---|
From | func appendBezierPathWithRect(_ rect: NSRect) |
To | func appendRect(_ rect: NSRect) |
Declaration | |
---|---|
From | func appendBezierPathWithRoundedRect(_ rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) |
To | func appendRoundedRect(_ rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) |
Modified NSBezierPath.clip(_: NSRect) [class]
Declaration | |
---|---|
From | class func clipRect(_ rect: NSRect) |
To | class func clip(_ rect: NSRect) |
Modified NSBezierPath.close()
Declaration | |
---|---|
From | func closePath() |
To | func close() |
Declaration | |
---|---|
From | func containsPoint(_ point: NSPoint) -> Bool |
To | func contains(_ point: NSPoint) -> Bool |
Declaration | |
---|---|
From | func curveToPoint(_ endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) |
To | func curve(to endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) |
Declaration | |
---|---|
From | class func drawPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>, atPoint point: NSPoint) |
To | class func drawPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>, at point: NSPoint) |
Declaration | |
---|---|
From | func elementAtIndex(_ index: Int) -> NSBezierPathElement |
To | func element(at index: Int) -> NSBezierPathElement |
Declaration | |
---|---|
From | func elementAtIndex(_ index: Int, associatedPoints points: NSPointArray) -> NSBezierPathElement |
To | func element(at index: Int, associatedPoints points: NSPointArray?) -> NSBezierPathElement |
Modified NSBezierPath.fill(_: NSRect) [class]
Declaration | |
---|---|
From | class func fillRect(_ rect: NSRect) |
To | class func fill(_ rect: NSRect) |
Modified NSBezierPath.flattened
Declaration | |
---|---|
From | @NSCopying var bezierPathByFlatteningPath: NSBezierPath { get } |
To | @NSCopying var flattened: NSBezierPath { get } |
Declaration | |
---|---|
From | func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>, count count: UnsafeMutablePointer<Int>, phase phase: UnsafeMutablePointer<CGFloat>) |
To | func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>?, count count: UnsafeMutablePointer<Int>?, phase phase: UnsafeMutablePointer<CGFloat>?) |
Modified NSBezierPath.init(ovalIn: NSRect)
Declaration | |
---|---|
From | init(ovalInRect rect: NSRect) |
To | init(ovalIn rect: NSRect) |
Modified NSBezierPath.isEmpty
Declaration | |
---|---|
From | var empty: Bool { get } |
To | var isEmpty: Bool { get } |
Modified NSBezierPath.line(to: NSPoint)
Declaration | |
---|---|
From | func lineToPoint(_ point: NSPoint) |
To | func line(to point: NSPoint) |
Modified NSBezierPath.move(to: NSPoint)
Declaration | |
---|---|
From | func moveToPoint(_ point: NSPoint) |
To | func move(to point: NSPoint) |
Declaration | |
---|---|
From | func relativeCurveToPoint(_ endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) |
To | func relativeCurve(to endPoint: NSPoint, controlPoint1 controlPoint1: NSPoint, controlPoint2 controlPoint2: NSPoint) |
Declaration | |
---|---|
From | func relativeLineToPoint(_ point: NSPoint) |
To | func relativeLine(to point: NSPoint) |
Declaration | |
---|---|
From | func relativeMoveToPoint(_ point: NSPoint) |
To | func relativeMove(to point: NSPoint) |
Modified NSBezierPath.reversed
Declaration | |
---|---|
From | @NSCopying var bezierPathByReversingPath: NSBezierPath { get } |
To | @NSCopying var reversed: NSBezierPath { get } |
Declaration | |
---|---|
From | func setAssociatedPoints(_ points: NSPointArray, atIndex index: Int) |
To | func setAssociatedPoints(_ points: NSPointArray?, at index: Int) |
Declaration | |
---|---|
From | func setLineDash(_ pattern: UnsafePointer<CGFloat>, count count: Int, phase phase: CGFloat) |
To | func setLineDash(_ pattern: UnsafePointer<CGFloat>?, count count: Int, phase phase: CGFloat) |
Declaration | |
---|---|
From | class func strokeRect(_ rect: NSRect) |
To | class func stroke(_ rect: NSRect) |
Declaration | |
---|---|
From | class func strokeLineFromPoint(_ point1: NSPoint, toPoint point2: NSPoint) |
To | class func strokeLine(from point1: NSPoint, to point2: NSPoint) |
Declaration | |
---|---|
From | func transformUsingAffineTransform(_ transform: NSAffineTransform) |
To | func transform(using transform: AffineTransform) |
Modified NSBezierPathElement [enum]
Declaration | |
---|---|
From | enum NSBezierPathElement : UInt { case MoveToBezierPathElement case LineToBezierPathElement case CurveToBezierPathElement case ClosePathBezierPathElement } |
To | enum NSBezierPathElement : UInt { case moveToBezierPathElement case lineToBezierPathElement case curveToBezierPathElement case closePathBezierPathElement } |
Declaration | |
---|---|
From | case ClosePathBezierPathElement |
To | case closePathBezierPathElement |
Declaration | |
---|---|
From | case CurveToBezierPathElement |
To | case curveToBezierPathElement |
Declaration | |
---|---|
From | case LineToBezierPathElement |
To | case lineToBezierPathElement |
Declaration | |
---|---|
From | case MoveToBezierPathElement |
To | case moveToBezierPathElement |
Modified NSBitmapFormat [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSBitmapFormat : OptionSetType { init(rawValue rawValue: UInt) static var NSAlphaFirstBitmapFormat: NSBitmapFormat { get } static var NSAlphaNonpremultipliedBitmapFormat: NSBitmapFormat { get } static var NSFloatingPointSamplesBitmapFormat: NSBitmapFormat { get } static var NS16BitLittleEndianBitmapFormat: NSBitmapFormat { get } static var NS32BitLittleEndianBitmapFormat: NSBitmapFormat { get } static var NS16BitBigEndianBitmapFormat: NSBitmapFormat { get } static var NS32BitBigEndianBitmapFormat: NSBitmapFormat { get } } | OptionSetType |
To | struct NSBitmapFormat : OptionSet { init(rawValue rawValue: UInt) static var alphaFirst: NSBitmapFormat { get } static var alphaNonpremultiplied: NSBitmapFormat { get } static var floatingPointSamples: NSBitmapFormat { get } static var sixteenBitLittleEndian: NSBitmapFormat { get } static var thirtyTwoBitLittleEndian: NSBitmapFormat { get } static var sixteenBitBigEndian: NSBitmapFormat { get } static var thirtyTwoBitBigEndian: NSBitmapFormat { get } func intersect(_ other: NSBitmapFormat) -> NSBitmapFormat func exclusiveOr(_ other: NSBitmapFormat) -> NSBitmapFormat mutating func unionInPlace(_ other: NSBitmapFormat) mutating func intersectInPlace(_ other: NSBitmapFormat) mutating func exclusiveOrInPlace(_ other: NSBitmapFormat) func isSubsetOf(_ other: NSBitmapFormat) -> Bool func isDisjointWith(_ other: NSBitmapFormat) -> Bool func isSupersetOf(_ other: NSBitmapFormat) -> Bool mutating func subtractInPlace(_ other: NSBitmapFormat) func isStrictSupersetOf(_ other: NSBitmapFormat) -> Bool func isStrictSubsetOf(_ other: NSBitmapFormat) -> Bool } extension NSBitmapFormat { func union(_ other: NSBitmapFormat) -> NSBitmapFormat func intersection(_ other: NSBitmapFormat) -> NSBitmapFormat func symmetricDifference(_ other: NSBitmapFormat) -> NSBitmapFormat } extension NSBitmapFormat { func contains(_ member: NSBitmapFormat) -> Bool mutating func insert(_ newMember: NSBitmapFormat) -> (inserted: Bool, memberAfterInsert: NSBitmapFormat) mutating func remove(_ member: NSBitmapFormat) -> NSBitmapFormat? mutating func update(with newMember: NSBitmapFormat) -> NSBitmapFormat? } extension NSBitmapFormat { convenience init() mutating func formUnion(_ other: NSBitmapFormat) mutating func formIntersection(_ other: NSBitmapFormat) mutating func formSymmetricDifference(_ other: NSBitmapFormat) } extension NSBitmapFormat { convenience init<S : Sequence where S.Iterator.Element == NSBitmapFormat>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSBitmapFormat...) mutating func subtract(_ other: NSBitmapFormat) func isSubset(of other: NSBitmapFormat) -> Bool func isSuperset(of other: NSBitmapFormat) -> Bool func isDisjoint(with other: NSBitmapFormat) -> Bool func subtracting(_ other: NSBitmapFormat) -> NSBitmapFormat var isEmpty: Bool { get } func isStrictSuperset(of other: NSBitmapFormat) -> Bool func isStrictSubset(of other: NSBitmapFormat) -> Bool } | OptionSet |
Modified NSBitmapImageFileType [enum]
Declaration | |
---|---|
From | enum NSBitmapImageFileType : UInt { case NSTIFFFileType case NSBMPFileType case NSGIFFileType case NSJPEGFileType case NSPNGFileType case NSJPEG2000FileType } |
To | enum NSBitmapImageFileType : UInt { case TIFF case BMP case GIF case JPEG case PNG case JPEG2000 } |
Modified NSBitmapImageRep
Declaration | |
---|---|
From | class NSBitmapImageRep : NSImageRep, NSSecureCoding { init?(focusedViewRect rect: NSRect) init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bitmapFormat bitmapFormat: NSBitmapFormat, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) init(CGImage cgImage: CGImage) init(CIImage ciImage: CIImage) class func imageRepsWithData(_ data: NSData) -> [NSImageRep] convenience init?(data data: NSData) class func imageRepWithData(_ data: NSData) -> Self? init?(data data: NSData) var bitmapData: UnsafeMutablePointer<UInt8> { get } func getBitmapDataPlanes(_ data: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>) var planar: Bool { get } var samplesPerPixel: Int { get } var bitsPerPixel: Int { get } var bytesPerRow: Int { get } var bytesPerPlane: Int { get } var numberOfPlanes: Int { get } var bitmapFormat: NSBitmapFormat { get } func getCompression(_ compression: UnsafeMutablePointer<NSTIFFCompression>, factor factor: UnsafeMutablePointer<Float>) func setCompression(_ compression: NSTIFFCompression, factor factor: Float) @NSCopying var TIFFRepresentation: NSData? { get } func TIFFRepresentationUsingCompression(_ comp: NSTIFFCompression, factor factor: Float) -> NSData? class func TIFFRepresentationOfImageRepsInArray(_ array: [NSImageRep]) -> NSData? class func TIFFRepresentationOfImageRepsInArray(_ array: [NSImageRep], usingCompression comp: NSTIFFCompression, factor factor: Float) -> NSData? class func getTIFFCompressionTypes(_ list: UnsafeMutablePointer<UnsafePointer<NSTIFFCompression>>, count numTypes: UnsafeMutablePointer<Int>) class func localizedNameForTIFFCompressionType(_ compression: NSTIFFCompression) -> String? func canBeCompressedUsing(_ compression: NSTIFFCompression) -> Bool func colorizeByMappingGray(_ midPoint: CGFloat, toColor midPointColor: NSColor?, blackMapping shadowColor: NSColor?, whiteMapping lightColor: NSColor?) init(forIncrementalLoad forIncrementalLoad: ()) func incrementalLoadFromData(_ data: NSData, complete complete: Bool) -> Int func setColor(_ color: NSColor, atX x: Int, y y: Int) func colorAtX(_ x: Int, y y: Int) -> NSColor? func getPixel(_ p: UnsafeMutablePointer<Int>, atX x: Int, y y: Int) func setPixel(_ p: UnsafeMutablePointer<Int>, atX x: Int, y y: Int) var CGImage: CGImage? { get } var colorSpace: NSColorSpace { get } func bitmapImageRepByConvertingToColorSpace(_ targetSpace: NSColorSpace, renderingIntent renderingIntent: NSColorRenderingIntent) -> NSBitmapImageRep? func bitmapImageRepByRetaggingWithColorSpace(_ newSpace: NSColorSpace) -> NSBitmapImageRep? } extension NSBitmapImageRep { class func representationOfImageRepsInArray(_ imageReps: [NSImageRep], usingType storageType: NSBitmapImageFileType, properties properties: [String : AnyObject]) -> NSData? func representationUsingType(_ storageType: NSBitmapImageFileType, properties properties: [String : AnyObject]) -> NSData? func setProperty(_ property: String, withValue value: AnyObject?) func valueForProperty(_ property: String) -> AnyObject? } |
To | class NSBitmapImageRep : NSImageRep, NSSecureCoding { init?(focusedViewRect rect: NSRect) init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>?, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>?, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bitmapFormat bitmapFormat: NSBitmapFormat, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) init(cgImage cgImage: CGImage) init(ciImage ciImage: CIImage) class func imageReps(with data: Data) -> [NSImageRep] convenience init?(data data: Data) class func withData(_ data: Data) -> Self? init?(data data: Data) var bitmapData: UnsafeMutablePointer<UInt8>? { get } func getBitmapDataPlanes(_ data: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>) var isPlanar: Bool { get } var samplesPerPixel: Int { get } var bitsPerPixel: Int { get } var bytesPerRow: Int { get } var bytesPerPlane: Int { get } var numberOfPlanes: Int { get } var bitmapFormat: NSBitmapFormat { get } func getCompression(_ compression: UnsafeMutablePointer<NSTIFFCompression>?, factor factor: UnsafeMutablePointer<Float>?) func setCompression(_ compression: NSTIFFCompression, factor factor: Float) var tiffRepresentation: Data? { get } func tiffRepresentation(using comp: NSTIFFCompression, factor factor: Float) -> Data? class func tiffRepresentationOfImageReps(in array: [NSImageRep]) -> Data? class func tiffRepresentationOfImageReps(in array: [NSImageRep], using comp: NSTIFFCompression, factor factor: Float) -> Data? class func getTIFFCompressionTypes(_ list: UnsafeMutablePointer<UnsafePointer<NSTIFFCompression>?>, count numTypes: UnsafeMutablePointer<Int>) class func localizedName(forTIFFCompressionType compression: NSTIFFCompression) -> String? func canBeCompressed(using compression: NSTIFFCompression) -> Bool func colorize(byMappingGray midPoint: CGFloat, to midPointColor: NSColor?, blackMapping shadowColor: NSColor?, whiteMapping lightColor: NSColor?) init(forIncrementalLoad forIncrementalLoad: ()) func incrementalLoad(from data: Data, complete complete: Bool) -> Int func setColor(_ color: NSColor, atX x: Int, y y: Int) func colorAt(x x: Int, y y: Int) -> NSColor? func getPixel(_ p: UnsafeMutablePointer<Int>!, atX x: Int, y y: Int) func setPixel(_ p: UnsafeMutablePointer<Int>!, atX x: Int, y y: Int) var cgImage: CGImage? { get } var colorSpace: NSColorSpace { get } func converting(to targetSpace: NSColorSpace, renderingIntent renderingIntent: NSColorRenderingIntent) -> NSBitmapImageRep? func retagging(with newSpace: NSColorSpace) -> NSBitmapImageRep? class func representationOfImageReps(in imageReps: [NSImageRep], using storageType: NSBitmapImageFileType, properties properties: [String : Any]) -> Data? func representation(using storageType: NSBitmapImageFileType, properties properties: [String : Any]) -> Data? func setProperty(_ property: String, withValue value: Any?) func value(forProperty property: String) -> Any? } extension NSBitmapImageRep { class func representationOfImageReps(in imageReps: [NSImageRep], using storageType: NSBitmapImageFileType, properties properties: [String : Any]) -> Data? func representation(using storageType: NSBitmapImageFileType, properties properties: [String : Any]) -> Data? func setProperty(_ property: String, withValue value: Any?) func value(forProperty property: String) -> Any? } |
Modified NSBitmapImageRep.bitmapData
Declaration | |
---|---|
From | var bitmapData: UnsafeMutablePointer<UInt8> { get } |
To | var bitmapData: UnsafeMutablePointer<UInt8>? { get } |
Declaration | |
---|---|
From | func canBeCompressedUsing(_ compression: NSTIFFCompression) -> Bool |
To | func canBeCompressed(using compression: NSTIFFCompression) -> Bool |
Modified NSBitmapImageRep.cgImage
Declaration | |
---|---|
From | var CGImage: CGImage? { get } |
To | var cgImage: CGImage? { get } |
Declaration | |
---|---|
From | func colorAtX(_ x: Int, y y: Int) -> NSColor? |
To | func colorAt(x x: Int, y y: Int) -> NSColor? |
Declaration | |
---|---|
From | func colorizeByMappingGray(_ midPoint: CGFloat, toColor midPointColor: NSColor?, blackMapping shadowColor: NSColor?, whiteMapping lightColor: NSColor?) |
To | func colorize(byMappingGray midPoint: CGFloat, to midPointColor: NSColor?, blackMapping shadowColor: NSColor?, whiteMapping lightColor: NSColor?) |
Declaration | |
---|---|
From | func bitmapImageRepByConvertingToColorSpace(_ targetSpace: NSColorSpace, renderingIntent renderingIntent: NSColorRenderingIntent) -> NSBitmapImageRep? |
To | func converting(to targetSpace: NSColorSpace, renderingIntent renderingIntent: NSColorRenderingIntent) -> NSBitmapImageRep? |
Modified NSBitmapImageRep.getBitmapDataPlanes(_: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>)
Declaration | |
---|---|
From | func getBitmapDataPlanes(_ data: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>) |
To | func getBitmapDataPlanes(_ data: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>) |
Declaration | |
---|---|
From | func getCompression(_ compression: UnsafeMutablePointer<NSTIFFCompression>, factor factor: UnsafeMutablePointer<Float>) |
To | func getCompression(_ compression: UnsafeMutablePointer<NSTIFFCompression>?, factor factor: UnsafeMutablePointer<Float>?) |
Declaration | |
---|---|
From | func getPixel(_ p: UnsafeMutablePointer<Int>, atX x: Int, y y: Int) |
To | func getPixel(_ p: UnsafeMutablePointer<Int>!, atX x: Int, y y: Int) |
Declaration | |
---|---|
From | class func getTIFFCompressionTypes(_ list: UnsafeMutablePointer<UnsafePointer<NSTIFFCompression>>, count numTypes: UnsafeMutablePointer<Int>) |
To | class func getTIFFCompressionTypes(_ list: UnsafeMutablePointer<UnsafePointer<NSTIFFCompression>?>, count numTypes: UnsafeMutablePointer<Int>) |
Declaration | |
---|---|
From | class func imageRepsWithData(_ data: NSData) -> [NSImageRep] |
To | class func imageReps(with data: Data) -> [NSImageRep] |
Declaration | |
---|---|
From | func incrementalLoadFromData(_ data: NSData, complete complete: Bool) -> Int |
To | func incrementalLoad(from data: Data, complete complete: Bool) -> Int |
Declaration | |
---|---|
From | init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bitmapFormat bitmapFormat: NSBitmapFormat, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) |
To | init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>?, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bitmapFormat bitmapFormat: NSBitmapFormat, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) |
Declaration | |
---|---|
From | init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) |
To | init?(bitmapDataPlanes planes: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>?, pixelsWide width: Int, pixelsHigh height: Int, bitsPerSample bps: Int, samplesPerPixel spp: Int, hasAlpha alpha: Bool, isPlanar isPlanar: Bool, colorSpaceName colorSpaceName: String, bytesPerRow rBytes: Int, bitsPerPixel pBits: Int) |
Declaration | |
---|---|
From | init(CGImage cgImage: CGImage) |
To | init(cgImage cgImage: CGImage) |
Declaration | |
---|---|
From | init(CIImage ciImage: CIImage) |
To | init(ciImage ciImage: CIImage) |
Modified NSBitmapImageRep.init(data: Data)
Declaration | |
---|---|
From | init?(data data: NSData) |
To | init?(data data: Data) |
Modified NSBitmapImageRep.isPlanar
Declaration | |
---|---|
From | var planar: Bool { get } |
To | var isPlanar: Bool { get } |
Modified NSBitmapImageRep.localizedName(forTIFFCompressionType: NSTIFFCompression) -> String? [class]
Declaration | |
---|---|
From | class func localizedNameForTIFFCompressionType(_ compression: NSTIFFCompression) -> String? |
To | class func localizedName(forTIFFCompressionType compression: NSTIFFCompression) -> String? |
Modified NSBitmapImageRep.representation(using: NSBitmapImageFileType, properties: [String : Any]) -> Data?
Declaration | |
---|---|
From | func representationUsingType(_ storageType: NSBitmapImageFileType, properties properties: [String : AnyObject]) -> NSData? |
To | func representation(using storageType: NSBitmapImageFileType, properties properties: [String : Any]) -> Data? |
Declaration | |
---|---|
From | class func representationOfImageRepsInArray(_ imageReps: [NSImageRep], usingType storageType: NSBitmapImageFileType, properties properties: [String : AnyObject]) -> NSData? |
To | class func representationOfImageReps(in imageReps: [NSImageRep], using storageType: NSBitmapImageFileType, properties properties: [String : Any]) -> Data? |
Declaration | |
---|---|
From | func bitmapImageRepByRetaggingWithColorSpace(_ newSpace: NSColorSpace) -> NSBitmapImageRep? |
To | func retagging(with newSpace: NSColorSpace) -> NSBitmapImageRep? |
Declaration | |
---|---|
From | func setPixel(_ p: UnsafeMutablePointer<Int>, atX x: Int, y y: Int) |
To | func setPixel(_ p: UnsafeMutablePointer<Int>!, atX x: Int, y y: Int) |
Declaration | |
---|---|
From | func setProperty(_ property: String, withValue value: AnyObject?) |
To | func setProperty(_ property: String, withValue value: Any?) |
Modified NSBitmapImageRep.tiffRepresentation
Declaration | |
---|---|
From | @NSCopying var TIFFRepresentation: NSData? { get } |
To | var tiffRepresentation: Data? { get } |
Declaration | |
---|---|
From | func TIFFRepresentationUsingCompression(_ comp: NSTIFFCompression, factor factor: Float) -> NSData? |
To | func tiffRepresentation(using comp: NSTIFFCompression, factor factor: Float) -> Data? |
Declaration | |
---|---|
From | class func TIFFRepresentationOfImageRepsInArray(_ array: [NSImageRep]) -> NSData? |
To | class func tiffRepresentationOfImageReps(in array: [NSImageRep]) -> Data? |
Declaration | |
---|---|
From | class func TIFFRepresentationOfImageRepsInArray(_ array: [NSImageRep], usingCompression comp: NSTIFFCompression, factor factor: Float) -> NSData? |
To | class func tiffRepresentationOfImageReps(in array: [NSImageRep], using comp: NSTIFFCompression, factor factor: Float) -> Data? |
Declaration | |
---|---|
From | func valueForProperty(_ property: String) -> AnyObject? |
To | func value(forProperty property: String) -> Any? |
Modified NSBorderType [enum]
Declaration | |
---|---|
From | enum NSBorderType : UInt { case NoBorder case LineBorder case BezelBorder case GrooveBorder } |
To | enum NSBorderType : UInt { case noBorder case lineBorder case bezelBorder case grooveBorder } |
Modified NSBorderType.bezelBorder
Declaration | |
---|---|
From | case BezelBorder |
To | case bezelBorder |
Modified NSBorderType.grooveBorder
Declaration | |
---|---|
From | case GrooveBorder |
To | case grooveBorder |
Modified NSBorderType.lineBorder
Declaration | |
---|---|
From | case LineBorder |
To | case lineBorder |
Modified NSBorderType.noBorder
Declaration | |
---|---|
From | case NoBorder |
To | case noBorder |
Modified NSBox
Declaration | Protocols | |
---|---|---|
From | class NSBox : NSView { var borderType: NSBorderType var titlePosition: NSTitlePosition var boxType: NSBoxType var title: String var titleFont: NSFont var borderRect: NSRect { get } var titleRect: NSRect { get } var titleCell: AnyObject { get } func sizeToFit() var contentViewMargins: NSSize func setFrameFromContentFrame(_ contentFrame: NSRect) unowned(unsafe) var contentView: NSView? var transparent: Bool var borderWidth: CGFloat var cornerRadius: CGFloat @NSCopying var borderColor: NSColor @NSCopying var fillColor: NSColor } extension NSBox { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | -- |
To | class NSBox : NSView { var borderType: NSBorderType var titlePosition: NSTitlePosition var boxType: NSBoxType var title: String var titleFont: NSFont var borderRect: NSRect { get } var titleRect: NSRect { get } var titleCell: Any { get } func sizeToFit() var contentViewMargins: NSSize func setFrameFromContentFrame(_ contentFrame: NSRect) unowned(unsafe) var contentView: NSView? var isTransparent: Bool var borderWidth: CGFloat var cornerRadius: CGFloat @NSCopying var borderColor: NSColor @NSCopying var fillColor: NSColor func setTitleWithMnemonic(_ stringWithAmpersand: String!) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSBox : CVarArg { } extension NSBox : Equatable, Hashable { var hashValue: Int { get } } extension NSBox { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable |
Modified NSBox.isTransparent
Declaration | |
---|---|
From | var transparent: Bool |
To | var isTransparent: Bool |
Modified NSBox.titleCell
Declaration | |
---|---|
From | var titleCell: AnyObject { get } |
To | var titleCell: Any { get } |
Modified NSBoxType [enum]
Declaration | |
---|---|
From | enum NSBoxType : UInt { case Primary case Secondary case Separator case OldStyle case Custom } |
To | enum NSBoxType : UInt { case primary case secondary case separator case oldStyle case custom } |
Modified NSBoxType.custom
Declaration | |
---|---|
From | case Custom |
To | case custom |
Modified NSBoxType.oldStyle
Declaration | |
---|---|
From | case OldStyle |
To | case oldStyle |
Modified NSBoxType.primary
Declaration | |
---|---|
From | case Primary |
To | case primary |
Modified NSBoxType.secondary
Declaration | |
---|---|
From | case Secondary |
To | case secondary |
Modified NSBoxType.separator
Declaration | |
---|---|
From | case Separator |
To | case separator |
Modified NSBrowser
Declaration | Protocols | |
---|---|---|
From | class NSBrowser : NSControl { class func cellClass() -> AnyClass func loadColumnZero() var loaded: Bool { get } var doubleAction: Selector func setCellClass(_ factoryId: AnyClass) var cellPrototype: AnyObject! unowned(unsafe) var delegate: NSBrowserDelegate? var reusesColumns: Bool var hasHorizontalScroller: Bool var autohidesScroller: Bool var separatesColumns: Bool var titled: Bool var minColumnWidth: CGFloat var maxVisibleColumns: Int var allowsMultipleSelection: Bool var allowsBranchSelection: Bool var allowsEmptySelection: Bool var takesTitleFromPreviousColumn: Bool var sendsActionOnArrowKeys: Bool func itemAtIndexPath(_ indexPath: NSIndexPath) -> AnyObject? func itemAtRow(_ row: Int, inColumn column: Int) -> AnyObject? func indexPathForColumn(_ column: Int) -> NSIndexPath func isLeafItem(_ item: AnyObject?) -> Bool func reloadDataForRowIndexes(_ rowIndexes: NSIndexSet, inColumn column: Int) func parentForItemsInColumn(_ column: Int) -> AnyObject? func scrollRowToVisible(_ row: Int, inColumn column: Int) func setTitle(_ aString: String, ofColumn column: Int) func titleOfColumn(_ column: Int) -> String? var pathSeparator: String func setPath(_ path: String) -> Bool func path() -> String func pathToColumn(_ column: Int) -> String var clickedColumn: Int { get } var clickedRow: Int { get } var selectedColumn: Int { get } func selectedCellInColumn(_ column: Int) -> AnyObject? var selectedCells: [NSCell]? { get } func selectRow(_ row: Int, inColumn column: Int) func selectedRowInColumn(_ column: Int) -> Int @NSCopying var selectionIndexPath: NSIndexPath var selectionIndexPaths: [NSIndexPath] func selectRowIndexes(_ indexes: NSIndexSet, inColumn column: Int) func selectedRowIndexesInColumn(_ column: Int) -> NSIndexSet? func reloadColumn(_ column: Int) func validateVisibleColumns() func scrollColumnsRightBy(_ shiftAmount: Int) func scrollColumnsLeftBy(_ shiftAmount: Int) func scrollColumnToVisible(_ column: Int) var lastColumn: Int func addColumn() var numberOfVisibleColumns: Int { get } var firstVisibleColumn: Int { get } var lastVisibleColumn: Int { get } func loadedCellAtRow(_ row: Int, column col: Int) -> AnyObject? func selectAll(_ sender: AnyObject?) func tile() func doClick(_ sender: AnyObject?) func doDoubleClick(_ sender: AnyObject?) func sendAction() -> Bool func titleFrameOfColumn(_ column: Int) -> NSRect func drawTitleOfColumn(_ column: Int, inRect aRect: NSRect) var titleHeight: CGFloat { get } func frameOfColumn(_ column: Int) -> NSRect func frameOfInsideOfColumn(_ column: Int) -> NSRect func frameOfRow(_ row: Int, inColumn column: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>, column column: UnsafeMutablePointer<Int>, forPoint point: NSPoint) -> Bool func columnWidthForColumnContentWidth(_ columnContentWidth: CGFloat) -> CGFloat func columnContentWidthForColumnWidth(_ columnWidth: CGFloat) -> CGFloat var columnResizingType: NSBrowserColumnResizingType var prefersAllColumnUserResizing: Bool func setWidth(_ columnWidth: CGFloat, ofColumn columnIndex: Int) func widthOfColumn(_ column: Int) -> CGFloat var rowHeight: CGFloat func noteHeightOfRowsWithIndexesChanged(_ indexSet: NSIndexSet, inColumn columnIndex: Int) func setDefaultColumnWidth(_ columnWidth: CGFloat) func defaultColumnWidth() -> CGFloat var columnsAutosaveName: String class func removeSavedColumnsWithAutosaveName(_ name: String) func canDragRowsWithIndexes(_ rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent) -> Bool func draggingImageForRowsWithIndexes(_ rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var allowsTypeSelect: Bool var backgroundColor: NSColor func editItemAtIndexPath(_ indexPath: NSIndexPath, withEvent theEvent: NSEvent, select select: Bool) func selectedCell() -> AnyObject? } extension NSBrowser { func setAcceptsArrowKeys(_ flag: Bool) func acceptsArrowKeys() -> Bool func displayColumn(_ column: Int) func displayAllColumns() func scrollViaScroller(_ sender: NSScroller!) func updateScroller() func setMatrixClass(_ factoryId: AnyClass) func matrixClass() -> AnyClass func columnOfMatrix(_ matrix: NSMatrix) -> Int func matrixInColumn(_ column: Int) -> NSMatrix? } | -- |
To | class NSBrowser : NSControl { class func cellClass() -> Swift.AnyClass func loadColumnZero() var isLoaded: Bool { get } var doubleAction: Selector? func setCellClass(_ factoryId: Swift.AnyClass) var cellPrototype: Any! unowned(unsafe) var delegate: NSBrowserDelegate? var reusesColumns: Bool var hasHorizontalScroller: Bool var autohidesScroller: Bool var separatesColumns: Bool var isTitled: Bool var minColumnWidth: CGFloat var maxVisibleColumns: Int var allowsMultipleSelection: Bool var allowsBranchSelection: Bool var allowsEmptySelection: Bool var takesTitleFromPreviousColumn: Bool var sendsActionOnArrowKeys: Bool func item(at indexPath: IndexPath) -> Any? func item(atRow row: Int, inColumn column: Int) -> Any? func indexPath(forColumn column: Int) -> IndexPath func isLeafItem(_ item: Any?) -> Bool func reloadData(forRowIndexes rowIndexes: IndexSet, inColumn column: Int) func parentForItems(inColumn column: Int) -> Any? func scrollRowToVisible(_ row: Int, inColumn column: Int) func setTitle(_ string: String, ofColumn column: Int) func title(ofColumn column: Int) -> String? var pathSeparator: String func setPath(_ path: String) -> Bool func path() -> String func path(toColumn column: Int) -> String var clickedColumn: Int { get } var clickedRow: Int { get } var selectedColumn: Int { get } func selectedCell(inColumn column: Int) -> Any? var selectedCells: [NSCell]? { get } func selectRow(_ row: Int, inColumn column: Int) func selectedRow(inColumn column: Int) -> Int var selectionIndexPath: IndexPath var selectionIndexPaths: [IndexPath] func selectRowIndexes(_ indexes: IndexSet, inColumn column: Int) func selectedRowIndexes(inColumn column: Int) -> IndexSet? func reloadColumn(_ column: Int) func validateVisibleColumns() func scrollColumnsRight(by shiftAmount: Int) func scrollColumnsLeft(by shiftAmount: Int) func scrollColumnToVisible(_ column: Int) var lastColumn: Int func addColumn() var numberOfVisibleColumns: Int { get } var firstVisibleColumn: Int { get } var lastVisibleColumn: Int { get } func loadedCell(atRow row: Int, column col: Int) -> Any? func selectAll(_ sender: Any?) func tile() func doClick(_ sender: Any?) func doDoubleClick(_ sender: Any?) func sendAction() -> Bool func titleFrame(ofColumn column: Int) -> NSRect func drawTitle(ofColumn column: Int, in rect: NSRect) var titleHeight: CGFloat { get } func frame(ofColumn column: Int) -> NSRect func frame(ofInsideOfColumn column: Int) -> NSRect func frame(ofRow row: Int, inColumn column: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>?, column column: UnsafeMutablePointer<Int>?, for point: NSPoint) -> Bool func columnWidth(forColumnContentWidth columnContentWidth: CGFloat) -> CGFloat func columnContentWidth(forColumnWidth columnWidth: CGFloat) -> CGFloat var columnResizingType: NSBrowserColumnResizingType var prefersAllColumnUserResizing: Bool func setWidth(_ columnWidth: CGFloat, ofColumn columnIndex: Int) func width(ofColumn column: Int) -> CGFloat var rowHeight: CGFloat func noteHeightOfRowsWithIndexesChanged(_ indexSet: IndexSet, inColumn columnIndex: Int) func setDefaultColumnWidth(_ columnWidth: CGFloat) func defaultColumnWidth() -> CGFloat var columnsAutosaveName: String class func removeSavedColumns(withAutosaveName name: String) func canDragRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent) -> Bool func draggingImageForRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent, offset dragImageOffset: NSPointPointer?) -> NSImage? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var allowsTypeSelect: Bool var backgroundColor: NSColor func editItem(at indexPath: IndexPath, with event: NSEvent?, select select: Bool) func selectedCell() -> Any? func setAcceptsArrowKeys(_ flag: Bool) func acceptsArrowKeys() -> Bool func displayColumn(_ column: Int) func displayAllColumns() func scroll(via sender: NSScroller!) func updateScroller() func setMatrixClass(_ factoryId: Swift.AnyClass) func matrixClass() -> Swift.AnyClass func column(of matrix: NSMatrix) -> Int func matrix(inColumn column: Int) -> NSMatrix? func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSBrowser : CVarArg { } extension NSBrowser : Equatable, Hashable { var hashValue: Int { get } } extension NSBrowser { func setAcceptsArrowKeys(_ flag: Bool) func acceptsArrowKeys() -> Bool func displayColumn(_ column: Int) func displayAllColumns() func scroll(via sender: NSScroller!) func updateScroller() func setMatrixClass(_ factoryId: Swift.AnyClass) func matrixClass() -> Swift.AnyClass func column(of matrix: NSMatrix) -> Int func matrix(inColumn column: Int) -> NSMatrix? } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func canDragRowsWithIndexes(_ rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent) -> Bool |
To | func canDragRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | class func cellClass() -> AnyClass |
To | class func cellClass() -> Swift.AnyClass |
Modified NSBrowser.cellPrototype
Declaration | |
---|---|
From | var cellPrototype: AnyObject! |
To | var cellPrototype: Any! |
Declaration | |
---|---|
From | func columnOfMatrix(_ matrix: NSMatrix) -> Int |
To | func column(of matrix: NSMatrix) -> Int |
Declaration | |
---|---|
From | func columnContentWidthForColumnWidth(_ columnWidth: CGFloat) -> CGFloat |
To | func columnContentWidth(forColumnWidth columnWidth: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | func columnWidthForColumnContentWidth(_ columnContentWidth: CGFloat) -> CGFloat |
To | func columnWidth(forColumnContentWidth columnContentWidth: CGFloat) -> CGFloat |
Modified NSBrowser.doClick(_: Any?)
Declaration | |
---|---|
From | func doClick(_ sender: AnyObject?) |
To | func doClick(_ sender: Any?) |
Modified NSBrowser.doDoubleClick(_: Any?)
Declaration | |
---|---|
From | func doDoubleClick(_ sender: AnyObject?) |
To | func doDoubleClick(_ sender: Any?) |
Modified NSBrowser.doubleAction
Declaration | |
---|---|
From | var doubleAction: Selector |
To | var doubleAction: Selector? |
Declaration | |
---|---|
From | func draggingImageForRowsWithIndexes(_ rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage? |
To | func draggingImageForRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent, offset dragImageOffset: NSPointPointer?) -> NSImage? |
Declaration | |
---|---|
From | func drawTitleOfColumn(_ column: Int, inRect aRect: NSRect) |
To | func drawTitle(ofColumn column: Int, in rect: NSRect) |
Declaration | |
---|---|
From | func editItemAtIndexPath(_ indexPath: NSIndexPath, withEvent theEvent: NSEvent, select select: Bool) |
To | func editItem(at indexPath: IndexPath, with event: NSEvent?, select select: Bool) |
Declaration | |
---|---|
From | func frameOfColumn(_ column: Int) -> NSRect |
To | func frame(ofColumn column: Int) -> NSRect |
Declaration | |
---|---|
From | func frameOfInsideOfColumn(_ column: Int) -> NSRect |
To | func frame(ofInsideOfColumn column: Int) -> NSRect |
Declaration | |
---|---|
From | func frameOfRow(_ row: Int, inColumn column: Int) -> NSRect |
To | func frame(ofRow row: Int, inColumn column: Int) -> NSRect |
Declaration | |
---|---|
From | func getRow(_ row: UnsafeMutablePointer<Int>, column column: UnsafeMutablePointer<Int>, forPoint point: NSPoint) -> Bool |
To | func getRow(_ row: UnsafeMutablePointer<Int>?, column column: UnsafeMutablePointer<Int>?, for point: NSPoint) -> Bool |
Declaration | |
---|---|
From | func indexPathForColumn(_ column: Int) -> NSIndexPath |
To | func indexPath(forColumn column: Int) -> IndexPath |
Declaration | |
---|---|
From | func isLeafItem(_ item: AnyObject?) -> Bool |
To | func isLeafItem(_ item: Any?) -> Bool |
Modified NSBrowser.isLoaded
Declaration | |
---|---|
From | var loaded: Bool { get } |
To | var isLoaded: Bool { get } |
Modified NSBrowser.isTitled
Declaration | |
---|---|
From | var titled: Bool |
To | var isTitled: Bool |
Declaration | |
---|---|
From | func itemAtIndexPath(_ indexPath: NSIndexPath) -> AnyObject? |
To | func item(at indexPath: IndexPath) -> Any? |
Declaration | |
---|---|
From | func itemAtRow(_ row: Int, inColumn column: Int) -> AnyObject? |
To | func item(atRow row: Int, inColumn column: Int) -> Any? |
Declaration | |
---|---|
From | func loadedCellAtRow(_ row: Int, column col: Int) -> AnyObject? |
To | func loadedCell(atRow row: Int, column col: Int) -> Any? |
Declaration | |
---|---|
From | func matrixInColumn(_ column: Int) -> NSMatrix? |
To | func matrix(inColumn column: Int) -> NSMatrix? |
Declaration | |
---|---|
From | func matrixClass() -> AnyClass |
To | func matrixClass() -> Swift.AnyClass |
Declaration | |
---|---|
From | func noteHeightOfRowsWithIndexesChanged(_ indexSet: NSIndexSet, inColumn columnIndex: Int) |
To | func noteHeightOfRowsWithIndexesChanged(_ indexSet: IndexSet, inColumn columnIndex: Int) |
Declaration | |
---|---|
From | func parentForItemsInColumn(_ column: Int) -> AnyObject? |
To | func parentForItems(inColumn column: Int) -> Any? |
Declaration | |
---|---|
From | func pathToColumn(_ column: Int) -> String |
To | func path(toColumn column: Int) -> String |
Declaration | |
---|---|
From | func reloadDataForRowIndexes(_ rowIndexes: NSIndexSet, inColumn column: Int) |
To | func reloadData(forRowIndexes rowIndexes: IndexSet, inColumn column: Int) |
Declaration | |
---|---|
From | class func removeSavedColumnsWithAutosaveName(_ name: String) |
To | class func removeSavedColumns(withAutosaveName name: String) |
Modified NSBrowser.scrollColumnsLeft(by: Int)
Declaration | |
---|---|
From | func scrollColumnsLeftBy(_ shiftAmount: Int) |
To | func scrollColumnsLeft(by shiftAmount: Int) |
Declaration | |
---|---|
From | func scrollColumnsRightBy(_ shiftAmount: Int) |
To | func scrollColumnsRight(by shiftAmount: Int) |
Modified NSBrowser.selectAll(_: Any?)
Declaration | |
---|---|
From | func selectAll(_ sender: AnyObject?) |
To | func selectAll(_ sender: Any?) |
Modified NSBrowser.selectedCell() -> Any?
Declaration | |
---|---|
From | func selectedCell() -> AnyObject? |
To | func selectedCell() -> Any? |
Declaration | |
---|---|
From | func selectedCellInColumn(_ column: Int) -> AnyObject? |
To | func selectedCell(inColumn column: Int) -> Any? |
Declaration | |
---|---|
From | func selectedRowInColumn(_ column: Int) -> Int |
To | func selectedRow(inColumn column: Int) -> Int |
Declaration | |
---|---|
From | func selectedRowIndexesInColumn(_ column: Int) -> NSIndexSet? |
To | func selectedRowIndexes(inColumn column: Int) -> IndexSet? |
Modified NSBrowser.selectionIndexPath
Declaration | |
---|---|
From | @NSCopying var selectionIndexPath: NSIndexPath |
To | var selectionIndexPath: IndexPath |
Modified NSBrowser.selectionIndexPaths
Declaration | |
---|---|
From | var selectionIndexPaths: [NSIndexPath] |
To | var selectionIndexPaths: [IndexPath] |
Declaration | |
---|---|
From | func selectRowIndexes(_ indexes: NSIndexSet, inColumn column: Int) |
To | func selectRowIndexes(_ indexes: IndexSet, inColumn column: Int) |
Declaration | |
---|---|
From | func setCellClass(_ factoryId: AnyClass) |
To | func setCellClass(_ factoryId: Swift.AnyClass) |
Declaration | |
---|---|
From | func setMatrixClass(_ factoryId: AnyClass) |
To | func setMatrixClass(_ factoryId: Swift.AnyClass) |
Declaration | |
---|---|
From | func titleOfColumn(_ column: Int) -> String? |
To | func title(ofColumn column: Int) -> String? |
Declaration | |
---|---|
From | func titleFrameOfColumn(_ column: Int) -> NSRect |
To | func titleFrame(ofColumn column: Int) -> NSRect |
Declaration | |
---|---|
From | func widthOfColumn(_ column: Int) -> CGFloat |
To | func width(ofColumn column: Int) -> CGFloat |
Modified NSBrowserCell
Declaration | Protocols | |
---|---|---|
From | class NSBrowserCell : NSCell { class func branchImage() -> NSImage? class func highlightedBranchImage() -> NSImage? func highlightColorInView(_ controlView: NSView) -> NSColor? var leaf: Bool var loaded: Bool func reset() func set() var image: NSImage? var alternateImage: NSImage? } | -- |
To | class NSBrowserCell : NSCell { init(textCell string: String) init(imageCell image: NSImage?) init(coder coder: NSCoder) class func branchImage() -> NSImage? class func highlightedBranchImage() -> NSImage? func highlightColor(in controlView: NSView) -> NSColor? var isLeaf: Bool var isLoaded: Bool func reset() func set() var image: NSImage? var alternateImage: NSImage? func entryType() -> Int func setEntryType(_ type: Int) func isEntryAcceptable(_ string: String) -> Bool func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String func setTitleWithMnemonic(_ stringWithAmpersand: String) var backgroundStyle: NSBackgroundStyle var interiorBackgroundStyle: NSBackgroundStyle { get } func expansionFrame(withFrame cellFrame: NSRect, in view: NSView) -> NSRect func draw(withExpansionFrame cellFrame: NSRect, in view: NSView) func hitTest(for event: NSEvent, in cellFrame: NSRect, of controlView: NSView) -> NSCellHitResult var allowsMixedState: Bool var nextState: Int { get } func setNextState() @NSCopying var attributedStringValue: NSAttributedString var allowsEditingTextAttributes: Bool var importsGraphics: Bool var refusesFirstResponder: Bool var acceptsFirstResponder: Bool { get } var showsFirstResponder: Bool func performClick(_ sender: Any?) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask(withFrame cellFrame: NSRect, in controlView: NSView) func focusRingMaskBounds(forFrame cellFrame: NSRect, in controlView: NSView) -> NSRect var wantsNotificationForMarkedText: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSBrowserCell : CVarArg { } extension NSBrowserCell : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func highlightColorInView(_ controlView: NSView) -> NSColor? |
To | func highlightColor(in controlView: NSView) -> NSColor? |
Modified NSBrowserCell.isLeaf
Declaration | |
---|---|
From | var leaf: Bool |
To | var isLeaf: Bool |
Modified NSBrowserCell.isLoaded
Declaration | |
---|---|
From | var loaded: Bool |
To | var isLoaded: Bool |
Modified NSBrowserColumnResizingType [enum]
Declaration | |
---|---|
From | enum NSBrowserColumnResizingType : UInt { case NoColumnResizing case AutoColumnResizing case UserColumnResizing } |
To | enum NSBrowserColumnResizingType : UInt { case noColumnResizing case autoColumnResizing case userColumnResizing } |
Declaration | |
---|---|
From | case AutoColumnResizing |
To | case autoColumnResizing |
Declaration | |
---|---|
From | case NoColumnResizing |
To | case noColumnResizing |
Declaration | |
---|---|
From | case UserColumnResizing |
To | case userColumnResizing |
Modified NSBrowserDelegate
Declaration | |
---|---|
From | protocol NSBrowserDelegate : NSObjectProtocol { optional func browser(_ sender: NSBrowser, numberOfRowsInColumn column: Int) -> Int optional func browser(_ sender: NSBrowser, createRowsForColumn column: Int, inMatrix matrix: NSMatrix) optional func browser(_ browser: NSBrowser, numberOfChildrenOfItem item: AnyObject?) -> Int optional func browser(_ browser: NSBrowser, child index: Int, ofItem item: AnyObject?) -> AnyObject optional func browser(_ browser: NSBrowser, isLeafItem item: AnyObject?) -> Bool optional func browser(_ browser: NSBrowser, objectValueForItem item: AnyObject?) -> AnyObject? optional func browser(_ browser: NSBrowser, heightOfRow row: Int, inColumn columnIndex: Int) -> CGFloat optional func rootItemForBrowser(_ browser: NSBrowser) -> AnyObject? optional func browser(_ browser: NSBrowser, setObjectValue object: AnyObject?, forItem item: AnyObject?) optional func browser(_ browser: NSBrowser, shouldEditItem item: AnyObject?) -> Bool optional func browser(_ sender: NSBrowser, willDisplayCell cell: AnyObject, atRow row: Int, column column: Int) optional func browser(_ sender: NSBrowser, titleOfColumn column: Int) -> String? optional func browser(_ sender: NSBrowser, selectCellWithString title: String, inColumn column: Int) -> Bool optional func browser(_ sender: NSBrowser, selectRow row: Int, inColumn column: Int) -> Bool optional func browser(_ sender: NSBrowser, isColumnValid column: Int) -> Bool optional func browserWillScroll(_ sender: NSBrowser) optional func browserDidScroll(_ sender: NSBrowser) optional func browser(_ browser: NSBrowser, shouldSizeColumn columnIndex: Int, forUserResize forUserResize: Bool, toWidth suggestedWidth: CGFloat) -> CGFloat optional func browser(_ browser: NSBrowser, sizeToFitWidthOfColumn columnIndex: Int) -> CGFloat optional func browserColumnConfigurationDidChange(_ notification: NSNotification) optional func browser(_ browser: NSBrowser, shouldShowCellExpansionForRow row: Int, column column: Int) -> Bool optional func browser(_ browser: NSBrowser, writeRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int, toPasteboard pasteboard: NSPasteboard) -> Bool optional func browser(_ browser: NSBrowser, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int) -> [String] optional func browser(_ browser: NSBrowser, canDragRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent) -> Bool optional func browser(_ browser: NSBrowser, draggingImageForRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage? optional func browser(_ browser: NSBrowser, validateDrop info: NSDraggingInfo, proposedRow row: UnsafeMutablePointer<Int>, column column: UnsafeMutablePointer<Int>, dropOperation dropOperation: UnsafeMutablePointer<NSBrowserDropOperation>) -> NSDragOperation optional func browser(_ browser: NSBrowser, acceptDrop info: NSDraggingInfo, atRow row: Int, column column: Int, dropOperation dropOperation: NSBrowserDropOperation) -> Bool optional func browser(_ browser: NSBrowser, typeSelectStringForRow row: Int, inColumn column: Int) -> String optional func browser(_ browser: NSBrowser, shouldTypeSelectForEvent event: NSEvent, withCurrentSearchString searchString: String?) -> Bool optional func browser(_ browser: NSBrowser, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, inColumn column: Int, forString searchString: String?) -> Int optional func browser(_ browser: NSBrowser, previewViewControllerForLeafItem item: AnyObject) -> NSViewController? optional func browser(_ browser: NSBrowser, headerViewControllerForItem item: AnyObject?) -> NSViewController? optional func browser(_ browser: NSBrowser, didChangeLastColumn oldLastColumn: Int, toColumn column: Int) optional func browser(_ browser: NSBrowser, selectionIndexesForProposedSelection proposedSelectionIndexes: NSIndexSet, inColumn column: Int) -> NSIndexSet } |
To | protocol NSBrowserDelegate : NSObjectProtocol { optional func browser(_ sender: NSBrowser, numberOfRowsInColumn column: Int) -> Int optional func browser(_ sender: NSBrowser, createRowsForColumn column: Int, in matrix: NSMatrix) optional func browser(_ browser: NSBrowser, numberOfChildrenOfItem item: Any?) -> Int optional func browser(_ browser: NSBrowser, child index: Int, ofItem item: Any?) -> Any optional func browser(_ browser: NSBrowser, isLeafItem item: Any?) -> Bool optional func browser(_ browser: NSBrowser, objectValueForItem item: Any?) -> Any? optional func browser(_ browser: NSBrowser, heightOfRow row: Int, inColumn columnIndex: Int) -> CGFloat optional func rootItem(for browser: NSBrowser) -> Any? optional func browser(_ browser: NSBrowser, setObjectValue object: Any?, forItem item: Any?) optional func browser(_ browser: NSBrowser, shouldEditItem item: Any?) -> Bool optional func browser(_ sender: NSBrowser, willDisplayCell cell: Any, atRow row: Int, column column: Int) optional func browser(_ sender: NSBrowser, titleOfColumn column: Int) -> String? optional func browser(_ sender: NSBrowser, selectCellWith title: String, inColumn column: Int) -> Bool optional func browser(_ sender: NSBrowser, selectRow row: Int, inColumn column: Int) -> Bool optional func browser(_ sender: NSBrowser, isColumnValid column: Int) -> Bool optional func browserWillScroll(_ sender: NSBrowser) optional func browserDidScroll(_ sender: NSBrowser) optional func browser(_ browser: NSBrowser, shouldSizeColumn columnIndex: Int, forUserResize forUserResize: Bool, toWidth suggestedWidth: CGFloat) -> CGFloat optional func browser(_ browser: NSBrowser, sizeToFitWidthOfColumn columnIndex: Int) -> CGFloat optional func browserColumnConfigurationDidChange(_ notification: Notification) optional func browser(_ browser: NSBrowser, shouldShowCellExpansionForRow row: Int, column column: Int) -> Bool optional func browser(_ browser: NSBrowser, writeRowsWith rowIndexes: IndexSet, inColumn column: Int, to pasteboard: NSPasteboard) -> Bool optional func browser(_ browser: NSBrowser, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedRowsWith rowIndexes: IndexSet, inColumn column: Int) -> [String] optional func browser(_ browser: NSBrowser, canDragRowsWith rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent) -> Bool optional func browser(_ browser: NSBrowser, draggingImageForRowsWith rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage? optional func browser(_ browser: NSBrowser, validateDrop info: NSDraggingInfo, proposedRow row: UnsafeMutablePointer<Int>, column column: UnsafeMutablePointer<Int>, dropOperation dropOperation: UnsafeMutablePointer<NSBrowserDropOperation>) -> NSDragOperation optional func browser(_ browser: NSBrowser, acceptDrop info: NSDraggingInfo, atRow row: Int, column column: Int, dropOperation dropOperation: NSBrowserDropOperation) -> Bool optional func browser(_ browser: NSBrowser, typeSelectStringForRow row: Int, inColumn column: Int) -> String optional func browser(_ browser: NSBrowser, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> Bool optional func browser(_ browser: NSBrowser, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, inColumn column: Int, for searchString: String?) -> Int optional func browser(_ browser: NSBrowser, previewViewControllerForLeafItem item: Any) -> NSViewController? optional func browser(_ browser: NSBrowser, headerViewControllerForItem item: Any?) -> NSViewController? optional func browser(_ browser: NSBrowser, didChangeLastColumn oldLastColumn: Int, toColumn column: Int) optional func browser(_ browser: NSBrowser, selectionIndexesForProposedSelection proposedSelectionIndexes: IndexSet, inColumn column: Int) -> IndexSet } |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, canDragRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent) -> Bool |
To | optional func browser(_ browser: NSBrowser, canDragRowsWith rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, child index: Int, ofItem item: AnyObject?) -> AnyObject |
To | optional func browser(_ browser: NSBrowser, child index: Int, ofItem item: Any?) -> Any |
Declaration | |
---|---|
From | optional func browser(_ sender: NSBrowser, createRowsForColumn column: Int, inMatrix matrix: NSMatrix) |
To | optional func browser(_ sender: NSBrowser, createRowsForColumn column: Int, in matrix: NSMatrix) |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, draggingImageForRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage? |
To | optional func browser(_ browser: NSBrowser, draggingImageForRowsWith rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage? |
Modified NSBrowserDelegate.browser(_: NSBrowser, headerViewControllerForItem: Any?) -> NSViewController?
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, headerViewControllerForItem item: AnyObject?) -> NSViewController? |
To | optional func browser(_ browser: NSBrowser, headerViewControllerForItem item: Any?) -> NSViewController? |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, isLeafItem item: AnyObject?) -> Bool |
To | optional func browser(_ browser: NSBrowser, isLeafItem item: Any?) -> Bool |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int) -> [String] |
To | optional func browser(_ browser: NSBrowser, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedRowsWith rowIndexes: IndexSet, inColumn column: Int) -> [String] |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, inColumn column: Int, forString searchString: String?) -> Int |
To | optional func browser(_ browser: NSBrowser, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, inColumn column: Int, for searchString: String?) -> Int |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, numberOfChildrenOfItem item: AnyObject?) -> Int |
To | optional func browser(_ browser: NSBrowser, numberOfChildrenOfItem item: Any?) -> Int |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, objectValueForItem item: AnyObject?) -> AnyObject? |
To | optional func browser(_ browser: NSBrowser, objectValueForItem item: Any?) -> Any? |
Modified NSBrowserDelegate.browser(_: NSBrowser, previewViewControllerForLeafItem: Any) -> NSViewController?
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, previewViewControllerForLeafItem item: AnyObject) -> NSViewController? |
To | optional func browser(_ browser: NSBrowser, previewViewControllerForLeafItem item: Any) -> NSViewController? |
Declaration | |
---|---|
From | optional func browser(_ sender: NSBrowser, selectCellWithString title: String, inColumn column: Int) -> Bool |
To | optional func browser(_ sender: NSBrowser, selectCellWith title: String, inColumn column: Int) -> Bool |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, selectionIndexesForProposedSelection proposedSelectionIndexes: NSIndexSet, inColumn column: Int) -> NSIndexSet |
To | optional func browser(_ browser: NSBrowser, selectionIndexesForProposedSelection proposedSelectionIndexes: IndexSet, inColumn column: Int) -> IndexSet |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, setObjectValue object: AnyObject?, forItem item: AnyObject?) |
To | optional func browser(_ browser: NSBrowser, setObjectValue object: Any?, forItem item: Any?) |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, shouldEditItem item: AnyObject?) -> Bool |
To | optional func browser(_ browser: NSBrowser, shouldEditItem item: Any?) -> Bool |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, shouldTypeSelectForEvent event: NSEvent, withCurrentSearchString searchString: String?) -> Bool |
To | optional func browser(_ browser: NSBrowser, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> Bool |
Declaration | |
---|---|
From | optional func browser(_ sender: NSBrowser, willDisplayCell cell: AnyObject, atRow row: Int, column column: Int) |
To | optional func browser(_ sender: NSBrowser, willDisplayCell cell: Any, atRow row: Int, column column: Int) |
Declaration | |
---|---|
From | optional func browser(_ browser: NSBrowser, writeRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int, toPasteboard pasteboard: NSPasteboard) -> Bool |
To | optional func browser(_ browser: NSBrowser, writeRowsWith rowIndexes: IndexSet, inColumn column: Int, to pasteboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | optional func browserColumnConfigurationDidChange(_ notification: NSNotification) |
To | optional func browserColumnConfigurationDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | optional func rootItemForBrowser(_ browser: NSBrowser) -> AnyObject? |
To | optional func rootItem(for browser: NSBrowser) -> Any? |
Modified NSBrowserDropOperation [enum]
Declaration | |
---|---|
From | enum NSBrowserDropOperation : UInt { case On case Above } |
To | enum NSBrowserDropOperation : UInt { case on case above } |
Modified NSBrowserDropOperation.above
Declaration | |
---|---|
From | case Above |
To | case above |
Modified NSBrowserDropOperation.on
Declaration | |
---|---|
From | case On |
To | case on |
Modified NSButton
Declaration | Protocols | |
---|---|---|
From | class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton { var title: String var alternateTitle: String var image: NSImage? var alternateImage: NSImage? var imagePosition: NSCellImagePosition func setButtonType(_ aType: NSButtonType) var state: Int var bordered: Bool var transparent: Bool func setPeriodicDelay(_ delay: Float, interval interval: Float) func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) var keyEquivalent: String var keyEquivalentModifierMask: Int func highlight(_ flag: Bool) func performKeyEquivalent(_ key: NSEvent) -> Bool var springLoaded: Bool var maxAcceleratorLevel: Int } extension NSButton { @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString } extension NSButton { var bezelStyle: NSBezelStyle } extension NSButton { var allowsMixedState: Bool func setNextState() } extension NSButton { var showsBorderOnlyWhileMouseInside: Bool } extension NSButton { var sound: NSSound? } extension NSButton { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | NSAccessibilityButton, NSUserInterfaceValidations |
To | class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton { var title: String var alternateTitle: String var image: NSImage? var alternateImage: NSImage? var imagePosition: NSCellImagePosition var imageScaling: NSImageScaling var imageHugsTitle: Bool func setButtonType(_ type: NSButtonType) var state: Int var isBordered: Bool var isTransparent: Bool func setPeriodicDelay(_ delay: Float, interval interval: Float) func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) var keyEquivalent: String var keyEquivalentModifierMask: NSEventModifierFlags func highlight(_ flag: Bool) func performKeyEquivalent(with key: NSEvent) -> Bool var isSpringLoaded: Bool var maxAcceleratorLevel: Int convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString var bezelStyle: NSBezelStyle var allowsMixedState: Bool func setNextState() var showsBorderOnlyWhileMouseInside: Bool var sound: NSSound? func setTitleWithMnemonic(_ stringWithAmpersand: String!) var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func performClick(_ sender: Any?) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSButton : CVarArg { } extension NSButton : Equatable, Hashable { var hashValue: Int { get } } extension NSButton { convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self } extension NSButton { @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString } extension NSButton { var bezelStyle: NSBezelStyle } extension NSButton { var allowsMixedState: Bool func setNextState() } extension NSButton { var showsBorderOnlyWhileMouseInside: Bool } extension NSButton { var sound: NSSound? } extension NSButton { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable, NSAccessibilityButton, NSUserInterfaceValidations |
Modified NSButton.isBordered
Declaration | |
---|---|
From | var bordered: Bool |
To | var isBordered: Bool |
Modified NSButton.isSpringLoaded
Declaration | |
---|---|
From | var springLoaded: Bool |
To | var isSpringLoaded: Bool |
Modified NSButton.isTransparent
Declaration | |
---|---|
From | var transparent: Bool |
To | var isTransparent: Bool |
Modified NSButton.keyEquivalentModifierMask
Declaration | |
---|---|
From | var keyEquivalentModifierMask: Int |
To | var keyEquivalentModifierMask: NSEventModifierFlags |
Declaration | |
---|---|
From | func performKeyEquivalent(_ key: NSEvent) -> Bool |
To | func performKeyEquivalent(with key: NSEvent) -> Bool |
Modified NSButtonCell
Declaration | |
---|---|
From | class NSButtonCell : NSActionCell { var title: String! var alternateTitle: String var alternateImage: NSImage? var imagePosition: NSCellImagePosition var imageScaling: NSImageScaling var highlightsBy: NSCellStyleMask var showsStateBy: NSCellStyleMask func setButtonType(_ aType: NSButtonType) var opaque: Bool { get } var transparent: Bool func setPeriodicDelay(_ delay: Float, interval interval: Float) func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) var keyEquivalent: String var keyEquivalentModifierMask: Int var keyEquivalentFont: NSFont? func setKeyEquivalentFont(_ fontName: String, size fontSize: CGFloat) func performClick(_ sender: AnyObject?) func drawImage(_ image: NSImage, withFrame frame: NSRect, inView controlView: NSView) func drawTitle(_ title: NSAttributedString, withFrame frame: NSRect, inView controlView: NSView) -> NSRect func drawBezelWithFrame(_ frame: NSRect, inView controlView: NSView) } extension NSButtonCell { var gradientType: NSGradientType var imageDimsWhenDisabled: Bool var showsBorderOnlyWhileMouseInside: Bool func mouseEntered(_ event: NSEvent) func mouseExited(_ event: NSEvent) @NSCopying var backgroundColor: NSColor? } extension NSButtonCell { @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString } extension NSButtonCell { var bezelStyle: NSBezelStyle } extension NSButtonCell { var sound: NSSound? } extension NSButtonCell { func setTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateMnemonicLocation(_ location: Int) func alternateMnemonicLocation() -> Int func alternateMnemonic() -> String! } |
To | class NSButtonCell : NSActionCell { init(textCell string: String) init(imageCell image: NSImage?) init(coder coder: NSCoder) var title: String! var alternateTitle: String var alternateImage: NSImage? var imagePosition: NSCellImagePosition var imageScaling: NSImageScaling var highlightsBy: NSCellStyleMask var showsStateBy: NSCellStyleMask func setButtonType(_ type: NSButtonType) var isOpaque: Bool { get } var isTransparent: Bool func setPeriodicDelay(_ delay: Float, interval interval: Float) func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) var keyEquivalent: String var keyEquivalentModifierMask: NSEventModifierFlags var keyEquivalentFont: NSFont? func setKeyEquivalentFont(_ fontName: String, size fontSize: CGFloat) func performClick(_ sender: Any?) func drawImage(_ image: NSImage, withFrame frame: NSRect, in controlView: NSView) func drawTitle(_ title: NSAttributedString, withFrame frame: NSRect, in controlView: NSView) -> NSRect func drawBezel(withFrame frame: NSRect, in controlView: NSView) var gradientType: NSGradientType func setTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateMnemonicLocation(_ location: Int) func alternateMnemonicLocation() -> Int func alternateMnemonic() -> String! var sound: NSSound? var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString var imageDimsWhenDisabled: Bool var showsBorderOnlyWhileMouseInside: Bool func mouseEntered(with event: NSEvent) func mouseExited(with event: NSEvent) @NSCopying var backgroundColor: NSColor? } extension NSButtonCell { var imageDimsWhenDisabled: Bool var showsBorderOnlyWhileMouseInside: Bool func mouseEntered(with event: NSEvent) func mouseExited(with event: NSEvent) @NSCopying var backgroundColor: NSColor? } extension NSButtonCell { @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString } extension NSButtonCell { var bezelStyle: NSBezelStyle } extension NSButtonCell { var sound: NSSound? } extension NSButtonCell { var gradientType: NSGradientType func setTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateMnemonicLocation(_ location: Int) func alternateMnemonicLocation() -> Int func alternateMnemonic() -> String! } |
Declaration | |
---|---|
From | func drawBezelWithFrame(_ frame: NSRect, inView controlView: NSView) |
To | func drawBezel(withFrame frame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawImage(_ image: NSImage, withFrame frame: NSRect, inView controlView: NSView) |
To | func drawImage(_ image: NSImage, withFrame frame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawTitle(_ title: NSAttributedString, withFrame frame: NSRect, inView controlView: NSView) -> NSRect |
To | func drawTitle(_ title: NSAttributedString, withFrame frame: NSRect, in controlView: NSView) -> NSRect |
Modified NSButtonCell.gradientType
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.0 | OS X 10.12 |
Modified NSButtonCell.isOpaque
Declaration | |
---|---|
From | var opaque: Bool { get } |
To | var isOpaque: Bool { get } |
Modified NSButtonCell.isTransparent
Declaration | |
---|---|
From | var transparent: Bool |
To | var isTransparent: Bool |
Declaration | |
---|---|
From | var keyEquivalentModifierMask: Int |
To | var keyEquivalentModifierMask: NSEventModifierFlags |
Declaration | |
---|---|
From | func mouseEntered(_ event: NSEvent) |
To | func mouseEntered(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseExited(_ event: NSEvent) |
To | func mouseExited(with event: NSEvent) |
Modified NSButtonCell.performClick(_: Any?)
Declaration | |
---|---|
From | func performClick(_ sender: AnyObject?) |
To | func performClick(_ sender: Any?) |
Modified NSButtonType [enum]
Declaration | |
---|---|
From | enum NSButtonType : UInt { case MomentaryLightButton case PushOnPushOffButton case ToggleButton case SwitchButton case RadioButton case MomentaryChangeButton case OnOffButton case MomentaryPushInButton case AcceleratorButton case MultiLevelAcceleratorButton static var MomentaryPushButton: NSButtonType { get } static var MomentaryLight: NSButtonType { get } } |
To | enum NSButtonType : UInt { case momentaryLight case pushOnPushOff case toggle case `switch` case radio case momentaryChange case onOff case momentaryPushIn case accelerator case multiLevelAccelerator } |
Modified NSCell
Declaration | Protocols | |
---|---|---|
From | class NSCell : NSObject, NSCopying, NSCoding, NSUserInterfaceItemIdentification, NSAccessibilityElementProtocol, NSAccessibility { class func prefersTrackingUntilMouseUp() -> Bool init(textCell aString: String) init(imageCell image: NSImage?) unowned(unsafe) var controlView: NSView? var type: NSCellType var state: Int weak var target: AnyObject? var action: Selector var tag: Int var title: String var opaque: Bool { get } var enabled: Bool func sendActionOn(_ mask: Int) -> Int var continuous: Bool var editable: Bool var selectable: Bool var bordered: Bool var bezeled: Bool var scrollable: Bool var highlighted: Bool var alignment: NSTextAlignment var wraps: Bool var font: NSFont? var keyEquivalent: String { get } var formatter: NSFormatter? @NSCopying var objectValue: AnyObject? var hasValidObjectValue: Bool { get } var stringValue: String func compare(_ otherCell: AnyObject) -> NSComparisonResult var intValue: Int32 var floatValue: Float var doubleValue: Double func takeIntValueFrom(_ sender: AnyObject?) func takeFloatValueFrom(_ sender: AnyObject?) func takeDoubleValueFrom(_ sender: AnyObject?) func takeStringValueFrom(_ sender: AnyObject?) func takeObjectValueFrom(_ sender: AnyObject?) var image: NSImage? var controlTint: NSControlTint var controlSize: NSControlSize var representedObject: AnyObject? func cellAttribute(_ aParameter: NSCellAttribute) -> Int func setCellAttribute(_ aParameter: NSCellAttribute, to value: Int) func imageRectForBounds(_ theRect: NSRect) -> NSRect func titleRectForBounds(_ theRect: NSRect) -> NSRect func drawingRectForBounds(_ theRect: NSRect) -> NSRect var cellSize: NSSize { get } func cellSizeForBounds(_ aRect: NSRect) -> NSSize func highlightColorWithFrame(_ cellFrame: NSRect, inView controlView: NSView) -> NSColor func calcDrawInfo(_ aRect: NSRect) func setUpFieldEditorAttributes(_ textObj: NSText) -> NSText func drawInteriorWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func highlight(_ flag: Bool, withFrame cellFrame: NSRect, inView controlView: NSView) var mouseDownFlags: Int { get } func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) func startTrackingAt(_ startPoint: NSPoint, inView controlView: NSView) -> Bool func continueTracking(_ lastPoint: NSPoint, at currentPoint: NSPoint, inView controlView: NSView) -> Bool func stopTracking(_ lastPoint: NSPoint, at stopPoint: NSPoint, inView controlView: NSView, mouseIsUp flag: Bool) func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView, untilMouseUp flag: Bool) -> Bool func editWithFrame(_ aRect: NSRect, inView controlView: NSView, editor textObj: NSText, delegate anObject: AnyObject?, event theEvent: NSEvent) func selectWithFrame(_ aRect: NSRect, inView controlView: NSView, editor textObj: NSText, delegate anObject: AnyObject?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func resetCursorRect(_ cellFrame: NSRect, inView controlView: NSView) var menu: NSMenu? func menuForEvent(_ event: NSEvent, inRect cellFrame: NSRect, ofView view: NSView) -> NSMenu? class func defaultMenu() -> NSMenu? var sendsActionOnEndEditing: Bool var baseWritingDirection: NSWritingDirection var lineBreakMode: NSLineBreakMode var allowsUndo: Bool var integerValue: Int func takeIntegerValueFrom(_ sender: AnyObject?) var truncatesLastVisibleLine: Bool var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func fieldEditorForView(_ aControlView: NSView) -> NSTextView? var usesSingleLineMode: Bool func draggingImageComponentsWithFrame(_ frame: NSRect, inView view: NSView) -> [NSDraggingImageComponent] } extension NSCell { var refusesFirstResponder: Bool var acceptsFirstResponder: Bool { get } var showsFirstResponder: Bool func performClick(_ sender: AnyObject?) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMaskWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func focusRingMaskBoundsForFrame(_ cellFrame: NSRect, inView controlView: NSView) -> NSRect var wantsNotificationForMarkedText: Bool { get } } extension NSCell { @NSCopying var attributedStringValue: NSAttributedString var allowsEditingTextAttributes: Bool var importsGraphics: Bool } extension NSCell { var allowsMixedState: Bool var nextState: Int { get } func setNextState() } extension NSCell { func hitTestForEvent(_ event: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView) -> NSCellHitResult } extension NSCell { func expansionFrameWithFrame(_ cellFrame: NSRect, inView view: NSView) -> NSRect func drawWithExpansionFrame(_ cellFrame: NSRect, inView view: NSView) } extension NSCell { var backgroundStyle: NSBackgroundStyle var interiorBackgroundStyle: NSBackgroundStyle { get } } extension NSCell { func entryType() -> Int func setEntryType(_ aType: Int) func isEntryAcceptable(_ aString: String) -> Bool func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String func setTitleWithMnemonic(_ stringWithAmpersand: String) } | NSAccessibility, NSAccessibilityElementProtocol, NSCoding, NSCopying, NSUserInterfaceItemIdentification |
To | class NSCell : NSObject, NSCopying, NSCoding, NSUserInterfaceItemIdentification, NSAccessibilityElementProtocol, NSAccessibility { class func prefersTrackingUntilMouseUp() -> Bool init() init(textCell string: String) init(imageCell image: NSImage?) init(coder coder: NSCoder) unowned(unsafe) var controlView: NSView? var type: NSCellType var state: Int weak var target: AnyObject? var action: Selector? var tag: Int var title: String var isOpaque: Bool { get } var isEnabled: Bool func sendAction(on mask: NSEventMask) -> Int var isContinuous: Bool var isEditable: Bool var isSelectable: Bool var isBordered: Bool var isBezeled: Bool var isScrollable: Bool var isHighlighted: Bool var alignment: NSTextAlignment var wraps: Bool var font: NSFont? var keyEquivalent: String { get } var formatter: Formatter? var objectValue: Any? var hasValidObjectValue: Bool { get } var stringValue: String func compare(_ otherCell: Any) -> ComparisonResult var intValue: Int32 var floatValue: Float var doubleValue: Double func takeIntValueFrom(_ sender: Any?) func takeFloatValueFrom(_ sender: Any?) func takeDoubleValueFrom(_ sender: Any?) func takeStringValueFrom(_ sender: Any?) func takeObjectValueFrom(_ sender: Any?) var image: NSImage? var controlTint: NSControlTint var controlSize: NSControlSize var representedObject: Any? func cellAttribute(_ parameter: NSCellAttribute) -> Int func setCellAttribute(_ parameter: NSCellAttribute, to value: Int) func imageRect(forBounds rect: NSRect) -> NSRect func titleRect(forBounds rect: NSRect) -> NSRect func drawingRect(forBounds rect: NSRect) -> NSRect var cellSize: NSSize { get } func cellSize(forBounds rect: NSRect) -> NSSize func highlightColor(withFrame cellFrame: NSRect, in controlView: NSView) -> NSColor func calcDrawInfo(_ rect: NSRect) func setUpFieldEditorAttributes(_ textObj: NSText) -> NSText func drawInterior(withFrame cellFrame: NSRect, in controlView: NSView) func draw(withFrame cellFrame: NSRect, in controlView: NSView) func highlight(_ flag: Bool, withFrame cellFrame: NSRect, in controlView: NSView) var mouseDownFlags: Int { get } func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) func startTracking(at startPoint: NSPoint, in controlView: NSView) -> Bool func continueTracking(last lastPoint: NSPoint, current currentPoint: NSPoint, in controlView: NSView) -> Bool func stopTracking(last lastPoint: NSPoint, current stopPoint: NSPoint, in controlView: NSView, mouseIsUp flag: Bool) func trackMouse(with event: NSEvent, in cellFrame: NSRect, of controlView: NSView, untilMouseUp flag: Bool) -> Bool func edit(withFrame rect: NSRect, in controlView: NSView, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent?) func select(withFrame rect: NSRect, in controlView: NSView, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func resetCursorRect(_ cellFrame: NSRect, in controlView: NSView) var menu: NSMenu? func menu(for event: NSEvent, in cellFrame: NSRect, of view: NSView) -> NSMenu? class func defaultMenu() -> NSMenu? var sendsActionOnEndEditing: Bool var baseWritingDirection: NSWritingDirection var lineBreakMode: NSLineBreakMode var allowsUndo: Bool var integerValue: Int func takeIntegerValueFrom(_ sender: Any?) var truncatesLastVisibleLine: Bool var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func fieldEditor(for controlView: NSView) -> NSTextView? var usesSingleLineMode: Bool func draggingImageComponents(withFrame frame: NSRect, in view: NSView) -> [NSDraggingImageComponent] var refusesFirstResponder: Bool var acceptsFirstResponder: Bool { get } var showsFirstResponder: Bool func performClick(_ sender: Any?) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask(withFrame cellFrame: NSRect, in controlView: NSView) func focusRingMaskBounds(forFrame cellFrame: NSRect, in controlView: NSView) -> NSRect var wantsNotificationForMarkedText: Bool { get } @NSCopying var attributedStringValue: NSAttributedString var allowsEditingTextAttributes: Bool var importsGraphics: Bool var allowsMixedState: Bool var nextState: Int { get } func setNextState() func hitTest(for event: NSEvent, in cellFrame: NSRect, of controlView: NSView) -> NSCellHitResult func expansionFrame(withFrame cellFrame: NSRect, in view: NSView) -> NSRect func draw(withExpansionFrame cellFrame: NSRect, in view: NSView) var backgroundStyle: NSBackgroundStyle var interiorBackgroundStyle: NSBackgroundStyle { get } func entryType() -> Int func setEntryType(_ type: Int) func isEntryAcceptable(_ string: String) -> Bool func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String func setTitleWithMnemonic(_ stringWithAmpersand: String) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func 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? } extension NSCell : CVarArg { } extension NSCell : Equatable, Hashable { var hashValue: Int { get } } extension NSCell { var refusesFirstResponder: Bool var acceptsFirstResponder: Bool { get } var showsFirstResponder: Bool func performClick(_ sender: Any?) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask(withFrame cellFrame: NSRect, in controlView: NSView) func focusRingMaskBounds(forFrame cellFrame: NSRect, in controlView: NSView) -> NSRect var wantsNotificationForMarkedText: Bool { get } } extension NSCell { @NSCopying var attributedStringValue: NSAttributedString var allowsEditingTextAttributes: Bool var importsGraphics: Bool } extension NSCell { var allowsMixedState: Bool var nextState: Int { get } func setNextState() } extension NSCell { func hitTest(for event: NSEvent, in cellFrame: NSRect, of controlView: NSView) -> NSCellHitResult } extension NSCell { func expansionFrame(withFrame cellFrame: NSRect, in view: NSView) -> NSRect func draw(withExpansionFrame cellFrame: NSRect, in view: NSView) } extension NSCell { var backgroundStyle: NSBackgroundStyle var interiorBackgroundStyle: NSBackgroundStyle { get } } extension NSCell { func entryType() -> Int func setEntryType(_ type: Int) func isEntryAcceptable(_ string: String) -> Bool func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String func setTitleWithMnemonic(_ stringWithAmpersand: String) } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSCoding, NSCopying, NSUserInterfaceItemIdentification |
Modified NSCell.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Declaration | |
---|---|
From | func cellSizeForBounds(_ aRect: NSRect) -> NSSize |
To | func cellSize(forBounds rect: NSRect) -> NSSize |
Declaration | |
---|---|
From | func compare(_ otherCell: AnyObject) -> NSComparisonResult |
To | func compare(_ otherCell: Any) -> ComparisonResult |
Declaration | |
---|---|
From | func continueTracking(_ lastPoint: NSPoint, at currentPoint: NSPoint, inView controlView: NSView) -> Bool |
To | func continueTracking(last lastPoint: NSPoint, current currentPoint: NSPoint, in controlView: NSView) -> Bool |
Modified NSCell.draggingImageComponents(withFrame: NSRect, in: NSView) -> [NSDraggingImageComponent]
Declaration | |
---|---|
From | func draggingImageComponentsWithFrame(_ frame: NSRect, inView view: NSView) -> [NSDraggingImageComponent] |
To | func draggingImageComponents(withFrame frame: NSRect, in view: NSView) -> [NSDraggingImageComponent] |
Declaration | |
---|---|
From | func drawWithExpansionFrame(_ cellFrame: NSRect, inView view: NSView) |
To | func draw(withExpansionFrame cellFrame: NSRect, in view: NSView) |
Declaration | |
---|---|
From | func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func draw(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawFocusRingMaskWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawFocusRingMask(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawingRectForBounds(_ theRect: NSRect) -> NSRect |
To | func drawingRect(forBounds rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func drawInteriorWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawInterior(withFrame cellFrame: NSRect, in controlView: NSView) |
Modified NSCell.edit(withFrame: NSRect, in: NSView, editor: NSText, delegate: Any?, event: NSEvent?)
Declaration | |
---|---|
From | func editWithFrame(_ aRect: NSRect, inView controlView: NSView, editor textObj: NSText, delegate anObject: AnyObject?, event theEvent: NSEvent) |
To | func edit(withFrame rect: NSRect, in controlView: NSView, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent?) |
Declaration | |
---|---|
From | func expansionFrameWithFrame(_ cellFrame: NSRect, inView view: NSView) -> NSRect |
To | func expansionFrame(withFrame cellFrame: NSRect, in view: NSView) -> NSRect |
Declaration | |
---|---|
From | func fieldEditorForView(_ aControlView: NSView) -> NSTextView? |
To | func fieldEditor(for controlView: NSView) -> NSTextView? |
Declaration | |
---|---|
From | func focusRingMaskBoundsForFrame(_ cellFrame: NSRect, inView controlView: NSView) -> NSRect |
To | func focusRingMaskBounds(forFrame cellFrame: NSRect, in controlView: NSView) -> NSRect |
Modified NSCell.formatter
Declaration | |
---|---|
From | var formatter: NSFormatter? |
To | var formatter: Formatter? |
Declaration | |
---|---|
From | func highlight(_ flag: Bool, withFrame cellFrame: NSRect, inView controlView: NSView) |
To | func highlight(_ flag: Bool, withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func highlightColorWithFrame(_ cellFrame: NSRect, inView controlView: NSView) -> NSColor |
To | func highlightColor(withFrame cellFrame: NSRect, in controlView: NSView) -> NSColor |
Declaration | |
---|---|
From | func hitTestForEvent(_ event: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView) -> NSCellHitResult |
To | func hitTest(for event: NSEvent, in cellFrame: NSRect, of controlView: NSView) -> NSCellHitResult |
Declaration | |
---|---|
From | func imageRectForBounds(_ theRect: NSRect) -> NSRect |
To | func imageRect(forBounds rect: NSRect) -> NSRect |
Modified NSCell.isBezeled
Declaration | |
---|---|
From | var bezeled: Bool |
To | var isBezeled: Bool |
Modified NSCell.isBordered
Declaration | |
---|---|
From | var bordered: Bool |
To | var isBordered: Bool |
Modified NSCell.isContinuous
Declaration | |
---|---|
From | var continuous: Bool |
To | var isContinuous: Bool |
Modified NSCell.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Modified NSCell.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified NSCell.isHighlighted
Declaration | |
---|---|
From | var highlighted: Bool |
To | var isHighlighted: Bool |
Modified NSCell.isOpaque
Declaration | |
---|---|
From | var opaque: Bool { get } |
To | var isOpaque: Bool { get } |
Modified NSCell.isScrollable
Declaration | |
---|---|
From | var scrollable: Bool |
To | var isScrollable: Bool |
Modified NSCell.isSelectable
Declaration | |
---|---|
From | var selectable: Bool |
To | var isSelectable: Bool |
Declaration | |
---|---|
From | func menuForEvent(_ event: NSEvent, inRect cellFrame: NSRect, ofView view: NSView) -> NSMenu? |
To | func menu(for event: NSEvent, in cellFrame: NSRect, of view: NSView) -> NSMenu? |
Modified NSCell.objectValue
Declaration | |
---|---|
From | @NSCopying var objectValue: AnyObject? |
To | var objectValue: Any? |
Modified NSCell.performClick(_: Any?)
Declaration | |
---|---|
From | func performClick(_ sender: AnyObject?) |
To | func performClick(_ sender: Any?) |
Modified NSCell.representedObject
Declaration | |
---|---|
From | var representedObject: AnyObject? |
To | var representedObject: Any? |
Declaration | |
---|---|
From | func resetCursorRect(_ cellFrame: NSRect, inView controlView: NSView) |
To | func resetCursorRect(_ cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func selectWithFrame(_ aRect: NSRect, inView controlView: NSView, editor textObj: NSText, delegate anObject: AnyObject?, start selStart: Int, length selLength: Int) |
To | func select(withFrame rect: NSRect, in controlView: NSView, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) |
Declaration | |
---|---|
From | func sendActionOn(_ mask: Int) -> Int |
To | func sendAction(on mask: NSEventMask) -> Int |
Declaration | |
---|---|
From | func startTrackingAt(_ startPoint: NSPoint, inView controlView: NSView) -> Bool |
To | func startTracking(at startPoint: NSPoint, in controlView: NSView) -> Bool |
Declaration | |
---|---|
From | func stopTracking(_ lastPoint: NSPoint, at stopPoint: NSPoint, inView controlView: NSView, mouseIsUp flag: Bool) |
To | func stopTracking(last lastPoint: NSPoint, current stopPoint: NSPoint, in controlView: NSView, mouseIsUp flag: Bool) |
Modified NSCell.takeDoubleValueFrom(_: Any?)
Declaration | |
---|---|
From | func takeDoubleValueFrom(_ sender: AnyObject?) |
To | func takeDoubleValueFrom(_ sender: Any?) |
Modified NSCell.takeFloatValueFrom(_: Any?)
Declaration | |
---|---|
From | func takeFloatValueFrom(_ sender: AnyObject?) |
To | func takeFloatValueFrom(_ sender: Any?) |
Modified NSCell.takeIntegerValueFrom(_: Any?)
Declaration | |
---|---|
From | func takeIntegerValueFrom(_ sender: AnyObject?) |
To | func takeIntegerValueFrom(_ sender: Any?) |
Modified NSCell.takeIntValueFrom(_: Any?)
Declaration | |
---|---|
From | func takeIntValueFrom(_ sender: AnyObject?) |
To | func takeIntValueFrom(_ sender: Any?) |
Modified NSCell.takeObjectValueFrom(_: Any?)
Declaration | |
---|---|
From | func takeObjectValueFrom(_ sender: AnyObject?) |
To | func takeObjectValueFrom(_ sender: Any?) |
Modified NSCell.takeStringValueFrom(_: Any?)
Declaration | |
---|---|
From | func takeStringValueFrom(_ sender: AnyObject?) |
To | func takeStringValueFrom(_ sender: Any?) |
Declaration | |
---|---|
From | func titleRectForBounds(_ theRect: NSRect) -> NSRect |
To | func titleRect(forBounds rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView, untilMouseUp flag: Bool) -> Bool |
To | func trackMouse(with event: NSEvent, in cellFrame: NSRect, of controlView: NSView, untilMouseUp flag: Bool) -> Bool |
Modified NSCellAttribute [enum]
Declaration | |
---|---|
From | enum NSCellAttribute : UInt { case CellDisabled case CellState case PushInCell case CellEditable case ChangeGrayCell case CellHighlighted case CellLightsByContents case CellLightsByGray case ChangeBackgroundCell case CellLightsByBackground case CellIsBordered case CellHasOverlappingImage case CellHasImageHorizontal case CellHasImageOnLeftOrBottom case CellChangesContents case CellIsInsetButton case CellAllowsMixedState } |
To | enum NSCellAttribute : UInt { case cellDisabled case cellState case pushInCell case cellEditable case changeGrayCell case cellHighlighted case cellLightsByContents case cellLightsByGray case changeBackgroundCell case cellLightsByBackground case cellIsBordered case cellHasOverlappingImage case cellHasImageHorizontal case cellHasImageOnLeftOrBottom case cellChangesContents case cellIsInsetButton case cellAllowsMixedState } |
Modified NSCellAttribute.cellAllowsMixedState
Declaration | |
---|---|
From | case CellAllowsMixedState |
To | case cellAllowsMixedState |
Modified NSCellAttribute.cellChangesContents
Declaration | |
---|---|
From | case CellChangesContents |
To | case cellChangesContents |
Modified NSCellAttribute.cellDisabled
Declaration | |
---|---|
From | case CellDisabled |
To | case cellDisabled |
Modified NSCellAttribute.cellEditable
Declaration | |
---|---|
From | case CellEditable |
To | case cellEditable |
Declaration | |
---|---|
From | case CellHasImageHorizontal |
To | case cellHasImageHorizontal |
Declaration | |
---|---|
From | case CellHasImageOnLeftOrBottom |
To | case cellHasImageOnLeftOrBottom |
Declaration | |
---|---|
From | case CellHasOverlappingImage |
To | case cellHasOverlappingImage |
Modified NSCellAttribute.cellHighlighted
Declaration | |
---|---|
From | case CellHighlighted |
To | case cellHighlighted |
Modified NSCellAttribute.cellIsBordered
Declaration | |
---|---|
From | case CellIsBordered |
To | case cellIsBordered |
Modified NSCellAttribute.cellIsInsetButton
Declaration | |
---|---|
From | case CellIsInsetButton |
To | case cellIsInsetButton |
Declaration | |
---|---|
From | case CellLightsByBackground |
To | case cellLightsByBackground |
Modified NSCellAttribute.cellLightsByContents
Declaration | |
---|---|
From | case CellLightsByContents |
To | case cellLightsByContents |
Modified NSCellAttribute.cellLightsByGray
Declaration | |
---|---|
From | case CellLightsByGray |
To | case cellLightsByGray |
Modified NSCellAttribute.cellState
Declaration | |
---|---|
From | case CellState |
To | case cellState |
Modified NSCellAttribute.changeBackgroundCell
Declaration | |
---|---|
From | case ChangeBackgroundCell |
To | case changeBackgroundCell |
Modified NSCellAttribute.changeGrayCell
Declaration | |
---|---|
From | case ChangeGrayCell |
To | case changeGrayCell |
Modified NSCellAttribute.pushInCell
Declaration | |
---|---|
From | case PushInCell |
To | case pushInCell |
Modified NSCellHitResult [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSCellHitResult : OptionSetType { init(rawValue rawValue: UInt) static var None: NSCellHitResult { get } static var ContentArea: NSCellHitResult { get } static var EditableTextArea: NSCellHitResult { get } static var TrackableArea: NSCellHitResult { get } } | OptionSetType |
To | struct NSCellHitResult : OptionSet { init(rawValue rawValue: UInt) static var none: NSCellHitResult { get } static var contentArea: NSCellHitResult { get } static var editableTextArea: NSCellHitResult { get } static var trackableArea: NSCellHitResult { get } func intersect(_ other: NSCellHitResult) -> NSCellHitResult func exclusiveOr(_ other: NSCellHitResult) -> NSCellHitResult mutating func unionInPlace(_ other: NSCellHitResult) mutating func intersectInPlace(_ other: NSCellHitResult) mutating func exclusiveOrInPlace(_ other: NSCellHitResult) func isSubsetOf(_ other: NSCellHitResult) -> Bool func isDisjointWith(_ other: NSCellHitResult) -> Bool func isSupersetOf(_ other: NSCellHitResult) -> Bool mutating func subtractInPlace(_ other: NSCellHitResult) func isStrictSupersetOf(_ other: NSCellHitResult) -> Bool func isStrictSubsetOf(_ other: NSCellHitResult) -> Bool } extension NSCellHitResult { func union(_ other: NSCellHitResult) -> NSCellHitResult func intersection(_ other: NSCellHitResult) -> NSCellHitResult func symmetricDifference(_ other: NSCellHitResult) -> NSCellHitResult } extension NSCellHitResult { func contains(_ member: NSCellHitResult) -> Bool mutating func insert(_ newMember: NSCellHitResult) -> (inserted: Bool, memberAfterInsert: NSCellHitResult) mutating func remove(_ member: NSCellHitResult) -> NSCellHitResult? mutating func update(with newMember: NSCellHitResult) -> NSCellHitResult? } extension NSCellHitResult { convenience init() mutating func formUnion(_ other: NSCellHitResult) mutating func formIntersection(_ other: NSCellHitResult) mutating func formSymmetricDifference(_ other: NSCellHitResult) } extension NSCellHitResult { convenience init<S : Sequence where S.Iterator.Element == NSCellHitResult>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSCellHitResult...) mutating func subtract(_ other: NSCellHitResult) func isSubset(of other: NSCellHitResult) -> Bool func isSuperset(of other: NSCellHitResult) -> Bool func isDisjoint(with other: NSCellHitResult) -> Bool func subtracting(_ other: NSCellHitResult) -> NSCellHitResult var isEmpty: Bool { get } func isStrictSuperset(of other: NSCellHitResult) -> Bool func isStrictSubset(of other: NSCellHitResult) -> Bool } | OptionSet |
Modified NSCellHitResult.contentArea
Declaration | |
---|---|
From | static var ContentArea: NSCellHitResult { get } |
To | static var contentArea: NSCellHitResult { get } |
Modified NSCellHitResult.editableTextArea
Declaration | |
---|---|
From | static var EditableTextArea: NSCellHitResult { get } |
To | static var editableTextArea: NSCellHitResult { get } |
Modified NSCellHitResult.trackableArea
Declaration | |
---|---|
From | static var TrackableArea: NSCellHitResult { get } |
To | static var trackableArea: NSCellHitResult { get } |
Modified NSCellImagePosition [enum]
Declaration | |
---|---|
From | enum NSCellImagePosition : UInt { case NoImage case ImageOnly case ImageLeft case ImageRight case ImageBelow case ImageAbove case ImageOverlaps } |
To | enum NSCellImagePosition : UInt { case noImage case imageOnly case imageLeft case imageRight case imageBelow case imageAbove case imageOverlaps case imageLeading case imageTrailing } |
Modified NSCellImagePosition.imageAbove
Declaration | |
---|---|
From | case ImageAbove |
To | case imageAbove |
Modified NSCellImagePosition.imageBelow
Declaration | |
---|---|
From | case ImageBelow |
To | case imageBelow |
Modified NSCellImagePosition.imageLeft
Declaration | |
---|---|
From | case ImageLeft |
To | case imageLeft |
Modified NSCellImagePosition.imageOnly
Declaration | |
---|---|
From | case ImageOnly |
To | case imageOnly |
Modified NSCellImagePosition.imageOverlaps
Declaration | |
---|---|
From | case ImageOverlaps |
To | case imageOverlaps |
Modified NSCellImagePosition.imageRight
Declaration | |
---|---|
From | case ImageRight |
To | case imageRight |
Modified NSCellImagePosition.noImage
Declaration | |
---|---|
From | case NoImage |
To | case noImage |
Modified NSCellStyleMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSCellStyleMask : OptionSetType { init(rawValue rawValue: UInt) static var NoCellMask: NSCellStyleMask { get } static var ContentsCellMask: NSCellStyleMask { get } static var PushInCellMask: NSCellStyleMask { get } static var ChangeGrayCellMask: NSCellStyleMask { get } static var ChangeBackgroundCellMask: NSCellStyleMask { get } } | OptionSetType |
To | struct NSCellStyleMask : OptionSet { init(rawValue rawValue: UInt) static var noCellMask: NSCellStyleMask { get } static var contentsCellMask: NSCellStyleMask { get } static var pushInCellMask: NSCellStyleMask { get } static var changeGrayCellMask: NSCellStyleMask { get } static var changeBackgroundCellMask: NSCellStyleMask { get } func intersect(_ other: NSCellStyleMask) -> NSCellStyleMask func exclusiveOr(_ other: NSCellStyleMask) -> NSCellStyleMask mutating func unionInPlace(_ other: NSCellStyleMask) mutating func intersectInPlace(_ other: NSCellStyleMask) mutating func exclusiveOrInPlace(_ other: NSCellStyleMask) func isSubsetOf(_ other: NSCellStyleMask) -> Bool func isDisjointWith(_ other: NSCellStyleMask) -> Bool func isSupersetOf(_ other: NSCellStyleMask) -> Bool mutating func subtractInPlace(_ other: NSCellStyleMask) func isStrictSupersetOf(_ other: NSCellStyleMask) -> Bool func isStrictSubsetOf(_ other: NSCellStyleMask) -> Bool } extension NSCellStyleMask { func union(_ other: NSCellStyleMask) -> NSCellStyleMask func intersection(_ other: NSCellStyleMask) -> NSCellStyleMask func symmetricDifference(_ other: NSCellStyleMask) -> NSCellStyleMask } extension NSCellStyleMask { func contains(_ member: NSCellStyleMask) -> Bool mutating func insert(_ newMember: NSCellStyleMask) -> (inserted: Bool, memberAfterInsert: NSCellStyleMask) mutating func remove(_ member: NSCellStyleMask) -> NSCellStyleMask? mutating func update(with newMember: NSCellStyleMask) -> NSCellStyleMask? } extension NSCellStyleMask { convenience init() mutating func formUnion(_ other: NSCellStyleMask) mutating func formIntersection(_ other: NSCellStyleMask) mutating func formSymmetricDifference(_ other: NSCellStyleMask) } extension NSCellStyleMask { convenience init<S : Sequence where S.Iterator.Element == NSCellStyleMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSCellStyleMask...) mutating func subtract(_ other: NSCellStyleMask) func isSubset(of other: NSCellStyleMask) -> Bool func isSuperset(of other: NSCellStyleMask) -> Bool func isDisjoint(with other: NSCellStyleMask) -> Bool func subtracting(_ other: NSCellStyleMask) -> NSCellStyleMask var isEmpty: Bool { get } func isStrictSuperset(of other: NSCellStyleMask) -> Bool func isStrictSubset(of other: NSCellStyleMask) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ChangeBackgroundCellMask: NSCellStyleMask { get } |
To | static var changeBackgroundCellMask: NSCellStyleMask { get } |
Modified NSCellStyleMask.changeGrayCellMask
Declaration | |
---|---|
From | static var ChangeGrayCellMask: NSCellStyleMask { get } |
To | static var changeGrayCellMask: NSCellStyleMask { get } |
Modified NSCellStyleMask.contentsCellMask
Declaration | |
---|---|
From | static var ContentsCellMask: NSCellStyleMask { get } |
To | static var contentsCellMask: NSCellStyleMask { get } |
Modified NSCellStyleMask.pushInCellMask
Declaration | |
---|---|
From | static var PushInCellMask: NSCellStyleMask { get } |
To | static var pushInCellMask: NSCellStyleMask { get } |
Modified NSCellType [enum]
Declaration | |
---|---|
From | enum NSCellType : UInt { case NullCellType case TextCellType case ImageCellType } |
To | enum NSCellType : UInt { case nullCellType case textCellType case imageCellType } |
Modified NSCellType.imageCellType
Declaration | |
---|---|
From | case ImageCellType |
To | case imageCellType |
Modified NSCellType.nullCellType
Declaration | |
---|---|
From | case NullCellType |
To | case nullCellType |
Modified NSCellType.textCellType
Declaration | |
---|---|
From | case TextCellType |
To | case textCellType |
Modified NSChangeSpelling
Declaration | |
---|---|
From | protocol NSChangeSpelling { func changeSpelling(_ sender: AnyObject?) } |
To | protocol NSChangeSpelling { func changeSpelling(_ sender: Any?) } |
Declaration | |
---|---|
From | func changeSpelling(_ sender: AnyObject?) |
To | func changeSpelling(_ sender: Any?) |
Modified NSCharacterCollection [enum]
Declaration | |
---|---|
From | enum NSCharacterCollection : UInt { case IdentityMappingCharacterCollection case AdobeCNS1CharacterCollection case AdobeGB1CharacterCollection case AdobeJapan1CharacterCollection case AdobeJapan2CharacterCollection case AdobeKorea1CharacterCollection } |
To | enum NSCharacterCollection : UInt { case identityMappingCharacterCollection case adobeCNS1CharacterCollection case adobeGB1CharacterCollection case adobeJapan1CharacterCollection case adobeJapan2CharacterCollection case adobeKorea1CharacterCollection } |
Declaration | |
---|---|
From | case AdobeCNS1CharacterCollection |
To | case adobeCNS1CharacterCollection |
Declaration | |
---|---|
From | case AdobeGB1CharacterCollection |
To | case adobeGB1CharacterCollection |
Declaration | |
---|---|
From | case AdobeJapan1CharacterCollection |
To | case adobeJapan1CharacterCollection |
Declaration | |
---|---|
From | case AdobeJapan2CharacterCollection |
To | case adobeJapan2CharacterCollection |
Declaration | |
---|---|
From | case AdobeKorea1CharacterCollection |
To | case adobeKorea1CharacterCollection |
Declaration | |
---|---|
From | case IdentityMappingCharacterCollection |
To | case identityMappingCharacterCollection |
Modified NSCIImageRep
Declaration | |
---|---|
From | class NSCIImageRep : NSImageRep { convenience init(CIImage image: CIImage) class func imageRepWithCIImage(_ image: CIImage) -> Self init(CIImage image: CIImage) var CIImage: CIImage { get } } |
To | class NSCIImageRep : NSImageRep { convenience init(ciImage image: CIImage) class func withCIImage(_ image: CIImage) -> Self init(ciImage image: CIImage) var ciImage: CIImage { get } } |
Modified NSCIImageRep.ciImage
Declaration | |
---|---|
From | var CIImage: CIImage { get } |
To | var ciImage: CIImage { get } |
Modified NSCIImageRep.init(ciImage: CIImage)
Declaration | |
---|---|
From | init(CIImage image: CIImage) |
To | init(ciImage image: CIImage) |
Modified NSClickGestureRecognizer
Declaration | Protocols | |
---|---|---|
From | class NSClickGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var numberOfClicksRequired: Int } | NSCoding |
To | class NSClickGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var numberOfClicksRequired: Int func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSClickGestureRecognizer : CVarArg { } extension NSClickGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Modified NSClipView
Declaration | Protocols | |
---|---|---|
From | class NSClipView : NSView { @NSCopying var backgroundColor: NSColor var drawsBackground: Bool unowned(unsafe) var documentView: AnyObject? var documentRect: NSRect { get } var documentCursor: NSCursor? var documentVisibleRect: NSRect { get } func viewFrameChanged(_ notification: NSNotification) func viewBoundsChanged(_ notification: NSNotification) var copiesOnScroll: Bool func autoscroll(_ theEvent: NSEvent) -> Bool func scrollToPoint(_ newOrigin: NSPoint) func constrainBoundsRect(_ proposedBounds: NSRect) -> NSRect var contentInsets: NSEdgeInsets var automaticallyAdjustsContentInsets: Bool } extension NSClipView { func constrainScrollPoint(_ newOrigin: NSPoint) -> NSPoint } | -- |
To | class NSClipView : NSView { @NSCopying var backgroundColor: NSColor var drawsBackground: Bool unowned(unsafe) var documentView: NSView? var documentRect: NSRect { get } var documentCursor: NSCursor? var documentVisibleRect: NSRect { get } func viewFrameChanged(_ notification: Notification) func viewBoundsChanged(_ notification: Notification) var copiesOnScroll: Bool func autoscroll(with event: NSEvent) -> Bool func scroll(to newOrigin: NSPoint) func constrainBoundsRect(_ proposedBounds: NSRect) -> NSRect var contentInsets: EdgeInsets var automaticallyAdjustsContentInsets: Bool func constrainScroll(_ newOrigin: NSPoint) -> NSPoint var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSClipView : CVarArg { } extension NSClipView : Equatable, Hashable { var hashValue: Int { get } } extension NSClipView { func constrainScroll(_ newOrigin: NSPoint) -> NSPoint } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func autoscroll(_ theEvent: NSEvent) -> Bool |
To | func autoscroll(with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | func constrainScrollPoint(_ newOrigin: NSPoint) -> NSPoint |
To | func constrainScroll(_ newOrigin: NSPoint) -> NSPoint |
Modified NSClipView.contentInsets
Declaration | |
---|---|
From | var contentInsets: NSEdgeInsets |
To | var contentInsets: EdgeInsets |
Modified NSClipView.documentView
Declaration | |
---|---|
From | unowned(unsafe) var documentView: AnyObject? |
To | unowned(unsafe) var documentView: NSView? |
Modified NSClipView.scroll(to: NSPoint)
Declaration | |
---|---|
From | func scrollToPoint(_ newOrigin: NSPoint) |
To | func scroll(to newOrigin: NSPoint) |
Declaration | |
---|---|
From | func viewBoundsChanged(_ notification: NSNotification) |
To | func viewBoundsChanged(_ notification: Notification) |
Declaration | |
---|---|
From | func viewFrameChanged(_ notification: NSNotification) |
To | func viewFrameChanged(_ notification: Notification) |
Modified NSCollectionElementCategory [enum]
Declaration | |
---|---|
From | enum NSCollectionElementCategory : Int { case Item case SupplementaryView case DecorationView case InterItemGap } |
To | enum NSCollectionElementCategory : Int { case item case supplementaryView case decorationView case interItemGap } |
Declaration | |
---|---|
From | case DecorationView |
To | case decorationView |
Declaration | |
---|---|
From | case InterItemGap |
To | case interItemGap |
Modified NSCollectionElementCategory.item
Declaration | |
---|---|
From | case Item |
To | case item |
Declaration | |
---|---|
From | case SupplementaryView |
To | case supplementaryView |
Modified NSCollectionUpdateAction [enum]
Declaration | |
---|---|
From | enum NSCollectionUpdateAction : Int { case Insert case Delete case Reload case Move case None } |
To | enum NSCollectionUpdateAction : Int { case insert case delete case reload case move case none } |
Modified NSCollectionUpdateAction.delete
Declaration | |
---|---|
From | case Delete |
To | case delete |
Modified NSCollectionUpdateAction.insert
Declaration | |
---|---|
From | case Insert |
To | case insert |
Modified NSCollectionUpdateAction.move
Declaration | |
---|---|
From | case Move |
To | case move |
Modified NSCollectionUpdateAction.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSCollectionUpdateAction.reload
Declaration | |
---|---|
From | case Reload |
To | case reload |
Modified NSCollectionView
Declaration | Protocols | |
---|---|---|
From | class NSCollectionView : NSView, NSDraggingSource, NSDraggingDestination { weak var dataSource: NSCollectionViewDataSource? var content: [AnyObject] func reloadData() unowned(unsafe) var delegate: NSCollectionViewDelegate? var backgroundView: NSView? var collectionViewLayout: NSCollectionViewLayout? func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryElementOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func frameForItemAtIndex(_ index: Int) -> NSRect func frameForItemAtIndex(_ index: Int, withNumberOfItems numberOfItems: Int) -> NSRect var maxNumberOfRows: Int var maxNumberOfColumns: Int var minItemSize: NSSize var maxItemSize: NSSize var backgroundColors: [NSColor]! var numberOfSections: Int { get } func numberOfItemsInSection(_ section: Int) -> Int var firstResponder: Bool { get } var selectable: Bool var allowsEmptySelection: Bool var allowsMultipleSelection: Bool @NSCopying var selectionIndexes: NSIndexSet var selectionIndexPaths: Set<NSIndexPath> func selectItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func deselectItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) @IBAction func selectAll(_ sender: AnyObject?) @IBAction func deselectAll(_ sender: AnyObject?) func registerClass(_ itemClass: AnyClass?, forItemWithIdentifier identifier: String) func registerNib(_ nib: NSNib?, forItemWithIdentifier identifier: String) func registerClass(_ viewClass: AnyClass?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func registerNib(_ nib: NSNib?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func makeItemWithIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> NSCollectionViewItem func makeSupplementaryViewOfKind(_ elementKind: String, withIdentifier identifier: String, forIndexPath indexPath: NSIndexPath) -> NSView func newItemForRepresentedObject(_ object: AnyObject) -> NSCollectionViewItem var itemPrototype: NSCollectionViewItem? func itemAtIndex(_ index: Int) -> NSCollectionViewItem? func itemAtIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewItem? func visibleItems() -> [NSCollectionViewItem] func indexPathsForVisibleItems() -> Set<NSIndexPath> func indexPathForItem(_ item: NSCollectionViewItem) -> NSIndexPath? func indexPathForItemAtPoint(_ point: NSPoint) -> NSIndexPath? func supplementaryViewForElementKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> NSView? func visibleSupplementaryViewsOfKind(_ elementKind: String) -> [NSView] func indexPathsForVisibleSupplementaryElementsOfKind(_ elementKind: String) -> Set<NSIndexPath> func insertSections(_ sections: NSIndexSet) func deleteSections(_ sections: NSIndexSet) func reloadSections(_ sections: NSIndexSet) func moveSection(_ section: Int, toSection newSection: Int) func insertItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) func deleteItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) func reloadItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) func moveItemAtIndexPath(_ indexPath: NSIndexPath, toIndexPath newIndexPath: NSIndexPath) func performBatchUpdates(_ updates: (() -> Void)?, completionHandler completionHandler: ((Bool) -> Void)?) func scrollToItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func setDraggingSourceOperationMask(_ dragOperationMask: NSDragOperation, forLocal localDestination: Bool) func draggingImageForItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func draggingImageForItemsAtIndexes(_ indexes: NSIndexSet, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage } | NSDraggingDestination, NSDraggingSource |
To | class NSCollectionView : NSView, NSDraggingSource, NSDraggingDestination { weak var dataSource: NSCollectionViewDataSource? var content: [Any] func reloadData() weak var delegate: NSCollectionViewDelegate? var backgroundView: NSView? var backgroundViewScrollsWithContent: Bool var collectionViewLayout: NSCollectionViewLayout? func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryElement(ofKind kind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func frameForItem(at index: Int) -> NSRect func frameForItem(at index: Int, withNumberOfItems numberOfItems: Int) -> NSRect var maxNumberOfRows: Int var maxNumberOfColumns: Int var minItemSize: NSSize var maxItemSize: NSSize var backgroundColors: [NSColor]! var numberOfSections: Int { get } func numberOfItems(inSection section: Int) -> Int var isFirstResponder: Bool { get } var isSelectable: Bool var allowsEmptySelection: Bool var allowsMultipleSelection: Bool var selectionIndexes: IndexSet var selectionIndexPaths: Set<IndexPath> func selectItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func deselectItems(at indexPaths: Set<IndexPath>) @IBAction func selectAll(_ sender: Any?) @IBAction func deselectAll(_ sender: Any?) func register(_ itemClass: Swift.AnyClass?, forItemWithIdentifier identifier: String) func register(_ nib: NSNib?, forItemWithIdentifier identifier: String) func register(_ viewClass: Swift.AnyClass?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func register(_ nib: NSNib?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func makeItem(withIdentifier identifier: String, for indexPath: IndexPath) -> NSCollectionViewItem func makeSupplementaryView(ofKind elementKind: String, withIdentifier identifier: String, for indexPath: IndexPath) -> NSView func newItem(forRepresentedObject object: Any) -> NSCollectionViewItem var itemPrototype: NSCollectionViewItem? func item(at index: Int) -> NSCollectionViewItem? func item(at indexPath: IndexPath) -> NSCollectionViewItem? func visibleItems() -> [NSCollectionViewItem] func indexPathsForVisibleItems() -> Set<IndexPath> func indexPath(for item: NSCollectionViewItem) -> IndexPath? func indexPathForItem(at point: NSPoint) -> IndexPath? func supplementaryView(forElementKind elementKind: String, at indexPath: IndexPath) -> NSView? func visibleSupplementaryViews(ofKind elementKind: String) -> [NSView] func indexPathsForVisibleSupplementaryElements(ofKind elementKind: String) -> Set<IndexPath> func insertSections(_ sections: IndexSet) func deleteSections(_ sections: IndexSet) func reloadSections(_ sections: IndexSet) func moveSection(_ section: Int, toSection newSection: Int) func insertItems(at indexPaths: Set<IndexPath>) func deleteItems(at indexPaths: Set<IndexPath>) func reloadItems(at indexPaths: Set<IndexPath>) func moveItem(at indexPath: IndexPath, to newIndexPath: IndexPath) func performBatchUpdates(_ updates: (() -> Swift.Void)?, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) @IBAction func toggleSectionCollapse(_ sender: Any) func scrollToItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func setDraggingSourceOperationMask(_ dragOperationMask: NSDragOperation, forLocal localDestination: Bool) func draggingImageForItems(at indexPaths: Set<IndexPath>, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func draggingImageForItems(at indexes: IndexSet, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionView : CVarArg { } extension NSCollectionView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSDraggingDestination, NSDraggingSource |
Modified NSCollectionView.content
Declaration | |
---|---|
From | var content: [AnyObject] |
To | var content: [Any] |
Modified NSCollectionView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: NSCollectionViewDelegate? |
To | weak var delegate: NSCollectionViewDelegate? |
Declaration | |
---|---|
From | func deleteItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) |
To | func deleteItems(at indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | func deleteSections(_ sections: NSIndexSet) |
To | func deleteSections(_ sections: IndexSet) |
Declaration | |
---|---|
From | @IBAction func deselectAll(_ sender: AnyObject?) |
To | @IBAction func deselectAll(_ sender: Any?) |
Declaration | |
---|---|
From | func deselectItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) |
To | func deselectItems(at indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | func draggingImageForItemsAtIndexes(_ indexes: NSIndexSet, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
To | func draggingImageForItems(at indexes: IndexSet, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
Declaration | |
---|---|
From | func draggingImageForItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
To | func draggingImageForItems(at indexPaths: Set<IndexPath>, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
Declaration | |
---|---|
From | func frameForItemAtIndex(_ index: Int) -> NSRect |
To | func frameForItem(at index: Int) -> NSRect |
Declaration | |
---|---|
From | func frameForItemAtIndex(_ index: Int, withNumberOfItems numberOfItems: Int) -> NSRect |
To | func frameForItem(at index: Int, withNumberOfItems numberOfItems: Int) -> NSRect |
Declaration | |
---|---|
From | func indexPathForItem(_ item: NSCollectionViewItem) -> NSIndexPath? |
To | func indexPath(for item: NSCollectionViewItem) -> IndexPath? |
Declaration | |
---|---|
From | func indexPathForItemAtPoint(_ point: NSPoint) -> NSIndexPath? |
To | func indexPathForItem(at point: NSPoint) -> IndexPath? |
Declaration | |
---|---|
From | func indexPathsForVisibleItems() -> Set<NSIndexPath> |
To | func indexPathsForVisibleItems() -> Set<IndexPath> |
Modified NSCollectionView.indexPathsForVisibleSupplementaryElements(ofKind: String) -> Set<IndexPath>
Declaration | |
---|---|
From | func indexPathsForVisibleSupplementaryElementsOfKind(_ elementKind: String) -> Set<NSIndexPath> |
To | func indexPathsForVisibleSupplementaryElements(ofKind elementKind: String) -> Set<IndexPath> |
Declaration | |
---|---|
From | func insertItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) |
To | func insertItems(at indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | func insertSections(_ sections: NSIndexSet) |
To | func insertSections(_ sections: IndexSet) |
Modified NSCollectionView.isFirstResponder
Declaration | |
---|---|
From | var firstResponder: Bool { get } |
To | var isFirstResponder: Bool { get } |
Modified NSCollectionView.isSelectable
Declaration | |
---|---|
From | var selectable: Bool |
To | var isSelectable: Bool |
Declaration | |
---|---|
From | func itemAtIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewItem? |
To | func item(at indexPath: IndexPath) -> NSCollectionViewItem? |
Declaration | |
---|---|
From | func itemAtIndex(_ index: Int) -> NSCollectionViewItem? |
To | func item(at index: Int) -> NSCollectionViewItem? |
Modified NSCollectionView.layoutAttributesForItem(at: IndexPath) -> NSCollectionViewLayoutAttributes?
Declaration | |
---|---|
From | func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func layoutAttributesForSupplementaryElementOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func layoutAttributesForSupplementaryElement(ofKind kind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func makeItemWithIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> NSCollectionViewItem |
To | func makeItem(withIdentifier identifier: String, for indexPath: IndexPath) -> NSCollectionViewItem |
Declaration | |
---|---|
From | func makeSupplementaryViewOfKind(_ elementKind: String, withIdentifier identifier: String, forIndexPath indexPath: NSIndexPath) -> NSView |
To | func makeSupplementaryView(ofKind elementKind: String, withIdentifier identifier: String, for indexPath: IndexPath) -> NSView |
Declaration | |
---|---|
From | func moveItemAtIndexPath(_ indexPath: NSIndexPath, toIndexPath newIndexPath: NSIndexPath) |
To | func moveItem(at indexPath: IndexPath, to newIndexPath: IndexPath) |
Declaration | |
---|---|
From | func newItemForRepresentedObject(_ object: AnyObject) -> NSCollectionViewItem |
To | func newItem(forRepresentedObject object: Any) -> NSCollectionViewItem |
Declaration | |
---|---|
From | func numberOfItemsInSection(_ section: Int) -> Int |
To | func numberOfItems(inSection section: Int) -> Int |
Declaration | |
---|---|
From | func performBatchUpdates(_ updates: (() -> Void)?, completionHandler completionHandler: ((Bool) -> Void)?) |
To | func performBatchUpdates(_ updates: (() -> Swift.Void)?, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func registerClass(_ itemClass: AnyClass?, forItemWithIdentifier identifier: String) |
To | func register(_ itemClass: Swift.AnyClass?, forItemWithIdentifier identifier: String) |
Declaration | |
---|---|
From | func registerNib(_ nib: NSNib?, forItemWithIdentifier identifier: String) |
To | func register(_ nib: NSNib?, forItemWithIdentifier identifier: String) |
Declaration | |
---|---|
From | func registerClass(_ viewClass: AnyClass?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) |
To | func register(_ viewClass: Swift.AnyClass?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) |
Modified NSCollectionView.register(_: NSNib?, forSupplementaryViewOfKind: String, withIdentifier: String)
Declaration | |
---|---|
From | func registerNib(_ nib: NSNib?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) |
To | func register(_ nib: NSNib?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) |
Declaration | |
---|---|
From | func reloadItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) |
To | func reloadItems(at indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | func reloadSections(_ sections: NSIndexSet) |
To | func reloadSections(_ sections: IndexSet) |
Modified NSCollectionView.scrollToItems(at: Set<IndexPath>, scrollPosition: NSCollectionViewScrollPosition)
Declaration | |
---|---|
From | func scrollToItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) |
To | func scrollToItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) |
Modified NSCollectionView.selectAll(_: Any?)
Declaration | |
---|---|
From | @IBAction func selectAll(_ sender: AnyObject?) |
To | @IBAction func selectAll(_ sender: Any?) |
Modified NSCollectionView.selectionIndexes
Declaration | |
---|---|
From | @NSCopying var selectionIndexes: NSIndexSet |
To | var selectionIndexes: IndexSet |
Modified NSCollectionView.selectionIndexPaths
Declaration | |
---|---|
From | var selectionIndexPaths: Set<NSIndexPath> |
To | var selectionIndexPaths: Set<IndexPath> |
Modified NSCollectionView.selectItems(at: Set<IndexPath>, scrollPosition: NSCollectionViewScrollPosition)
Declaration | |
---|---|
From | func selectItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) |
To | func selectItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) |
Declaration | |
---|---|
From | func supplementaryViewForElementKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> NSView? |
To | func supplementaryView(forElementKind elementKind: String, at indexPath: IndexPath) -> NSView? |
Declaration | |
---|---|
From | func visibleSupplementaryViewsOfKind(_ elementKind: String) -> [NSView] |
To | func visibleSupplementaryViews(ofKind elementKind: String) -> [NSView] |
Modified NSCollectionViewDataSource
Declaration | |
---|---|
From | protocol NSCollectionViewDataSource : NSObjectProtocol { func collectionView(_ collectionView: NSCollectionView, numberOfItemsInSection section: Int) -> Int func collectionView(_ collectionView: NSCollectionView, itemForRepresentedObjectAtIndexPath indexPath: NSIndexPath) -> NSCollectionViewItem optional func numberOfSectionsInCollectionView(_ collectionView: NSCollectionView) -> Int optional func collectionView(_ collectionView: NSCollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) -> NSView } |
To | protocol NSCollectionViewDataSource : NSObjectProtocol { func collectionView(_ collectionView: NSCollectionView, numberOfItemsInSection section: Int) -> Int func collectionView(_ collectionView: NSCollectionView, itemForRepresentedObjectAt indexPath: IndexPath) -> NSCollectionViewItem optional func numberOfSections(in collectionView: NSCollectionView) -> Int optional func collectionView(_ collectionView: NSCollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> NSView } |
Declaration | |
---|---|
From | func collectionView(_ collectionView: NSCollectionView, itemForRepresentedObjectAtIndexPath indexPath: NSIndexPath) -> NSCollectionViewItem |
To | func collectionView(_ collectionView: NSCollectionView, itemForRepresentedObjectAt indexPath: IndexPath) -> NSCollectionViewItem |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) -> NSView |
To | optional func collectionView(_ collectionView: NSCollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> NSView |
Declaration | |
---|---|
From | optional func numberOfSectionsInCollectionView(_ collectionView: NSCollectionView) -> Int |
To | optional func numberOfSections(in collectionView: NSCollectionView) -> Int |
Modified NSCollectionViewDelegate
Declaration | |
---|---|
From | protocol NSCollectionViewDelegate : NSObjectProtocol { optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAtIndexPaths indexPaths: Set<NSIndexPath>, withEvent event: NSEvent) -> Bool optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAtIndexes indexes: NSIndexSet, withEvent event: NSEvent) -> Bool optional func collectionView(_ collectionView: NSCollectionView, writeItemsAtIndexPaths indexPaths: Set<NSIndexPath>, toPasteboard pasteboard: NSPasteboard) -> Bool optional func collectionView(_ collectionView: NSCollectionView, writeItemsAtIndexes indexes: NSIndexSet, toPasteboard pasteboard: NSPasteboard) -> Bool optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: NSURL, forDraggedItemsAtIndexPaths indexPaths: Set<NSIndexPath>) -> [String] optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: NSURL, forDraggedItemsAtIndexes indexes: NSIndexSet) -> [String] optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAtIndexPaths indexPaths: Set<NSIndexPath>, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAtIndexes indexes: NSIndexSet, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage optional func collectionView(_ collectionView: NSCollectionView, validateDrop draggingInfo: NSDraggingInfo, proposedIndexPath proposedDropIndexPath: AutoreleasingUnsafeMutablePointer<NSIndexPath?>, dropOperation proposedDropOperation: UnsafeMutablePointer<NSCollectionViewDropOperation>) -> NSDragOperation optional func collectionView(_ collectionView: NSCollectionView, validateDrop draggingInfo: NSDraggingInfo, proposedIndex proposedDropIndex: UnsafeMutablePointer<Int>, dropOperation proposedDropOperation: UnsafeMutablePointer<NSCollectionViewDropOperation>) -> NSDragOperation optional func collectionView(_ collectionView: NSCollectionView, acceptDrop draggingInfo: NSDraggingInfo, indexPath indexPath: NSIndexPath, dropOperation dropOperation: NSCollectionViewDropOperation) -> Bool optional func collectionView(_ collectionView: NSCollectionView, acceptDrop draggingInfo: NSDraggingInfo, index index: Int, dropOperation dropOperation: NSCollectionViewDropOperation) -> Bool optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAtIndexPath indexPath: NSIndexPath) -> NSPasteboardWriting? optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAtIndex index: Int) -> NSPasteboardWriting? optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forItemsAtIndexPaths indexPaths: Set<NSIndexPath>) optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forItemsAtIndexes indexes: NSIndexSet) optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, dragOperation operation: NSDragOperation) optional func collectionView(_ collectionView: NSCollectionView, updateDraggingItemsForDrag draggingInfo: NSDraggingInfo) optional func collectionView(_ collectionView: NSCollectionView, shouldChangeItemsAtIndexPaths indexPaths: Set<NSIndexPath>, toHighlightState highlightState: NSCollectionViewItemHighlightState) -> Set<NSIndexPath> optional func collectionView(_ collectionView: NSCollectionView, didChangeItemsAtIndexPaths indexPaths: Set<NSIndexPath>, toHighlightState highlightState: NSCollectionViewItemHighlightState) optional func collectionView(_ collectionView: NSCollectionView, shouldSelectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) -> Set<NSIndexPath> optional func collectionView(_ collectionView: NSCollectionView, shouldDeselectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) -> Set<NSIndexPath> optional func collectionView(_ collectionView: NSCollectionView, didSelectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) optional func collectionView(_ collectionView: NSCollectionView, didDeselectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) optional func collectionView(_ collectionView: NSCollectionView, willDisplayItem item: NSCollectionViewItem, forRepresentedObjectAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: NSCollectionView, willDisplaySupplementaryView view: NSView, forElementKind elementKind: String, atIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: NSCollectionView, didEndDisplayingItem item: NSCollectionViewItem, forRepresentedObjectAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: NSCollectionView, didEndDisplayingSupplementaryView view: NSView, forElementOfKind elementKind: String, atIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: NSCollectionView, transitionLayoutForOldLayout fromLayout: NSCollectionViewLayout, newLayout toLayout: NSCollectionViewLayout) -> NSCollectionViewTransitionLayout } |
To | protocol NSCollectionViewDelegate : NSObjectProtocol { optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAt indexPaths: Set<IndexPath>, with event: NSEvent) -> Bool optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAt indexes: IndexSet, with event: NSEvent) -> Bool optional func collectionView(_ collectionView: NSCollectionView, writeItemsAt indexPaths: Set<IndexPath>, to pasteboard: NSPasteboard) -> Bool optional func collectionView(_ collectionView: NSCollectionView, writeItemsAt indexes: IndexSet, to pasteboard: NSPasteboard) -> Bool optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: URL, forDraggedItemsAt indexPaths: Set<IndexPath>) -> [String] optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: URL, forDraggedItemsAt indexes: IndexSet) -> [String] optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAt indexPaths: Set<IndexPath>, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAt indexes: IndexSet, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage optional func collectionView(_ collectionView: NSCollectionView, validateDrop draggingInfo: NSDraggingInfo, proposedIndexPath proposedDropIndexPath: AutoreleasingUnsafeMutablePointer<NSIndexPath>, dropOperation proposedDropOperation: UnsafeMutablePointer<NSCollectionViewDropOperation>) -> NSDragOperation optional func collectionView(_ collectionView: NSCollectionView, validateDrop draggingInfo: NSDraggingInfo, proposedIndex proposedDropIndex: UnsafeMutablePointer<Int>, dropOperation proposedDropOperation: UnsafeMutablePointer<NSCollectionViewDropOperation>) -> NSDragOperation optional func collectionView(_ collectionView: NSCollectionView, acceptDrop draggingInfo: NSDraggingInfo, indexPath indexPath: IndexPath, dropOperation dropOperation: NSCollectionViewDropOperation) -> Bool optional func collectionView(_ collectionView: NSCollectionView, acceptDrop draggingInfo: NSDraggingInfo, index index: Int, dropOperation dropOperation: NSCollectionViewDropOperation) -> Bool optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAt indexPath: IndexPath) -> NSPasteboardWriting? optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAt index: Int) -> NSPasteboardWriting? optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forItemsAt indexPaths: Set<IndexPath>) optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forItemsAt indexes: IndexSet) optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, endedAt screenPoint: NSPoint, dragOperation operation: NSDragOperation) optional func collectionView(_ collectionView: NSCollectionView, updateDraggingItemsForDrag draggingInfo: NSDraggingInfo) optional func collectionView(_ collectionView: NSCollectionView, shouldChangeItemsAt indexPaths: Set<IndexPath>, to highlightState: NSCollectionViewItemHighlightState) -> Set<IndexPath> optional func collectionView(_ collectionView: NSCollectionView, didChangeItemsAt indexPaths: Set<IndexPath>, to highlightState: NSCollectionViewItemHighlightState) optional func collectionView(_ collectionView: NSCollectionView, shouldSelectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath> optional func collectionView(_ collectionView: NSCollectionView, shouldDeselectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath> optional func collectionView(_ collectionView: NSCollectionView, didSelectItemsAt indexPaths: Set<IndexPath>) optional func collectionView(_ collectionView: NSCollectionView, didDeselectItemsAt indexPaths: Set<IndexPath>) optional func collectionView(_ collectionView: NSCollectionView, willDisplay item: NSCollectionViewItem, forRepresentedObjectAt indexPath: IndexPath) optional func collectionView(_ collectionView: NSCollectionView, willDisplaySupplementaryView view: NSView, forElementKind elementKind: String, at indexPath: IndexPath) optional func collectionView(_ collectionView: NSCollectionView, didEndDisplaying item: NSCollectionViewItem, forRepresentedObjectAt indexPath: IndexPath) optional func collectionView(_ collectionView: NSCollectionView, didEndDisplayingSupplementaryView view: NSView, forElementOfKind elementKind: String, at indexPath: IndexPath) optional func collectionView(_ collectionView: NSCollectionView, transitionLayoutForOldLayout fromLayout: NSCollectionViewLayout, newLayout toLayout: NSCollectionViewLayout) -> NSCollectionViewTransitionLayout } |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, acceptDrop draggingInfo: NSDraggingInfo, indexPath indexPath: NSIndexPath, dropOperation dropOperation: NSCollectionViewDropOperation) -> Bool |
To | optional func collectionView(_ collectionView: NSCollectionView, acceptDrop draggingInfo: NSDraggingInfo, indexPath indexPath: IndexPath, dropOperation dropOperation: NSCollectionViewDropOperation) -> Bool |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAtIndexPaths indexPaths: Set<NSIndexPath>, withEvent event: NSEvent) -> Bool |
To | optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAt indexPaths: Set<IndexPath>, with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAtIndexes indexes: NSIndexSet, withEvent event: NSEvent) -> Bool |
To | optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAt indexes: IndexSet, with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, didChangeItemsAtIndexPaths indexPaths: Set<NSIndexPath>, toHighlightState highlightState: NSCollectionViewItemHighlightState) |
To | optional func collectionView(_ collectionView: NSCollectionView, didChangeItemsAt indexPaths: Set<IndexPath>, to highlightState: NSCollectionViewItemHighlightState) |
Modified NSCollectionViewDelegate.collectionView(_: NSCollectionView, didDeselectItemsAt: Set<IndexPath>)
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, didDeselectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) |
To | optional func collectionView(_ collectionView: NSCollectionView, didDeselectItemsAt indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, didEndDisplayingItem item: NSCollectionViewItem, forRepresentedObjectAtIndexPath indexPath: NSIndexPath) |
To | optional func collectionView(_ collectionView: NSCollectionView, didEndDisplaying item: NSCollectionViewItem, forRepresentedObjectAt indexPath: IndexPath) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, didEndDisplayingSupplementaryView view: NSView, forElementOfKind elementKind: String, atIndexPath indexPath: NSIndexPath) |
To | optional func collectionView(_ collectionView: NSCollectionView, didEndDisplayingSupplementaryView view: NSView, forElementOfKind elementKind: String, at indexPath: IndexPath) |
Modified NSCollectionViewDelegate.collectionView(_: NSCollectionView, didSelectItemsAt: Set<IndexPath>)
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, didSelectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) |
To | optional func collectionView(_ collectionView: NSCollectionView, didSelectItemsAt indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAtIndexes indexes: NSIndexSet, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
To | optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAt indexes: IndexSet, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAtIndexPaths indexPaths: Set<NSIndexPath>, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
To | optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAt indexPaths: Set<IndexPath>, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, dragOperation operation: NSDragOperation) |
To | optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, endedAt screenPoint: NSPoint, dragOperation operation: NSDragOperation) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forItemsAtIndexes indexes: NSIndexSet) |
To | optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forItemsAt indexes: IndexSet) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forItemsAtIndexPaths indexPaths: Set<NSIndexPath>) |
To | optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forItemsAt indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: NSURL, forDraggedItemsAtIndexPaths indexPaths: Set<NSIndexPath>) -> [String] |
To | optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: URL, forDraggedItemsAt indexPaths: Set<IndexPath>) -> [String] |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: NSURL, forDraggedItemsAtIndexes indexes: NSIndexSet) -> [String] |
To | optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: URL, forDraggedItemsAt indexes: IndexSet) -> [String] |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAtIndex index: Int) -> NSPasteboardWriting? |
To | optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAt index: Int) -> NSPasteboardWriting? |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAtIndexPath indexPath: NSIndexPath) -> NSPasteboardWriting? |
To | optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAt indexPath: IndexPath) -> NSPasteboardWriting? |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, shouldChangeItemsAtIndexPaths indexPaths: Set<NSIndexPath>, toHighlightState highlightState: NSCollectionViewItemHighlightState) -> Set<NSIndexPath> |
To | optional func collectionView(_ collectionView: NSCollectionView, shouldChangeItemsAt indexPaths: Set<IndexPath>, to highlightState: NSCollectionViewItemHighlightState) -> Set<IndexPath> |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, shouldDeselectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) -> Set<NSIndexPath> |
To | optional func collectionView(_ collectionView: NSCollectionView, shouldDeselectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath> |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, shouldSelectItemsAtIndexPaths indexPaths: Set<NSIndexPath>) -> Set<NSIndexPath> |
To | optional func collectionView(_ collectionView: NSCollectionView, shouldSelectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath> |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, validateDrop draggingInfo: NSDraggingInfo, proposedIndexPath proposedDropIndexPath: AutoreleasingUnsafeMutablePointer<NSIndexPath?>, dropOperation proposedDropOperation: UnsafeMutablePointer<NSCollectionViewDropOperation>) -> NSDragOperation |
To | optional func collectionView(_ collectionView: NSCollectionView, validateDrop draggingInfo: NSDraggingInfo, proposedIndexPath proposedDropIndexPath: AutoreleasingUnsafeMutablePointer<NSIndexPath>, dropOperation proposedDropOperation: UnsafeMutablePointer<NSCollectionViewDropOperation>) -> NSDragOperation |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, willDisplayItem item: NSCollectionViewItem, forRepresentedObjectAtIndexPath indexPath: NSIndexPath) |
To | optional func collectionView(_ collectionView: NSCollectionView, willDisplay item: NSCollectionViewItem, forRepresentedObjectAt indexPath: IndexPath) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, willDisplaySupplementaryView view: NSView, forElementKind elementKind: String, atIndexPath indexPath: NSIndexPath) |
To | optional func collectionView(_ collectionView: NSCollectionView, willDisplaySupplementaryView view: NSView, forElementKind elementKind: String, at indexPath: IndexPath) |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, writeItemsAtIndexes indexes: NSIndexSet, toPasteboard pasteboard: NSPasteboard) -> Bool |
To | optional func collectionView(_ collectionView: NSCollectionView, writeItemsAt indexes: IndexSet, to pasteboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, writeItemsAtIndexPaths indexPaths: Set<NSIndexPath>, toPasteboard pasteboard: NSPasteboard) -> Bool |
To | optional func collectionView(_ collectionView: NSCollectionView, writeItemsAt indexPaths: Set<IndexPath>, to pasteboard: NSPasteboard) -> Bool |
Modified NSCollectionViewDelegateFlowLayout
Declaration | |
---|---|
From | protocol NSCollectionViewDelegateFlowLayout : NSCollectionViewDelegate { optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, sizeForItemAtIndexPath indexPath: NSIndexPath) -> NSSize optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, insetForSectionAtIndex section: Int) -> NSEdgeInsets optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumLineSpacingForSectionAtIndex section: Int) -> CGFloat optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumInteritemSpacingForSectionAtIndex section: Int) -> CGFloat optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> NSSize optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, referenceSizeForFooterInSection section: Int) -> NSSize } |
To | protocol NSCollectionViewDelegateFlowLayout : NSCollectionViewDelegate { optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> NSSize optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, insetForSectionAt section: Int) -> EdgeInsets optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> NSSize optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, referenceSizeForFooterInSection section: Int) -> NSSize } |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, insetForSectionAtIndex section: Int) -> NSEdgeInsets |
To | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, insetForSectionAt section: Int) -> EdgeInsets |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumInteritemSpacingForSectionAtIndex section: Int) -> CGFloat |
To | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumLineSpacingForSectionAtIndex section: Int) -> CGFloat |
To | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat |
Declaration | |
---|---|
From | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, sizeForItemAtIndexPath indexPath: NSIndexPath) -> NSSize |
To | optional func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> NSSize |
Modified NSCollectionViewDropOperation [enum]
Declaration | |
---|---|
From | enum NSCollectionViewDropOperation : Int { case On case Before } |
To | enum NSCollectionViewDropOperation : Int { case on case before } |
Modified NSCollectionViewDropOperation.before
Declaration | |
---|---|
From | case Before |
To | case before |
Modified NSCollectionViewDropOperation.on
Declaration | |
---|---|
From | case On |
To | case on |
Modified NSCollectionViewElement
Declaration | |
---|---|
From | protocol NSCollectionViewElement : NSObjectProtocol, NSUserInterfaceItemIdentification { optional func prepareForReuse() optional func applyLayoutAttributes(_ layoutAttributes: NSCollectionViewLayoutAttributes) optional func willTransitionFromLayout(_ oldLayout: NSCollectionViewLayout, toLayout newLayout: NSCollectionViewLayout) optional func didTransitionFromLayout(_ oldLayout: NSCollectionViewLayout, toLayout newLayout: NSCollectionViewLayout) optional func preferredLayoutAttributesFittingAttributes(_ layoutAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutAttributes } |
To | protocol NSCollectionViewElement : NSObjectProtocol, NSUserInterfaceItemIdentification { optional func prepareForReuse() optional func apply(_ layoutAttributes: NSCollectionViewLayoutAttributes) optional func willTransition(from oldLayout: NSCollectionViewLayout, to newLayout: NSCollectionViewLayout) optional func didTransition(from oldLayout: NSCollectionViewLayout, to newLayout: NSCollectionViewLayout) optional func preferredLayoutAttributesFitting(_ layoutAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutAttributes } |
Declaration | |
---|---|
From | optional func applyLayoutAttributes(_ layoutAttributes: NSCollectionViewLayoutAttributes) |
To | optional func apply(_ layoutAttributes: NSCollectionViewLayoutAttributes) |
Modified NSCollectionViewElement.didTransition(from: NSCollectionViewLayout, to: NSCollectionViewLayout)
Declaration | |
---|---|
From | optional func didTransitionFromLayout(_ oldLayout: NSCollectionViewLayout, toLayout newLayout: NSCollectionViewLayout) |
To | optional func didTransition(from oldLayout: NSCollectionViewLayout, to newLayout: NSCollectionViewLayout) |
Declaration | |
---|---|
From | optional func preferredLayoutAttributesFittingAttributes(_ layoutAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutAttributes |
To | optional func preferredLayoutAttributesFitting(_ layoutAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutAttributes |
Modified NSCollectionViewElement.willTransition(from: NSCollectionViewLayout, to: NSCollectionViewLayout)
Declaration | |
---|---|
From | optional func willTransitionFromLayout(_ oldLayout: NSCollectionViewLayout, toLayout newLayout: NSCollectionViewLayout) |
To | optional func willTransition(from oldLayout: NSCollectionViewLayout, to newLayout: NSCollectionViewLayout) |
Modified NSCollectionViewFlowLayout
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewFlowLayout : NSCollectionViewLayout { var minimumLineSpacing: CGFloat var minimumInteritemSpacing: CGFloat var itemSize: NSSize var estimatedItemSize: NSSize var scrollDirection: NSCollectionViewScrollDirection var headerReferenceSize: NSSize var footerReferenceSize: NSSize var sectionInset: NSEdgeInsets } | -- |
To | class NSCollectionViewFlowLayout : NSCollectionViewLayout { var minimumLineSpacing: CGFloat var minimumInteritemSpacing: CGFloat var itemSize: NSSize var estimatedItemSize: NSSize var scrollDirection: NSCollectionViewScrollDirection var headerReferenceSize: NSSize var footerReferenceSize: NSSize var sectionInset: EdgeInsets var sectionHeadersPinToVisibleBounds: Bool var sectionFootersPinToVisibleBounds: Bool func section(atIndexIsCollapsed sectionIndex: Int) -> Bool func collapseSection(at sectionIndex: Int) func expandSection(at sectionIndex: Int) func prepare(forCollectionViewUpdates updateItems: [NSCollectionViewUpdateItem]) func finalizeCollectionViewUpdates() func prepare(forAnimatedBoundsChange oldBounds: NSRect) func finalizeAnimatedBoundsChange() func prepareForTransition(to newLayout: NSCollectionViewLayout) func prepareForTransition(from oldLayout: NSCollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForDecorationView(ofKind elementKind: String) -> Set<IndexPath> class func layoutAttributesClass() -> AnyClass class func invalidationContextClass() -> AnyClass func prepare() func layoutAttributesForElements(in rect: NSRect) -> [NSCollectionViewLayoutAttributes] func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDecorationView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDropTarget(at pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? func layoutAttributesForInterItemGap(before indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func shouldInvalidateLayout(forBoundsChange newBounds: NSRect) -> Bool func invalidationContext(forBoundsChange newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext func shouldInvalidateLayout(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool func invalidationContext(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint) -> NSPoint var collectionViewContentSize: NSSize { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewFlowLayout : CVarArg { } extension NSCollectionViewFlowLayout : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var sectionInset: NSEdgeInsets |
To | var sectionInset: EdgeInsets |
Modified NSCollectionViewGridLayout
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewGridLayout : NSCollectionViewLayout { var margins: NSEdgeInsets var minimumInteritemSpacing: CGFloat var minimumLineSpacing: CGFloat var maximumNumberOfRows: Int var maximumNumberOfColumns: Int var minimumItemSize: NSSize var maximumItemSize: NSSize var backgroundColors: [NSColor]! } | -- |
To | class NSCollectionViewGridLayout : NSCollectionViewLayout { var margins: EdgeInsets var minimumInteritemSpacing: CGFloat var minimumLineSpacing: CGFloat var maximumNumberOfRows: Int var maximumNumberOfColumns: Int var minimumItemSize: NSSize var maximumItemSize: NSSize var backgroundColors: [NSColor]! func prepare(forCollectionViewUpdates updateItems: [NSCollectionViewUpdateItem]) func finalizeCollectionViewUpdates() func prepare(forAnimatedBoundsChange oldBounds: NSRect) func finalizeAnimatedBoundsChange() func prepareForTransition(to newLayout: NSCollectionViewLayout) func prepareForTransition(from oldLayout: NSCollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForDecorationView(ofKind elementKind: String) -> Set<IndexPath> class func layoutAttributesClass() -> AnyClass class func invalidationContextClass() -> AnyClass func prepare() func layoutAttributesForElements(in rect: NSRect) -> [NSCollectionViewLayoutAttributes] func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDecorationView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDropTarget(at pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? func layoutAttributesForInterItemGap(before indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func shouldInvalidateLayout(forBoundsChange newBounds: NSRect) -> Bool func invalidationContext(forBoundsChange newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext func shouldInvalidateLayout(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool func invalidationContext(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint) -> NSPoint var collectionViewContentSize: NSSize { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewGridLayout : CVarArg { } extension NSCollectionViewGridLayout : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSCollectionViewGridLayout.margins
Declaration | |
---|---|
From | var margins: NSEdgeInsets |
To | var margins: EdgeInsets |
Modified NSCollectionViewItem
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewItem : NSViewController, NSCopying, NSCollectionViewElement { var collectionView: NSCollectionView { get } var selected: Bool var highlightState: NSCollectionViewItemHighlightState @IBOutlet unowned(unsafe) var imageView: NSImageView? @IBOutlet unowned(unsafe) var textField: NSTextField? var draggingImageComponents: [NSDraggingImageComponent] { get } } | NSCollectionViewElement, NSCopying |
To | class NSCollectionViewItem : NSViewController, NSCopying, NSCollectionViewElement { var collectionView: NSCollectionView { get } var isSelected: Bool var highlightState: NSCollectionViewItemHighlightState @IBOutlet unowned(unsafe) var imageView: NSImageView? @IBOutlet unowned(unsafe) var textField: NSTextField? var draggingImageComponents: [NSDraggingImageComponent] { get } var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewItem : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSCollectionViewItem : CVarArg { } extension NSCollectionViewItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCollectionViewElement, NSCopying, NSExtensionRequestHandling |
Modified NSCollectionViewItem.isSelected
Declaration | |
---|---|
From | var selected: Bool |
To | var isSelected: Bool |
Declaration | |
---|---|
From | enum NSCollectionViewItemHighlightState : Int { case None case ForSelection case ForDeselection case AsDropTarget } |
To | enum NSCollectionViewItemHighlightState : Int { case none case forSelection case forDeselection case asDropTarget } |
Declaration | |
---|---|
From | case AsDropTarget |
To | case asDropTarget |
Declaration | |
---|---|
From | case ForDeselection |
To | case forDeselection |
Declaration | |
---|---|
From | case ForSelection |
To | case forSelection |
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSCollectionViewLayout
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewLayout : NSObject, NSCoding { weak var collectionView: NSCollectionView? { get } func invalidateLayout() func invalidateLayoutWithContext(_ context: NSCollectionViewLayoutInvalidationContext) func registerClass(_ viewClass: AnyClass?, forDecorationViewOfKind elementKind: String) func registerNib(_ nib: NSNib?, forDecorationViewOfKind elementKind: String) } extension NSCollectionViewLayout { class func layoutAttributesClass() -> AnyClass class func invalidationContextClass() -> AnyClass func prepareLayout() func layoutAttributesForElementsInRect(_ rect: NSRect) -> [NSCollectionViewLayoutAttributes] func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDecorationViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDropTargetAtPoint(_ pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? func layoutAttributesForInterItemGapBeforeIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func shouldInvalidateLayoutForBoundsChange(_ newBounds: NSRect) -> Bool func invalidationContextForBoundsChange(_ newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext func shouldInvalidateLayoutForPreferredLayoutAttributes(_ preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool func invalidationContextForPreferredLayoutAttributes(_ preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: NSPoint) -> NSPoint var collectionViewContentSize: NSSize { get } } extension NSCollectionViewLayout { func prepareForCollectionViewUpdates(_ updateItems: [NSCollectionViewUpdateItem]) func finalizeCollectionViewUpdates() func prepareForAnimatedBoundsChange(_ oldBounds: NSRect) func finalizeAnimatedBoundsChange() func prepareForTransitionToLayout(_ newLayout: NSCollectionViewLayout) func prepareForTransitionFromLayout(_ oldLayout: NSCollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryViewOfKind(_ elementKind: String) -> Set<NSIndexPath> func indexPathsToDeleteForDecorationViewOfKind(_ elementKind: String) -> Set<NSIndexPath> func indexPathsToInsertForSupplementaryViewOfKind(_ elementKind: String) -> Set<NSIndexPath> func indexPathsToInsertForDecorationViewOfKind(_ elementKind: String) -> Set<NSIndexPath> } | NSCoding |
To | class NSCollectionViewLayout : NSObject, NSCoding { weak var collectionView: NSCollectionView? { get } func invalidateLayout() func invalidateLayout(with context: NSCollectionViewLayoutInvalidationContext) func register(_ viewClass: Swift.AnyClass?, forDecorationViewOfKind elementKind: String) func register(_ nib: NSNib?, forDecorationViewOfKind elementKind: String) class func layoutAttributesClass() -> Swift.AnyClass class func invalidationContextClass() -> Swift.AnyClass func prepare() func layoutAttributesForElements(in rect: NSRect) -> [NSCollectionViewLayoutAttributes] func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDecorationView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDropTarget(at pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? func layoutAttributesForInterItemGap(before indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func shouldInvalidateLayout(forBoundsChange newBounds: NSRect) -> Bool func invalidationContext(forBoundsChange newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext func shouldInvalidateLayout(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool func invalidationContext(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint) -> NSPoint var collectionViewContentSize: NSSize { get } func prepare(forCollectionViewUpdates updateItems: [NSCollectionViewUpdateItem]) func finalizeCollectionViewUpdates() func prepare(forAnimatedBoundsChange oldBounds: NSRect) func finalizeAnimatedBoundsChange() func prepareForTransition(to newLayout: NSCollectionViewLayout) func prepareForTransition(from oldLayout: NSCollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForDecorationView(ofKind elementKind: String) -> Set<IndexPath> class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSCollectionViewLayout : CVarArg { } extension NSCollectionViewLayout : Equatable, Hashable { var hashValue: Int { get } } extension NSCollectionViewLayout { class func layoutAttributesClass() -> Swift.AnyClass class func invalidationContextClass() -> Swift.AnyClass func prepare() func layoutAttributesForElements(in rect: NSRect) -> [NSCollectionViewLayoutAttributes] func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDecorationView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDropTarget(at pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? func layoutAttributesForInterItemGap(before indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func shouldInvalidateLayout(forBoundsChange newBounds: NSRect) -> Bool func invalidationContext(forBoundsChange newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext func shouldInvalidateLayout(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool func invalidationContext(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint) -> NSPoint var collectionViewContentSize: NSSize { get } } extension NSCollectionViewLayout { func prepare(forCollectionViewUpdates updateItems: [NSCollectionViewUpdateItem]) func finalizeCollectionViewUpdates() func prepare(forAnimatedBoundsChange oldBounds: NSRect) func finalizeAnimatedBoundsChange() func prepareForTransition(to newLayout: NSCollectionViewLayout) func prepareForTransition(from oldLayout: NSCollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForDecorationView(ofKind elementKind: String) -> Set<IndexPath> } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func finalLayoutAttributesForDisappearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func finalLayoutAttributesForDisappearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func finalLayoutAttributesForDisappearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func finalLayoutAttributesForDisappearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Modified NSCollectionViewLayout.indexPathsToDeleteForDecorationView(ofKind: String) -> Set<IndexPath>
Declaration | |
---|---|
From | func indexPathsToDeleteForDecorationViewOfKind(_ elementKind: String) -> Set<NSIndexPath> |
To | func indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> Set<IndexPath> |
Modified NSCollectionViewLayout.indexPathsToDeleteForSupplementaryView(ofKind: String) -> Set<IndexPath>
Declaration | |
---|---|
From | func indexPathsToDeleteForSupplementaryViewOfKind(_ elementKind: String) -> Set<NSIndexPath> |
To | func indexPathsToDeleteForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> |
Modified NSCollectionViewLayout.indexPathsToInsertForDecorationView(ofKind: String) -> Set<IndexPath>
Declaration | |
---|---|
From | func indexPathsToInsertForDecorationViewOfKind(_ elementKind: String) -> Set<NSIndexPath> |
To | func indexPathsToInsertForDecorationView(ofKind elementKind: String) -> Set<IndexPath> |
Modified NSCollectionViewLayout.indexPathsToInsertForSupplementaryView(ofKind: String) -> Set<IndexPath>
Declaration | |
---|---|
From | func indexPathsToInsertForSupplementaryViewOfKind(_ elementKind: String) -> Set<NSIndexPath> |
To | func indexPathsToInsertForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> |
Declaration | |
---|---|
From | func initialLayoutAttributesForAppearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func initialLayoutAttributesForAppearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func initialLayoutAttributesForAppearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func initialLayoutAttributesForAppearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func invalidateLayoutWithContext(_ context: NSCollectionViewLayoutInvalidationContext) |
To | func invalidateLayout(with context: NSCollectionViewLayoutInvalidationContext) |
Declaration | |
---|---|
From | func invalidationContextForBoundsChange(_ newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext |
To | func invalidationContext(forBoundsChange newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext |
Declaration | |
---|---|
From | func invalidationContextForPreferredLayoutAttributes(_ preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext |
To | func invalidationContext(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext |
Declaration | |
---|---|
From | class func invalidationContextClass() -> AnyClass |
To | class func invalidationContextClass() -> Swift.AnyClass |
Declaration | |
---|---|
From | class func layoutAttributesClass() -> AnyClass |
To | class func layoutAttributesClass() -> Swift.AnyClass |
Declaration | |
---|---|
From | func layoutAttributesForDecorationViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func layoutAttributesForDecorationView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func layoutAttributesForDropTargetAtPoint(_ pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? |
To | func layoutAttributesForDropTarget(at pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? |
Modified NSCollectionViewLayout.layoutAttributesForElements(in: NSRect) -> [NSCollectionViewLayoutAttributes]
Declaration | |
---|---|
From | func layoutAttributesForElementsInRect(_ rect: NSRect) -> [NSCollectionViewLayoutAttributes] |
To | func layoutAttributesForElements(in rect: NSRect) -> [NSCollectionViewLayoutAttributes] |
Declaration | |
---|---|
From | func layoutAttributesForInterItemGapBeforeIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func layoutAttributesForInterItemGap(before indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Modified NSCollectionViewLayout.layoutAttributesForItem(at: IndexPath) -> NSCollectionViewLayoutAttributes?
Declaration | |
---|---|
From | func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> NSCollectionViewLayoutAttributes? |
To | func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? |
Modified NSCollectionViewLayout.prepare()
Declaration | |
---|---|
From | func prepareLayout() |
To | func prepare() |
Declaration | |
---|---|
From | func prepareForAnimatedBoundsChange(_ oldBounds: NSRect) |
To | func prepare(forAnimatedBoundsChange oldBounds: NSRect) |
Declaration | |
---|---|
From | func prepareForCollectionViewUpdates(_ updateItems: [NSCollectionViewUpdateItem]) |
To | func prepare(forCollectionViewUpdates updateItems: [NSCollectionViewUpdateItem]) |
Declaration | |
---|---|
From | func prepareForTransitionFromLayout(_ oldLayout: NSCollectionViewLayout) |
To | func prepareForTransition(from oldLayout: NSCollectionViewLayout) |
Declaration | |
---|---|
From | func prepareForTransitionToLayout(_ newLayout: NSCollectionViewLayout) |
To | func prepareForTransition(to newLayout: NSCollectionViewLayout) |
Declaration | |
---|---|
From | func registerNib(_ nib: NSNib?, forDecorationViewOfKind elementKind: String) |
To | func register(_ nib: NSNib?, forDecorationViewOfKind elementKind: String) |
Declaration | |
---|---|
From | func registerClass(_ viewClass: AnyClass?, forDecorationViewOfKind elementKind: String) |
To | func register(_ viewClass: Swift.AnyClass?, forDecorationViewOfKind elementKind: String) |
Declaration | |
---|---|
From | func shouldInvalidateLayoutForBoundsChange(_ newBounds: NSRect) -> Bool |
To | func shouldInvalidateLayout(forBoundsChange newBounds: NSRect) -> Bool |
Declaration | |
---|---|
From | func shouldInvalidateLayoutForPreferredLayoutAttributes(_ preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool |
To | func shouldInvalidateLayout(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool |
Declaration | |
---|---|
From | func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: NSPoint) -> NSPoint |
To | func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint |
To | func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint |
Modified NSCollectionViewLayoutAttributes
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewLayoutAttributes : NSObject, NSCopying { var frame: NSRect var size: NSSize var alpha: CGFloat var zIndex: Int var hidden: Bool var indexPath: NSIndexPath? var representedElementCategory: NSCollectionElementCategory { get } var representedElementKind: String? { get } convenience init(forItemWithIndexPath indexPath: NSIndexPath) class func layoutAttributesForItemWithIndexPath(_ indexPath: NSIndexPath) -> Self convenience init(forInterItemGapBeforeIndexPath indexPath: NSIndexPath) class func layoutAttributesForInterItemGapBeforeIndexPath(_ indexPath: NSIndexPath) -> Self convenience init(forSupplementaryViewOfKind elementKind: String, withIndexPath indexPath: NSIndexPath) class func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, withIndexPath indexPath: NSIndexPath) -> Self convenience init(forDecorationViewOfKind decorationViewKind: String, withIndexPath indexPath: NSIndexPath) class func layoutAttributesForDecorationViewOfKind(_ decorationViewKind: String, withIndexPath indexPath: NSIndexPath) -> Self } | NSCopying |
To | class NSCollectionViewLayoutAttributes : NSObject, NSCopying { var frame: NSRect var size: NSSize var alpha: CGFloat var zIndex: Int var isHidden: Bool var indexPath: IndexPath? var representedElementCategory: NSCollectionElementCategory { get } var representedElementKind: String? { get } convenience init(forItemWith indexPath: IndexPath) class func forItemWith(_ indexPath: IndexPath) -> Self convenience init(forInterItemGapBefore indexPath: IndexPath) class func forInterItemGap(before indexPath: IndexPath) -> Self convenience init(forSupplementaryViewOfKind elementKind: String, with indexPath: IndexPath) class func forSupplementaryView(ofKind elementKind: String, with indexPath: IndexPath) -> Self convenience init(forDecorationViewOfKind decorationViewKind: String, with indexPath: IndexPath) class func forDecorationView(ofKind decorationViewKind: String, with indexPath: IndexPath) -> Self func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewLayoutAttributes : CVarArg { } extension NSCollectionViewLayoutAttributes : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | var indexPath: NSIndexPath? |
To | var indexPath: IndexPath? |
Declaration | |
---|---|
From | convenience init(forDecorationViewOfKind decorationViewKind: String, withIndexPath indexPath: NSIndexPath) |
To | convenience init(forDecorationViewOfKind decorationViewKind: String, with indexPath: IndexPath) |
Declaration | |
---|---|
From | convenience init(forInterItemGapBeforeIndexPath indexPath: NSIndexPath) |
To | convenience init(forInterItemGapBefore indexPath: IndexPath) |
Declaration | |
---|---|
From | convenience init(forItemWithIndexPath indexPath: NSIndexPath) |
To | convenience init(forItemWith indexPath: IndexPath) |
Declaration | |
---|---|
From | convenience init(forSupplementaryViewOfKind elementKind: String, withIndexPath indexPath: NSIndexPath) |
To | convenience init(forSupplementaryViewOfKind elementKind: String, with indexPath: IndexPath) |
Declaration | |
---|---|
From | var hidden: Bool |
To | var isHidden: Bool |
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewLayoutInvalidationContext : NSObject { var invalidateEverything: Bool { get } var invalidateDataSourceCounts: Bool { get } func invalidateItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) func invalidateSupplementaryElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: Set<NSIndexPath>) func invalidateDecorationElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: Set<NSIndexPath>) var invalidatedItemIndexPaths: Set<NSIndexPath>? { get } var invalidatedSupplementaryIndexPaths: [String : Set<NSIndexPath>]? { get } var invalidatedDecorationIndexPaths: [String : Set<NSIndexPath>]? { get } var contentOffsetAdjustment: NSPoint var contentSizeAdjustment: NSSize } | -- |
To | class NSCollectionViewLayoutInvalidationContext : NSObject { var invalidateEverything: Bool { get } var invalidateDataSourceCounts: Bool { get } func invalidateItems(at indexPaths: Set<IndexPath>) func invalidateSupplementaryElements(ofKind elementKind: String, at indexPaths: Set<IndexPath>) func invalidateDecorationElements(ofKind elementKind: String, at indexPaths: Set<IndexPath>) var invalidatedItemIndexPaths: Set<IndexPath>? { get } var invalidatedSupplementaryIndexPaths: [String : Set<IndexPath>]? { get } var invalidatedDecorationIndexPaths: [String : Set<IndexPath>]? { get } var contentOffsetAdjustment: NSPoint var contentSizeAdjustment: NSSize func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewLayoutInvalidationContext : CVarArg { } extension NSCollectionViewLayoutInvalidationContext : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var invalidatedDecorationIndexPaths: [String : Set<NSIndexPath>]? { get } |
To | var invalidatedDecorationIndexPaths: [String : Set<IndexPath>]? { get } |
Declaration | |
---|---|
From | func invalidateDecorationElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: Set<NSIndexPath>) |
To | func invalidateDecorationElements(ofKind elementKind: String, at indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | var invalidatedItemIndexPaths: Set<NSIndexPath>? { get } |
To | var invalidatedItemIndexPaths: Set<IndexPath>? { get } |
Declaration | |
---|---|
From | var invalidatedSupplementaryIndexPaths: [String : Set<NSIndexPath>]? { get } |
To | var invalidatedSupplementaryIndexPaths: [String : Set<IndexPath>]? { get } |
Declaration | |
---|---|
From | func invalidateItemsAtIndexPaths(_ indexPaths: Set<NSIndexPath>) |
To | func invalidateItems(at indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | func invalidateSupplementaryElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: Set<NSIndexPath>) |
To | func invalidateSupplementaryElements(ofKind elementKind: String, at indexPaths: Set<IndexPath>) |
Declaration | |
---|---|
From | enum NSCollectionViewScrollDirection : Int { case Vertical case Horizontal } |
To | enum NSCollectionViewScrollDirection : Int { case vertical case horizontal } |
Declaration | |
---|---|
From | case Horizontal |
To | case horizontal |
Declaration | |
---|---|
From | case Vertical |
To | case vertical |
Declaration | Protocols | |
---|---|---|
From | struct NSCollectionViewScrollPosition : OptionSetType { init(rawValue rawValue: UInt) static var None: NSCollectionViewScrollPosition { get } static var Top: NSCollectionViewScrollPosition { get } static var CenteredVertically: NSCollectionViewScrollPosition { get } static var Bottom: NSCollectionViewScrollPosition { get } static var NearestHorizontalEdge: NSCollectionViewScrollPosition { get } static var Left: NSCollectionViewScrollPosition { get } static var CenteredHorizontally: NSCollectionViewScrollPosition { get } static var Right: NSCollectionViewScrollPosition { get } static var LeadingEdge: NSCollectionViewScrollPosition { get } static var TrailingEdge: NSCollectionViewScrollPosition { get } static var NearestVerticalEdge: NSCollectionViewScrollPosition { get } } | OptionSetType |
To | struct NSCollectionViewScrollPosition : OptionSet { init(rawValue rawValue: UInt) static var none: NSCollectionViewScrollPosition { get } static var top: NSCollectionViewScrollPosition { get } static var centeredVertically: NSCollectionViewScrollPosition { get } static var bottom: NSCollectionViewScrollPosition { get } static var nearestHorizontalEdge: NSCollectionViewScrollPosition { get } static var left: NSCollectionViewScrollPosition { get } static var centeredHorizontally: NSCollectionViewScrollPosition { get } static var right: NSCollectionViewScrollPosition { get } static var leadingEdge: NSCollectionViewScrollPosition { get } static var trailingEdge: NSCollectionViewScrollPosition { get } static var nearestVerticalEdge: NSCollectionViewScrollPosition { get } func intersect(_ other: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition func exclusiveOr(_ other: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition mutating func unionInPlace(_ other: NSCollectionViewScrollPosition) mutating func intersectInPlace(_ other: NSCollectionViewScrollPosition) mutating func exclusiveOrInPlace(_ other: NSCollectionViewScrollPosition) func isSubsetOf(_ other: NSCollectionViewScrollPosition) -> Bool func isDisjointWith(_ other: NSCollectionViewScrollPosition) -> Bool func isSupersetOf(_ other: NSCollectionViewScrollPosition) -> Bool mutating func subtractInPlace(_ other: NSCollectionViewScrollPosition) func isStrictSupersetOf(_ other: NSCollectionViewScrollPosition) -> Bool func isStrictSubsetOf(_ other: NSCollectionViewScrollPosition) -> Bool } extension NSCollectionViewScrollPosition { func union(_ other: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition func intersection(_ other: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition func symmetricDifference(_ other: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition } extension NSCollectionViewScrollPosition { func contains(_ member: NSCollectionViewScrollPosition) -> Bool mutating func insert(_ newMember: NSCollectionViewScrollPosition) -> (inserted: Bool, memberAfterInsert: NSCollectionViewScrollPosition) mutating func remove(_ member: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition? mutating func update(with newMember: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition? } extension NSCollectionViewScrollPosition { convenience init() mutating func formUnion(_ other: NSCollectionViewScrollPosition) mutating func formIntersection(_ other: NSCollectionViewScrollPosition) mutating func formSymmetricDifference(_ other: NSCollectionViewScrollPosition) } extension NSCollectionViewScrollPosition { convenience init<S : Sequence where S.Iterator.Element == NSCollectionViewScrollPosition>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSCollectionViewScrollPosition...) mutating func subtract(_ other: NSCollectionViewScrollPosition) func isSubset(of other: NSCollectionViewScrollPosition) -> Bool func isSuperset(of other: NSCollectionViewScrollPosition) -> Bool func isDisjoint(with other: NSCollectionViewScrollPosition) -> Bool func subtracting(_ other: NSCollectionViewScrollPosition) -> NSCollectionViewScrollPosition var isEmpty: Bool { get } func isStrictSuperset(of other: NSCollectionViewScrollPosition) -> Bool func isStrictSubset(of other: NSCollectionViewScrollPosition) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var Bottom: NSCollectionViewScrollPosition { get } |
To | static var bottom: NSCollectionViewScrollPosition { get } |
Declaration | |
---|---|
From | static var CenteredHorizontally: NSCollectionViewScrollPosition { get } |
To | static var centeredHorizontally: NSCollectionViewScrollPosition { get } |
Declaration | |
---|---|
From | static var CenteredVertically: NSCollectionViewScrollPosition { get } |
To | static var centeredVertically: NSCollectionViewScrollPosition { get } |
Declaration | |
---|---|
From | static var LeadingEdge: NSCollectionViewScrollPosition { get } |
To | static var leadingEdge: NSCollectionViewScrollPosition { get } |
Modified NSCollectionViewScrollPosition.left
Declaration | |
---|---|
From | static var Left: NSCollectionViewScrollPosition { get } |
To | static var left: NSCollectionViewScrollPosition { get } |
Declaration | |
---|---|
From | static var NearestHorizontalEdge: NSCollectionViewScrollPosition { get } |
To | static var nearestHorizontalEdge: NSCollectionViewScrollPosition { get } |
Declaration | |
---|---|
From | static var NearestVerticalEdge: NSCollectionViewScrollPosition { get } |
To | static var nearestVerticalEdge: NSCollectionViewScrollPosition { get } |
Modified NSCollectionViewScrollPosition.right
Declaration | |
---|---|
From | static var Right: NSCollectionViewScrollPosition { get } |
To | static var right: NSCollectionViewScrollPosition { get } |
Modified NSCollectionViewScrollPosition.top
Declaration | |
---|---|
From | static var Top: NSCollectionViewScrollPosition { get } |
To | static var top: NSCollectionViewScrollPosition { get } |
Declaration | |
---|---|
From | static var TrailingEdge: NSCollectionViewScrollPosition { get } |
To | static var trailingEdge: NSCollectionViewScrollPosition { get } |
Modified NSCollectionViewTransitionLayout
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewTransitionLayout : NSCollectionViewLayout { var transitionProgress: CGFloat var currentLayout: NSCollectionViewLayout { get } var nextLayout: NSCollectionViewLayout { get } init(currentLayout currentLayout: NSCollectionViewLayout, nextLayout newLayout: NSCollectionViewLayout) func updateValue(_ value: CGFloat, forAnimatedKey key: String) func valueForAnimatedKey(_ key: String) -> CGFloat } | -- |
To | class NSCollectionViewTransitionLayout : NSCollectionViewLayout { var transitionProgress: CGFloat var currentLayout: NSCollectionViewLayout { get } var nextLayout: NSCollectionViewLayout { get } init(currentLayout currentLayout: NSCollectionViewLayout, nextLayout newLayout: NSCollectionViewLayout) func updateValue(_ value: CGFloat, forAnimatedKey key: String) func value(forAnimatedKey key: String) -> CGFloat func prepare(forCollectionViewUpdates updateItems: [NSCollectionViewUpdateItem]) func finalizeCollectionViewUpdates() func prepare(forAnimatedBoundsChange oldBounds: NSRect) func finalizeAnimatedBoundsChange() func prepareForTransition(to newLayout: NSCollectionViewLayout) func prepareForTransition(from oldLayout: NSCollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElement(ofKind elementKind: String, at decorationIndexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForSupplementaryView(ofKind elementKind: String) -> Set<IndexPath> func indexPathsToInsertForDecorationView(ofKind elementKind: String) -> Set<IndexPath> class func layoutAttributesClass() -> AnyClass class func invalidationContextClass() -> AnyClass func prepare() func layoutAttributesForElements(in rect: NSRect) -> [NSCollectionViewLayoutAttributes] func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDecorationView(ofKind elementKind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForDropTarget(at pointInCollectionView: NSPoint) -> NSCollectionViewLayoutAttributes? func layoutAttributesForInterItemGap(before indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func shouldInvalidateLayout(forBoundsChange newBounds: NSRect) -> Bool func invalidationContext(forBoundsChange newBounds: NSRect) -> NSCollectionViewLayoutInvalidationContext func shouldInvalidateLayout(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> Bool func invalidationContext(forPreferredLayoutAttributes preferredAttributes: NSCollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: NSCollectionViewLayoutAttributes) -> NSCollectionViewLayoutInvalidationContext func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint, withScrollingVelocity velocity: NSPoint) -> NSPoint func targetContentOffset(forProposedContentOffset proposedContentOffset: NSPoint) -> NSPoint var collectionViewContentSize: NSSize { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewTransitionLayout : CVarArg { } extension NSCollectionViewTransitionLayout : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func valueForAnimatedKey(_ key: String) -> CGFloat |
To | func value(forAnimatedKey key: String) -> CGFloat |
Modified NSCollectionViewUpdateItem
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewUpdateItem : NSObject { var indexPathBeforeUpdate: NSIndexPath? { get } var indexPathAfterUpdate: NSIndexPath? { get } var updateAction: NSCollectionUpdateAction { get } } | -- |
To | class NSCollectionViewUpdateItem : NSObject { var indexPathBeforeUpdate: IndexPath? { get } var indexPathAfterUpdate: IndexPath? { get } var updateAction: NSCollectionUpdateAction { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewUpdateItem : CVarArg { } extension NSCollectionViewUpdateItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var indexPathAfterUpdate: NSIndexPath? { get } |
To | var indexPathAfterUpdate: IndexPath? { get } |
Declaration | |
---|---|
From | var indexPathBeforeUpdate: NSIndexPath? { get } |
To | var indexPathBeforeUpdate: IndexPath? { get } |
Modified NSColor
Declaration | Protocols | |
---|---|---|
From | class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting { init() init?(coder coder: NSCoder) init(calibratedWhite white: CGFloat, alpha alpha: CGFloat) class func colorWithCalibratedWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func colorWithCalibratedHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func colorWithCalibratedRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceWhite white: CGFloat, alpha alpha: CGFloat) class func colorWithDeviceWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func colorWithDeviceHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func colorWithDeviceRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) class func colorWithDeviceCyan(_ cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) -> NSColor init?(catalogName listName: String, colorName colorName: String) class func colorWithCatalogName(_ listName: String, colorName colorName: String) -> NSColor? init(colorSpace space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) class func colorWithColorSpace(_ space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) -> NSColor init(genericGamma22White white: CGFloat, alpha alpha: CGFloat) class func colorWithGenericGamma22White(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(SRGBRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func colorWithSRGBRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(white white: CGFloat, alpha alpha: CGFloat) class func colorWithWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func colorWithRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func colorWithHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor class func blackColor() -> NSColor class func darkGrayColor() -> NSColor class func lightGrayColor() -> NSColor class func whiteColor() -> NSColor class func grayColor() -> NSColor class func redColor() -> NSColor class func greenColor() -> NSColor class func blueColor() -> NSColor class func cyanColor() -> NSColor class func yellowColor() -> NSColor class func magentaColor() -> NSColor class func orangeColor() -> NSColor class func purpleColor() -> NSColor class func brownColor() -> NSColor class func clearColor() -> NSColor class func controlShadowColor() -> NSColor class func controlDarkShadowColor() -> NSColor class func controlColor() -> NSColor class func controlHighlightColor() -> NSColor class func controlLightHighlightColor() -> NSColor class func controlTextColor() -> NSColor class func controlBackgroundColor() -> NSColor class func selectedControlColor() -> NSColor class func secondarySelectedControlColor() -> NSColor class func selectedControlTextColor() -> NSColor class func disabledControlTextColor() -> NSColor class func textColor() -> NSColor class func textBackgroundColor() -> NSColor class func selectedTextColor() -> NSColor class func selectedTextBackgroundColor() -> NSColor class func gridColor() -> NSColor class func keyboardFocusIndicatorColor() -> NSColor class func windowBackgroundColor() -> NSColor class func underPageBackgroundColor() -> NSColor class func labelColor() -> NSColor class func secondaryLabelColor() -> NSColor class func tertiaryLabelColor() -> NSColor class func quaternaryLabelColor() -> NSColor class func scrollBarColor() -> NSColor class func knobColor() -> NSColor class func selectedKnobColor() -> NSColor class func windowFrameColor() -> NSColor class func windowFrameTextColor() -> NSColor class func selectedMenuItemColor() -> NSColor class func selectedMenuItemTextColor() -> NSColor class func highlightColor() -> NSColor class func shadowColor() -> NSColor class func headerColor() -> NSColor class func headerTextColor() -> NSColor class func alternateSelectedControlColor() -> NSColor class func alternateSelectedControlTextColor() -> NSColor class func controlAlternatingRowBackgroundColors() -> [NSColor] func highlightWithLevel(_ val: CGFloat) -> NSColor? func shadowWithLevel(_ val: CGFloat) -> NSColor? init(forControlTint controlTint: NSControlTint) class func colorForControlTint(_ controlTint: NSControlTint) -> NSColor class func currentControlTint() -> NSControlTint func set() func setFill() func setStroke() var colorSpaceName: String { get } func colorUsingColorSpaceName(_ colorSpace: String) -> NSColor? func colorUsingColorSpaceName(_ colorSpace: String?, device deviceDescription: [String : AnyObject]?) -> NSColor? func colorUsingColorSpace(_ space: NSColorSpace) -> NSColor? func blendedColorWithFraction(_ fraction: CGFloat, ofColor color: NSColor) -> NSColor? func colorWithAlphaComponent(_ alpha: CGFloat) -> NSColor var catalogNameComponent: String { get } var colorNameComponent: String { get } var localizedCatalogNameComponent: String { get } var localizedColorNameComponent: String { get } var redComponent: CGFloat { get } var greenComponent: CGFloat { get } var blueComponent: CGFloat { get } func getRed(_ red: UnsafeMutablePointer<CGFloat>, green green: UnsafeMutablePointer<CGFloat>, blue blue: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) var hueComponent: CGFloat { get } var saturationComponent: CGFloat { get } var brightnessComponent: CGFloat { get } func getHue(_ hue: UnsafeMutablePointer<CGFloat>, saturation saturation: UnsafeMutablePointer<CGFloat>, brightness brightness: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) var whiteComponent: CGFloat { get } func getWhite(_ white: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) var cyanComponent: CGFloat { get } var magentaComponent: CGFloat { get } var yellowComponent: CGFloat { get } var blackComponent: CGFloat { get } func getCyan(_ cyan: UnsafeMutablePointer<CGFloat>, magenta magenta: UnsafeMutablePointer<CGFloat>, yellow yellow: UnsafeMutablePointer<CGFloat>, black black: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) var colorSpace: NSColorSpace { get } var numberOfComponents: Int { get } func getComponents(_ components: UnsafeMutablePointer<CGFloat>) var alphaComponent: CGFloat { get } init?(fromPasteboard pasteBoard: NSPasteboard) class func colorFromPasteboard(_ pasteBoard: NSPasteboard) -> NSColor? func writeToPasteboard(_ pasteBoard: NSPasteboard) init(patternImage image: NSImage) class func colorWithPatternImage(_ image: NSImage) -> NSColor var patternImage: NSImage { get } func drawSwatchInRect(_ rect: NSRect) init?(CGColor cgColor: CGColor) class func colorWithCGColor(_ cgColor: CGColor) -> NSColor? var CGColor: CGColor { get } class func setIgnoresAlpha(_ flag: Bool) class func ignoresAlpha() -> Bool } extension NSColor { required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) } extension NSColor { init(CIColor color: CIColor) class func colorWithCIColor(_ color: CIColor) -> NSColor } extension NSColor { required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) } | NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
To | class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting { init() init?(coder coder: NSCoder) init(colorSpace space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) class func withColorSpace(_ space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) -> NSColor init(srgbRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withSRGBRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(genericGamma22White white: CGFloat, alpha alpha: CGFloat) class func withGenericGamma22White(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(displayP3Red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withDisplayP3Red(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(colorSpace space: NSColorSpace, hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withColorSpace(_ space: NSColorSpace, hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(white white: CGFloat, alpha alpha: CGFloat) class func withWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedWhite white: CGFloat, alpha alpha: CGFloat) class func withCalibratedWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withCalibratedRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withCalibratedHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceWhite white: CGFloat, alpha alpha: CGFloat) class func withDeviceWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withDeviceRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withDeviceHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) class func withDeviceCyan(_ cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) -> NSColor init?(catalogName listName: String, colorName colorName: String) class func withCatalogName(_ listName: String, colorName colorName: String) -> NSColor? class var black: NSColor { get } class var darkGray: NSColor { get } class var lightGray: NSColor { get } class var white: NSColor { get } class var gray: NSColor { get } class var red: NSColor { get } class var green: NSColor { get } class var blue: NSColor { get } class var cyan: NSColor { get } class var yellow: NSColor { get } class var magenta: NSColor { get } class var orange: NSColor { get } class var purple: NSColor { get } class var brown: NSColor { get } class var clear: NSColor { get } class var controlShadowColor: NSColor { get } class var controlDarkShadowColor: NSColor { get } class var controlColor: NSColor { get } class var controlHighlightColor: NSColor { get } class var controlLightHighlightColor: NSColor { get } class var controlTextColor: NSColor { get } class var controlBackgroundColor: NSColor { get } class var selectedControlColor: NSColor { get } class var secondarySelectedControlColor: NSColor { get } class var selectedControlTextColor: NSColor { get } class var disabledControlTextColor: NSColor { get } class var textColor: NSColor { get } class var textBackgroundColor: NSColor { get } class var selectedTextColor: NSColor { get } class var selectedTextBackgroundColor: NSColor { get } class var gridColor: NSColor { get } class var keyboardFocusIndicatorColor: NSColor { get } class var windowBackgroundColor: NSColor { get } class var underPageBackgroundColor: NSColor { get } class var labelColor: NSColor { get } class var secondaryLabelColor: NSColor { get } class var tertiaryLabelColor: NSColor { get } class var quaternaryLabelColor: NSColor { get } class var scrollBarColor: NSColor { get } class var knobColor: NSColor { get } class var selectedKnobColor: NSColor { get } class var windowFrameColor: NSColor { get } class var windowFrameTextColor: NSColor { get } class var selectedMenuItemColor: NSColor { get } class var selectedMenuItemTextColor: NSColor { get } class var highlightColor: NSColor { get } class var shadowColor: NSColor { get } class var headerColor: NSColor { get } class var headerTextColor: NSColor { get } class var alternateSelectedControlColor: NSColor { get } class var alternateSelectedControlTextColor: NSColor { get } class var controlAlternatingRowBackgroundColors: [NSColor] { get } class var currentControlTint: NSControlTint { get } init(for controlTint: NSControlTint) class func forControlTint(_ controlTint: NSControlTint) -> NSColor func highlight(withLevel val: CGFloat) -> NSColor? func shadow(withLevel val: CGFloat) -> NSColor? func set() func setFill() func setStroke() var colorSpaceName: String { get } func usingColorSpaceName(_ colorSpace: String) -> NSColor? func usingColorSpaceName(_ colorSpace: String?, device deviceDescription: [String : Any]?) -> NSColor? func usingColorSpace(_ space: NSColorSpace) -> NSColor? func blended(withFraction fraction: CGFloat, of color: NSColor) -> NSColor? func withAlphaComponent(_ alpha: CGFloat) -> NSColor var catalogNameComponent: String { get } var colorNameComponent: String { get } var localizedCatalogNameComponent: String { get } var localizedColorNameComponent: String { get } var redComponent: CGFloat { get } var greenComponent: CGFloat { get } var blueComponent: CGFloat { get } func getRed(_ red: UnsafeMutablePointer<CGFloat>?, green green: UnsafeMutablePointer<CGFloat>?, blue blue: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var hueComponent: CGFloat { get } var saturationComponent: CGFloat { get } var brightnessComponent: CGFloat { get } func getHue(_ hue: UnsafeMutablePointer<CGFloat>?, saturation saturation: UnsafeMutablePointer<CGFloat>?, brightness brightness: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var whiteComponent: CGFloat { get } func getWhite(_ white: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var cyanComponent: CGFloat { get } var magentaComponent: CGFloat { get } var yellowComponent: CGFloat { get } var blackComponent: CGFloat { get } func getCyan(_ cyan: UnsafeMutablePointer<CGFloat>?, magenta magenta: UnsafeMutablePointer<CGFloat>?, yellow yellow: UnsafeMutablePointer<CGFloat>?, black black: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var colorSpace: NSColorSpace { get } var numberOfComponents: Int { get } func getComponents(_ components: UnsafeMutablePointer<CGFloat>) var alphaComponent: CGFloat { get } init?(from pasteBoard: NSPasteboard) class func fromPasteboard(_ pasteBoard: NSPasteboard) -> NSColor? func write(to pasteBoard: NSPasteboard) init(patternImage image: NSImage) class func withPatternImage(_ image: NSImage) -> NSColor var patternImage: NSImage { get } func drawSwatch(in rect: NSRect) init?(cgColor cgColor: CGColor) class func withCGColor(_ cgColor: CGColor) -> NSColor? var cgColor: CGColor { get } class var ignoresAlpha: Bool init(ciColor color: CIColor) class func withCIColor(_ color: CIColor) -> NSColor required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSColor : CVarArg { } extension NSColor : Equatable, Hashable { var hashValue: Int { get } } extension NSColor { init(ciColor color: CIColor) class func withCIColor(_ color: CIColor) -> NSColor } extension NSColor { required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) } | CVarArg, Equatable, Hashable, NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
Declaration | |
---|---|
From | func blendedColorWithFraction(_ fraction: CGFloat, ofColor color: NSColor) -> NSColor? |
To | func blended(withFraction fraction: CGFloat, of color: NSColor) -> NSColor? |
Modified NSColor.cgColor
Declaration | |
---|---|
From | var CGColor: CGColor { get } |
To | var cgColor: CGColor { get } |
Modified NSColor.drawSwatch(in: NSRect)
Declaration | |
---|---|
From | func drawSwatchInRect(_ rect: NSRect) |
To | func drawSwatch(in rect: NSRect) |
Declaration | |
---|---|
From | func getCyan(_ cyan: UnsafeMutablePointer<CGFloat>, magenta magenta: UnsafeMutablePointer<CGFloat>, yellow yellow: UnsafeMutablePointer<CGFloat>, black black: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) |
To | func getCyan(_ cyan: UnsafeMutablePointer<CGFloat>?, magenta magenta: UnsafeMutablePointer<CGFloat>?, yellow yellow: UnsafeMutablePointer<CGFloat>?, black black: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) |
Declaration | |
---|---|
From | func getHue(_ hue: UnsafeMutablePointer<CGFloat>, saturation saturation: UnsafeMutablePointer<CGFloat>, brightness brightness: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) |
To | func getHue(_ hue: UnsafeMutablePointer<CGFloat>?, saturation saturation: UnsafeMutablePointer<CGFloat>?, brightness brightness: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) |
Declaration | |
---|---|
From | func getRed(_ red: UnsafeMutablePointer<CGFloat>, green green: UnsafeMutablePointer<CGFloat>, blue blue: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) |
To | func getRed(_ red: UnsafeMutablePointer<CGFloat>?, green green: UnsafeMutablePointer<CGFloat>?, blue blue: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) |
Declaration | |
---|---|
From | func getWhite(_ white: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) |
To | func getWhite(_ white: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) |
Declaration | |
---|---|
From | func highlightWithLevel(_ val: CGFloat) -> NSColor? |
To | func highlight(withLevel val: CGFloat) -> NSColor? |
Modified NSColor.init(cgColor: CGColor)
Declaration | |
---|---|
From | init?(CGColor cgColor: CGColor) |
To | init?(cgColor cgColor: CGColor) |
Modified NSColor.init(ciColor: CIColor)
Declaration | |
---|---|
From | init(CIColor color: CIColor) |
To | init(ciColor color: CIColor) |
Modified NSColor.init(for: NSControlTint)
Declaration | |
---|---|
From | init(forControlTint controlTint: NSControlTint) |
To | init(for controlTint: NSControlTint) |
Modified NSColor.init(from: NSPasteboard)
Declaration | |
---|---|
From | init?(fromPasteboard pasteBoard: NSPasteboard) |
To | init?(from pasteBoard: NSPasteboard) |
Declaration | |
---|---|
From | init(SRGBRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) |
To | init(srgbRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) |
Declaration | |
---|---|
From | func shadowWithLevel(_ val: CGFloat) -> NSColor? |
To | func shadow(withLevel val: CGFloat) -> NSColor? |
Declaration | |
---|---|
From | func colorUsingColorSpace(_ space: NSColorSpace) -> NSColor? |
To | func usingColorSpace(_ space: NSColorSpace) -> NSColor? |
Declaration | |
---|---|
From | func colorUsingColorSpaceName(_ colorSpace: String) -> NSColor? |
To | func usingColorSpaceName(_ colorSpace: String) -> NSColor? |
Declaration | |
---|---|
From | func colorUsingColorSpaceName(_ colorSpace: String?, device deviceDescription: [String : AnyObject]?) -> NSColor? |
To | func usingColorSpaceName(_ colorSpace: String?, device deviceDescription: [String : Any]?) -> NSColor? |
Declaration | |
---|---|
From | func colorWithAlphaComponent(_ alpha: CGFloat) -> NSColor |
To | func withAlphaComponent(_ alpha: CGFloat) -> NSColor |
Modified NSColor.write(to: NSPasteboard)
Declaration | |
---|---|
From | func writeToPasteboard(_ pasteBoard: NSPasteboard) |
To | func write(to pasteBoard: NSPasteboard) |
Modified NSColorList
Declaration | Protocols | |
---|---|---|
From | class NSColorList : NSObject, NSSecureCoding { class func availableColorLists() -> [NSColorList] init?(named name: String) class func colorListNamed(_ name: String) -> NSColorList? init(name name: String) init?(name name: String, fromFile path: String?) var name: String? { get } func setColor(_ color: NSColor, forKey key: String) func insertColor(_ color: NSColor, key key: String, atIndex loc: Int) func removeColorWithKey(_ key: String) func colorWithKey(_ key: String) -> NSColor? var allKeys: [String] { get } var editable: Bool { get } func writeToFile(_ path: String?) -> Bool func removeFile() } | NSSecureCoding |
To | class NSColorList : NSObject, NSSecureCoding { class func availableColorLists() -> [NSColorList] init?(named name: String) class func colorListNamed(_ name: String) -> NSColorList? init(name name: String) init?(name name: String, fromFile path: String?) var name: String? { get } func setColor(_ color: NSColor, forKey key: String) func insertColor(_ color: NSColor, key key: String, at loc: Int) func removeColor(withKey key: String) func color(withKey key: String) -> NSColor? var allKeys: [String] { get } var isEditable: Bool { get } func write(to url: URL?) throws func write(toFile path: String?) -> Bool func removeFile() func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSColorList : CVarArg { } extension NSColorList : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSSecureCoding |
Declaration | |
---|---|
From | func colorWithKey(_ key: String) -> NSColor? |
To | func color(withKey key: String) -> NSColor? |
Declaration | |
---|---|
From | func insertColor(_ color: NSColor, key key: String, atIndex loc: Int) |
To | func insertColor(_ color: NSColor, key key: String, at loc: Int) |
Modified NSColorList.isEditable
Declaration | |
---|---|
From | var editable: Bool { get } |
To | var isEditable: Bool { get } |
Declaration | |
---|---|
From | func removeColorWithKey(_ key: String) |
To | func removeColor(withKey key: String) |
Declaration | |
---|---|
From | func writeToFile(_ path: String?) -> Bool |
To | func write(toFile path: String?) -> Bool |
Modified NSColorPanel
Declaration | |
---|---|
From | class NSColorPanel : NSPanel { class func sharedColorPanel() -> NSColorPanel class func sharedColorPanelExists() -> Bool class func dragColor(_ color: NSColor, withEvent theEvent: NSEvent, fromView sourceView: NSView) -> Bool class func setPickerMask(_ mask: NSColorPanelOptions) class func setPickerMode(_ mode: NSColorPanelMode) var accessoryView: NSView? var continuous: Bool var showsAlpha: Bool var mode: NSColorPanelMode @NSCopying var color: NSColor var alpha: CGFloat { get } func setAction(_ aSelector: Selector) func setTarget(_ anObject: AnyObject?) func attachColorList(_ colorList: NSColorList) func detachColorList(_ colorList: NSColorList) } |
To | class NSColorPanel : NSPanel { class func shared() -> NSColorPanel class func sharedColorPanelExists() -> Bool class func dragColor(_ color: NSColor, with event: NSEvent, from sourceView: NSView) -> Bool class func setPickerMask(_ mask: NSColorPanelOptions) class func setPickerMode(_ mode: NSColorPanelMode) var accessoryView: NSView? var isContinuous: Bool var showsAlpha: Bool var mode: NSColorPanelMode @NSCopying var color: NSColor var alpha: CGFloat { get } func setAction(_ selector: Selector?) func setTarget(_ target: Any?) func attachColorList(_ colorList: NSColorList) func detachColorList(_ colorList: NSColorList) } |
Declaration | |
---|---|
From | class func dragColor(_ color: NSColor, withEvent theEvent: NSEvent, fromView sourceView: NSView) -> Bool |
To | class func dragColor(_ color: NSColor, with event: NSEvent, from sourceView: NSView) -> Bool |
Modified NSColorPanel.isContinuous
Declaration | |
---|---|
From | var continuous: Bool |
To | var isContinuous: Bool |
Modified NSColorPanel.setAction(_: Selector?)
Declaration | |
---|---|
From | func setAction(_ aSelector: Selector) |
To | func setAction(_ selector: Selector?) |
Modified NSColorPanel.setTarget(_: Any?)
Declaration | |
---|---|
From | func setTarget(_ anObject: AnyObject?) |
To | func setTarget(_ target: Any?) |
Declaration | |
---|---|
From | class func sharedColorPanel() -> NSColorPanel |
To | class func shared() -> NSColorPanel |
Modified NSColorPanelMode [enum]
Declaration | |
---|---|
From | enum NSColorPanelMode : Int { case NSNoModeColorPanel case NSGrayModeColorPanel case NSRGBModeColorPanel case NSCMYKModeColorPanel case NSHSBModeColorPanel case NSCustomPaletteModeColorPanel case NSColorListModeColorPanel case NSWheelModeColorPanel case NSCrayonModeColorPanel } |
To | enum NSColorPanelMode : Int { case none case gray case RGB case CMYK case HSB case customPalette case colorList case wheel case crayon } |
Modified NSColorPanelOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSColorPanelOptions : OptionSetType { init(rawValue rawValue: UInt) static var GrayModeMask: NSColorPanelOptions { get } static var RGBModeMask: NSColorPanelOptions { get } static var CMYKModeMask: NSColorPanelOptions { get } static var HSBModeMask: NSColorPanelOptions { get } static var CustomPaletteModeMask: NSColorPanelOptions { get } static var ColorListModeMask: NSColorPanelOptions { get } static var WheelModeMask: NSColorPanelOptions { get } static var CrayonModeMask: NSColorPanelOptions { get } static var AllModesMask: NSColorPanelOptions { get } } | OptionSetType |
To | struct NSColorPanelOptions : OptionSet { init(rawValue rawValue: UInt) static var grayModeMask: NSColorPanelOptions { get } static var rgbModeMask: NSColorPanelOptions { get } static var cmykModeMask: NSColorPanelOptions { get } static var hsbModeMask: NSColorPanelOptions { get } static var customPaletteModeMask: NSColorPanelOptions { get } static var colorListModeMask: NSColorPanelOptions { get } static var wheelModeMask: NSColorPanelOptions { get } static var crayonModeMask: NSColorPanelOptions { get } static var allModesMask: NSColorPanelOptions { get } func intersect(_ other: NSColorPanelOptions) -> NSColorPanelOptions func exclusiveOr(_ other: NSColorPanelOptions) -> NSColorPanelOptions mutating func unionInPlace(_ other: NSColorPanelOptions) mutating func intersectInPlace(_ other: NSColorPanelOptions) mutating func exclusiveOrInPlace(_ other: NSColorPanelOptions) func isSubsetOf(_ other: NSColorPanelOptions) -> Bool func isDisjointWith(_ other: NSColorPanelOptions) -> Bool func isSupersetOf(_ other: NSColorPanelOptions) -> Bool mutating func subtractInPlace(_ other: NSColorPanelOptions) func isStrictSupersetOf(_ other: NSColorPanelOptions) -> Bool func isStrictSubsetOf(_ other: NSColorPanelOptions) -> Bool } extension NSColorPanelOptions { func union(_ other: NSColorPanelOptions) -> NSColorPanelOptions func intersection(_ other: NSColorPanelOptions) -> NSColorPanelOptions func symmetricDifference(_ other: NSColorPanelOptions) -> NSColorPanelOptions } extension NSColorPanelOptions { func contains(_ member: NSColorPanelOptions) -> Bool mutating func insert(_ newMember: NSColorPanelOptions) -> (inserted: Bool, memberAfterInsert: NSColorPanelOptions) mutating func remove(_ member: NSColorPanelOptions) -> NSColorPanelOptions? mutating func update(with newMember: NSColorPanelOptions) -> NSColorPanelOptions? } extension NSColorPanelOptions { convenience init() mutating func formUnion(_ other: NSColorPanelOptions) mutating func formIntersection(_ other: NSColorPanelOptions) mutating func formSymmetricDifference(_ other: NSColorPanelOptions) } extension NSColorPanelOptions { convenience init<S : Sequence where S.Iterator.Element == NSColorPanelOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSColorPanelOptions...) mutating func subtract(_ other: NSColorPanelOptions) func isSubset(of other: NSColorPanelOptions) -> Bool func isSuperset(of other: NSColorPanelOptions) -> Bool func isDisjoint(with other: NSColorPanelOptions) -> Bool func subtracting(_ other: NSColorPanelOptions) -> NSColorPanelOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSColorPanelOptions) -> Bool func isStrictSubset(of other: NSColorPanelOptions) -> Bool } | OptionSet |
Modified NSColorPanelOptions.allModesMask
Declaration | |
---|---|
From | static var AllModesMask: NSColorPanelOptions { get } |
To | static var allModesMask: NSColorPanelOptions { get } |
Modified NSColorPanelOptions.cmykModeMask
Declaration | |
---|---|
From | static var CMYKModeMask: NSColorPanelOptions { get } |
To | static var cmykModeMask: NSColorPanelOptions { get } |
Declaration | |
---|---|
From | static var ColorListModeMask: NSColorPanelOptions { get } |
To | static var colorListModeMask: NSColorPanelOptions { get } |
Modified NSColorPanelOptions.crayonModeMask
Declaration | |
---|---|
From | static var CrayonModeMask: NSColorPanelOptions { get } |
To | static var crayonModeMask: NSColorPanelOptions { get } |
Declaration | |
---|---|
From | static var CustomPaletteModeMask: NSColorPanelOptions { get } |
To | static var customPaletteModeMask: NSColorPanelOptions { get } |
Modified NSColorPanelOptions.grayModeMask
Declaration | |
---|---|
From | static var GrayModeMask: NSColorPanelOptions { get } |
To | static var grayModeMask: NSColorPanelOptions { get } |
Modified NSColorPanelOptions.hsbModeMask
Declaration | |
---|---|
From | static var HSBModeMask: NSColorPanelOptions { get } |
To | static var hsbModeMask: NSColorPanelOptions { get } |
Modified NSColorPanelOptions.rgbModeMask
Declaration | |
---|---|
From | static var RGBModeMask: NSColorPanelOptions { get } |
To | static var rgbModeMask: NSColorPanelOptions { get } |
Modified NSColorPanelOptions.wheelModeMask
Declaration | |
---|---|
From | static var WheelModeMask: NSColorPanelOptions { get } |
To | static var wheelModeMask: NSColorPanelOptions { get } |
Modified NSColorPicker
Declaration | Protocols | |
---|---|---|
From | class NSColorPicker : NSObject, NSColorPickingDefault { init?(pickerMask mask: Int, colorPanel owningColorPanel: NSColorPanel) var colorPanel: NSColorPanel { get } var provideNewButtonImage: NSImage { get } func insertNewButtonImage(_ newButtonImage: NSImage, in buttonCell: NSButtonCell) func viewSizeChanged(_ sender: AnyObject?) func attachColorList(_ colorList: NSColorList) func detachColorList(_ colorList: NSColorList) func setMode(_ mode: NSColorPanelMode) var buttonToolTip: String { get } var minContentSize: NSSize { get } } | NSColorPickingDefault |
To | class NSColorPicker : NSObject, NSColorPickingDefault { init?(pickerMask mask: Int, colorPanel owningColorPanel: NSColorPanel) var colorPanel: NSColorPanel { get } var provideNewButtonImage: NSImage { get } func insertNewButtonImage(_ newButtonImage: NSImage, in buttonCell: NSButtonCell) func viewSizeChanged(_ sender: Any?) func attachColorList(_ colorList: NSColorList) func detachColorList(_ colorList: NSColorList) func setMode(_ mode: NSColorPanelMode) var buttonToolTip: String { get } var minContentSize: NSSize { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSColorPicker : CVarArg { } extension NSColorPicker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSColorPickingDefault |
Declaration | |
---|---|
From | func viewSizeChanged(_ sender: AnyObject?) |
To | func viewSizeChanged(_ sender: Any?) |
Modified NSColorPickingDefault
Declaration | |
---|---|
From | protocol NSColorPickingDefault { init?(pickerMask mask: Int, colorPanel owningColorPanel: NSColorPanel) func provideNewButtonImage() -> NSImage func insertNewButtonImage(_ newButtonImage: NSImage, in buttonCell: NSButtonCell) func viewSizeChanged(_ sender: AnyObject?) func alphaControlAddedOrRemoved(_ sender: AnyObject?) func attachColorList(_ colorList: NSColorList) func detachColorList(_ colorList: NSColorList) func setMode(_ mode: NSColorPanelMode) func buttonToolTip() -> String func minContentSize() -> NSSize } |
To | protocol NSColorPickingDefault { init?(pickerMask mask: Int, colorPanel owningColorPanel: NSColorPanel) func provideNewButtonImage() -> NSImage func insertNewButtonImage(_ newButtonImage: NSImage, in buttonCell: NSButtonCell) func viewSizeChanged(_ sender: Any?) func alphaControlAddedOrRemoved(_ sender: Any?) func attachColorList(_ colorList: NSColorList) func detachColorList(_ colorList: NSColorList) func setMode(_ mode: NSColorPanelMode) func buttonToolTip() -> String func minContentSize() -> NSSize } |
Declaration | |
---|---|
From | func alphaControlAddedOrRemoved(_ sender: AnyObject?) |
To | func alphaControlAddedOrRemoved(_ sender: Any?) |
Declaration | |
---|---|
From | func viewSizeChanged(_ sender: AnyObject?) |
To | func viewSizeChanged(_ sender: Any?) |
Modified NSColorRenderingIntent [enum]
Declaration | |
---|---|
From | enum NSColorRenderingIntent : Int { case Default case AbsoluteColorimetric case RelativeColorimetric case Perceptual case Saturation } |
To | enum NSColorRenderingIntent : Int { case `default` case absoluteColorimetric case relativeColorimetric case perceptual case saturation } |
Declaration | |
---|---|
From | case AbsoluteColorimetric |
To | case absoluteColorimetric |
Modified NSColorRenderingIntent.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSColorRenderingIntent.perceptual
Declaration | |
---|---|
From | case Perceptual |
To | case perceptual |
Declaration | |
---|---|
From | case RelativeColorimetric |
To | case relativeColorimetric |
Modified NSColorRenderingIntent.saturation
Declaration | |
---|---|
From | case Saturation |
To | case saturation |
Modified NSColorSpace
Declaration | Protocols | |
---|---|---|
From | class NSColorSpace : NSObject, NSSecureCoding { init?(ICCProfileData iccData: NSData) var ICCProfileData: NSData? { get } init?(colorSyncProfile prof: UnsafeMutablePointer<Void>) var colorSyncProfile: UnsafeMutablePointer<Void> { get } init?(CGColorSpace cgColorSpace: CGColorSpace) var CGColorSpace: CGColorSpace? { get } var numberOfColorComponents: Int { get } var colorSpaceModel: NSColorSpaceModel { get } var localizedName: String? { get } class func genericRGBColorSpace() -> NSColorSpace class func genericGrayColorSpace() -> NSColorSpace class func genericCMYKColorSpace() -> NSColorSpace class func deviceRGBColorSpace() -> NSColorSpace class func deviceGrayColorSpace() -> NSColorSpace class func deviceCMYKColorSpace() -> NSColorSpace class func sRGBColorSpace() -> NSColorSpace class func genericGamma22GrayColorSpace() -> NSColorSpace class func adobeRGB1998ColorSpace() -> NSColorSpace class func availableColorSpacesWithModel(_ model: NSColorSpaceModel) -> [NSColorSpace] } | NSSecureCoding |
To | class NSColorSpace : NSObject, NSSecureCoding { init?(iccProfileData iccData: Data) var iccProfileData: Data? { get } init?(colorSyncProfile prof: UnsafeMutableRawPointer) var colorSyncProfile: UnsafeMutableRawPointer? { get } init?(cgColorSpace cgColorSpace: CGColorSpace) var cgColorSpace: CGColorSpace? { get } var numberOfColorComponents: Int { get } var colorSpaceModel: NSColorSpaceModel { get } var localizedName: String? { get } class var sRGB: NSColorSpace { get } class var genericGamma22Gray: NSColorSpace { get } class var extendedSRGB: NSColorSpace { get } class var extendedGenericGamma22Gray: NSColorSpace { get } class var displayP3: NSColorSpace { get } class var adobeRGB1998: NSColorSpace { get } class var genericRGB: NSColorSpace { get } class var genericGray: NSColorSpace { get } class var genericCMYK: NSColorSpace { get } class var deviceRGB: NSColorSpace { get } class var deviceGray: NSColorSpace { get } class var deviceCMYK: NSColorSpace { get } class func availableColorSpaces(with model: NSColorSpaceModel) -> [NSColorSpace] func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSColorSpace : CVarArg { } extension NSColorSpace : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSSecureCoding |
Declaration | |
---|---|
From | class func availableColorSpacesWithModel(_ model: NSColorSpaceModel) -> [NSColorSpace] |
To | class func availableColorSpaces(with model: NSColorSpaceModel) -> [NSColorSpace] |
Modified NSColorSpace.cgColorSpace
Declaration | |
---|---|
From | var CGColorSpace: CGColorSpace? { get } |
To | var cgColorSpace: CGColorSpace? { get } |
Modified NSColorSpace.colorSyncProfile
Declaration | |
---|---|
From | var colorSyncProfile: UnsafeMutablePointer<Void> { get } |
To | var colorSyncProfile: UnsafeMutableRawPointer? { get } |
Modified NSColorSpace.iccProfileData
Declaration | |
---|---|
From | var ICCProfileData: NSData? { get } |
To | var iccProfileData: Data? { get } |
Declaration | |
---|---|
From | init?(CGColorSpace cgColorSpace: CGColorSpace) |
To | init?(cgColorSpace cgColorSpace: CGColorSpace) |
Declaration | |
---|---|
From | init?(colorSyncProfile prof: UnsafeMutablePointer<Void>) |
To | init?(colorSyncProfile prof: UnsafeMutableRawPointer) |
Declaration | |
---|---|
From | init?(ICCProfileData iccData: NSData) |
To | init?(iccProfileData iccData: Data) |
Modified NSColorSpaceModel [enum]
Declaration | |
---|---|
From | enum NSColorSpaceModel : Int { case NSUnknownColorSpaceModel case NSGrayColorSpaceModel case NSRGBColorSpaceModel case NSCMYKColorSpaceModel case NSLABColorSpaceModel case NSDeviceNColorSpaceModel case NSIndexedColorSpaceModel case NSPatternColorSpaceModel } |
To | enum NSColorSpaceModel : Int { case unknown case gray case RGB case CMYK case LAB case deviceN case indexed case patterned } |
Modified NSColorWell
Declaration | Protocols | |
---|---|---|
From | class NSColorWell : NSControl { func deactivate() func activate(_ exclusive: Bool) var active: Bool { get } func drawWellInside(_ insideRect: NSRect) var bordered: Bool func takeColorFrom(_ sender: AnyObject?) @NSCopying var color: NSColor } | -- |
To | class NSColorWell : NSControl { func deactivate() func activate(_ exclusive: Bool) var isActive: Bool { get } func drawWell(inside insideRect: NSRect) var isBordered: Bool func takeColorFrom(_ sender: Any?) @NSCopying var color: NSColor func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSColorWell : CVarArg { } extension NSColorWell : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSColorWell.drawWell(inside: NSRect)
Declaration | |
---|---|
From | func drawWellInside(_ insideRect: NSRect) |
To | func drawWell(inside insideRect: NSRect) |
Modified NSColorWell.isActive
Declaration | |
---|---|
From | var active: Bool { get } |
To | var isActive: Bool { get } |
Modified NSColorWell.isBordered
Declaration | |
---|---|
From | var bordered: Bool |
To | var isBordered: Bool |
Modified NSColorWell.takeColorFrom(_: Any?)
Declaration | |
---|---|
From | func takeColorFrom(_ sender: AnyObject?) |
To | func takeColorFrom(_ sender: Any?) |
Modified NSComboBox
Declaration | Protocols | |
---|---|---|
From | class NSComboBox : NSTextField { var hasVerticalScroller: Bool var intercellSpacing: NSSize var itemHeight: CGFloat var numberOfVisibleItems: Int var buttonBordered: Bool func reloadData() func noteNumberOfItemsChanged() var usesDataSource: Bool func scrollItemAtIndexToTop(_ index: Int) func scrollItemAtIndexToVisible(_ index: Int) func selectItemAtIndex(_ index: Int) func deselectItemAtIndex(_ index: Int) var indexOfSelectedItem: Int { get } var numberOfItems: Int { get } var completes: Bool func delegate() -> NSComboBoxDelegate? func setDelegate(_ anObject: NSComboBoxDelegate?) unowned(unsafe) var dataSource: NSComboBoxDataSource? func addItemWithObjectValue(_ object: AnyObject) func addItemsWithObjectValues(_ objects: [AnyObject]) func insertItemWithObjectValue(_ object: AnyObject, atIndex index: Int) func removeItemWithObjectValue(_ object: AnyObject) func removeItemAtIndex(_ index: Int) func removeAllItems() func selectItemWithObjectValue(_ object: AnyObject?) func itemObjectValueAtIndex(_ index: Int) -> AnyObject var objectValueOfSelectedItem: AnyObject? { get } func indexOfItemWithObjectValue(_ object: AnyObject) -> Int var objectValues: [AnyObject] { get } } | -- |
To | class NSComboBox : NSTextField { var hasVerticalScroller: Bool var intercellSpacing: NSSize var itemHeight: CGFloat var numberOfVisibleItems: Int var isButtonBordered: Bool func reloadData() func noteNumberOfItemsChanged() var usesDataSource: Bool func scrollItemAtIndexToTop(_ index: Int) func scrollItemAtIndexToVisible(_ index: Int) func selectItem(at index: Int) func deselectItem(at index: Int) var indexOfSelectedItem: Int { get } var numberOfItems: Int { get } var completes: Bool unowned(unsafe) var delegate: NSComboBoxDelegate? unowned(unsafe) var dataSource: NSComboBoxDataSource? func addItem(withObjectValue object: Any) func addItems(withObjectValues objects: [Any]) func insertItem(withObjectValue object: Any, at index: Int) func removeItem(withObjectValue object: Any) func removeItem(at index: Int) func removeAllItems() func selectItem(withObjectValue object: Any?) func itemObjectValue(at index: Int) -> Any var objectValueOfSelectedItem: Any? { get } func indexOfItem(withObjectValue object: Any) -> Int var objectValues: [Any] { get } func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSComboBox : CVarArg { } extension NSComboBox : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addItemWithObjectValue(_ object: AnyObject) |
To | func addItem(withObjectValue object: Any) |
Declaration | |
---|---|
From | func addItemsWithObjectValues(_ objects: [AnyObject]) |
To | func addItems(withObjectValues objects: [Any]) |
Modified NSComboBox.deselectItem(at: Int)
Declaration | |
---|---|
From | func deselectItemAtIndex(_ index: Int) |
To | func deselectItem(at index: Int) |
Declaration | |
---|---|
From | func indexOfItemWithObjectValue(_ object: AnyObject) -> Int |
To | func indexOfItem(withObjectValue object: Any) -> Int |
Declaration | |
---|---|
From | func insertItemWithObjectValue(_ object: AnyObject, atIndex index: Int) |
To | func insertItem(withObjectValue object: Any, at index: Int) |
Modified NSComboBox.isButtonBordered
Declaration | |
---|---|
From | var buttonBordered: Bool |
To | var isButtonBordered: Bool |
Declaration | |
---|---|
From | func itemObjectValueAtIndex(_ index: Int) -> AnyObject |
To | func itemObjectValue(at index: Int) -> Any |
Modified NSComboBox.objectValueOfSelectedItem
Declaration | |
---|---|
From | var objectValueOfSelectedItem: AnyObject? { get } |
To | var objectValueOfSelectedItem: Any? { get } |
Modified NSComboBox.objectValues
Declaration | |
---|---|
From | var objectValues: [AnyObject] { get } |
To | var objectValues: [Any] { get } |
Modified NSComboBox.removeItem(at: Int)
Declaration | |
---|---|
From | func removeItemAtIndex(_ index: Int) |
To | func removeItem(at index: Int) |
Declaration | |
---|---|
From | func removeItemWithObjectValue(_ object: AnyObject) |
To | func removeItem(withObjectValue object: Any) |
Modified NSComboBox.selectItem(at: Int)
Declaration | |
---|---|
From | func selectItemAtIndex(_ index: Int) |
To | func selectItem(at index: Int) |
Declaration | |
---|---|
From | func selectItemWithObjectValue(_ object: AnyObject?) |
To | func selectItem(withObjectValue object: Any?) |
Modified NSComboBoxCell
Declaration | |
---|---|
From | class NSComboBoxCell : NSTextFieldCell { var hasVerticalScroller: Bool var intercellSpacing: NSSize var itemHeight: CGFloat var numberOfVisibleItems: Int var buttonBordered: Bool func reloadData() func noteNumberOfItemsChanged() var usesDataSource: Bool func scrollItemAtIndexToTop(_ index: Int) func scrollItemAtIndexToVisible(_ index: Int) func selectItemAtIndex(_ index: Int) func deselectItemAtIndex(_ index: Int) var indexOfSelectedItem: Int { get } var numberOfItems: Int { get } var completes: Bool func completedString(_ string: String) -> String? unowned(unsafe) var dataSource: NSComboBoxCellDataSource? func addItemWithObjectValue(_ object: AnyObject) func addItemsWithObjectValues(_ objects: [AnyObject]) func insertItemWithObjectValue(_ object: AnyObject, atIndex index: Int) func removeItemWithObjectValue(_ object: AnyObject) func removeItemAtIndex(_ index: Int) func removeAllItems() func selectItemWithObjectValue(_ object: AnyObject?) func itemObjectValueAtIndex(_ index: Int) -> AnyObject var objectValueOfSelectedItem: AnyObject? { get } func indexOfItemWithObjectValue(_ object: AnyObject) -> Int var objectValues: [AnyObject] { get } } |
To | class NSComboBoxCell : NSTextFieldCell { var hasVerticalScroller: Bool var intercellSpacing: NSSize var itemHeight: CGFloat var numberOfVisibleItems: Int var isButtonBordered: Bool func reloadData() func noteNumberOfItemsChanged() var usesDataSource: Bool func scrollItemAtIndexToTop(_ index: Int) func scrollItemAtIndexToVisible(_ index: Int) func selectItem(at index: Int) func deselectItem(at index: Int) var indexOfSelectedItem: Int { get } var numberOfItems: Int { get } var completes: Bool func completedString(_ string: String) -> String? unowned(unsafe) var dataSource: NSComboBoxCellDataSource? func addItem(withObjectValue object: Any) func addItems(withObjectValues objects: [Any]) func insertItem(withObjectValue object: Any, at index: Int) func removeItem(withObjectValue object: Any) func removeItem(at index: Int) func removeAllItems() func selectItem(withObjectValue object: Any?) func itemObjectValue(at index: Int) -> Any var objectValueOfSelectedItem: Any? { get } func indexOfItem(withObjectValue object: Any) -> Int var objectValues: [Any] { get } } |
Declaration | |
---|---|
From | func addItemWithObjectValue(_ object: AnyObject) |
To | func addItem(withObjectValue object: Any) |
Declaration | |
---|---|
From | func addItemsWithObjectValues(_ objects: [AnyObject]) |
To | func addItems(withObjectValues objects: [Any]) |
Modified NSComboBoxCell.deselectItem(at: Int)
Declaration | |
---|---|
From | func deselectItemAtIndex(_ index: Int) |
To | func deselectItem(at index: Int) |
Declaration | |
---|---|
From | func indexOfItemWithObjectValue(_ object: AnyObject) -> Int |
To | func indexOfItem(withObjectValue object: Any) -> Int |
Declaration | |
---|---|
From | func insertItemWithObjectValue(_ object: AnyObject, atIndex index: Int) |
To | func insertItem(withObjectValue object: Any, at index: Int) |
Modified NSComboBoxCell.isButtonBordered
Declaration | |
---|---|
From | var buttonBordered: Bool |
To | var isButtonBordered: Bool |
Declaration | |
---|---|
From | func itemObjectValueAtIndex(_ index: Int) -> AnyObject |
To | func itemObjectValue(at index: Int) -> Any |
Declaration | |
---|---|
From | var objectValueOfSelectedItem: AnyObject? { get } |
To | var objectValueOfSelectedItem: Any? { get } |
Modified NSComboBoxCell.objectValues
Declaration | |
---|---|
From | var objectValues: [AnyObject] { get } |
To | var objectValues: [Any] { get } |
Modified NSComboBoxCell.removeItem(at: Int)
Declaration | |
---|---|
From | func removeItemAtIndex(_ index: Int) |
To | func removeItem(at index: Int) |
Declaration | |
---|---|
From | func removeItemWithObjectValue(_ object: AnyObject) |
To | func removeItem(withObjectValue object: Any) |
Modified NSComboBoxCell.selectItem(at: Int)
Declaration | |
---|---|
From | func selectItemAtIndex(_ index: Int) |
To | func selectItem(at index: Int) |
Declaration | |
---|---|
From | func selectItemWithObjectValue(_ object: AnyObject?) |
To | func selectItem(withObjectValue object: Any?) |
Modified NSComboBoxCellDataSource
Declaration | |
---|---|
From | protocol NSComboBoxCellDataSource : NSObjectProtocol { optional func numberOfItemsInComboBoxCell(_ comboBoxCell: NSComboBoxCell) -> Int optional func comboBoxCell(_ aComboBoxCell: NSComboBoxCell, objectValueForItemAtIndex index: Int) -> AnyObject optional func comboBoxCell(_ aComboBoxCell: NSComboBoxCell, indexOfItemWithStringValue string: String) -> Int optional func comboBoxCell(_ aComboBoxCell: NSComboBoxCell, completedString uncompletedString: String) -> String? } |
To | protocol NSComboBoxCellDataSource : NSObjectProtocol { optional func numberOfItems(in comboBoxCell: NSComboBoxCell) -> Int optional func comboBoxCell(_ comboBoxCell: NSComboBoxCell, objectValueForItemAt index: Int) -> Any optional func comboBoxCell(_ comboBoxCell: NSComboBoxCell, indexOfItemWithStringValue string: String) -> Int optional func comboBoxCell(_ comboBoxCell: NSComboBoxCell, completedString uncompletedString: String) -> String? } |
Declaration | |
---|---|
From | optional func comboBoxCell(_ aComboBoxCell: NSComboBoxCell, objectValueForItemAtIndex index: Int) -> AnyObject |
To | optional func comboBoxCell(_ comboBoxCell: NSComboBoxCell, objectValueForItemAt index: Int) -> Any |
Declaration | |
---|---|
From | optional func numberOfItemsInComboBoxCell(_ comboBoxCell: NSComboBoxCell) -> Int |
To | optional func numberOfItems(in comboBoxCell: NSComboBoxCell) -> Int |
Modified NSComboBoxDataSource
Declaration | |
---|---|
From | protocol NSComboBoxDataSource : NSObjectProtocol { optional func numberOfItemsInComboBox(_ aComboBox: NSComboBox) -> Int optional func comboBox(_ aComboBox: NSComboBox, objectValueForItemAtIndex index: Int) -> AnyObject optional func comboBox(_ aComboBox: NSComboBox, indexOfItemWithStringValue string: String) -> Int optional func comboBox(_ aComboBox: NSComboBox, completedString string: String) -> String? } |
To | protocol NSComboBoxDataSource : NSObjectProtocol { optional func numberOfItems(in comboBox: NSComboBox) -> Int optional func comboBox(_ comboBox: NSComboBox, objectValueForItemAt index: Int) -> Any? optional func comboBox(_ comboBox: NSComboBox, indexOfItemWithStringValue string: String) -> Int optional func comboBox(_ comboBox: NSComboBox, completedString string: String) -> String? } |
Declaration | |
---|---|
From | optional func comboBox(_ aComboBox: NSComboBox, objectValueForItemAtIndex index: Int) -> AnyObject |
To | optional func comboBox(_ comboBox: NSComboBox, objectValueForItemAt index: Int) -> Any? |
Declaration | |
---|---|
From | optional func numberOfItemsInComboBox(_ aComboBox: NSComboBox) -> Int |
To | optional func numberOfItems(in comboBox: NSComboBox) -> Int |
Modified NSComboBoxDelegate
Declaration | |
---|---|
From | protocol NSComboBoxDelegate : NSTextFieldDelegate { optional func comboBoxWillPopUp(_ notification: NSNotification) optional func comboBoxWillDismiss(_ notification: NSNotification) optional func comboBoxSelectionDidChange(_ notification: NSNotification) optional func comboBoxSelectionIsChanging(_ notification: NSNotification) } |
To | protocol NSComboBoxDelegate : NSTextFieldDelegate { optional func comboBoxWillPopUp(_ notification: Notification) optional func comboBoxWillDismiss(_ notification: Notification) optional func comboBoxSelectionDidChange(_ notification: Notification) optional func comboBoxSelectionIsChanging(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func comboBoxSelectionDidChange(_ notification: NSNotification) |
To | optional func comboBoxSelectionDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | optional func comboBoxSelectionIsChanging(_ notification: NSNotification) |
To | optional func comboBoxSelectionIsChanging(_ notification: Notification) |
Declaration | |
---|---|
From | optional func comboBoxWillDismiss(_ notification: NSNotification) |
To | optional func comboBoxWillDismiss(_ notification: Notification) |
Declaration | |
---|---|
From | optional func comboBoxWillPopUp(_ notification: NSNotification) |
To | optional func comboBoxWillPopUp(_ notification: Notification) |
Modified NSCompositingOperation [enum]
Declaration | |
---|---|
From | enum NSCompositingOperation : UInt { case CompositeClear case CompositeCopy case CompositeSourceOver case CompositeSourceIn case CompositeSourceOut case CompositeSourceAtop case CompositeDestinationOver case CompositeDestinationIn case CompositeDestinationOut case CompositeDestinationAtop case CompositeXOR case CompositePlusDarker case CompositeHighlight case CompositePlusLighter case CompositeMultiply case CompositeScreen case CompositeOverlay case CompositeDarken case CompositeLighten case CompositeColorDodge case CompositeColorBurn case CompositeSoftLight case CompositeHardLight case CompositeDifference case CompositeExclusion case CompositeHue case CompositeSaturation case CompositeColor case CompositeLuminosity } |
To | enum NSCompositingOperation : UInt { case clear case copy case sourceOver case sourceIn case sourceOut case sourceAtop case destinationOver case destinationIn case destinationOut case destinationAtop case XOR case plusDarker case highlight case plusLighter case multiply case screen case overlay case darken case lighten case colorDodge case colorBurn case softLight case hardLight case difference case exclusion case hue case saturation case color case luminosity } |
Modified NSControl
Declaration | Protocols | |
---|---|---|
From | class NSControl : NSView { weak var target: AnyObject? var action: Selector var tag: Int var ignoresMultiClick: Bool var continuous: Bool var enabled: Bool var refusesFirstResponder: Bool var highlighted: Bool var controlSize: NSControlSize var formatter: NSFormatter? var stringValue: String @NSCopying var attributedStringValue: NSAttributedString @NSCopying var objectValue: AnyObject? var intValue: Int32 var integerValue: Int var floatValue: Float var doubleValue: Double func sizeThatFits(_ size: NSSize) -> NSSize init(frame frameRect: NSRect) init?(coder coder: NSCoder) func sizeToFit() func sendActionOn(_ mask: Int) -> Int func sendAction(_ theAction: Selector, to theTarget: AnyObject?) -> Bool func takeIntValueFrom(_ sender: AnyObject?) func takeFloatValueFrom(_ sender: AnyObject?) func takeDoubleValueFrom(_ sender: AnyObject?) func takeStringValueFrom(_ sender: AnyObject?) func takeObjectValueFrom(_ sender: AnyObject?) func takeIntegerValueFrom(_ sender: AnyObject?) func mouseDown(_ theEvent: NSEvent) } extension NSControl { func performClick(_ sender: AnyObject?) } extension NSControl { var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrameWithFrame(_ contentFrame: NSRect) -> NSRect func drawWithExpansionFrame(_ contentFrame: NSRect, inView view: NSView) } extension NSControl { func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func editWithFrame(_ aRect: NSRect, editor textObj: NSText, delegate anObject: AnyObject?, event theEvent: NSEvent) func selectWithFrame(_ aRect: NSRect, editor textObj: NSText, delegate anObject: AnyObject?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) } extension NSControl { func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ aCell: NSCell) func updateCellInside(_ aCell: NSCell) func drawCellInside(_ aCell: NSCell) func drawCell(_ aCell: NSCell) func selectCell(_ aCell: NSCell) } extension NSControl { func invalidateIntrinsicContentSizeForCell(_ cell: NSCell) } | -- |
To | class NSControl : NSView { weak var target: AnyObject? var action: Selector? var tag: Int var ignoresMultiClick: Bool var isContinuous: Bool var isEnabled: Bool var refusesFirstResponder: Bool var isHighlighted: Bool var controlSize: NSControlSize var formatter: Formatter? var stringValue: String @NSCopying var attributedStringValue: NSAttributedString var objectValue: Any? var intValue: Int32 var integerValue: Int var floatValue: Float var doubleValue: Double func sizeThatFits(_ size: NSSize) -> NSSize init(frame frameRect: NSRect) init?(coder coder: NSCoder) func sizeToFit() func sendAction(on mask: NSEventMask) -> Int func sendAction(_ action: Selector?, to target: Any?) -> Bool func takeIntValueFrom(_ sender: Any?) func takeFloatValueFrom(_ sender: Any?) func takeDoubleValueFrom(_ sender: Any?) func takeStringValueFrom(_ sender: Any?) func takeObjectValueFrom(_ sender: Any?) func takeIntegerValueFrom(_ sender: Any?) func mouseDown(with event: NSEvent) func performClick(_ sender: Any?) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: Swift.AnyClass?) class func cellClass() -> Swift.AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func invalidateIntrinsicContentSize(for cell: NSCell) func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint var wantsBestResolutionOpenGLSurface: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var pressureConfiguration: NSPressureConfiguration? func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) } extension NSControl : CVarArg { } extension NSControl : Equatable, Hashable { var hashValue: Int { get } } extension NSControl { func performClick(_ sender: Any?) } extension NSControl { var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) } extension NSControl { func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) } extension NSControl { func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: Swift.AnyClass?) class func cellClass() -> Swift.AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) } extension NSControl { func invalidateIntrinsicContentSize(for cell: NSCell) } | CVarArg, Equatable, Hashable |
Modified NSControl.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Declaration | |
---|---|
From | class func cellClass() -> AnyClass? |
To | class func cellClass() -> Swift.AnyClass? |
Declaration | |
---|---|
From | func drawWithExpansionFrame(_ contentFrame: NSRect, inView view: NSView) |
To | func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) |
Declaration | |
---|---|
From | func editWithFrame(_ aRect: NSRect, editor textObj: NSText, delegate anObject: AnyObject?, event theEvent: NSEvent) |
To | func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) |
Declaration | |
---|---|
From | func expansionFrameWithFrame(_ contentFrame: NSRect) -> NSRect |
To | func expansionFrame(withFrame contentFrame: NSRect) -> NSRect |
Modified NSControl.formatter
Declaration | |
---|---|
From | var formatter: NSFormatter? |
To | var formatter: Formatter? |
Declaration | |
---|---|
From | func invalidateIntrinsicContentSizeForCell(_ cell: NSCell) |
To | func invalidateIntrinsicContentSize(for cell: NSCell) |
Modified NSControl.isContinuous
Declaration | |
---|---|
From | var continuous: Bool |
To | var isContinuous: Bool |
Modified NSControl.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified NSControl.isHighlighted
Declaration | |
---|---|
From | var highlighted: Bool |
To | var isHighlighted: Bool |
Modified NSControl.mouseDown(with: NSEvent)
Declaration | |
---|---|
From | func mouseDown(_ theEvent: NSEvent) |
To | func mouseDown(with event: NSEvent) |
Modified NSControl.objectValue
Declaration | |
---|---|
From | @NSCopying var objectValue: AnyObject? |
To | var objectValue: Any? |
Modified NSControl.performClick(_: Any?)
Declaration | |
---|---|
From | func performClick(_ sender: AnyObject?) |
To | func performClick(_ sender: Any?) |
Modified NSControl.select(withFrame: NSRect, editor: NSText, delegate: Any?, start: Int, length: Int)
Declaration | |
---|---|
From | func selectWithFrame(_ aRect: NSRect, editor textObj: NSText, delegate anObject: AnyObject?, start selStart: Int, length selLength: Int) |
To | func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) |
Declaration | |
---|---|
From | func sendAction(_ theAction: Selector, to theTarget: AnyObject?) -> Bool |
To | func sendAction(_ action: Selector?, to target: Any?) -> Bool |
Declaration | |
---|---|
From | func sendActionOn(_ mask: Int) -> Int |
To | func sendAction(on mask: NSEventMask) -> Int |
Modified NSControl.setCellClass(_: Swift.AnyClass?) [class]
Declaration | |
---|---|
From | class func setCellClass(_ factoryId: AnyClass?) |
To | class func setCellClass(_ factoryId: Swift.AnyClass?) |
Declaration | |
---|---|
From | func takeDoubleValueFrom(_ sender: AnyObject?) |
To | func takeDoubleValueFrom(_ sender: Any?) |
Declaration | |
---|---|
From | func takeFloatValueFrom(_ sender: AnyObject?) |
To | func takeFloatValueFrom(_ sender: Any?) |
Declaration | |
---|---|
From | func takeIntegerValueFrom(_ sender: AnyObject?) |
To | func takeIntegerValueFrom(_ sender: Any?) |
Modified NSControl.takeIntValueFrom(_: Any?)
Declaration | |
---|---|
From | func takeIntValueFrom(_ sender: AnyObject?) |
To | func takeIntValueFrom(_ sender: Any?) |
Declaration | |
---|---|
From | func takeObjectValueFrom(_ sender: AnyObject?) |
To | func takeObjectValueFrom(_ sender: Any?) |
Declaration | |
---|---|
From | func takeStringValueFrom(_ sender: AnyObject?) |
To | func takeStringValueFrom(_ sender: Any?) |
Modified NSControlCharacterAction [enum]
Declaration | |
---|---|
From | enum NSControlCharacterAction : Int { case ZeroAdvancement case Whitespace case HorizontalTab case LineBreak case ParagraphBreak case ContainerBreak } |
To | enum NSControlCharacterAction : Int { case zeroAdvancement case whitespace case horizontalTab case lineBreak case paragraphBreak case containerBreak } |
Declaration | |
---|---|
From | case ContainerBreak |
To | case containerBreak |
Declaration | |
---|---|
From | case HorizontalTab |
To | case horizontalTab |
Modified NSControlCharacterAction.lineBreak
Declaration | |
---|---|
From | case LineBreak |
To | case lineBreak |
Declaration | |
---|---|
From | case ParagraphBreak |
To | case paragraphBreak |
Modified NSControlCharacterAction.whitespace
Declaration | |
---|---|
From | case Whitespace |
To | case whitespace |
Declaration | |
---|---|
From | case ZeroAdvancement |
To | case zeroAdvancement |
Modified NSController
Declaration | Protocols | |
---|---|---|
From | class NSController : NSObject, NSCoding { init() init?(coder coder: NSCoder) func objectDidBeginEditing(_ editor: AnyObject) func objectDidEndEditing(_ editor: AnyObject) func discardEditing() func commitEditing() -> Bool func commitEditingWithDelegate(_ delegate: AnyObject?, didCommitSelector didCommitSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) var editing: Bool { get } } | NSCoding |
To | class NSController : NSObject, NSCoding { init() init?(coder coder: NSCoder) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) var isEditing: Bool { get } func commitEditingAndReturnError() throws class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSController : CVarArg { } extension NSController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func commitEditingWithDelegate(_ delegate: AnyObject?, didCommitSelector didCommitSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSController.isEditing
Declaration | |
---|---|
From | var editing: Bool { get } |
To | var isEditing: Bool { get } |
Declaration | |
---|---|
From | func objectDidBeginEditing(_ editor: AnyObject) |
To | func objectDidBeginEditing(_ editor: Any) |
Declaration | |
---|---|
From | func objectDidEndEditing(_ editor: AnyObject) |
To | func objectDidEndEditing(_ editor: Any) |
Modified NSControlSize [enum]
Declaration | |
---|---|
From | enum NSControlSize : UInt { case RegularControlSize case SmallControlSize case MiniControlSize } |
To | enum NSControlSize : UInt { case regular case small case mini } |
Modified NSControlTextEditingDelegate
Declaration | |
---|---|
From | protocol NSControlTextEditingDelegate : NSObjectProtocol { optional func control(_ control: NSControl, textShouldBeginEditing fieldEditor: NSText) -> Bool optional func control(_ control: NSControl, textShouldEndEditing fieldEditor: NSText) -> Bool optional func control(_ control: NSControl, didFailToFormatString string: String, errorDescription error: String?) -> Bool optional func control(_ control: NSControl, didFailToValidatePartialString string: String, errorDescription error: String?) optional func control(_ control: NSControl, isValidObject obj: AnyObject) -> Bool optional func control(_ control: NSControl, textView textView: NSTextView, doCommandBySelector commandSelector: Selector) -> Bool optional func control(_ control: NSControl, textView textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String] } |
To | protocol NSControlTextEditingDelegate : NSObjectProtocol { optional func control(_ control: NSControl, textShouldBeginEditing fieldEditor: NSText) -> Bool optional func control(_ control: NSControl, textShouldEndEditing fieldEditor: NSText) -> Bool optional func control(_ control: NSControl, didFailToFormatString string: String, errorDescription error: String?) -> Bool optional func control(_ control: NSControl, didFailToValidatePartialString string: String, errorDescription error: String?) optional func control(_ control: NSControl, isValidObject obj: Any?) -> Bool optional func control(_ control: NSControl, textView textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool optional func control(_ control: NSControl, textView textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String] } |
Declaration | |
---|---|
From | optional func control(_ control: NSControl, isValidObject obj: AnyObject) -> Bool |
To | optional func control(_ control: NSControl, isValidObject obj: Any?) -> Bool |
Declaration | |
---|---|
From | optional func control(_ control: NSControl, textView textView: NSTextView, doCommandBySelector commandSelector: Selector) -> Bool |
To | optional func control(_ control: NSControl, textView textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool |
Modified NSControlTint [enum]
Declaration | |
---|---|
From | enum NSControlTint : UInt { case DefaultControlTint case BlueControlTint case GraphiteControlTint case ClearControlTint } |
To | enum NSControlTint : UInt { case defaultControlTint case blueControlTint case graphiteControlTint case clearControlTint } |
Modified NSControlTint.blueControlTint
Declaration | |
---|---|
From | case BlueControlTint |
To | case blueControlTint |
Modified NSControlTint.clearControlTint
Declaration | |
---|---|
From | case ClearControlTint |
To | case clearControlTint |
Modified NSControlTint.defaultControlTint
Declaration | |
---|---|
From | case DefaultControlTint |
To | case defaultControlTint |
Modified NSControlTint.graphiteControlTint
Declaration | |
---|---|
From | case GraphiteControlTint |
To | case graphiteControlTint |
Modified NSCorrectionIndicatorType [enum]
Declaration | |
---|---|
From | enum NSCorrectionIndicatorType : Int { case Default case Reversion case Guesses } |
To | enum NSCorrectionIndicatorType : Int { case `default` case reversion case guesses } |
Modified NSCorrectionIndicatorType.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSCorrectionIndicatorType.guesses
Declaration | |
---|---|
From | case Guesses |
To | case guesses |
Modified NSCorrectionIndicatorType.reversion
Declaration | |
---|---|
From | case Reversion |
To | case reversion |
Modified NSCorrectionResponse [enum]
Declaration | |
---|---|
From | enum NSCorrectionResponse : Int { case None case Accepted case Rejected case Ignored case Edited case Reverted } |
To | enum NSCorrectionResponse : Int { case none case accepted case rejected case ignored case edited case reverted } |
Modified NSCorrectionResponse.accepted
Declaration | |
---|---|
From | case Accepted |
To | case accepted |
Modified NSCorrectionResponse.edited
Declaration | |
---|---|
From | case Edited |
To | case edited |
Modified NSCorrectionResponse.ignored
Declaration | |
---|---|
From | case Ignored |
To | case ignored |
Modified NSCorrectionResponse.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSCorrectionResponse.rejected
Declaration | |
---|---|
From | case Rejected |
To | case rejected |
Modified NSCorrectionResponse.reverted
Declaration | |
---|---|
From | case Reverted |
To | case reverted |
Modified NSCursor
Declaration | Protocols | |
---|---|---|
From | class NSCursor : NSObject, NSCoding { class func currentCursor() -> NSCursor class func currentSystemCursor() -> NSCursor? class func arrowCursor() -> NSCursor class func IBeamCursor() -> NSCursor class func pointingHandCursor() -> NSCursor class func closedHandCursor() -> NSCursor class func openHandCursor() -> NSCursor class func resizeLeftCursor() -> NSCursor class func resizeRightCursor() -> NSCursor class func resizeLeftRightCursor() -> NSCursor class func resizeUpCursor() -> NSCursor class func resizeDownCursor() -> NSCursor class func resizeUpDownCursor() -> NSCursor class func crosshairCursor() -> NSCursor class func disappearingItemCursor() -> NSCursor class func operationNotAllowedCursor() -> NSCursor class func dragLinkCursor() -> NSCursor class func dragCopyCursor() -> NSCursor class func contextualMenuCursor() -> NSCursor class func IBeamCursorForVerticalLayout() -> NSCursor init(image newImage: NSImage, hotSpot aPoint: NSPoint) convenience init(image newImage: NSImage, foregroundColorHint fg: NSColor?, backgroundColorHint bg: NSColor?, hotSpot hotSpot: NSPoint) class func hide() class func unhide() class func setHiddenUntilMouseMoves(_ flag: Bool) class func pop() var image: NSImage { get } var hotSpot: NSPoint { get } func push() func pop() func set() func setOnMouseExited(_ flag: Bool) func setOnMouseEntered(_ flag: Bool) var setOnMouseExited: Bool { get } var setOnMouseEntered: Bool { get } func mouseEntered(_ theEvent: NSEvent) func mouseExited(_ theEvent: NSEvent) } extension NSCursor : _Reflectable { } extension NSCursor : _Reflectable { } | NSCoding |
To | class NSCursor : NSObject, NSCoding { class func current() -> NSCursor class func currentSystem() -> NSCursor? class func arrow() -> NSCursor class func iBeam() -> NSCursor class func pointingHand() -> NSCursor class func closedHand() -> NSCursor class func openHand() -> NSCursor class func resizeLeft() -> NSCursor class func resizeRight() -> NSCursor class func resizeLeftRight() -> NSCursor class func resizeUp() -> NSCursor class func resizeDown() -> NSCursor class func resizeUpDown() -> NSCursor class func crosshair() -> NSCursor class func disappearingItem() -> NSCursor class func operationNotAllowed() -> NSCursor class func dragLink() -> NSCursor class func dragCopy() -> NSCursor class func contextualMenu() -> NSCursor class func iBeamCursorForVerticalLayout() -> NSCursor init(image newImage: NSImage, hotSpot point: NSPoint) init(coder coder: NSCoder) convenience init(image newImage: NSImage, foregroundColorHint fg: NSColor?, backgroundColorHint bg: NSColor?, hotSpot hotSpot: NSPoint) class func hide() class func unhide() class func setHiddenUntilMouseMoves(_ flag: Bool) class func pop() var image: NSImage { get } var hotSpot: NSPoint { get } func push() func pop() func set() func setOnMouseExited(_ flag: Bool) func setOnMouseEntered(_ flag: Bool) var isSetOnMouseExited: Bool { get } var isSetOnMouseEntered: Bool { get } func mouseEntered(with event: NSEvent) func mouseExited(with event: NSEvent) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSCursor : CVarArg { } extension NSCursor : Equatable, Hashable { var hashValue: Int { get } } extension NSCursor { } | CVarArg, Equatable, Hashable, NSCoding |
Modified NSCursor.arrow() -> NSCursor [class]
Declaration | |
---|---|
From | class func arrowCursor() -> NSCursor |
To | class func arrow() -> NSCursor |
Declaration | |
---|---|
From | class func closedHandCursor() -> NSCursor |
To | class func closedHand() -> NSCursor |
Declaration | |
---|---|
From | class func contextualMenuCursor() -> NSCursor |
To | class func contextualMenu() -> NSCursor |
Declaration | |
---|---|
From | class func crosshairCursor() -> NSCursor |
To | class func crosshair() -> NSCursor |
Declaration | |
---|---|
From | class func currentCursor() -> NSCursor |
To | class func current() -> NSCursor |
Declaration | |
---|---|
From | class func currentSystemCursor() -> NSCursor? |
To | class func currentSystem() -> NSCursor? |
Declaration | |
---|---|
From | class func disappearingItemCursor() -> NSCursor |
To | class func disappearingItem() -> NSCursor |
Declaration | |
---|---|
From | class func dragCopyCursor() -> NSCursor |
To | class func dragCopy() -> NSCursor |
Declaration | |
---|---|
From | class func dragLinkCursor() -> NSCursor |
To | class func dragLink() -> NSCursor |
Modified NSCursor.iBeam() -> NSCursor [class]
Declaration | |
---|---|
From | class func IBeamCursor() -> NSCursor |
To | class func iBeam() -> NSCursor |
Declaration | |
---|---|
From | class func IBeamCursorForVerticalLayout() -> NSCursor |
To | class func iBeamCursorForVerticalLayout() -> NSCursor |
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.0 | OS X 10.12 |
Modified NSCursor.isSetOnMouseEntered
Declaration | |
---|---|
From | var setOnMouseEntered: Bool { get } |
To | var isSetOnMouseEntered: Bool { get } |
Modified NSCursor.isSetOnMouseExited
Declaration | |
---|---|
From | var setOnMouseExited: Bool { get } |
To | var isSetOnMouseExited: Bool { get } |
Modified NSCursor.mouseEntered(with: NSEvent)
Declaration | |
---|---|
From | func mouseEntered(_ theEvent: NSEvent) |
To | func mouseEntered(with event: NSEvent) |
Modified NSCursor.mouseExited(with: NSEvent)
Declaration | |
---|---|
From | func mouseExited(_ theEvent: NSEvent) |
To | func mouseExited(with event: NSEvent) |
Declaration | |
---|---|
From | class func openHandCursor() -> NSCursor |
To | class func openHand() -> NSCursor |
Declaration | |
---|---|
From | class func operationNotAllowedCursor() -> NSCursor |
To | class func operationNotAllowed() -> NSCursor |
Declaration | |
---|---|
From | class func pointingHandCursor() -> NSCursor |
To | class func pointingHand() -> NSCursor |
Declaration | |
---|---|
From | class func resizeDownCursor() -> NSCursor |
To | class func resizeDown() -> NSCursor |
Declaration | |
---|---|
From | class func resizeLeftCursor() -> NSCursor |
To | class func resizeLeft() -> NSCursor |
Declaration | |
---|---|
From | class func resizeLeftRightCursor() -> NSCursor |
To | class func resizeLeftRight() -> NSCursor |
Declaration | |
---|---|
From | class func resizeRightCursor() -> NSCursor |
To | class func resizeRight() -> NSCursor |
Declaration | |
---|---|
From | class func resizeUpCursor() -> NSCursor |
To | class func resizeUp() -> NSCursor |
Declaration | |
---|---|
From | class func resizeUpDownCursor() -> NSCursor |
To | class func resizeUpDown() -> NSCursor |
Modified NSCustomImageRep
Declaration | |
---|---|
From | class NSCustomImageRep : NSImageRep { init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: (NSRect) -> Bool) var drawingHandler: ((NSRect) -> Bool)? { get } init(drawSelector aMethod: Selector, delegate anObject: AnyObject) var drawSelector: Selector { get } unowned(unsafe) var delegate: AnyObject? { get } } |
To | class NSCustomImageRep : NSImageRep { init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: @escaping (NSRect) -> Bool) var drawingHandler: ((NSRect) -> Bool)? { get } init(draw selector: Selector, delegate delegate: Any) var drawSelector: Selector? { get } unowned(unsafe) var delegate: AnyObject? { get } } |
Modified NSCustomImageRep.drawSelector
Declaration | |
---|---|
From | var drawSelector: Selector { get } |
To | var drawSelector: Selector? { get } |
Declaration | |
---|---|
From | init(drawSelector aMethod: Selector, delegate anObject: AnyObject) |
To | init(draw selector: Selector, delegate delegate: Any) |
Declaration | |
---|---|
From | init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: (NSRect) -> Bool) |
To | init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: @escaping (NSRect) -> Bool) |
Modified NSDataAsset
Declaration | Protocols | |
---|---|---|
From | class NSDataAsset : NSObject, NSCopying { convenience init() convenience init?(name name: String) init?(name name: String, bundle bundle: NSBundle) var name: String { get } @NSCopying var data: NSData { get } var typeIdentifier: String { get } } | NSCopying |
To | class NSDataAsset : NSObject, NSCopying { convenience init() convenience init?(name name: String) init?(name name: String, bundle bundle: Bundle) var name: String { get } var data: Data { get } var typeIdentifier: String { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDataAsset : CVarArg { } extension NSDataAsset : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified NSDataAsset.data
Declaration | |
---|---|
From | @NSCopying var data: NSData { get } |
To | var data: Data { get } |
Declaration | |
---|---|
From | init?(name name: String, bundle bundle: NSBundle) |
To | init?(name name: String, bundle bundle: Bundle) |
Modified NSDatePicker
Declaration | Protocols | |
---|---|---|
From | class NSDatePicker : NSControl { var datePickerStyle: NSDatePickerStyle var bezeled: Bool var bordered: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor @NSCopying var textColor: NSColor var datePickerMode: NSDatePickerMode var datePickerElements: NSDatePickerElementFlags @NSCopying var calendar: NSCalendar? @NSCopying var locale: NSLocale? @NSCopying var timeZone: NSTimeZone? @NSCopying var dateValue: NSDate var timeInterval: NSTimeInterval @NSCopying var minDate: NSDate? @NSCopying var maxDate: NSDate? unowned(unsafe) var delegate: NSDatePickerCellDelegate? } | -- |
To | class NSDatePicker : NSControl { var datePickerStyle: NSDatePickerStyle var isBezeled: Bool var isBordered: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor @NSCopying var textColor: NSColor var datePickerMode: NSDatePickerMode var datePickerElements: NSDatePickerElementFlags var calendar: Calendar? var locale: Locale? var timeZone: TimeZone? var dateValue: Date var timeInterval: TimeInterval var minDate: Date? var maxDate: Date? unowned(unsafe) var delegate: NSDatePickerCellDelegate? func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDatePicker : CVarArg { } extension NSDatePicker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSDatePicker.calendar
Declaration | |
---|---|
From | @NSCopying var calendar: NSCalendar? |
To | var calendar: Calendar? |
Modified NSDatePicker.dateValue
Declaration | |
---|---|
From | @NSCopying var dateValue: NSDate |
To | var dateValue: Date |
Modified NSDatePicker.isBezeled
Declaration | |
---|---|
From | var bezeled: Bool |
To | var isBezeled: Bool |
Modified NSDatePicker.isBordered
Declaration | |
---|---|
From | var bordered: Bool |
To | var isBordered: Bool |
Modified NSDatePicker.locale
Declaration | |
---|---|
From | @NSCopying var locale: NSLocale? |
To | var locale: Locale? |
Modified NSDatePicker.maxDate
Declaration | |
---|---|
From | @NSCopying var maxDate: NSDate? |
To | var maxDate: Date? |
Modified NSDatePicker.minDate
Declaration | |
---|---|
From | @NSCopying var minDate: NSDate? |
To | var minDate: Date? |
Modified NSDatePicker.timeInterval
Declaration | |
---|---|
From | var timeInterval: NSTimeInterval |
To | var timeInterval: TimeInterval |
Modified NSDatePicker.timeZone
Declaration | |
---|---|
From | @NSCopying var timeZone: NSTimeZone? |
To | var timeZone: TimeZone? |
Modified NSDatePickerCell
Declaration | |
---|---|
From | class NSDatePickerCell : NSActionCell { var datePickerStyle: NSDatePickerStyle var drawsBackground: Bool @NSCopying var backgroundColor: NSColor @NSCopying var textColor: NSColor var datePickerMode: NSDatePickerMode var datePickerElements: NSDatePickerElementFlags @NSCopying var calendar: NSCalendar? @NSCopying var locale: NSLocale? @NSCopying var timeZone: NSTimeZone? @NSCopying var dateValue: NSDate var timeInterval: NSTimeInterval @NSCopying var minDate: NSDate? @NSCopying var maxDate: NSDate? unowned(unsafe) var delegate: NSDatePickerCellDelegate? } |
To | class NSDatePickerCell : NSActionCell { init(textCell string: String) init(coder coder: NSCoder) convenience init(imageCell image: NSImage?) var datePickerStyle: NSDatePickerStyle var drawsBackground: Bool @NSCopying var backgroundColor: NSColor @NSCopying var textColor: NSColor var datePickerMode: NSDatePickerMode var datePickerElements: NSDatePickerElementFlags var calendar: Calendar? var locale: Locale? var timeZone: TimeZone? var dateValue: Date var timeInterval: TimeInterval var minDate: Date? var maxDate: Date? unowned(unsafe) var delegate: NSDatePickerCellDelegate? } |
Modified NSDatePickerCell.calendar
Declaration | |
---|---|
From | @NSCopying var calendar: NSCalendar? |
To | var calendar: Calendar? |
Modified NSDatePickerCell.dateValue
Declaration | |
---|---|
From | @NSCopying var dateValue: NSDate |
To | var dateValue: Date |
Modified NSDatePickerCell.locale
Declaration | |
---|---|
From | @NSCopying var locale: NSLocale? |
To | var locale: Locale? |
Modified NSDatePickerCell.maxDate
Declaration | |
---|---|
From | @NSCopying var maxDate: NSDate? |
To | var maxDate: Date? |
Modified NSDatePickerCell.minDate
Declaration | |
---|---|
From | @NSCopying var minDate: NSDate? |
To | var minDate: Date? |
Modified NSDatePickerCell.timeInterval
Declaration | |
---|---|
From | var timeInterval: NSTimeInterval |
To | var timeInterval: TimeInterval |
Modified NSDatePickerCell.timeZone
Declaration | |
---|---|
From | @NSCopying var timeZone: NSTimeZone? |
To | var timeZone: TimeZone? |
Modified NSDatePickerCellDelegate
Declaration | |
---|---|
From | protocol NSDatePickerCellDelegate : NSObjectProtocol { optional func datePickerCell(_ aDatePickerCell: NSDatePickerCell, validateProposedDateValue proposedDateValue: AutoreleasingUnsafeMutablePointer<NSDate?>, timeInterval proposedTimeInterval: UnsafeMutablePointer<NSTimeInterval>) } |
To | protocol NSDatePickerCellDelegate : NSObjectProtocol { optional func datePickerCell(_ datePickerCell: NSDatePickerCell, validateProposedDateValue proposedDateValue: AutoreleasingUnsafeMutablePointer<NSDate>, timeInterval proposedTimeInterval: UnsafeMutablePointer<TimeInterval>?) } |
Declaration | |
---|---|
From | optional func datePickerCell(_ aDatePickerCell: NSDatePickerCell, validateProposedDateValue proposedDateValue: AutoreleasingUnsafeMutablePointer<NSDate?>, timeInterval proposedTimeInterval: UnsafeMutablePointer<NSTimeInterval>) |
To | optional func datePickerCell(_ datePickerCell: NSDatePickerCell, validateProposedDateValue proposedDateValue: AutoreleasingUnsafeMutablePointer<NSDate>, timeInterval proposedTimeInterval: UnsafeMutablePointer<TimeInterval>?) |
Modified NSDatePickerElementFlags [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSDatePickerElementFlags : OptionSetType { init(rawValue rawValue: UInt) static var HourMinuteDatePickerElementFlag: NSDatePickerElementFlags { get } static var HourMinuteSecondDatePickerElementFlag: NSDatePickerElementFlags { get } static var TimeZoneDatePickerElementFlag: NSDatePickerElementFlags { get } static var YearMonthDatePickerElementFlag: NSDatePickerElementFlags { get } static var YearMonthDayDatePickerElementFlag: NSDatePickerElementFlags { get } static var EraDatePickerElementFlag: NSDatePickerElementFlags { get } } | OptionSetType |
To | struct NSDatePickerElementFlags : OptionSet { init(rawValue rawValue: UInt) static var hourMinuteDatePickerElementFlag: NSDatePickerElementFlags { get } static var hourMinuteSecondDatePickerElementFlag: NSDatePickerElementFlags { get } static var timeZoneDatePickerElementFlag: NSDatePickerElementFlags { get } static var yearMonthDatePickerElementFlag: NSDatePickerElementFlags { get } static var yearMonthDayDatePickerElementFlag: NSDatePickerElementFlags { get } static var eraDatePickerElementFlag: NSDatePickerElementFlags { get } func intersect(_ other: NSDatePickerElementFlags) -> NSDatePickerElementFlags func exclusiveOr(_ other: NSDatePickerElementFlags) -> NSDatePickerElementFlags mutating func unionInPlace(_ other: NSDatePickerElementFlags) mutating func intersectInPlace(_ other: NSDatePickerElementFlags) mutating func exclusiveOrInPlace(_ other: NSDatePickerElementFlags) func isSubsetOf(_ other: NSDatePickerElementFlags) -> Bool func isDisjointWith(_ other: NSDatePickerElementFlags) -> Bool func isSupersetOf(_ other: NSDatePickerElementFlags) -> Bool mutating func subtractInPlace(_ other: NSDatePickerElementFlags) func isStrictSupersetOf(_ other: NSDatePickerElementFlags) -> Bool func isStrictSubsetOf(_ other: NSDatePickerElementFlags) -> Bool } extension NSDatePickerElementFlags { func union(_ other: NSDatePickerElementFlags) -> NSDatePickerElementFlags func intersection(_ other: NSDatePickerElementFlags) -> NSDatePickerElementFlags func symmetricDifference(_ other: NSDatePickerElementFlags) -> NSDatePickerElementFlags } extension NSDatePickerElementFlags { func contains(_ member: NSDatePickerElementFlags) -> Bool mutating func insert(_ newMember: NSDatePickerElementFlags) -> (inserted: Bool, memberAfterInsert: NSDatePickerElementFlags) mutating func remove(_ member: NSDatePickerElementFlags) -> NSDatePickerElementFlags? mutating func update(with newMember: NSDatePickerElementFlags) -> NSDatePickerElementFlags? } extension NSDatePickerElementFlags { convenience init() mutating func formUnion(_ other: NSDatePickerElementFlags) mutating func formIntersection(_ other: NSDatePickerElementFlags) mutating func formSymmetricDifference(_ other: NSDatePickerElementFlags) } extension NSDatePickerElementFlags { convenience init<S : Sequence where S.Iterator.Element == NSDatePickerElementFlags>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSDatePickerElementFlags...) mutating func subtract(_ other: NSDatePickerElementFlags) func isSubset(of other: NSDatePickerElementFlags) -> Bool func isSuperset(of other: NSDatePickerElementFlags) -> Bool func isDisjoint(with other: NSDatePickerElementFlags) -> Bool func subtracting(_ other: NSDatePickerElementFlags) -> NSDatePickerElementFlags var isEmpty: Bool { get } func isStrictSuperset(of other: NSDatePickerElementFlags) -> Bool func isStrictSubset(of other: NSDatePickerElementFlags) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var EraDatePickerElementFlag: NSDatePickerElementFlags { get } |
To | static var eraDatePickerElementFlag: NSDatePickerElementFlags { get } |
Declaration | |
---|---|
From | static var HourMinuteDatePickerElementFlag: NSDatePickerElementFlags { get } |
To | static var hourMinuteDatePickerElementFlag: NSDatePickerElementFlags { get } |
Declaration | |
---|---|
From | static var HourMinuteSecondDatePickerElementFlag: NSDatePickerElementFlags { get } |
To | static var hourMinuteSecondDatePickerElementFlag: NSDatePickerElementFlags { get } |
Declaration | |
---|---|
From | static var TimeZoneDatePickerElementFlag: NSDatePickerElementFlags { get } |
To | static var timeZoneDatePickerElementFlag: NSDatePickerElementFlags { get } |
Declaration | |
---|---|
From | static var YearMonthDatePickerElementFlag: NSDatePickerElementFlags { get } |
To | static var yearMonthDatePickerElementFlag: NSDatePickerElementFlags { get } |
Declaration | |
---|---|
From | static var YearMonthDayDatePickerElementFlag: NSDatePickerElementFlags { get } |
To | static var yearMonthDayDatePickerElementFlag: NSDatePickerElementFlags { get } |
Modified NSDatePickerMode [enum]
Declaration | |
---|---|
From | enum NSDatePickerMode : UInt { case SingleDateMode case RangeDateMode } |
To | enum NSDatePickerMode : UInt { case singleDateMode case rangeDateMode } |
Modified NSDatePickerMode.rangeDateMode
Declaration | |
---|---|
From | case RangeDateMode |
To | case rangeDateMode |
Modified NSDatePickerMode.singleDateMode
Declaration | |
---|---|
From | case SingleDateMode |
To | case singleDateMode |
Modified NSDatePickerStyle [enum]
Declaration | |
---|---|
From | enum NSDatePickerStyle : UInt { case TextFieldAndStepperDatePickerStyle case ClockAndCalendarDatePickerStyle case TextFieldDatePickerStyle } |
To | enum NSDatePickerStyle : UInt { case textFieldAndStepperDatePickerStyle case clockAndCalendarDatePickerStyle case textFieldDatePickerStyle } |
Declaration | |
---|---|
From | case ClockAndCalendarDatePickerStyle |
To | case clockAndCalendarDatePickerStyle |
Declaration | |
---|---|
From | case TextFieldAndStepperDatePickerStyle |
To | case textFieldAndStepperDatePickerStyle |
Declaration | |
---|---|
From | case TextFieldDatePickerStyle |
To | case textFieldDatePickerStyle |
Modified NSDictionaryController
Declaration | |
---|---|
From | class NSDictionaryController : NSArrayController { func newObject() -> NSDictionaryControllerKeyValuePair var initialKey: String var initialValue: AnyObject var includedKeys: [String] var excludedKeys: [String] var localizedKeyDictionary: [String : String] var localizedKeyTable: String? } |
To | class NSDictionaryController : NSArrayController { func newObject() -> NSDictionaryControllerKeyValuePair var initialKey: String var initialValue: Any var includedKeys: [String] var excludedKeys: [String] var localizedKeyDictionary: [String : String] var localizedKeyTable: String? } |
Modified NSDictionaryController.initialValue
Declaration | |
---|---|
From | var initialValue: AnyObject |
To | var initialValue: Any |
Modified NSDictionaryControllerKeyValuePair
Declaration | Protocols | |
---|---|---|
From | class NSDictionaryControllerKeyValuePair : NSObject { init() var key: String? var value: AnyObject? var localizedKey: String? var explicitlyIncluded: Bool { get } } | -- |
To | class NSDictionaryControllerKeyValuePair : NSObject { init() var key: String? var value: Any? var localizedKey: String? var isExplicitlyIncluded: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDictionaryControllerKeyValuePair : CVarArg { } extension NSDictionaryControllerKeyValuePair : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var explicitlyIncluded: Bool { get } |
To | var isExplicitlyIncluded: Bool { get } |
Declaration | |
---|---|
From | var value: AnyObject? |
To | var value: Any? |
Modified NSDockTile
Declaration | Protocols | |
---|---|---|
From | class NSDockTile : NSObject { var size: NSSize { get } var contentView: NSView? func display() var showsApplicationBadge: Bool var badgeLabel: String? unowned(unsafe) var owner: AnyObject { get } } | -- |
To | class NSDockTile : NSObject { var size: NSSize { get } var contentView: NSView? func display() var showsApplicationBadge: Bool var badgeLabel: String? unowned(unsafe) var owner: AnyObject { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDockTile : CVarArg { } extension NSDockTile : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSDocument
Declaration | Protocols | |
---|---|---|
From | class NSDocument : NSObject, NSFilePresenter, NSUserInterfaceValidations { init() convenience init(type typeName: String) throws class func canConcurrentlyReadDocumentsOfType(_ typeName: String) -> Bool convenience init(contentsOfURL url: NSURL, ofType typeName: String) throws convenience init(forURL urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String) throws var fileType: String? @NSCopying var fileURL: NSURL? @NSCopying var fileModificationDate: NSDate? var draft: Bool func performActivityWithSynchronousWaiting(_ waitSynchronously: Bool, usingBlock block: (() -> Void) -> Void) func continueActivityUsingBlock(_ block: () -> Void) func continueAsynchronousWorkOnMainThreadUsingBlock(_ block: () -> Void) func performSynchronousFileAccessUsingBlock(_ block: () -> Void) func performAsynchronousFileAccessUsingBlock(_ block: (() -> Void) -> Void) @IBAction func revertDocumentToSaved(_ sender: AnyObject?) func revertToContentsOfURL(_ url: NSURL, ofType typeName: String) throws func readFromURL(_ url: NSURL, ofType typeName: String) throws func readFromFileWrapper(_ fileWrapper: NSFileWrapper, ofType typeName: String) throws func readFromData(_ data: NSData, ofType typeName: String) throws var entireFileLoaded: Bool { get } func writeToURL(_ url: NSURL, ofType typeName: String) throws func fileWrapperOfType(_ typeName: String) throws -> NSFileWrapper func dataOfType(_ typeName: String) throws -> NSData func unblockUserInteraction() var autosavingIsImplicitlyCancellable: Bool { get } func writeSafelyToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType) throws func writeToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws func fileAttributesToWriteToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws -> [String : AnyObject] var keepBackupFile: Bool { get } @NSCopying var backupFileURL: NSURL? { get } @IBAction func saveDocument(_ sender: AnyObject?) @IBAction func saveDocumentAs(_ sender: AnyObject?) @IBAction func saveDocumentTo(_ sender: AnyObject?) func saveDocumentWithDelegate(_ delegate: AnyObject?, didSaveSelector didSaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func runModalSavePanelForSaveOperation(_ saveOperation: NSSaveOperationType, delegate delegate: AnyObject?, didSaveSelector didSaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) var shouldRunSavePanelWithAccessoryView: Bool { get } func prepareSavePanel(_ savePanel: NSSavePanel) -> Bool var fileNameExtensionWasHiddenInLastRunSavePanel: Bool { get } var fileTypeFromLastRunSavePanel: String? { get } func saveToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, delegate delegate: AnyObject?, didSaveSelector didSaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func saveToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, completionHandler completionHandler: (NSError?) -> Void) func canAsynchronouslyWriteToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType) -> Bool func checkAutosavingSafety() throws func scheduleAutosaving() var hasUnautosavedChanges: Bool { get } func autosaveDocumentWithDelegate(_ delegate: AnyObject?, didAutosaveSelector didAutosaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func autosaveWithImplicitCancellability(_ autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: (NSError?) -> Void) class func autosavesInPlace() -> Bool class func preservesVersions() -> Bool @IBAction func browseDocumentVersions(_ sender: AnyObject?) class func autosavesDrafts() -> Bool var autosavingFileType: String? { get } @NSCopying var autosavedContentsFileURL: NSURL? func canCloseDocumentWithDelegate(_ delegate: AnyObject, shouldCloseSelector shouldCloseSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func close() @IBAction func duplicateDocument(_ sender: AnyObject?) func duplicateDocumentWithDelegate(_ delegate: AnyObject?, didDuplicateSelector didDuplicateSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func duplicate() throws -> NSDocument @IBAction func renameDocument(_ sender: AnyObject?) @IBAction func moveDocumentToUbiquityContainer(_ sender: AnyObject?) @IBAction func moveDocument(_ sender: AnyObject?) func moveDocumentWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func moveToURL(_ url: NSURL, completionHandler completionHandler: ((NSError?) -> Void)?) @IBAction func lockDocument(_ sender: AnyObject?) @IBAction func unlockDocument(_ sender: AnyObject?) func lockDocumentWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func lockWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) func unlockDocumentWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func unlockWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) var locked: Bool { get } @IBAction func runPageLayout(_ sender: AnyObject?) func runModalPageLayoutWithPrintInfo(_ printInfo: NSPrintInfo, delegate delegate: AnyObject?, didRunSelector didRunSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func preparePageLayout(_ pageLayout: NSPageLayout) -> Bool func shouldChangePrintInfo(_ newPrintInfo: NSPrintInfo) -> Bool @NSCopying var printInfo: NSPrintInfo @IBAction func printDocument(_ sender: AnyObject?) func printDocumentWithSettings(_ printSettings: [String : AnyObject], showPrintPanel showPrintPanel: Bool, delegate delegate: AnyObject?, didPrintSelector didPrintSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func printOperationWithSettings(_ printSettings: [String : AnyObject]) throws -> NSPrintOperation func runModalPrintOperation(_ printOperation: NSPrintOperation, delegate delegate: AnyObject?, didRunSelector didRunSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) @IBAction func saveDocumentToPDF(_ sender: AnyObject?) var PDFPrintOperation: NSPrintOperation { get } var documentEdited: Bool { get } var inViewingMode: Bool { get } func updateChangeCount(_ change: NSDocumentChangeType) func changeCountTokenForSaveOperation(_ saveOperation: NSSaveOperationType) -> AnyObject func updateChangeCountWithToken(_ changeCountToken: AnyObject, forSaveOperation saveOperation: NSSaveOperationType) var undoManager: NSUndoManager? var hasUndoManager: Bool func presentError(_ error: NSError, modalForWindow window: NSWindow, delegate delegate: AnyObject?, didPresentSelector didPresentSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func presentError(_ error: NSError) -> Bool func willPresentError(_ error: NSError) -> NSError func willNotPresentError(_ error: NSError) func makeWindowControllers() var windowNibName: String? { get } func windowControllerWillLoadNib(_ windowController: NSWindowController) func windowControllerDidLoadNib(_ windowController: NSWindowController) func setWindow(_ window: NSWindow?) func addWindowController(_ windowController: NSWindowController) func removeWindowController(_ windowController: NSWindowController) func showWindows() var windowControllers: [NSWindowController] { get } func shouldCloseWindowController(_ windowController: NSWindowController, delegate delegate: AnyObject?, shouldCloseSelector shouldCloseSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func setDisplayName(_ displayNameOrNil: String?) var displayName: String { get } func defaultDraftName() -> String var windowForSheet: NSWindow? { get } class func readableTypes() -> [String] class func writableTypes() -> [String] class func isNativeType(_ type: String) -> Bool func writableTypesForSaveOperation(_ saveOperation: NSSaveOperationType) -> [String] func fileNameExtensionForType(_ typeName: String, saveOperation saveOperation: NSSaveOperationType) -> String? func validateUserInterfaceItem(_ anItem: NSValidatedUserInterfaceItem) -> Bool class func usesUbiquitousStorage() -> Bool } extension NSDocument { func saveToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType) throws func dataRepresentationOfType(_ type: String) -> NSData? func fileAttributesToWriteToFile(_ fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [NSObject : AnyObject]? func fileName() -> String? func fileWrapperRepresentationOfType(_ type: String) -> NSFileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) convenience init?(contentsOfURL url: NSURL, ofType typeName: String) func loadDataRepresentation(_ data: NSData, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: NSFileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func readFromFile(_ fileName: String, ofType type: String) -> Bool func readFromURL(_ url: NSURL, ofType type: String) -> Bool func revertToSavedFromFile(_ fileName: String, ofType type: String) -> Bool func revertToSavedFromURL(_ url: NSURL, ofType type: String) -> Bool func runModalPageLayoutWithPrintInfo(_ printInfo: NSPrintInfo) -> Int func saveToFile(_ fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: AnyObject?, didSaveSelector didSaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func setFileName(_ fileName: String?) func writeToFile(_ fileName: String, ofType type: String) -> Bool func writeToFile(_ fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func writeToURL(_ url: NSURL, ofType type: String) -> Bool func writeWithBackupToFile(_ fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool } extension NSDocument { var lastComponentOfFileName: String func handleSaveScriptCommand(_ command: NSScriptCommand) -> AnyObject? func handleCloseScriptCommand(_ command: NSCloseCommand) -> AnyObject? func handlePrintScriptCommand(_ command: NSScriptCommand) -> AnyObject? var objectSpecifier: NSScriptObjectSpecifier { get } } extension NSDocument { var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) } extension NSDocument { func restoreDocumentWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void) func encodeRestorableStateWithCoder(_ coder: NSCoder) func restoreStateWithCoder(_ coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } | NSFilePresenter, NSUserInterfaceValidations |
To | class NSDocument : NSObject, NSFilePresenter, NSUserInterfaceValidations { init() convenience init(type typeName: String) throws class func canConcurrentlyReadDocuments(ofType typeName: String) -> Bool convenience init(contentsOf url: URL, ofType typeName: String) throws convenience init(for urlOrNil: URL?, withContentsOf contentsURL: URL, ofType typeName: String) throws var fileType: String? var fileURL: URL? var fileModificationDate: Date? var isDraft: Bool func performActivity(withSynchronousWaiting waitSynchronously: Bool, using block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) func continueActivity(_ block: () -> Swift.Void) func continueAsynchronousWorkOnMainThread(_ block: @escaping () -> Swift.Void) func performSynchronousFileAccess(_ block: () -> Swift.Void) func performAsynchronousFileAccess(_ block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) @IBAction func revertToSaved(_ sender: Any?) func revert(toContentsOf url: URL, ofType typeName: String) throws func read(from url: URL, ofType typeName: String) throws func read(from fileWrapper: FileWrapper, ofType typeName: String) throws func read(from data: Data, ofType typeName: String) throws var isEntireFileLoaded: Bool { get } func write(to url: URL, ofType typeName: String) throws func fileWrapper(ofType typeName: String) throws -> FileWrapper func data(ofType typeName: String) throws -> Data func unblockUserInteraction() var autosavingIsImplicitlyCancellable: Bool { get } func writeSafely(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func write(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws func fileAttributesToWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws -> [String : Any] var keepBackupFile: Bool { get } var backupFileURL: URL? { get } @IBAction func save(_ sender: Any?) @IBAction func saveAs(_ sender: Any?) @IBAction func saveTo(_ sender: Any?) func save(withDelegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModalSavePanel(for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) var shouldRunSavePanelWithAccessoryView: Bool { get } func prepareSavePanel(_ savePanel: NSSavePanel) -> Bool var fileNameExtensionWasHiddenInLastRunSavePanel: Bool { get } var fileTypeFromLastRunSavePanel: String? { get } func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) func canAsynchronouslyWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) -> Bool func checkAutosavingSafety() throws func scheduleAutosaving() var hasUnautosavedChanges: Bool { get } func autosave(withDelegate delegate: Any?, didAutosave didAutosaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func autosave(withImplicitCancellability autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) class func autosavesInPlace() -> Bool class func preservesVersions() -> Bool @IBAction func browseVersions(_ sender: Any?) var isBrowsingVersions: Bool { get } func stopBrowsingVersions(completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) class func autosavesDrafts() -> Bool var autosavingFileType: String? { get } var autosavedContentsFileURL: URL? func canClose(withDelegate delegate: Any, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func close() @IBAction func duplicate(_ sender: Any?) func duplicate(withDelegate delegate: Any?, didDuplicate didDuplicateSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func duplicate() throws -> NSDocument @IBAction func rename(_ sender: Any?) @IBAction func moveToUbiquityContainer(_ sender: Any?) @IBAction func move(_ sender: Any?) func move(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func move(to url: URL, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) @IBAction func lock(_ sender: Any?) @IBAction func unlock(_ sender: Any?) func lock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func lock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func unlock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func unlock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) var isLocked: Bool { get } @IBAction func runPageLayout(_ sender: Any?) func runModalPageLayout(with printInfo: NSPrintInfo, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func preparePageLayout(_ pageLayout: NSPageLayout) -> Bool func shouldChangePrintInfo(_ newPrintInfo: NSPrintInfo) -> Bool @NSCopying var printInfo: NSPrintInfo @warn_unqualified_access @IBAction func print(_ sender: Any?) func print(withSettings printSettings: [String : Any], showPrintPanel showPrintPanel: Bool, delegate delegate: Any?, didPrint didPrintSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func printOperation(withSettings printSettings: [String : Any]) throws -> NSPrintOperation func runModalPrintOperation(_ printOperation: NSPrintOperation, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) @IBAction func saveToPDF(_ sender: Any?) var pdfPrintOperation: NSPrintOperation { get } var isDocumentEdited: Bool { get } var isInViewingMode: Bool { get } func updateChangeCount(_ change: NSDocumentChangeType) func changeCountToken(for saveOperation: NSSaveOperationType) -> Any func updateChangeCount(withToken changeCountToken: Any, for saveOperation: NSSaveOperationType) var undoManager: UndoManager? var hasUndoManager: Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func willNotPresentError(_ error: Error) func makeWindowControllers() var windowNibName: String? { get } func windowControllerWillLoadNib(_ windowController: NSWindowController) func windowControllerDidLoadNib(_ windowController: NSWindowController) func setWindow(_ window: NSWindow?) func addWindowController(_ windowController: NSWindowController) func removeWindowController(_ windowController: NSWindowController) func showWindows() var windowControllers: [NSWindowController] { get } func shouldCloseWindowController(_ windowController: NSWindowController, delegate delegate: Any?, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) var displayName: String! func defaultDraftName() -> String var windowForSheet: NSWindow? { get } class func readableTypes() -> [String] class func writableTypes() -> [String] class func isNativeType(_ type: String) -> Bool func writableTypes(for saveOperation: NSSaveOperationType) -> [String] func fileNameExtension(forType typeName: String, saveOperation saveOperation: NSSaveOperationType) -> String? func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool class func usesUbiquitousStorage() -> Bool func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func dataRepresentation(ofType type: String) -> Data? func fileAttributesToWrite(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [AnyHashable : Any]? func fileName() -> String? func fileWrapperRepresentation(ofType type: String) -> FileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) func loadDataRepresentation(_ data: Data, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: FileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func read(fromFile fileName: String, ofType type: String) -> Bool func read(from url: URL, ofType type: String) -> Bool func revertToSaved(fromFile fileName: String, ofType type: String) -> Bool func revertToSaved(from url: URL, ofType type: String) -> Bool func runModalPageLayout(with printInfo: NSPrintInfo) -> Int func save(toFile fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func setFileName(_ fileName: String?) func write(toFile fileName: String, ofType type: String) -> Bool func write(toFile fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func write(to url: URL, ofType type: String) -> Bool func writeWithBackup(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) var lastComponentOfFileName: String func handleSave(_ command: NSScriptCommand) -> Any? func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? var objectSpecifier: NSScriptObjectSpecifier { get } func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classCode: FourCharCode { get } var className: String { get } } extension NSDocument : CVarArg { } extension NSDocument : Equatable, Hashable { var hashValue: Int { get } } extension NSDocument { func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func dataRepresentation(ofType type: String) -> Data? func fileAttributesToWrite(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [AnyHashable : Any]? func fileName() -> String? func fileWrapperRepresentation(ofType type: String) -> FileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) func loadDataRepresentation(_ data: Data, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: FileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func read(fromFile fileName: String, ofType type: String) -> Bool func read(from url: URL, ofType type: String) -> Bool func revertToSaved(fromFile fileName: String, ofType type: String) -> Bool func revertToSaved(from url: URL, ofType type: String) -> Bool func runModalPageLayout(with printInfo: NSPrintInfo) -> Int func save(toFile fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func setFileName(_ fileName: String?) func write(toFile fileName: String, ofType type: String) -> Bool func write(toFile fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func write(to url: URL, ofType type: String) -> Bool func writeWithBackup(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool } extension NSDocument { var lastComponentOfFileName: String func handleSave(_ command: NSScriptCommand) -> Any? func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? var objectSpecifier: NSScriptObjectSpecifier { get } } extension NSDocument { var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) } extension NSDocument { func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } | CVarArg, Equatable, Hashable, NSFilePresenter, NSUserInterfaceValidations |
Declaration | |
---|---|
From | func autosaveDocumentWithDelegate(_ delegate: AnyObject?, didAutosaveSelector didAutosaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func autosave(withDelegate delegate: Any?, didAutosave didAutosaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSDocument.autosave(withImplicitCancellability: Bool, completionHandler: (Error?) -> Swift.Void)
Declaration | |
---|---|
From | func autosaveWithImplicitCancellability(_ autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: (NSError?) -> Void) |
To | func autosave(withImplicitCancellability autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
Modified NSDocument.autosavedContentsFileURL
Declaration | |
---|---|
From | @NSCopying var autosavedContentsFileURL: NSURL? |
To | var autosavedContentsFileURL: URL? |
Modified NSDocument.backupFileURL
Declaration | |
---|---|
From | @NSCopying var backupFileURL: NSURL? { get } |
To | var backupFileURL: URL? { get } |
Modified NSDocument.browseVersions(_: Any?)
Declaration | |
---|---|
From | @IBAction func browseDocumentVersions(_ sender: AnyObject?) |
To | @IBAction func browseVersions(_ sender: Any?) |
Modified NSDocument.canAsynchronouslyWrite(to: URL, ofType: String, for: NSSaveOperationType) -> Bool
Declaration | |
---|---|
From | func canAsynchronouslyWriteToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType) -> Bool |
To | func canAsynchronouslyWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) -> Bool |
Declaration | |
---|---|
From | func canCloseDocumentWithDelegate(_ delegate: AnyObject, shouldCloseSelector shouldCloseSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func canClose(withDelegate delegate: Any, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | class func canConcurrentlyReadDocumentsOfType(_ typeName: String) -> Bool |
To | class func canConcurrentlyReadDocuments(ofType typeName: String) -> Bool |
Declaration | |
---|---|
From | func changeCountTokenForSaveOperation(_ saveOperation: NSSaveOperationType) -> AnyObject |
To | func changeCountToken(for saveOperation: NSSaveOperationType) -> Any |
Declaration | |
---|---|
From | func continueActivityUsingBlock(_ block: () -> Void) |
To | func continueActivity(_ block: () -> Swift.Void) |
Declaration | |
---|---|
From | func continueAsynchronousWorkOnMainThreadUsingBlock(_ block: () -> Void) |
To | func continueAsynchronousWorkOnMainThread(_ block: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func dataOfType(_ typeName: String) throws -> NSData |
To | func data(ofType typeName: String) throws -> Data |
Modified NSDocument.displayName
Declaration | Readonly | |
---|---|---|
From | var displayName: String { get } | yes |
To | var displayName: String! | -- |
Modified NSDocument.duplicate(_: Any?)
Declaration | |
---|---|
From | @IBAction func duplicateDocument(_ sender: AnyObject?) |
To | @IBAction func duplicate(_ sender: Any?) |
Declaration | |
---|---|
From | func duplicateDocumentWithDelegate(_ delegate: AnyObject?, didDuplicateSelector didDuplicateSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func duplicate(withDelegate delegate: Any?, didDuplicate didDuplicateSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func encodeRestorableStateWithCoder(_ coder: NSCoder) |
To | func encodeRestorableState(with coder: NSCoder) |
Declaration | |
---|---|
From | func fileAttributesToWriteToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws -> [String : AnyObject] |
To | func fileAttributesToWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws -> [String : Any] |
Modified NSDocument.fileModificationDate
Declaration | |
---|---|
From | @NSCopying var fileModificationDate: NSDate? |
To | var fileModificationDate: Date? |
Modified NSDocument.fileNameExtension(forType: String, saveOperation: NSSaveOperationType) -> String?
Declaration | |
---|---|
From | func fileNameExtensionForType(_ typeName: String, saveOperation saveOperation: NSSaveOperationType) -> String? |
To | func fileNameExtension(forType typeName: String, saveOperation saveOperation: NSSaveOperationType) -> String? |
Modified NSDocument.fileURL
Declaration | |
---|---|
From | @NSCopying var fileURL: NSURL? |
To | var fileURL: URL? |
Declaration | |
---|---|
From | func fileWrapperOfType(_ typeName: String) throws -> NSFileWrapper |
To | func fileWrapper(ofType typeName: String) throws -> FileWrapper |
Declaration | |
---|---|
From | func handleCloseScriptCommand(_ command: NSCloseCommand) -> AnyObject? |
To | func handleClose(_ command: NSCloseCommand) -> Any? |
Declaration | |
---|---|
From | func handlePrintScriptCommand(_ command: NSScriptCommand) -> AnyObject? |
To | func handlePrint(_ command: NSScriptCommand) -> Any? |
Declaration | |
---|---|
From | func handleSaveScriptCommand(_ command: NSScriptCommand) -> AnyObject? |
To | func handleSave(_ command: NSScriptCommand) -> Any? |
Declaration | |
---|---|
From | convenience init(contentsOfURL url: NSURL, ofType typeName: String) throws |
To | convenience init(contentsOf url: URL, ofType typeName: String) throws |
Declaration | |
---|---|
From | convenience init(forURL urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String) throws |
To | convenience init(for urlOrNil: URL?, withContentsOf contentsURL: URL, ofType typeName: String) throws |
Modified NSDocument.isDocumentEdited
Declaration | |
---|---|
From | var documentEdited: Bool { get } |
To | var isDocumentEdited: Bool { get } |
Modified NSDocument.isDraft
Declaration | |
---|---|
From | var draft: Bool |
To | var isDraft: Bool |
Modified NSDocument.isEntireFileLoaded
Declaration | |
---|---|
From | var entireFileLoaded: Bool { get } |
To | var isEntireFileLoaded: Bool { get } |
Modified NSDocument.isInViewingMode
Declaration | |
---|---|
From | var inViewingMode: Bool { get } |
To | var isInViewingMode: Bool { get } |
Modified NSDocument.isLocked
Declaration | |
---|---|
From | var locked: Bool { get } |
To | var isLocked: Bool { get } |
Modified NSDocument.lock(_: Any?)
Declaration | |
---|---|
From | @IBAction func lockDocument(_ sender: AnyObject?) |
To | @IBAction func lock(_ sender: Any?) |
Declaration | |
---|---|
From | func lockDocumentWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) |
To | func lock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func lockWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) |
To | func lock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified NSDocument.move(_: Any?)
Declaration | |
---|---|
From | @IBAction func moveDocument(_ sender: AnyObject?) |
To | @IBAction func move(_ sender: Any?) |
Declaration | |
---|---|
From | func moveDocumentWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) |
To | func move(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func moveToURL(_ url: NSURL, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func move(to url: URL, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | @IBAction func moveDocumentToUbiquityContainer(_ sender: AnyObject?) |
To | @IBAction func moveToUbiquityContainer(_ sender: Any?) |
Modified NSDocument.pdfPrintOperation
Declaration | |
---|---|
From | var PDFPrintOperation: NSPrintOperation { get } |
To | var pdfPrintOperation: NSPrintOperation { get } |
Modified NSDocument.performActivity(withSynchronousWaiting: Bool, using: ( () -> Swift.Void) -> Swift.Void)
Declaration | |
---|---|
From | func performActivityWithSynchronousWaiting(_ waitSynchronously: Bool, usingBlock block: (() -> Void) -> Void) |
To | func performActivity(withSynchronousWaiting waitSynchronously: Bool, using block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) |
Declaration | |
---|---|
From | func performAsynchronousFileAccessUsingBlock(_ block: (() -> Void) -> Void) |
To | func performAsynchronousFileAccess(_ block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) |
Declaration | |
---|---|
From | func performSynchronousFileAccessUsingBlock(_ block: () -> Void) |
To | func performSynchronousFileAccess(_ block: () -> Swift.Void) |
Declaration | |
---|---|
From | func presentError(_ error: NSError) -> Bool |
To | func presentError(_ error: Error) -> Bool |
Declaration | |
---|---|
From | func presentError(_ error: NSError, modalForWindow window: NSWindow, delegate delegate: AnyObject?, didPresentSelector didPresentSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSDocument.print(_: Any?)
Declaration | |
---|---|
From | @IBAction func printDocument(_ sender: AnyObject?) |
To | @warn_unqualified_access @IBAction func print(_ sender: Any?) |
Declaration | |
---|---|
From | func printDocumentWithSettings(_ printSettings: [String : AnyObject], showPrintPanel showPrintPanel: Bool, delegate delegate: AnyObject?, didPrintSelector didPrintSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func print(withSettings printSettings: [String : Any], showPrintPanel showPrintPanel: Bool, delegate delegate: Any?, didPrint didPrintSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func printOperationWithSettings(_ printSettings: [String : AnyObject]) throws -> NSPrintOperation |
To | func printOperation(withSettings printSettings: [String : Any]) throws -> NSPrintOperation |
Declaration | |
---|---|
From | func readFromURL(_ url: NSURL, ofType typeName: String) throws |
To | func read(from url: URL, ofType typeName: String) throws |
Declaration | |
---|---|
From | func readFromData(_ data: NSData, ofType typeName: String) throws |
To | func read(from data: Data, ofType typeName: String) throws |
Declaration | |
---|---|
From | func readFromFileWrapper(_ fileWrapper: NSFileWrapper, ofType typeName: String) throws |
To | func read(from fileWrapper: FileWrapper, ofType typeName: String) throws |
Modified NSDocument.rename(_: Any?)
Declaration | |
---|---|
From | @IBAction func renameDocument(_ sender: AnyObject?) |
To | @IBAction func rename(_ sender: Any?) |
Declaration | |
---|---|
From | func restoreStateWithCoder(_ coder: NSCoder) |
To | func restoreState(with coder: NSCoder) |
Declaration | |
---|---|
From | func restoreDocumentWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void) |
To | func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) |
Declaration | |
---|---|
From | func revertToContentsOfURL(_ url: NSURL, ofType typeName: String) throws |
To | func revert(toContentsOf url: URL, ofType typeName: String) throws |
Modified NSDocument.revertToSaved(_: Any?)
Declaration | |
---|---|
From | @IBAction func revertDocumentToSaved(_ sender: AnyObject?) |
To | @IBAction func revertToSaved(_ sender: Any?) |
Declaration | |
---|---|
From | func runModalPageLayoutWithPrintInfo(_ printInfo: NSPrintInfo, delegate delegate: AnyObject?, didRunSelector didRunSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func runModalPageLayout(with printInfo: NSPrintInfo, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func runModalPrintOperation(_ printOperation: NSPrintOperation, delegate delegate: AnyObject?, didRunSelector didRunSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func runModalPrintOperation(_ printOperation: NSPrintOperation, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func runModalSavePanelForSaveOperation(_ saveOperation: NSSaveOperationType, delegate delegate: AnyObject?, didSaveSelector didSaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func runModalSavePanel(for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSDocument.runPageLayout(_: Any?)
Declaration | |
---|---|
From | @IBAction func runPageLayout(_ sender: AnyObject?) |
To | @IBAction func runPageLayout(_ sender: Any?) |
Modified NSDocument.save(_: Any?)
Declaration | |
---|---|
From | @IBAction func saveDocument(_ sender: AnyObject?) |
To | @IBAction func save(_ sender: Any?) |
Declaration | |
---|---|
From | func saveToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, completionHandler completionHandler: (NSError?) -> Void) |
To | func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
Declaration | |
---|---|
From | func saveToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, delegate delegate: AnyObject?, didSaveSelector didSaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSDocument.save(withDelegate: Any?, didSave: Selector?, contextInfo: UnsafeMutableRawPointer?)
Declaration | |
---|---|
From | func saveDocumentWithDelegate(_ delegate: AnyObject?, didSaveSelector didSaveSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func save(withDelegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSDocument.saveAs(_: Any?)
Declaration | |
---|---|
From | @IBAction func saveDocumentAs(_ sender: AnyObject?) |
To | @IBAction func saveAs(_ sender: Any?) |
Modified NSDocument.saveTo(_: Any?)
Declaration | |
---|---|
From | @IBAction func saveDocumentTo(_ sender: AnyObject?) |
To | @IBAction func saveTo(_ sender: Any?) |
Modified NSDocument.saveToPDF(_: Any?)
Declaration | |
---|---|
From | @IBAction func saveDocumentToPDF(_ sender: AnyObject?) |
To | @IBAction func saveToPDF(_ sender: Any?) |
Declaration | |
---|---|
From | func shouldCloseWindowController(_ windowController: NSWindowController, delegate delegate: AnyObject?, shouldCloseSelector shouldCloseSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func shouldCloseWindowController(_ windowController: NSWindowController, delegate delegate: Any?, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSDocument.undoManager
Declaration | |
---|---|
From | var undoManager: NSUndoManager? |
To | var undoManager: UndoManager? |
Modified NSDocument.unlock(_: Any?)
Declaration | |
---|---|
From | @IBAction func unlockDocument(_ sender: AnyObject?) |
To | @IBAction func unlock(_ sender: Any?) |
Declaration | |
---|---|
From | func unlockWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) |
To | func unlock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func unlockDocumentWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) |
To | func unlock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func updateChangeCountWithToken(_ changeCountToken: AnyObject, forSaveOperation saveOperation: NSSaveOperationType) |
To | func updateChangeCount(withToken changeCountToken: Any, for saveOperation: NSSaveOperationType) |
Declaration | |
---|---|
From | func willNotPresentError(_ error: NSError) |
To | func willNotPresentError(_ error: Error) |
Declaration | |
---|---|
From | func willPresentError(_ error: NSError) -> NSError |
To | func willPresentError(_ error: Error) -> Error |
Declaration | |
---|---|
From | func writableTypesForSaveOperation(_ saveOperation: NSSaveOperationType) -> [String] |
To | func writableTypes(for saveOperation: NSSaveOperationType) -> [String] |
Declaration | |
---|---|
From | func writeToURL(_ url: NSURL, ofType typeName: String) throws |
To | func write(to url: URL, ofType typeName: String) throws |
Declaration | |
---|---|
From | func writeToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws |
To | func write(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws |
Declaration | |
---|---|
From | func writeSafelyToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType) throws |
To | func writeSafely(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws |
Modified NSDocumentChangeType [enum]
Declaration | |
---|---|
From | enum NSDocumentChangeType : UInt { case ChangeDone case ChangeUndone case ChangeRedone case ChangeCleared case ChangeReadOtherContents case ChangeAutosaved case ChangeDiscardable } |
To | enum NSDocumentChangeType : UInt { case changeDone case changeUndone case changeRedone case changeCleared case changeReadOtherContents case changeAutosaved case changeDiscardable } |
Modified NSDocumentChangeType.changeAutosaved
Declaration | |
---|---|
From | case ChangeAutosaved |
To | case changeAutosaved |
Modified NSDocumentChangeType.changeCleared
Declaration | |
---|---|
From | case ChangeCleared |
To | case changeCleared |
Declaration | |
---|---|
From | case ChangeDiscardable |
To | case changeDiscardable |
Modified NSDocumentChangeType.changeDone
Declaration | |
---|---|
From | case ChangeDone |
To | case changeDone |
Declaration | |
---|---|
From | case ChangeReadOtherContents |
To | case changeReadOtherContents |
Modified NSDocumentChangeType.changeRedone
Declaration | |
---|---|
From | case ChangeRedone |
To | case changeRedone |
Modified NSDocumentChangeType.changeUndone
Declaration | |
---|---|
From | case ChangeUndone |
To | case changeUndone |
Modified NSDocumentController
Declaration | Protocols | |
---|---|---|
From | class NSDocumentController : NSObject, NSCoding, NSUserInterfaceValidations { class func sharedDocumentController() -> NSDocumentController init() init?(coder coder: NSCoder) var documents: [NSDocument] { get } var currentDocument: NSDocument? { get } var currentDirectory: String? { get } func documentForURL(_ url: NSURL) -> NSDocument? func documentForWindow(_ window: NSWindow) -> NSDocument? func addDocument(_ document: NSDocument) func removeDocument(_ document: NSDocument) @IBAction func newDocument(_ sender: AnyObject?) func openUntitledDocumentAndDisplay(_ displayDocument: Bool) throws -> NSDocument func makeUntitledDocumentOfType(_ typeName: String) throws -> NSDocument @IBAction func openDocument(_ sender: AnyObject?) func URLsFromRunningOpenPanel() -> [NSURL]? func runModalOpenPanel(_ openPanel: NSOpenPanel, forTypes types: [String]?) -> Int func beginOpenPanelWithCompletionHandler(_ completionHandler: ([NSURL]?) -> Void) func beginOpenPanel(_ openPanel: NSOpenPanel, forTypes inTypes: [String]?, completionHandler completionHandler: (Int) -> Void) func openDocumentWithContentsOfURL(_ url: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument?, Bool, NSError?) -> Void) func makeDocumentWithContentsOfURL(_ url: NSURL, ofType typeName: String) throws -> NSDocument func reopenDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument?, Bool, NSError?) -> Void) func makeDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String) throws -> NSDocument var autosavingDelay: NSTimeInterval @IBAction func saveAllDocuments(_ sender: AnyObject?) var hasEditedDocuments: Bool { get } func reviewUnsavedDocumentsWithAlertTitle(_ title: String?, cancellable cancellable: Bool, delegate delegate: AnyObject?, didReviewAllSelector didReviewAllSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func closeAllDocumentsWithDelegate(_ delegate: AnyObject?, didCloseAllSelector didCloseAllSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func duplicateDocumentWithContentsOfURL(_ url: NSURL, copying duplicateByCopying: Bool, displayName displayNameOrNil: String?) throws -> NSDocument func presentError(_ error: NSError, modalForWindow window: NSWindow, delegate delegate: AnyObject?, didPresentSelector didPresentSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func presentError(_ error: NSError) -> Bool func willPresentError(_ error: NSError) -> NSError var maximumRecentDocumentCount: Int { get } @IBAction func clearRecentDocuments(_ sender: AnyObject?) func noteNewRecentDocument(_ document: NSDocument) func noteNewRecentDocumentURL(_ url: NSURL) var recentDocumentURLs: [NSURL] { get } var defaultType: String? { get } func typeForContentsOfURL(_ url: NSURL) throws -> String var documentClassNames: [String] { get } func documentClassForType(_ typeName: String) -> AnyClass? func displayNameForType(_ typeName: String) -> String? func validateUserInterfaceItem(_ anItem: NSValidatedUserInterfaceItem) -> Bool } extension NSDocumentController { func openDocumentWithContentsOfURL(_ url: NSURL, display displayDocument: Bool) throws -> AnyObject func reopenDocumentForURL(_ url: NSURL?, withContentsOfURL contentsURL: NSURL) throws func fileExtensionsFromType(_ typeName: String) -> [AnyObject]? func typeFromFileExtension(_ fileNameExtensionOrHFSFileType: String) -> String? func documentForFileName(_ fileName: String) -> AnyObject? func fileNamesFromRunningOpenPanel() -> [AnyObject]? func makeDocumentWithContentsOfFile(_ fileName: String, ofType type: String) -> AnyObject? func makeDocumentWithContentsOfURL(_ url: NSURL, ofType type: String!) -> AnyObject? func makeUntitledDocumentOfType(_ type: String) -> AnyObject? func openDocumentWithContentsOfFile(_ fileName: String, display display: Bool) -> AnyObject? func openDocumentWithContentsOfURL(_ url: NSURL, display display: Bool) -> AnyObject? func openUntitledDocumentOfType(_ type: String, display display: Bool) -> AnyObject? func setShouldCreateUI(_ flag: Bool) func shouldCreateUI() -> Bool } extension NSDocumentController : NSWindowRestoration { } | NSCoding, NSUserInterfaceValidations, NSWindowRestoration |
To | class NSDocumentController : NSObject, NSCoding, NSUserInterfaceValidations { class func shared() -> NSDocumentController init() init?(coder coder: NSCoder) var documents: [NSDocument] { get } var currentDocument: NSDocument? { get } var currentDirectory: String? { get } func document(for url: URL) -> NSDocument? func document(for window: NSWindow) -> NSDocument? func addDocument(_ document: NSDocument) func removeDocument(_ document: NSDocument) @IBAction func newDocument(_ sender: Any?) func openUntitledDocumentAndDisplay(_ displayDocument: Bool) throws -> NSDocument func makeUntitledDocument(ofType typeName: String) throws -> NSDocument @IBAction func openDocument(_ sender: Any?) func urlsFromRunningOpenPanel() -> [URL]? func runModalOpenPanel(_ openPanel: NSOpenPanel, forTypes types: [String]?) -> Int func beginOpenPanel(completionHandler completionHandler: @escaping ([URL]?) -> Swift.Void) func beginOpenPanel(_ openPanel: NSOpenPanel, forTypes inTypes: [String]?, completionHandler completionHandler: @escaping (Int) -> Swift.Void) func openDocument(withContentsOf url: URL, display displayDocument: Bool, completionHandler completionHandler: @escaping (NSDocument?, Bool, Error?) -> Swift.Void) func makeDocument(withContentsOf url: URL, ofType typeName: String) throws -> NSDocument func reopenDocument(for urlOrNil: URL?, withContentsOf contentsURL: URL, display displayDocument: Bool, completionHandler completionHandler: @escaping (NSDocument?, Bool, Error?) -> Swift.Void) func makeDocument(for urlOrNil: URL?, withContentsOf contentsURL: URL, ofType typeName: String) throws -> NSDocument var autosavingDelay: TimeInterval @IBAction func saveAllDocuments(_ sender: Any?) var hasEditedDocuments: Bool { get } func reviewUnsavedDocuments(withAlertTitle title: String?, cancellable cancellable: Bool, delegate delegate: Any?, didReviewAllSelector didReviewAllSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func closeAllDocuments(withDelegate delegate: Any?, didCloseAllSelector didCloseAllSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func duplicateDocument(withContentsOf url: URL, copying duplicateByCopying: Bool, displayName displayNameOrNil: String?) throws -> NSDocument 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 var maximumRecentDocumentCount: Int { get } @IBAction func clearRecentDocuments(_ sender: Any?) func noteNewRecentDocument(_ document: NSDocument) func noteNewRecentDocumentURL(_ url: URL) var recentDocumentURLs: [URL] { get } var defaultType: String? { get } func typeForContents(of url: URL) throws -> String var documentClassNames: [String] { get } func documentClass(forType typeName: String) -> Swift.AnyClass? func displayName(forType typeName: String) -> String? func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool func openDocument(withContentsOf url: URL, display displayDocument: Bool) throws -> Any func reopenDocument(for url: URL?, withContentsOf contentsURL: URL) throws func fileExtensions(fromType typeName: String) -> [Any]? func type(fromFileExtension fileNameExtensionOrHFSFileType: String) -> String? func document(forFileName fileName: String) -> Any? func fileNamesFromRunningOpenPanel() -> [Any]? func makeDocument(withContentsOfFile fileName: String, ofType type: String) -> Any? func makeDocument(withContentsOf url: URL, ofType type: String!) -> Any? func makeUntitledDocument(ofType type: String) -> Any? func openDocument(withContentsOfFile fileName: String, display display: Bool) -> Any? func openDocument(withContentsOf url: URL, display display: Bool) -> Any? func openUntitledDocument(ofType type: String, display display: Bool) -> Any? func setShouldCreateUI(_ flag: Bool) func shouldCreateUI() -> Bool func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSDocumentController : CVarArg { } extension NSDocumentController : NSWindowRestoration { } extension NSDocumentController : Equatable, Hashable { var hashValue: Int { get } } extension NSDocumentController { func openDocument(withContentsOf url: URL, display displayDocument: Bool) throws -> Any func reopenDocument(for url: URL?, withContentsOf contentsURL: URL) throws func fileExtensions(fromType typeName: String) -> [Any]? func type(fromFileExtension fileNameExtensionOrHFSFileType: String) -> String? func document(forFileName fileName: String) -> Any? func fileNamesFromRunningOpenPanel() -> [Any]? func makeDocument(withContentsOfFile fileName: String, ofType type: String) -> Any? func makeDocument(withContentsOf url: URL, ofType type: String!) -> Any? func makeUntitledDocument(ofType type: String) -> Any? func openDocument(withContentsOfFile fileName: String, display display: Bool) -> Any? func openDocument(withContentsOf url: URL, display display: Bool) -> Any? func openUntitledDocument(ofType type: String, display display: Bool) -> Any? func setShouldCreateUI(_ flag: Bool) func shouldCreateUI() -> Bool } extension NSDocumentController : NSWindowRestoration { } | CVarArg, Equatable, Hashable, NSCoding, NSUserInterfaceValidations, NSWindowRestoration |
Modified NSDocumentController.autosavingDelay
Declaration | |
---|---|
From | var autosavingDelay: NSTimeInterval |
To | var autosavingDelay: TimeInterval |
Declaration | |
---|---|
From | func beginOpenPanel(_ openPanel: NSOpenPanel, forTypes inTypes: [String]?, completionHandler completionHandler: (Int) -> Void) |
To | func beginOpenPanel(_ openPanel: NSOpenPanel, forTypes inTypes: [String]?, completionHandler completionHandler: @escaping (Int) -> Swift.Void) |
Declaration | |
---|---|
From | func beginOpenPanelWithCompletionHandler(_ completionHandler: ([NSURL]?) -> Void) |
To | func beginOpenPanel(completionHandler completionHandler: @escaping ([URL]?) -> Swift.Void) |
Declaration | |
---|---|
From | @IBAction func clearRecentDocuments(_ sender: AnyObject?) |
To | @IBAction func clearRecentDocuments(_ sender: Any?) |
Declaration | |
---|---|
From | func closeAllDocumentsWithDelegate(_ delegate: AnyObject?, didCloseAllSelector didCloseAllSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func closeAllDocuments(withDelegate delegate: Any?, didCloseAllSelector didCloseAllSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func displayNameForType(_ typeName: String) -> String? |
To | func displayName(forType typeName: String) -> String? |
Declaration | |
---|---|
From | func documentForURL(_ url: NSURL) -> NSDocument? |
To | func document(for url: URL) -> NSDocument? |
Declaration | |
---|---|
From | func documentForWindow(_ window: NSWindow) -> NSDocument? |
To | func document(for window: NSWindow) -> NSDocument? |
Declaration | |
---|---|
From | func documentClassForType(_ typeName: String) -> AnyClass? |
To | func documentClass(forType typeName: String) -> Swift.AnyClass? |
Declaration | |
---|---|
From | func duplicateDocumentWithContentsOfURL(_ url: NSURL, copying duplicateByCopying: Bool, displayName displayNameOrNil: String?) throws -> NSDocument |
To | func duplicateDocument(withContentsOf url: URL, copying duplicateByCopying: Bool, displayName displayNameOrNil: String?) throws -> NSDocument |
Declaration | |
---|---|
From | func makeDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String) throws -> NSDocument |
To | func makeDocument(for urlOrNil: URL?, withContentsOf contentsURL: URL, ofType typeName: String) throws -> NSDocument |
Modified NSDocumentController.makeDocument(withContentsOf: URL, ofType: String) throws -> NSDocument
Declaration | |
---|---|
From | func makeDocumentWithContentsOfURL(_ url: NSURL, ofType typeName: String) throws -> NSDocument |
To | func makeDocument(withContentsOf url: URL, ofType typeName: String) throws -> NSDocument |
Declaration | |
---|---|
From | func makeUntitledDocumentOfType(_ typeName: String) throws -> NSDocument |
To | func makeUntitledDocument(ofType typeName: String) throws -> NSDocument |
Declaration | |
---|---|
From | @IBAction func newDocument(_ sender: AnyObject?) |
To | @IBAction func newDocument(_ sender: Any?) |
Declaration | |
---|---|
From | func noteNewRecentDocumentURL(_ url: NSURL) |
To | func noteNewRecentDocumentURL(_ url: URL) |
Declaration | |
---|---|
From | @IBAction func openDocument(_ sender: AnyObject?) |
To | @IBAction func openDocument(_ sender: Any?) |
Declaration | |
---|---|
From | func openDocumentWithContentsOfURL(_ url: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument?, Bool, NSError?) -> Void) |
To | func openDocument(withContentsOf url: URL, display displayDocument: Bool, completionHandler completionHandler: @escaping (NSDocument?, Bool, Error?) -> Swift.Void) |
Declaration | |
---|---|
From | func presentError(_ error: NSError) -> Bool |
To | func presentError(_ error: Error) -> Bool |
Declaration | |
---|---|
From | func presentError(_ error: NSError, modalForWindow window: NSWindow, delegate delegate: AnyObject?, didPresentSelector didPresentSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | var recentDocumentURLs: [NSURL] { get } |
To | var recentDocumentURLs: [URL] { get } |
Declaration | |
---|---|
From | func reopenDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument?, Bool, NSError?) -> Void) |
To | func reopenDocument(for urlOrNil: URL?, withContentsOf contentsURL: URL, display displayDocument: Bool, completionHandler completionHandler: @escaping (NSDocument?, Bool, Error?) -> Swift.Void) |
Declaration | |
---|---|
From | func reviewUnsavedDocumentsWithAlertTitle(_ title: String?, cancellable cancellable: Bool, delegate delegate: AnyObject?, didReviewAllSelector didReviewAllSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func reviewUnsavedDocuments(withAlertTitle title: String?, cancellable cancellable: Bool, delegate delegate: Any?, didReviewAllSelector didReviewAllSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | @IBAction func saveAllDocuments(_ sender: AnyObject?) |
To | @IBAction func saveAllDocuments(_ sender: Any?) |
Declaration | |
---|---|
From | class func sharedDocumentController() -> NSDocumentController |
To | class func shared() -> NSDocumentController |
Declaration | |
---|---|
From | func typeForContentsOfURL(_ url: NSURL) throws -> String |
To | func typeForContents(of url: URL) throws -> String |
Declaration | |
---|---|
From | func URLsFromRunningOpenPanel() -> [NSURL]? |
To | func urlsFromRunningOpenPanel() -> [URL]? |
Declaration | |
---|---|
From | func willPresentError(_ error: NSError) -> NSError |
To | func willPresentError(_ error: Error) -> Error |
Modified NSDraggingContext [enum]
Declaration | |
---|---|
From | enum NSDraggingContext : Int { case OutsideApplication case WithinApplication } |
To | enum NSDraggingContext : Int { case outsideApplication case withinApplication } |
Modified NSDraggingContext.outsideApplication
Declaration | |
---|---|
From | case OutsideApplication |
To | case outsideApplication |
Modified NSDraggingContext.withinApplication
Declaration | |
---|---|
From | case WithinApplication |
To | case withinApplication |
Modified NSDraggingFormation [enum]
Declaration | |
---|---|
From | enum NSDraggingFormation : Int { case Default case None case Pile case List case Stack } |
To | enum NSDraggingFormation : Int { case `default` case none case pile case list case stack } |
Modified NSDraggingFormation.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSDraggingFormation.list
Declaration | |
---|---|
From | case List |
To | case list |
Modified NSDraggingFormation.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSDraggingFormation.pile
Declaration | |
---|---|
From | case Pile |
To | case pile |
Modified NSDraggingFormation.stack
Declaration | |
---|---|
From | case Stack |
To | case stack |
Modified NSDraggingImageComponent
Declaration | Protocols | |
---|---|---|
From | class NSDraggingImageComponent : NSObject { init(key key: String) class func draggingImageComponentWithKey(_ key: String) -> NSDraggingImageComponent init(key key: String) var key: String var contents: AnyObject? var frame: NSRect } | -- |
To | class NSDraggingImageComponent : NSObject { init(key key: String) class func withKey(_ key: String) -> NSDraggingImageComponent init(key key: String) convenience init() var key: String var contents: Any? var frame: NSRect func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDraggingImageComponent : CVarArg { } extension NSDraggingImageComponent : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSDraggingImageComponent.contents
Declaration | |
---|---|
From | var contents: AnyObject? |
To | var contents: Any? |
Modified NSDraggingInfo
Declaration | |
---|---|
From | protocol NSDraggingInfo : NSObjectProtocol { func draggingDestinationWindow() -> NSWindow? func draggingSourceOperationMask() -> NSDragOperation func draggingLocation() -> NSPoint func draggedImageLocation() -> NSPoint func draggedImage() -> NSImage? func draggingPasteboard() -> NSPasteboard func draggingSource() -> AnyObject? func draggingSequenceNumber() -> Int func slideDraggedImageTo(_ screenPoint: NSPoint) func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [String]? var draggingFormation: NSDraggingFormation { get set } var animatesToDestination: Bool { get set } var numberOfValidItemsForDrop: Int { get set } func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView, classes classArray: [AnyClass], searchOptions searchOptions: [String : AnyObject], usingBlock block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Void) var springLoadingHighlight: NSSpringLoadingHighlight { get } func resetSpringLoading() } |
To | protocol NSDraggingInfo : NSObjectProtocol { func draggingDestinationWindow() -> NSWindow? func draggingSourceOperationMask() -> NSDragOperation func draggingLocation() -> NSPoint func draggedImageLocation() -> NSPoint func draggedImage() -> NSImage? func draggingPasteboard() -> NSPasteboard func draggingSource() -> Any? func draggingSequenceNumber() -> Int func slideDraggedImage(to screenPoint: NSPoint) func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? var draggingFormation: NSDraggingFormation { get set } var animatesToDestination: Bool { get set } var numberOfValidItemsForDrop: Int { get set } func enumerateDraggingItems(options enumOpts: NSDraggingItemEnumerationOptions = [], for view: NSView?, classes classArray: [Swift.AnyClass], searchOptions searchOptions: [String : Any] = [:], using block: @escaping (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) var springLoadingHighlight: NSSpringLoadingHighlight { get } func resetSpringLoading() } |
Declaration | |
---|---|
From | func draggingSource() -> AnyObject? |
To | func draggingSource() -> Any? |
Declaration | |
---|---|
From | func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView, classes classArray: [AnyClass], searchOptions searchOptions: [String : AnyObject], usingBlock block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateDraggingItems(options enumOpts: NSDraggingItemEnumerationOptions = [], for view: NSView?, classes classArray: [Swift.AnyClass], searchOptions searchOptions: [String : Any] = [:], using block: @escaping (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [String]? |
To | func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? |
Declaration | |
---|---|
From | func slideDraggedImageTo(_ screenPoint: NSPoint) |
To | func slideDraggedImage(to screenPoint: NSPoint) |
Modified NSDraggingItem
Declaration | Protocols | |
---|---|---|
From | class NSDraggingItem : NSObject { init(pasteboardWriter pasteboardWriter: NSPasteboardWriting) var item: AnyObject { get } var draggingFrame: NSRect var imageComponentsProvider: (() -> [NSDraggingImageComponent])? func setDraggingFrame(_ frame: NSRect, contents contents: AnyObject) var imageComponents: [NSDraggingImageComponent]? { get } } | -- |
To | class NSDraggingItem : NSObject { init(pasteboardWriter pasteboardWriter: NSPasteboardWriting) convenience init() var item: Any { get } var draggingFrame: NSRect var imageComponentsProvider: (() -> [NSDraggingImageComponent])? func setDraggingFrame(_ frame: NSRect, contents contents: Any?) var imageComponents: [NSDraggingImageComponent]? { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDraggingItem : CVarArg { } extension NSDraggingItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSDraggingItem.item
Declaration | |
---|---|
From | var item: AnyObject { get } |
To | var item: Any { get } |
Declaration | |
---|---|
From | func setDraggingFrame(_ frame: NSRect, contents contents: AnyObject) |
To | func setDraggingFrame(_ frame: NSRect, contents contents: Any?) |
Declaration | Protocols | |
---|---|---|
From | struct NSDraggingItemEnumerationOptions : OptionSetType { init(rawValue rawValue: UInt) static var Concurrent: NSDraggingItemEnumerationOptions { get } static var ClearNonenumeratedImages: NSDraggingItemEnumerationOptions { get } } | OptionSetType |
To | struct NSDraggingItemEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var concurrent: NSDraggingItemEnumerationOptions { get } static var clearNonenumeratedImages: NSDraggingItemEnumerationOptions { get } func intersect(_ other: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions func exclusiveOr(_ other: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions mutating func unionInPlace(_ other: NSDraggingItemEnumerationOptions) mutating func intersectInPlace(_ other: NSDraggingItemEnumerationOptions) mutating func exclusiveOrInPlace(_ other: NSDraggingItemEnumerationOptions) func isSubsetOf(_ other: NSDraggingItemEnumerationOptions) -> Bool func isDisjointWith(_ other: NSDraggingItemEnumerationOptions) -> Bool func isSupersetOf(_ other: NSDraggingItemEnumerationOptions) -> Bool mutating func subtractInPlace(_ other: NSDraggingItemEnumerationOptions) func isStrictSupersetOf(_ other: NSDraggingItemEnumerationOptions) -> Bool func isStrictSubsetOf(_ other: NSDraggingItemEnumerationOptions) -> Bool } extension NSDraggingItemEnumerationOptions { func union(_ other: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions func intersection(_ other: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions func symmetricDifference(_ other: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions } extension NSDraggingItemEnumerationOptions { func contains(_ member: NSDraggingItemEnumerationOptions) -> Bool mutating func insert(_ newMember: NSDraggingItemEnumerationOptions) -> (inserted: Bool, memberAfterInsert: NSDraggingItemEnumerationOptions) mutating func remove(_ member: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions? mutating func update(with newMember: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions? } extension NSDraggingItemEnumerationOptions { convenience init() mutating func formUnion(_ other: NSDraggingItemEnumerationOptions) mutating func formIntersection(_ other: NSDraggingItemEnumerationOptions) mutating func formSymmetricDifference(_ other: NSDraggingItemEnumerationOptions) } extension NSDraggingItemEnumerationOptions { convenience init<S : Sequence where S.Iterator.Element == NSDraggingItemEnumerationOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSDraggingItemEnumerationOptions...) mutating func subtract(_ other: NSDraggingItemEnumerationOptions) func isSubset(of other: NSDraggingItemEnumerationOptions) -> Bool func isSuperset(of other: NSDraggingItemEnumerationOptions) -> Bool func isDisjoint(with other: NSDraggingItemEnumerationOptions) -> Bool func subtracting(_ other: NSDraggingItemEnumerationOptions) -> NSDraggingItemEnumerationOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSDraggingItemEnumerationOptions) -> Bool func isStrictSubset(of other: NSDraggingItemEnumerationOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ClearNonenumeratedImages: NSDraggingItemEnumerationOptions { get } |
To | static var clearNonenumeratedImages: NSDraggingItemEnumerationOptions { get } |
Declaration | |
---|---|
From | static var Concurrent: NSDraggingItemEnumerationOptions { get } |
To | static var concurrent: NSDraggingItemEnumerationOptions { get } |
Modified NSDraggingSession
Declaration | Protocols | |
---|---|---|
From | class NSDraggingSession : NSObject { var draggingFormation: NSDraggingFormation var animatesToStartingPositionsOnCancelOrFail: Bool var draggingLeaderIndex: Int var draggingPasteboard: NSPasteboard { get } var draggingSequenceNumber: Int { get } var draggingLocation: NSPoint { get } func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView?, classes classArray: [AnyClass], searchOptions searchOptions: [String : AnyObject], usingBlock block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Void) } | -- |
To | class NSDraggingSession : NSObject { var draggingFormation: NSDraggingFormation var animatesToStartingPositionsOnCancelOrFail: Bool var draggingLeaderIndex: Int var draggingPasteboard: NSPasteboard { get } var draggingSequenceNumber: Int { get } var draggingLocation: NSPoint { get } func enumerateDraggingItems(options enumOpts: NSDraggingItemEnumerationOptions = [], for view: NSView?, classes classArray: [Swift.AnyClass], searchOptions searchOptions: [String : Any] = [:], using block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDraggingSession : CVarArg { } extension NSDraggingSession : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView?, classes classArray: [AnyClass], searchOptions searchOptions: [String : AnyObject], usingBlock block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateDraggingItems(options enumOpts: NSDraggingItemEnumerationOptions = [], for view: NSView?, classes classArray: [Swift.AnyClass], searchOptions searchOptions: [String : Any] = [:], using block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Modified NSDraggingSource
Declaration | |
---|---|
From | protocol NSDraggingSource : NSObjectProtocol { func draggingSession(_ session: NSDraggingSession, sourceOperationMaskForDraggingContext context: NSDraggingContext) -> NSDragOperation optional func draggingSession(_ session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint) optional func draggingSession(_ session: NSDraggingSession, movedToPoint screenPoint: NSPoint) optional func draggingSession(_ session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, operation operation: NSDragOperation) optional func ignoreModifierKeysForDraggingSession(_ session: NSDraggingSession) -> Bool } |
To | protocol NSDraggingSource : NSObjectProtocol { func draggingSession(_ session: NSDraggingSession, sourceOperationMaskFor context: NSDraggingContext) -> NSDragOperation optional func draggingSession(_ session: NSDraggingSession, willBeginAt screenPoint: NSPoint) optional func draggingSession(_ session: NSDraggingSession, movedTo screenPoint: NSPoint) optional func draggingSession(_ session: NSDraggingSession, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) optional func ignoreModifierKeys(for session: NSDraggingSession) -> Bool } |
Modified NSDraggingSource.draggingSession(_: NSDraggingSession, endedAt: NSPoint, operation: NSDragOperation)
Declaration | |
---|---|
From | optional func draggingSession(_ session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, operation operation: NSDragOperation) |
To | optional func draggingSession(_ session: NSDraggingSession, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) |
Declaration | |
---|---|
From | optional func draggingSession(_ session: NSDraggingSession, movedToPoint screenPoint: NSPoint) |
To | optional func draggingSession(_ session: NSDraggingSession, movedTo screenPoint: NSPoint) |
Declaration | |
---|---|
From | func draggingSession(_ session: NSDraggingSession, sourceOperationMaskForDraggingContext context: NSDraggingContext) -> NSDragOperation |
To | func draggingSession(_ session: NSDraggingSession, sourceOperationMaskFor context: NSDraggingContext) -> NSDragOperation |
Declaration | |
---|---|
From | optional func draggingSession(_ session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint) |
To | optional func draggingSession(_ session: NSDraggingSession, willBeginAt screenPoint: NSPoint) |
Declaration | |
---|---|
From | optional func ignoreModifierKeysForDraggingSession(_ session: NSDraggingSession) -> Bool |
To | optional func ignoreModifierKeys(for session: NSDraggingSession) -> Bool |
Modified NSDragOperation [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSDragOperation : OptionSetType { init(rawValue rawValue: UInt) static var None: NSDragOperation { get } static var Copy: NSDragOperation { get } static var Link: NSDragOperation { get } static var Generic: NSDragOperation { get } static var Private: NSDragOperation { get } static var Move: NSDragOperation { get } static var Delete: NSDragOperation { get } static var Every: NSDragOperation { get } static var All_Obsolete: NSDragOperation { get } static var All: NSDragOperation { get } } | OptionSetType |
To | struct NSDragOperation : OptionSet { init(rawValue rawValue: UInt) static var none: NSDragOperation { get } static var copy: NSDragOperation { get } static var link: NSDragOperation { get } static var generic: NSDragOperation { get } static var `private`: NSDragOperation { get } static var move: NSDragOperation { get } static var delete: NSDragOperation { get } static var every: NSDragOperation { get } static var all_Obsolete: NSDragOperation { get } static var all: NSDragOperation { get } func intersect(_ other: NSDragOperation) -> NSDragOperation func exclusiveOr(_ other: NSDragOperation) -> NSDragOperation mutating func unionInPlace(_ other: NSDragOperation) mutating func intersectInPlace(_ other: NSDragOperation) mutating func exclusiveOrInPlace(_ other: NSDragOperation) func isSubsetOf(_ other: NSDragOperation) -> Bool func isDisjointWith(_ other: NSDragOperation) -> Bool func isSupersetOf(_ other: NSDragOperation) -> Bool mutating func subtractInPlace(_ other: NSDragOperation) func isStrictSupersetOf(_ other: NSDragOperation) -> Bool func isStrictSubsetOf(_ other: NSDragOperation) -> Bool } extension NSDragOperation { func union(_ other: NSDragOperation) -> NSDragOperation func intersection(_ other: NSDragOperation) -> NSDragOperation func symmetricDifference(_ other: NSDragOperation) -> NSDragOperation } extension NSDragOperation { func contains(_ member: NSDragOperation) -> Bool mutating func insert(_ newMember: NSDragOperation) -> (inserted: Bool, memberAfterInsert: NSDragOperation) mutating func remove(_ member: NSDragOperation) -> NSDragOperation? mutating func update(with newMember: NSDragOperation) -> NSDragOperation? } extension NSDragOperation { convenience init() mutating func formUnion(_ other: NSDragOperation) mutating func formIntersection(_ other: NSDragOperation) mutating func formSymmetricDifference(_ other: NSDragOperation) } extension NSDragOperation { convenience init<S : Sequence where S.Iterator.Element == NSDragOperation>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSDragOperation...) mutating func subtract(_ other: NSDragOperation) func isSubset(of other: NSDragOperation) -> Bool func isSuperset(of other: NSDragOperation) -> Bool func isDisjoint(with other: NSDragOperation) -> Bool func subtracting(_ other: NSDragOperation) -> NSDragOperation var isEmpty: Bool { get } func isStrictSuperset(of other: NSDragOperation) -> Bool func isStrictSubset(of other: NSDragOperation) -> Bool } | OptionSet |
Modified NSDragOperation.all
Declaration | |
---|---|
From | static var All: NSDragOperation { get } |
To | static var all: NSDragOperation { get } |
Modified NSDragOperation.all_Obsolete
Declaration | |
---|---|
From | static var All_Obsolete: NSDragOperation { get } |
To | static var all_Obsolete: NSDragOperation { get } |
Modified NSDragOperation.copy
Declaration | |
---|---|
From | static var Copy: NSDragOperation { get } |
To | static var copy: NSDragOperation { get } |
Modified NSDragOperation.delete
Declaration | |
---|---|
From | static var Delete: NSDragOperation { get } |
To | static var delete: NSDragOperation { get } |
Modified NSDragOperation.every
Declaration | |
---|---|
From | static var Every: NSDragOperation { get } |
To | static var every: NSDragOperation { get } |
Modified NSDragOperation.generic
Declaration | |
---|---|
From | static var Generic: NSDragOperation { get } |
To | static var generic: NSDragOperation { get } |
Modified NSDragOperation.link
Declaration | |
---|---|
From | static var Link: NSDragOperation { get } |
To | static var link: NSDragOperation { get } |
Modified NSDragOperation.move
Declaration | |
---|---|
From | static var Move: NSDragOperation { get } |
To | static var move: NSDragOperation { get } |
Modified NSDragOperation.private
Declaration | |
---|---|
From | static var Private: NSDragOperation { get } |
To | static var `private`: NSDragOperation { get } |
Modified NSDrawer
Declaration | Protocols | |
---|---|---|
From | class NSDrawer : NSResponder, NSAccessibilityElementProtocol, NSAccessibility { init(contentSize contentSize: NSSize, preferredEdge edge: NSRectEdge) unowned(unsafe) var parentWindow: NSWindow? var contentView: NSView? var preferredEdge: NSRectEdge unowned(unsafe) var delegate: NSDrawerDelegate? func open() func openOnEdge(_ edge: NSRectEdge) func close() func open(_ sender: AnyObject?) func close(_ sender: AnyObject?) func toggle(_ sender: AnyObject?) var state: Int { get } var edge: NSRectEdge { get } var contentSize: NSSize var minContentSize: NSSize var maxContentSize: NSSize var leadingOffset: CGFloat var trailingOffset: CGFloat } | NSAccessibility, NSAccessibilityElementProtocol |
To | class NSDrawer : NSResponder, NSAccessibilityElementProtocol, NSAccessibility { init(contentSize contentSize: NSSize, preferredEdge edge: NSRectEdge) unowned(unsafe) var parentWindow: NSWindow? var contentView: NSView? var preferredEdge: NSRectEdge unowned(unsafe) var delegate: NSDrawerDelegate? func open() func open(on edge: NSRectEdge) func close() func open(_ sender: Any?) func close(_ sender: Any?) func toggle(_ sender: Any?) var state: Int { get } var edge: NSRectEdge { get } var contentSize: NSSize var minContentSize: NSSize var maxContentSize: NSSize var leadingOffset: CGFloat var trailingOffset: CGFloat func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDrawer : CVarArg { } extension NSDrawer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol |
Modified NSDrawer.close(_: Any?)
Declaration | |
---|---|
From | func close(_ sender: AnyObject?) |
To | func close(_ sender: Any?) |
Modified NSDrawer.open(_: Any?)
Declaration | |
---|---|
From | func open(_ sender: AnyObject?) |
To | func open(_ sender: Any?) |
Modified NSDrawer.open(on: NSRectEdge)
Declaration | |
---|---|
From | func openOnEdge(_ edge: NSRectEdge) |
To | func open(on edge: NSRectEdge) |
Modified NSDrawer.toggle(_: Any?)
Declaration | |
---|---|
From | func toggle(_ sender: AnyObject?) |
To | func toggle(_ sender: Any?) |
Modified NSDrawerDelegate
Declaration | |
---|---|
From | protocol NSDrawerDelegate : NSObjectProtocol { optional func drawerShouldOpen(_ sender: NSDrawer) -> Bool optional func drawerShouldClose(_ sender: NSDrawer) -> Bool optional func drawerWillResizeContents(_ sender: NSDrawer, toSize contentSize: NSSize) -> NSSize optional func drawerWillOpen(_ notification: NSNotification) optional func drawerDidOpen(_ notification: NSNotification) optional func drawerWillClose(_ notification: NSNotification) optional func drawerDidClose(_ notification: NSNotification) } |
To | protocol NSDrawerDelegate : NSObjectProtocol { optional func drawerShouldOpen(_ sender: NSDrawer) -> Bool optional func drawerShouldClose(_ sender: NSDrawer) -> Bool optional func drawerWillResizeContents(_ sender: NSDrawer, to contentSize: NSSize) -> NSSize optional func drawerWillOpen(_ notification: Notification) optional func drawerDidOpen(_ notification: Notification) optional func drawerWillClose(_ notification: Notification) optional func drawerDidClose(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func drawerDidClose(_ notification: NSNotification) |
To | optional func drawerDidClose(_ notification: Notification) |
Declaration | |
---|---|
From | optional func drawerDidOpen(_ notification: NSNotification) |
To | optional func drawerDidOpen(_ notification: Notification) |
Declaration | |
---|---|
From | optional func drawerWillClose(_ notification: NSNotification) |
To | optional func drawerWillClose(_ notification: Notification) |
Declaration | |
---|---|
From | optional func drawerWillOpen(_ notification: NSNotification) |
To | optional func drawerWillOpen(_ notification: Notification) |
Declaration | |
---|---|
From | optional func drawerWillResizeContents(_ sender: NSDrawer, toSize contentSize: NSSize) -> NSSize |
To | optional func drawerWillResizeContents(_ sender: NSDrawer, to contentSize: NSSize) -> NSSize |
Modified NSDrawerState [enum]
Declaration | |
---|---|
From | enum NSDrawerState : UInt { case ClosedState case OpeningState case OpenState case ClosingState } |
To | enum NSDrawerState : UInt { case closedState case openingState case openState case closingState } |
Modified NSDrawerState.closedState
Declaration | |
---|---|
From | case ClosedState |
To | case closedState |
Modified NSDrawerState.closingState
Declaration | |
---|---|
From | case ClosingState |
To | case closingState |
Modified NSDrawerState.openingState
Declaration | |
---|---|
From | case OpeningState |
To | case openingState |
Modified NSDrawerState.openState
Declaration | |
---|---|
From | case OpenState |
To | case openState |
Modified NSEPSImageRep
Declaration | |
---|---|
From | class NSEPSImageRep : NSImageRep { convenience init?(data epsData: NSData) class func imageRepWithData(_ epsData: NSData) -> Self? init?(data epsData: NSData) func prepareGState() @NSCopying var EPSRepresentation: NSData { get } var boundingBox: NSRect { get } } |
To | class NSEPSImageRep : NSImageRep { convenience init?(data epsData: Data) class func withData(_ epsData: Data) -> Self? init?(data epsData: Data) func prepareGState() var epsRepresentation: Data { get } var boundingBox: NSRect { get } } |
Modified NSEPSImageRep.epsRepresentation
Declaration | |
---|---|
From | @NSCopying var EPSRepresentation: NSData { get } |
To | var epsRepresentation: Data { get } |
Modified NSEPSImageRep.init(data: Data)
Declaration | |
---|---|
From | init?(data epsData: NSData) |
To | init?(data epsData: Data) |
Modified NSEvent
Declaration | Protocols | |
---|---|---|
From | class NSEvent : NSObject, NSCopying, NSCoding { var type: NSEventType { get } var modifierFlags: NSEventModifierFlags { get } var timestamp: NSTimeInterval { get } unowned(unsafe) var window: NSWindow? { get } var windowNumber: Int { get } var context: NSGraphicsContext? { get } var clickCount: Int { get } var buttonNumber: Int { get } var eventNumber: Int { get } var pressure: Float { get } var locationInWindow: NSPoint { get } var deltaX: CGFloat { get } var deltaY: CGFloat { get } var deltaZ: CGFloat { get } var hasPreciseScrollingDeltas: Bool { get } var scrollingDeltaX: CGFloat { get } var scrollingDeltaY: CGFloat { get } var momentumPhase: NSEventPhase { get } var directionInvertedFromDevice: Bool { get } var characters: String? { get } var charactersIgnoringModifiers: String? { get } var ARepeat: Bool { get } var keyCode: UInt16 { get } var trackingNumber: Int { get } var userData: UnsafeMutablePointer<Void> { get } var trackingArea: NSTrackingArea? { get } var subtype: NSEventSubtype { get } var data1: Int { get } var data2: Int { get } var eventRef: UnsafePointer<Void> { get } init?(eventRef eventRef: UnsafePointer<Void>) class func eventWithEventRef(_ eventRef: UnsafePointer<Void>) -> NSEvent? var CGEvent: CGEvent? { get } init?(CGEvent cgEvent: CGEvent) class func eventWithCGEvent(_ cgEvent: CGEvent) -> NSEvent? class func setMouseCoalescingEnabled(_ flag: Bool) class func isMouseCoalescingEnabled() -> Bool var magnification: CGFloat { get } var deviceID: Int { get } var rotation: Float { get } var absoluteX: Int { get } var absoluteY: Int { get } var absoluteZ: Int { get } var buttonMask: NSEventButtonMask { get } var tilt: NSPoint { get } var tangentialPressure: Float { get } var vendorDefined: AnyObject { get } var vendorID: Int { get } var tabletID: Int { get } var pointingDeviceID: Int { get } var systemTabletID: Int { get } var vendorPointingDeviceType: Int { get } var pointingDeviceSerialNumber: Int { get } var uniqueID: UInt64 { get } var capabilityMask: Int { get } var pointingDeviceType: NSPointingDeviceType { get } var enteringProximity: Bool { get } func touchesMatchingPhase(_ phase: NSTouchPhase, inView view: NSView?) -> Set<NSTouch> var phase: NSEventPhase { get } var stage: Int { get } var stageTransition: CGFloat { get } var associatedEventsMask: NSEventMask { get } var pressureBehavior: NSPressureBehavior { get } class func isSwipeTrackingFromScrollEventsEnabled() -> Bool func trackSwipeEventWithOptions(_ options: NSEventSwipeTrackingOptions, dampenAmountThresholdMin minDampenThreshold: CGFloat, max maxDampenThreshold: CGFloat, usingHandler trackingHandler: (CGFloat, NSEventPhase, Bool, UnsafeMutablePointer<ObjCBool>) -> Void) class func startPeriodicEventsAfterDelay(_ delay: NSTimeInterval, withPeriod period: NSTimeInterval) class func stopPeriodicEvents() class func mouseEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, eventNumber eNum: Int, clickCount cNum: Int, pressure pressure: Float) -> NSEvent? class func keyEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, characters keys: String, charactersIgnoringModifiers ukeys: String, isARepeat flag: Bool, keyCode code: UInt16) -> NSEvent? class func enterExitEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, eventNumber eNum: Int, trackingNumber tNum: Int, userData data: UnsafeMutablePointer<Void>) -> NSEvent? class func otherEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, subtype subtype: Int16, data1 d1: Int, data2 d2: Int) -> NSEvent? class func mouseLocation() -> NSPoint class func modifierFlags() -> NSEventModifierFlags class func pressedMouseButtons() -> Int class func doubleClickInterval() -> NSTimeInterval class func keyRepeatDelay() -> NSTimeInterval class func keyRepeatInterval() -> NSTimeInterval class func addGlobalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent) -> Void) -> AnyObject? class func addLocalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent) -> NSEvent?) -> AnyObject? class func removeMonitor(_ eventMonitor: AnyObject) } extension NSEvent { func locationInNode(_ node: SKNode) -> CGPoint } | NSCoding, NSCopying |
To | class NSEvent : NSObject, NSCopying, NSCoding { var type: NSEventType { get } var modifierFlags: NSEventModifierFlags { get } var timestamp: TimeInterval { get } unowned(unsafe) var window: NSWindow? { get } var windowNumber: Int { get } var context: NSGraphicsContext? { get } var clickCount: Int { get } var buttonNumber: Int { get } var eventNumber: Int { get } var pressure: Float { get } var locationInWindow: NSPoint { get } var deltaX: CGFloat { get } var deltaY: CGFloat { get } var deltaZ: CGFloat { get } var hasPreciseScrollingDeltas: Bool { get } var scrollingDeltaX: CGFloat { get } var scrollingDeltaY: CGFloat { get } var momentumPhase: NSEventPhase { get } var isDirectionInvertedFromDevice: Bool { get } var characters: String? { get } var charactersIgnoringModifiers: String? { get } var isARepeat: Bool { get } var keyCode: UInt16 { get } var trackingNumber: Int { get } var userData: UnsafeMutableRawPointer? { get } var trackingArea: NSTrackingArea? { get } var subtype: NSEventSubtype { get } var data1: Int { get } var data2: Int { get } var eventRef: UnsafeRawPointer? { get } init?(eventRef eventRef: UnsafeRawPointer) class func withEventRef(_ eventRef: UnsafeRawPointer) -> NSEvent? var cgEvent: CGEvent? { get } init?(cgEvent cgEvent: CGEvent) class func withCGEvent(_ cgEvent: CGEvent) -> NSEvent? class func setMouseCoalescingEnabled(_ flag: Bool) class func isMouseCoalescingEnabled() -> Bool var magnification: CGFloat { get } var deviceID: Int { get } var rotation: Float { get } var absoluteX: Int { get } var absoluteY: Int { get } var absoluteZ: Int { get } var buttonMask: NSEventButtonMask { get } var tilt: NSPoint { get } var tangentialPressure: Float { get } var vendorDefined: Any { get } var vendorID: Int { get } var tabletID: Int { get } var pointingDeviceID: Int { get } var systemTabletID: Int { get } var vendorPointingDeviceType: Int { get } var pointingDeviceSerialNumber: Int { get } var uniqueID: UInt64 { get } var capabilityMask: Int { get } var pointingDeviceType: NSPointingDeviceType { get } var isEnteringProximity: Bool { get } func touches(matching phase: NSTouchPhase, in view: NSView?) -> Set<NSTouch> var phase: NSEventPhase { get } var stage: Int { get } var stageTransition: CGFloat { get } var associatedEventsMask: NSEventMask { get } var pressureBehavior: NSPressureBehavior { get } class func isSwipeTrackingFromScrollEventsEnabled() -> Bool func trackSwipeEvent(options options: NSEventSwipeTrackingOptions = [], dampenAmountThresholdMin minDampenThreshold: CGFloat, max maxDampenThreshold: CGFloat, usingHandler trackingHandler: @escaping (CGFloat, NSEventPhase, Bool, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func startPeriodicEvents(afterDelay delay: TimeInterval, withPeriod period: TimeInterval) class func stopPeriodicEvents() class func mouseEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, clickCount cNum: Int, pressure pressure: Float) -> NSEvent? class func keyEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, characters keys: String, charactersIgnoringModifiers ukeys: String, isARepeat flag: Bool, keyCode code: UInt16) -> NSEvent? class func enterExitEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, trackingNumber tNum: Int, userData data: UnsafeMutableRawPointer?) -> NSEvent? class func otherEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, subtype subtype: Int16, data1 d1: Int, data2 d2: Int) -> NSEvent? class func mouseLocation() -> NSPoint class func modifierFlags() -> NSEventModifierFlags class func pressedMouseButtons() -> Int class func doubleClickInterval() -> TimeInterval class func keyRepeatDelay() -> TimeInterval class func keyRepeatInterval() -> TimeInterval class func addGlobalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> Swift.Void) -> Any? class func addLocalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> NSEvent?) -> Any? class func removeMonitor(_ eventMonitor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSEvent : CVarArg { } extension NSEvent : Equatable, Hashable { var hashValue: Int { get } } extension NSEvent { func location(in node: SKNode) -> CGPoint } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | class func addGlobalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent) -> Void) -> AnyObject? |
To | class func addGlobalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> Swift.Void) -> Any? |
Declaration | |
---|---|
From | class func addLocalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent) -> NSEvent?) -> AnyObject? |
To | class func addLocalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> NSEvent?) -> Any? |
Modified NSEvent.cgEvent
Declaration | |
---|---|
From | var CGEvent: CGEvent? { get } |
To | var cgEvent: CGEvent? { get } |
Modified NSEvent.context
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | class func doubleClickInterval() -> NSTimeInterval |
To | class func doubleClickInterval() -> TimeInterval |
Declaration | |
---|---|
From | class func enterExitEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, eventNumber eNum: Int, trackingNumber tNum: Int, userData data: UnsafeMutablePointer<Void>) -> NSEvent? |
To | class func enterExitEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, trackingNumber tNum: Int, userData data: UnsafeMutableRawPointer?) -> NSEvent? |
Modified NSEvent.eventRef
Declaration | |
---|---|
From | var eventRef: UnsafePointer<Void> { get } |
To | var eventRef: UnsafeRawPointer? { get } |
Modified NSEvent.init(cgEvent: CGEvent)
Declaration | |
---|---|
From | init?(CGEvent cgEvent: CGEvent) |
To | init?(cgEvent cgEvent: CGEvent) |
Declaration | |
---|---|
From | init?(eventRef eventRef: UnsafePointer<Void>) |
To | init?(eventRef eventRef: UnsafeRawPointer) |
Modified NSEvent.isARepeat
Declaration | |
---|---|
From | var ARepeat: Bool { get } |
To | var isARepeat: Bool { get } |
Declaration | |
---|---|
From | var directionInvertedFromDevice: Bool { get } |
To | var isDirectionInvertedFromDevice: Bool { get } |
Modified NSEvent.isEnteringProximity
Declaration | |
---|---|
From | var enteringProximity: Bool { get } |
To | var isEnteringProximity: Bool { get } |
Declaration | |
---|---|
From | class func keyEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, characters keys: String, charactersIgnoringModifiers ukeys: String, isARepeat flag: Bool, keyCode code: UInt16) -> NSEvent? |
To | class func keyEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, characters keys: String, charactersIgnoringModifiers ukeys: String, isARepeat flag: Bool, keyCode code: UInt16) -> NSEvent? |
Declaration | |
---|---|
From | class func keyRepeatDelay() -> NSTimeInterval |
To | class func keyRepeatDelay() -> TimeInterval |
Declaration | |
---|---|
From | class func keyRepeatInterval() -> NSTimeInterval |
To | class func keyRepeatInterval() -> TimeInterval |
Declaration | |
---|---|
From | class func mouseEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, eventNumber eNum: Int, clickCount cNum: Int, pressure pressure: Float) -> NSEvent? |
To | class func mouseEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, clickCount cNum: Int, pressure pressure: Float) -> NSEvent? |
Declaration | |
---|---|
From | class func otherEventWithType(_ type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: NSTimeInterval, windowNumber wNum: Int, context context: NSGraphicsContext?, subtype subtype: Int16, data1 d1: Int, data2 d2: Int) -> NSEvent? |
To | class func otherEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, subtype subtype: Int16, data1 d1: Int, data2 d2: Int) -> NSEvent? |
Declaration | |
---|---|
From | class func removeMonitor(_ eventMonitor: AnyObject) |
To | class func removeMonitor(_ eventMonitor: Any) |
Declaration | |
---|---|
From | class func startPeriodicEventsAfterDelay(_ delay: NSTimeInterval, withPeriod period: NSTimeInterval) |
To | class func startPeriodicEvents(afterDelay delay: TimeInterval, withPeriod period: TimeInterval) |
Modified NSEvent.timestamp
Declaration | |
---|---|
From | var timestamp: NSTimeInterval { get } |
To | var timestamp: TimeInterval { get } |
Declaration | |
---|---|
From | func touchesMatchingPhase(_ phase: NSTouchPhase, inView view: NSView?) -> Set<NSTouch> |
To | func touches(matching phase: NSTouchPhase, in view: NSView?) -> Set<NSTouch> |
Declaration | |
---|---|
From | func trackSwipeEventWithOptions(_ options: NSEventSwipeTrackingOptions, dampenAmountThresholdMin minDampenThreshold: CGFloat, max maxDampenThreshold: CGFloat, usingHandler trackingHandler: (CGFloat, NSEventPhase, Bool, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func trackSwipeEvent(options options: NSEventSwipeTrackingOptions = [], dampenAmountThresholdMin minDampenThreshold: CGFloat, max maxDampenThreshold: CGFloat, usingHandler trackingHandler: @escaping (CGFloat, NSEventPhase, Bool, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Modified NSEvent.userData
Declaration | |
---|---|
From | var userData: UnsafeMutablePointer<Void> { get } |
To | var userData: UnsafeMutableRawPointer? { get } |
Modified NSEvent.vendorDefined
Declaration | |
---|---|
From | var vendorDefined: AnyObject { get } |
To | var vendorDefined: Any { get } |
Modified NSEventButtonMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSEventButtonMask : OptionSetType { init(rawValue rawValue: UInt) static var PenTipMask: NSEventButtonMask { get } static var PenLowerSideMask: NSEventButtonMask { get } static var PenUpperSideMask: NSEventButtonMask { get } } | OptionSetType |
To | struct NSEventButtonMask : OptionSet { init(rawValue rawValue: UInt) static var penTip: NSEventButtonMask { get } static var penLowerSide: NSEventButtonMask { get } static var penUpperSide: NSEventButtonMask { get } func intersect(_ other: NSEventButtonMask) -> NSEventButtonMask func exclusiveOr(_ other: NSEventButtonMask) -> NSEventButtonMask mutating func unionInPlace(_ other: NSEventButtonMask) mutating func intersectInPlace(_ other: NSEventButtonMask) mutating func exclusiveOrInPlace(_ other: NSEventButtonMask) func isSubsetOf(_ other: NSEventButtonMask) -> Bool func isDisjointWith(_ other: NSEventButtonMask) -> Bool func isSupersetOf(_ other: NSEventButtonMask) -> Bool mutating func subtractInPlace(_ other: NSEventButtonMask) func isStrictSupersetOf(_ other: NSEventButtonMask) -> Bool func isStrictSubsetOf(_ other: NSEventButtonMask) -> Bool } extension NSEventButtonMask { func union(_ other: NSEventButtonMask) -> NSEventButtonMask func intersection(_ other: NSEventButtonMask) -> NSEventButtonMask func symmetricDifference(_ other: NSEventButtonMask) -> NSEventButtonMask } extension NSEventButtonMask { func contains(_ member: NSEventButtonMask) -> Bool mutating func insert(_ newMember: NSEventButtonMask) -> (inserted: Bool, memberAfterInsert: NSEventButtonMask) mutating func remove(_ member: NSEventButtonMask) -> NSEventButtonMask? mutating func update(with newMember: NSEventButtonMask) -> NSEventButtonMask? } extension NSEventButtonMask { convenience init() mutating func formUnion(_ other: NSEventButtonMask) mutating func formIntersection(_ other: NSEventButtonMask) mutating func formSymmetricDifference(_ other: NSEventButtonMask) } extension NSEventButtonMask { convenience init<S : Sequence where S.Iterator.Element == NSEventButtonMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSEventButtonMask...) mutating func subtract(_ other: NSEventButtonMask) func isSubset(of other: NSEventButtonMask) -> Bool func isSuperset(of other: NSEventButtonMask) -> Bool func isDisjoint(with other: NSEventButtonMask) -> Bool func subtracting(_ other: NSEventButtonMask) -> NSEventButtonMask var isEmpty: Bool { get } func isStrictSuperset(of other: NSEventButtonMask) -> Bool func isStrictSubset(of other: NSEventButtonMask) -> Bool } | OptionSet |
Modified NSEventGestureAxis [enum]
Declaration | |
---|---|
From | enum NSEventGestureAxis : Int { case None case Horizontal case Vertical } |
To | enum NSEventGestureAxis : Int { case none case horizontal case vertical } |
Modified NSEventGestureAxis.horizontal
Declaration | |
---|---|
From | case Horizontal |
To | case horizontal |
Modified NSEventGestureAxis.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSEventGestureAxis.vertical
Declaration | |
---|---|
From | case Vertical |
To | case vertical |
Modified NSEventMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSEventMask : OptionSetType { init(rawValue rawValue: UInt64) static var LeftMouseDownMask: NSEventMask { get } static var LeftMouseUpMask: NSEventMask { get } static var RightMouseDownMask: NSEventMask { get } static var RightMouseUpMask: NSEventMask { get } static var MouseMovedMask: NSEventMask { get } static var LeftMouseDraggedMask: NSEventMask { get } static var RightMouseDraggedMask: NSEventMask { get } static var MouseEnteredMask: NSEventMask { get } static var MouseExitedMask: NSEventMask { get } static var KeyDownMask: NSEventMask { get } static var KeyUpMask: NSEventMask { get } static var FlagsChangedMask: NSEventMask { get } static var AppKitDefinedMask: NSEventMask { get } static var SystemDefinedMask: NSEventMask { get } static var ApplicationDefinedMask: NSEventMask { get } static var PeriodicMask: NSEventMask { get } static var CursorUpdateMask: NSEventMask { get } static var ScrollWheelMask: NSEventMask { get } static var TabletPointMask: NSEventMask { get } static var TabletProximityMask: NSEventMask { get } static var OtherMouseDownMask: NSEventMask { get } static var OtherMouseUpMask: NSEventMask { get } static var OtherMouseDraggedMask: NSEventMask { get } static var EventMaskGesture: NSEventMask { get } static var EventMaskMagnify: NSEventMask { get } static var EventMaskSwipe: NSEventMask { get } static var EventMaskRotate: NSEventMask { get } static var EventMaskBeginGesture: NSEventMask { get } static var EventMaskEndGesture: NSEventMask { get } static var EventMaskSmartMagnify: NSEventMask { get } static var EventMaskPressure: NSEventMask { get } static var AnyEventMask: NSEventMask { get } } | OptionSetType |
To | struct NSEventMask : OptionSet { init(rawValue rawValue: UInt64) static var leftMouseDown: NSEventMask { get } static var leftMouseUp: NSEventMask { get } static var rightMouseDown: NSEventMask { get } static var rightMouseUp: NSEventMask { get } static var mouseMoved: NSEventMask { get } static var leftMouseDragged: NSEventMask { get } static var rightMouseDragged: NSEventMask { get } static var mouseEntered: NSEventMask { get } static var mouseExited: NSEventMask { get } static var keyDown: NSEventMask { get } static var keyUp: NSEventMask { get } static var flagsChanged: NSEventMask { get } static var appKitDefined: NSEventMask { get } static var systemDefined: NSEventMask { get } static var applicationDefined: NSEventMask { get } static var periodic: NSEventMask { get } static var cursorUpdate: NSEventMask { get } static var scrollWheel: NSEventMask { get } static var tabletPoint: NSEventMask { get } static var tabletProximity: NSEventMask { get } static var otherMouseDown: NSEventMask { get } static var otherMouseUp: NSEventMask { get } static var otherMouseDragged: NSEventMask { get } static var gesture: NSEventMask { get } static var magnify: NSEventMask { get } static var swipe: NSEventMask { get } static var rotate: NSEventMask { get } static var beginGesture: NSEventMask { get } static var endGesture: NSEventMask { get } static var smartMagnify: NSEventMask { get } static var pressure: NSEventMask { get } static var any: NSEventMask { get } func intersect(_ other: NSEventMask) -> NSEventMask func exclusiveOr(_ other: NSEventMask) -> NSEventMask mutating func unionInPlace(_ other: NSEventMask) mutating func intersectInPlace(_ other: NSEventMask) mutating func exclusiveOrInPlace(_ other: NSEventMask) func isSubsetOf(_ other: NSEventMask) -> Bool func isDisjointWith(_ other: NSEventMask) -> Bool func isSupersetOf(_ other: NSEventMask) -> Bool mutating func subtractInPlace(_ other: NSEventMask) func isStrictSupersetOf(_ other: NSEventMask) -> Bool func isStrictSubsetOf(_ other: NSEventMask) -> Bool } extension NSEventMask { func union(_ other: NSEventMask) -> NSEventMask func intersection(_ other: NSEventMask) -> NSEventMask func symmetricDifference(_ other: NSEventMask) -> NSEventMask } extension NSEventMask { func contains(_ member: NSEventMask) -> Bool mutating func insert(_ newMember: NSEventMask) -> (inserted: Bool, memberAfterInsert: NSEventMask) mutating func remove(_ member: NSEventMask) -> NSEventMask? mutating func update(with newMember: NSEventMask) -> NSEventMask? } extension NSEventMask { convenience init() mutating func formUnion(_ other: NSEventMask) mutating func formIntersection(_ other: NSEventMask) mutating func formSymmetricDifference(_ other: NSEventMask) } extension NSEventMask { convenience init<S : Sequence where S.Iterator.Element == NSEventMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSEventMask...) mutating func subtract(_ other: NSEventMask) func isSubset(of other: NSEventMask) -> Bool func isSuperset(of other: NSEventMask) -> Bool func isDisjoint(with other: NSEventMask) -> Bool func subtracting(_ other: NSEventMask) -> NSEventMask var isEmpty: Bool { get } func isStrictSuperset(of other: NSEventMask) -> Bool func isStrictSubset(of other: NSEventMask) -> Bool } | OptionSet |
Modified NSEventMask.beginGesture
Declaration | |
---|---|
From | static var EventMaskBeginGesture: NSEventMask { get } |
To | static var beginGesture: NSEventMask { get } |
Modified NSEventMask.endGesture
Declaration | |
---|---|
From | static var EventMaskEndGesture: NSEventMask { get } |
To | static var endGesture: NSEventMask { get } |
Modified NSEventMask.gesture
Declaration | |
---|---|
From | static var EventMaskGesture: NSEventMask { get } |
To | static var gesture: NSEventMask { get } |
Modified NSEventMask.magnify
Declaration | |
---|---|
From | static var EventMaskMagnify: NSEventMask { get } |
To | static var magnify: NSEventMask { get } |
Modified NSEventMask.pressure
Declaration | |
---|---|
From | static var EventMaskPressure: NSEventMask { get } |
To | static var pressure: NSEventMask { get } |
Modified NSEventMask.rotate
Declaration | |
---|---|
From | static var EventMaskRotate: NSEventMask { get } |
To | static var rotate: NSEventMask { get } |
Modified NSEventMask.smartMagnify
Declaration | |
---|---|
From | static var EventMaskSmartMagnify: NSEventMask { get } |
To | static var smartMagnify: NSEventMask { get } |
Modified NSEventMask.swipe
Declaration | |
---|---|
From | static var EventMaskSwipe: NSEventMask { get } |
To | static var swipe: NSEventMask { get } |
Modified NSEventModifierFlags [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSEventModifierFlags : OptionSetType { init(rawValue rawValue: UInt) static var AlphaShiftKeyMask: NSEventModifierFlags { get } static var ShiftKeyMask: NSEventModifierFlags { get } static var ControlKeyMask: NSEventModifierFlags { get } static var AlternateKeyMask: NSEventModifierFlags { get } static var CommandKeyMask: NSEventModifierFlags { get } static var NumericPadKeyMask: NSEventModifierFlags { get } static var HelpKeyMask: NSEventModifierFlags { get } static var FunctionKeyMask: NSEventModifierFlags { get } static var DeviceIndependentModifierFlagsMask: NSEventModifierFlags { get } } | OptionSetType |
To | struct NSEventModifierFlags : OptionSet { init(rawValue rawValue: UInt) static var capsLock: NSEventModifierFlags { get } static var shift: NSEventModifierFlags { get } static var control: NSEventModifierFlags { get } static var option: NSEventModifierFlags { get } static var command: NSEventModifierFlags { get } static var numericPad: NSEventModifierFlags { get } static var help: NSEventModifierFlags { get } static var function: NSEventModifierFlags { get } static var deviceIndependentFlagsMask: NSEventModifierFlags { get } func intersect(_ other: NSEventModifierFlags) -> NSEventModifierFlags func exclusiveOr(_ other: NSEventModifierFlags) -> NSEventModifierFlags mutating func unionInPlace(_ other: NSEventModifierFlags) mutating func intersectInPlace(_ other: NSEventModifierFlags) mutating func exclusiveOrInPlace(_ other: NSEventModifierFlags) func isSubsetOf(_ other: NSEventModifierFlags) -> Bool func isDisjointWith(_ other: NSEventModifierFlags) -> Bool func isSupersetOf(_ other: NSEventModifierFlags) -> Bool mutating func subtractInPlace(_ other: NSEventModifierFlags) func isStrictSupersetOf(_ other: NSEventModifierFlags) -> Bool func isStrictSubsetOf(_ other: NSEventModifierFlags) -> Bool } extension NSEventModifierFlags { func union(_ other: NSEventModifierFlags) -> NSEventModifierFlags func intersection(_ other: NSEventModifierFlags) -> NSEventModifierFlags func symmetricDifference(_ other: NSEventModifierFlags) -> NSEventModifierFlags } extension NSEventModifierFlags { func contains(_ member: NSEventModifierFlags) -> Bool mutating func insert(_ newMember: NSEventModifierFlags) -> (inserted: Bool, memberAfterInsert: NSEventModifierFlags) mutating func remove(_ member: NSEventModifierFlags) -> NSEventModifierFlags? mutating func update(with newMember: NSEventModifierFlags) -> NSEventModifierFlags? } extension NSEventModifierFlags { convenience init() mutating func formUnion(_ other: NSEventModifierFlags) mutating func formIntersection(_ other: NSEventModifierFlags) mutating func formSymmetricDifference(_ other: NSEventModifierFlags) } extension NSEventModifierFlags { convenience init<S : Sequence where S.Iterator.Element == NSEventModifierFlags>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSEventModifierFlags...) mutating func subtract(_ other: NSEventModifierFlags) func isSubset(of other: NSEventModifierFlags) -> Bool func isSuperset(of other: NSEventModifierFlags) -> Bool func isDisjoint(with other: NSEventModifierFlags) -> Bool func subtracting(_ other: NSEventModifierFlags) -> NSEventModifierFlags var isEmpty: Bool { get } func isStrictSuperset(of other: NSEventModifierFlags) -> Bool func isStrictSubset(of other: NSEventModifierFlags) -> Bool } | OptionSet |
Modified NSEventPhase [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSEventPhase : OptionSetType { init(rawValue rawValue: UInt) static var None: NSEventPhase { get } static var Began: NSEventPhase { get } static var Stationary: NSEventPhase { get } static var Changed: NSEventPhase { get } static var Ended: NSEventPhase { get } static var Cancelled: NSEventPhase { get } static var MayBegin: NSEventPhase { get } } | OptionSetType |
To | struct NSEventPhase : OptionSet { init(rawValue rawValue: UInt) static var none: NSEventPhase { get } static var began: NSEventPhase { get } static var stationary: NSEventPhase { get } static var changed: NSEventPhase { get } static var ended: NSEventPhase { get } static var cancelled: NSEventPhase { get } static var mayBegin: NSEventPhase { get } func intersect(_ other: NSEventPhase) -> NSEventPhase func exclusiveOr(_ other: NSEventPhase) -> NSEventPhase mutating func unionInPlace(_ other: NSEventPhase) mutating func intersectInPlace(_ other: NSEventPhase) mutating func exclusiveOrInPlace(_ other: NSEventPhase) func isSubsetOf(_ other: NSEventPhase) -> Bool func isDisjointWith(_ other: NSEventPhase) -> Bool func isSupersetOf(_ other: NSEventPhase) -> Bool mutating func subtractInPlace(_ other: NSEventPhase) func isStrictSupersetOf(_ other: NSEventPhase) -> Bool func isStrictSubsetOf(_ other: NSEventPhase) -> Bool } extension NSEventPhase { func union(_ other: NSEventPhase) -> NSEventPhase func intersection(_ other: NSEventPhase) -> NSEventPhase func symmetricDifference(_ other: NSEventPhase) -> NSEventPhase } extension NSEventPhase { func contains(_ member: NSEventPhase) -> Bool mutating func insert(_ newMember: NSEventPhase) -> (inserted: Bool, memberAfterInsert: NSEventPhase) mutating func remove(_ member: NSEventPhase) -> NSEventPhase? mutating func update(with newMember: NSEventPhase) -> NSEventPhase? } extension NSEventPhase { convenience init() mutating func formUnion(_ other: NSEventPhase) mutating func formIntersection(_ other: NSEventPhase) mutating func formSymmetricDifference(_ other: NSEventPhase) } extension NSEventPhase { convenience init<S : Sequence where S.Iterator.Element == NSEventPhase>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSEventPhase...) mutating func subtract(_ other: NSEventPhase) func isSubset(of other: NSEventPhase) -> Bool func isSuperset(of other: NSEventPhase) -> Bool func isDisjoint(with other: NSEventPhase) -> Bool func subtracting(_ other: NSEventPhase) -> NSEventPhase var isEmpty: Bool { get } func isStrictSuperset(of other: NSEventPhase) -> Bool func isStrictSubset(of other: NSEventPhase) -> Bool } | OptionSet |
Modified NSEventPhase.began
Declaration | |
---|---|
From | static var Began: NSEventPhase { get } |
To | static var began: NSEventPhase { get } |
Modified NSEventPhase.cancelled
Declaration | |
---|---|
From | static var Cancelled: NSEventPhase { get } |
To | static var cancelled: NSEventPhase { get } |
Modified NSEventPhase.changed
Declaration | |
---|---|
From | static var Changed: NSEventPhase { get } |
To | static var changed: NSEventPhase { get } |
Modified NSEventPhase.ended
Declaration | |
---|---|
From | static var Ended: NSEventPhase { get } |
To | static var ended: NSEventPhase { get } |
Modified NSEventPhase.mayBegin
Declaration | |
---|---|
From | static var MayBegin: NSEventPhase { get } |
To | static var mayBegin: NSEventPhase { get } |
Modified NSEventPhase.stationary
Declaration | |
---|---|
From | static var Stationary: NSEventPhase { get } |
To | static var stationary: NSEventPhase { get } |
Modified NSEventSubtype [enum]
Declaration | |
---|---|
From | enum NSEventSubtype : Int16 { case NSWindowExposedEventType case NSApplicationActivatedEventType case NSApplicationDeactivatedEventType case NSWindowMovedEventType case NSScreenChangedEventType case NSAWTEventType static var NSPowerOffEventType: NSEventSubtype { get } static var NSMouseEventSubtype: NSEventSubtype { get } static var NSTabletPointEventSubtype: NSEventSubtype { get } static var NSTabletProximityEventSubtype: NSEventSubtype { get } case NSTouchEventSubtype } |
To | enum NSEventSubtype : Int16 { case windowExposed case applicationActivated case applicationDeactivated case windowMoved case screenChanged static var powerOff: NSEventSubtype { get } static var mouseEvent: NSEventSubtype { get } static var tabletPoint: NSEventSubtype { get } static var tabletProximity: NSEventSubtype { get } case touch } |
Modified NSEventSwipeTrackingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSEventSwipeTrackingOptions : OptionSetType { init(rawValue rawValue: UInt) static var LockDirection: NSEventSwipeTrackingOptions { get } static var ClampGestureAmount: NSEventSwipeTrackingOptions { get } } | OptionSetType |
To | struct NSEventSwipeTrackingOptions : OptionSet { init(rawValue rawValue: UInt) static var lockDirection: NSEventSwipeTrackingOptions { get } static var clampGestureAmount: NSEventSwipeTrackingOptions { get } func intersect(_ other: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions func exclusiveOr(_ other: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions mutating func unionInPlace(_ other: NSEventSwipeTrackingOptions) mutating func intersectInPlace(_ other: NSEventSwipeTrackingOptions) mutating func exclusiveOrInPlace(_ other: NSEventSwipeTrackingOptions) func isSubsetOf(_ other: NSEventSwipeTrackingOptions) -> Bool func isDisjointWith(_ other: NSEventSwipeTrackingOptions) -> Bool func isSupersetOf(_ other: NSEventSwipeTrackingOptions) -> Bool mutating func subtractInPlace(_ other: NSEventSwipeTrackingOptions) func isStrictSupersetOf(_ other: NSEventSwipeTrackingOptions) -> Bool func isStrictSubsetOf(_ other: NSEventSwipeTrackingOptions) -> Bool } extension NSEventSwipeTrackingOptions { func union(_ other: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions func intersection(_ other: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions func symmetricDifference(_ other: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions } extension NSEventSwipeTrackingOptions { func contains(_ member: NSEventSwipeTrackingOptions) -> Bool mutating func insert(_ newMember: NSEventSwipeTrackingOptions) -> (inserted: Bool, memberAfterInsert: NSEventSwipeTrackingOptions) mutating func remove(_ member: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions? mutating func update(with newMember: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions? } extension NSEventSwipeTrackingOptions { convenience init() mutating func formUnion(_ other: NSEventSwipeTrackingOptions) mutating func formIntersection(_ other: NSEventSwipeTrackingOptions) mutating func formSymmetricDifference(_ other: NSEventSwipeTrackingOptions) } extension NSEventSwipeTrackingOptions { convenience init<S : Sequence where S.Iterator.Element == NSEventSwipeTrackingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSEventSwipeTrackingOptions...) mutating func subtract(_ other: NSEventSwipeTrackingOptions) func isSubset(of other: NSEventSwipeTrackingOptions) -> Bool func isSuperset(of other: NSEventSwipeTrackingOptions) -> Bool func isDisjoint(with other: NSEventSwipeTrackingOptions) -> Bool func subtracting(_ other: NSEventSwipeTrackingOptions) -> NSEventSwipeTrackingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSEventSwipeTrackingOptions) -> Bool func isStrictSubset(of other: NSEventSwipeTrackingOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ClampGestureAmount: NSEventSwipeTrackingOptions { get } |
To | static var clampGestureAmount: NSEventSwipeTrackingOptions { get } |
Declaration | |
---|---|
From | static var LockDirection: NSEventSwipeTrackingOptions { get } |
To | static var lockDirection: NSEventSwipeTrackingOptions { get } |
Modified NSEventType [enum]
Declaration | |
---|---|
From | enum NSEventType : UInt { case LeftMouseDown case LeftMouseUp case RightMouseDown case RightMouseUp case MouseMoved case LeftMouseDragged case RightMouseDragged case MouseEntered case MouseExited case KeyDown case KeyUp case FlagsChanged case AppKitDefined case SystemDefined case ApplicationDefined case Periodic case CursorUpdate case ScrollWheel case TabletPoint case TabletProximity case OtherMouseDown case OtherMouseUp case OtherMouseDragged case EventTypeGesture case EventTypeMagnify case EventTypeSwipe case EventTypeRotate case EventTypeBeginGesture case EventTypeEndGesture case EventTypeSmartMagnify case EventTypeQuickLook case EventTypePressure } |
To | enum NSEventType : UInt { case leftMouseDown case leftMouseUp case rightMouseDown case rightMouseUp case mouseMoved case leftMouseDragged case rightMouseDragged case mouseEntered case mouseExited case keyDown case keyUp case flagsChanged case appKitDefined case systemDefined case applicationDefined case periodic case cursorUpdate case scrollWheel case tabletPoint case tabletProximity case otherMouseDown case otherMouseUp case otherMouseDragged case gesture case magnify case swipe case rotate case beginGesture case endGesture case smartMagnify case quickLook case pressure } |
Modified NSEventType.appKitDefined
Name | Declaration | |
---|---|---|
From | AppKitDefined | case AppKitDefined |
To | appKitDefined | case appKitDefined |
Modified NSEventType.applicationDefined
Name | Declaration | |
---|---|---|
From | ApplicationDefined | case ApplicationDefined |
To | applicationDefined | case applicationDefined |
Modified NSEventType.beginGesture
Declaration | |
---|---|
From | case EventTypeBeginGesture |
To | case beginGesture |
Modified NSEventType.cursorUpdate
Name | Declaration | |
---|---|---|
From | CursorUpdate | case CursorUpdate |
To | cursorUpdate | case cursorUpdate |
Modified NSEventType.endGesture
Declaration | |
---|---|
From | case EventTypeEndGesture |
To | case endGesture |
Modified NSEventType.flagsChanged
Name | Declaration | |
---|---|---|
From | FlagsChanged | case FlagsChanged |
To | flagsChanged | case flagsChanged |
Modified NSEventType.gesture
Declaration | |
---|---|
From | case EventTypeGesture |
To | case gesture |
Modified NSEventType.keyDown
Name | Declaration | |
---|---|---|
From | KeyDown | case KeyDown |
To | keyDown | case keyDown |
Modified NSEventType.keyUp
Name | Declaration | |
---|---|---|
From | KeyUp | case KeyUp |
To | keyUp | case keyUp |
Modified NSEventType.leftMouseDown
Name | Declaration | |
---|---|---|
From | LeftMouseDown | case LeftMouseDown |
To | leftMouseDown | case leftMouseDown |
Modified NSEventType.leftMouseDragged
Name | Declaration | |
---|---|---|
From | LeftMouseDragged | case LeftMouseDragged |
To | leftMouseDragged | case leftMouseDragged |
Modified NSEventType.leftMouseUp
Name | Declaration | |
---|---|---|
From | LeftMouseUp | case LeftMouseUp |
To | leftMouseUp | case leftMouseUp |
Modified NSEventType.magnify
Declaration | |
---|---|
From | case EventTypeMagnify |
To | case magnify |
Modified NSEventType.mouseEntered
Name | Declaration | |
---|---|---|
From | MouseEntered | case MouseEntered |
To | mouseEntered | case mouseEntered |
Modified NSEventType.mouseExited
Name | Declaration | |
---|---|---|
From | MouseExited | case MouseExited |
To | mouseExited | case mouseExited |
Modified NSEventType.mouseMoved
Name | Declaration | |
---|---|---|
From | MouseMoved | case MouseMoved |
To | mouseMoved | case mouseMoved |
Modified NSEventType.otherMouseDown
Name | Declaration | |
---|---|---|
From | OtherMouseDown | case OtherMouseDown |
To | otherMouseDown | case otherMouseDown |
Modified NSEventType.otherMouseDragged
Name | Declaration | |
---|---|---|
From | OtherMouseDragged | case OtherMouseDragged |
To | otherMouseDragged | case otherMouseDragged |
Modified NSEventType.otherMouseUp
Name | Declaration | |
---|---|---|
From | OtherMouseUp | case OtherMouseUp |
To | otherMouseUp | case otherMouseUp |
Modified NSEventType.periodic
Name | Declaration | |
---|---|---|
From | Periodic | case Periodic |
To | periodic | case periodic |
Modified NSEventType.pressure
Declaration | |
---|---|
From | case EventTypePressure |
To | case pressure |
Modified NSEventType.quickLook
Declaration | |
---|---|
From | case EventTypeQuickLook |
To | case quickLook |
Modified NSEventType.rightMouseDown
Name | Declaration | |
---|---|---|
From | RightMouseDown | case RightMouseDown |
To | rightMouseDown | case rightMouseDown |
Modified NSEventType.rightMouseDragged
Name | Declaration | |
---|---|---|
From | RightMouseDragged | case RightMouseDragged |
To | rightMouseDragged | case rightMouseDragged |
Modified NSEventType.rightMouseUp
Name | Declaration | |
---|---|---|
From | RightMouseUp | case RightMouseUp |
To | rightMouseUp | case rightMouseUp |
Modified NSEventType.rotate
Declaration | |
---|---|
From | case EventTypeRotate |
To | case rotate |
Modified NSEventType.scrollWheel
Name | Declaration | |
---|---|---|
From | ScrollWheel | case ScrollWheel |
To | scrollWheel | case scrollWheel |
Modified NSEventType.smartMagnify
Declaration | |
---|---|
From | case EventTypeSmartMagnify |
To | case smartMagnify |
Modified NSEventType.swipe
Declaration | |
---|---|
From | case EventTypeSwipe |
To | case swipe |
Modified NSEventType.systemDefined
Name | Declaration | |
---|---|---|
From | SystemDefined | case SystemDefined |
To | systemDefined | case systemDefined |
Modified NSEventType.tabletPoint
Name | Declaration | |
---|---|---|
From | TabletPoint | case TabletPoint |
To | tabletPoint | case tabletPoint |
Modified NSEventType.tabletProximity
Name | Declaration | |
---|---|---|
From | TabletProximity | case TabletProximity |
To | tabletProximity | case tabletProximity |
Modified NSExceptionName.abortModalException
Name | Declaration | |
---|---|---|
From | NSAbortModalException | let NSAbortModalException: String |
To | abortModalException | static let abortModalException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSAbortPrintingException | let NSAbortPrintingException: String |
To | abortPrintingException | static let abortPrintingException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSAccessibilityException | let NSAccessibilityException: String |
To | accessibilityException | static let accessibilityException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSAppKitIgnoredException | let NSAppKitIgnoredException: String |
To | appKitIgnoredException | static let appKitIgnoredException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSAppKitVirtualMemoryException | let NSAppKitVirtualMemoryException: String |
To | appKitVirtualMemoryException | static let appKitVirtualMemoryException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSBadBitmapParametersException | let NSBadBitmapParametersException: String |
To | badBitmapParametersException | static let badBitmapParametersException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSBadComparisonException | let NSBadComparisonException: String |
To | badComparisonException | static let badComparisonException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSBadRTFColorTableException | let NSBadRTFColorTableException: String |
To | badRTFColorTableException | static let badRTFColorTableException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSBadRTFDirectiveException | let NSBadRTFDirectiveException: String |
To | badRTFDirectiveException | static let badRTFDirectiveException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSBadRTFFontTableException | let NSBadRTFFontTableException: String |
To | badRTFFontTableException | static let badRTFFontTableException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSBadRTFStyleSheetException | let NSBadRTFStyleSheetException: String |
To | badRTFStyleSheetException | static let badRTFStyleSheetException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSBrowserIllegalDelegateException | let NSBrowserIllegalDelegateException: String |
To | browserIllegalDelegateException | static let browserIllegalDelegateException: NSExceptionName |
Modified NSExceptionName.colorListIOException
Name | Declaration | |
---|---|---|
From | NSColorListIOException | let NSColorListIOException: String |
To | colorListIOException | static let colorListIOException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSColorListNotEditableException | let NSColorListNotEditableException: String |
To | colorListNotEditableException | static let colorListNotEditableException: NSExceptionName |
Modified NSExceptionName.draggingException
Name | Declaration | |
---|---|---|
From | NSDraggingException | let NSDraggingException: String |
To | draggingException | static let draggingException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSFontUnavailableException | let NSFontUnavailableException: String |
To | fontUnavailableException | static let fontUnavailableException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSIllegalSelectorException | let NSIllegalSelectorException: String |
To | illegalSelectorException | static let illegalSelectorException: NSExceptionName |
Modified NSExceptionName.imageCacheException
Name | Declaration | |
---|---|---|
From | NSImageCacheException | let NSImageCacheException: String |
To | imageCacheException | static let imageCacheException: NSExceptionName |
Modified NSExceptionName.nibLoadingException
Name | Declaration | |
---|---|---|
From | NSNibLoadingException | let NSNibLoadingException: String |
To | nibLoadingException | static let nibLoadingException: NSExceptionName |
Declaration | |
---|---|
From | let NSPPDIncludeNotFoundException: String |
To | static let NSPPDIncludeNotFoundException: NSExceptionName |
Declaration | |
---|---|
From | let NSPPDIncludeStackOverflowException: String |
To | static let NSPPDIncludeStackOverflowException: NSExceptionName |
Declaration | |
---|---|
From | let NSPPDIncludeStackUnderflowException: String |
To | static let NSPPDIncludeStackUnderflowException: NSExceptionName |
Modified NSExceptionName.NSPPDParseException
Declaration | |
---|---|
From | let NSPPDParseException: String |
To | static let NSPPDParseException: NSExceptionName |
Declaration | |
---|---|
From | let NSRTFPropertyStackOverflowException: String |
To | static let NSRTFPropertyStackOverflowException: NSExceptionName |
Modified NSExceptionName.NSTIFFException
Declaration | |
---|---|
From | let NSTIFFException: String |
To | static let NSTIFFException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSPasteboardCommunicationException | let NSPasteboardCommunicationException: String |
To | pasteboardCommunicationException | static let pasteboardCommunicationException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSPrintingCommunicationException | let NSPrintingCommunicationException: String |
To | printingCommunicationException | static let printingCommunicationException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSPrintOperationExistsException | let NSPrintOperationExistsException: String |
To | printOperationExistsException | static let printOperationExistsException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSPrintPackageException | let NSPrintPackageException: String |
To | printPackageException | static let printPackageException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSTextLineTooLongException | let NSTextLineTooLongException: String |
To | textLineTooLongException | static let textLineTooLongException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSTextNoSelectionException | let NSTextNoSelectionException: String |
To | textNoSelectionException | static let textNoSelectionException: NSExceptionName |
Modified NSExceptionName.textReadException
Name | Declaration | |
---|---|---|
From | NSTextReadException | let NSTextReadException: String |
To | textReadException | static let textReadException: NSExceptionName |
Modified NSExceptionName.textWriteException
Name | Declaration | |
---|---|---|
From | NSTextWriteException | let NSTextWriteException: String |
To | textWriteException | static let textWriteException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSTypedStreamVersionException | let NSTypedStreamVersionException: String |
To | typedStreamVersionException | static let typedStreamVersionException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSWindowServerCommunicationException | let NSWindowServerCommunicationException: String |
To | windowServerCommunicationException | static let windowServerCommunicationException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSWordTablesReadException | let NSWordTablesReadException: String |
To | wordTablesReadException | static let wordTablesReadException: NSExceptionName |
Name | Declaration | |
---|---|---|
From | NSWordTablesWriteException | let NSWordTablesWriteException: String |
To | wordTablesWriteException | static let wordTablesWriteException: NSExceptionName |
Modified NSFindPanelAction [enum]
Declaration | |
---|---|
From | enum NSFindPanelAction : UInt { case ShowFindPanel case Next case Previous case ReplaceAll case Replace case ReplaceAndFind case SetFindString case ReplaceAllInSelection case SelectAll case SelectAllInSelection } |
To | enum NSFindPanelAction : UInt { case showFindPanel case next case previous case replaceAll case replace case replaceAndFind case setFindString case replaceAllInSelection case selectAll case selectAllInSelection } |
Modified NSFindPanelAction.next
Declaration | |
---|---|
From | case Next |
To | case next |
Modified NSFindPanelAction.previous
Declaration | |
---|---|
From | case Previous |
To | case previous |
Modified NSFindPanelAction.replace
Declaration | |
---|---|
From | case Replace |
To | case replace |
Modified NSFindPanelAction.replaceAll
Declaration | |
---|---|
From | case ReplaceAll |
To | case replaceAll |
Declaration | |
---|---|
From | case ReplaceAllInSelection |
To | case replaceAllInSelection |
Modified NSFindPanelAction.replaceAndFind
Declaration | |
---|---|
From | case ReplaceAndFind |
To | case replaceAndFind |
Modified NSFindPanelAction.selectAll
Declaration | |
---|---|
From | case SelectAll |
To | case selectAll |
Declaration | |
---|---|
From | case SelectAllInSelection |
To | case selectAllInSelection |
Modified NSFindPanelAction.setFindString
Declaration | |
---|---|
From | case SetFindString |
To | case setFindString |
Modified NSFindPanelAction.showFindPanel
Declaration | |
---|---|
From | case ShowFindPanel |
To | case showFindPanel |
Modified NSFindPanelSubstringMatchType [enum]
Declaration | |
---|---|
From | enum NSFindPanelSubstringMatchType : UInt { case Contains case StartsWith case FullWord case EndsWith } |
To | enum NSFindPanelSubstringMatchType : UInt { case contains case startsWith case fullWord case endsWith } |
Declaration | |
---|---|
From | case Contains |
To | case contains |
Declaration | |
---|---|
From | case EndsWith |
To | case endsWith |
Declaration | |
---|---|
From | case FullWord |
To | case fullWord |
Declaration | |
---|---|
From | case StartsWith |
To | case startsWith |
Modified NSFocusRingPlacement [enum]
Declaration | |
---|---|
From | enum NSFocusRingPlacement : UInt { case Only case Below case Above } |
To | enum NSFocusRingPlacement : UInt { case only case below case above } |
Modified NSFocusRingPlacement.above
Declaration | |
---|---|
From | case Above |
To | case above |
Modified NSFocusRingPlacement.below
Declaration | |
---|---|
From | case Below |
To | case below |
Modified NSFocusRingPlacement.only
Declaration | |
---|---|
From | case Only |
To | case only |
Modified NSFocusRingType [enum]
Declaration | |
---|---|
From | enum NSFocusRingType : UInt { case Default case None case Exterior } |
To | enum NSFocusRingType : UInt { case `default` case none case exterior } |
Modified NSFocusRingType.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSFocusRingType.exterior
Declaration | |
---|---|
From | case Exterior |
To | case exterior |
Modified NSFocusRingType.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSFont
Declaration | Protocols | |
---|---|---|
From | class NSFont : NSObject, NSCopying, NSSecureCoding { init?(name fontName: String, size fontSize: CGFloat) class func fontWithName(_ fontName: String, size fontSize: CGFloat) -> NSFont? init?(name fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>) class func fontWithName(_ fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>) -> NSFont? init?(descriptor fontDescriptor: NSFontDescriptor, size fontSize: CGFloat) class func fontWithDescriptor(_ fontDescriptor: NSFontDescriptor, size fontSize: CGFloat) -> NSFont? init?(descriptor fontDescriptor: NSFontDescriptor, textTransform textTransform: NSAffineTransform?) class func fontWithDescriptor(_ fontDescriptor: NSFontDescriptor, textTransform textTransform: NSAffineTransform?) -> NSFont? class func userFontOfSize(_ fontSize: CGFloat) -> NSFont? class func userFixedPitchFontOfSize(_ fontSize: CGFloat) -> NSFont? class func setUserFont(_ aFont: NSFont?) class func setUserFixedPitchFont(_ aFont: NSFont?) class func systemFontOfSize(_ fontSize: CGFloat) -> NSFont class func boldSystemFontOfSize(_ fontSize: CGFloat) -> NSFont class func labelFontOfSize(_ fontSize: CGFloat) -> NSFont class func titleBarFontOfSize(_ fontSize: CGFloat) -> NSFont class func menuFontOfSize(_ fontSize: CGFloat) -> NSFont class func menuBarFontOfSize(_ fontSize: CGFloat) -> NSFont class func messageFontOfSize(_ fontSize: CGFloat) -> NSFont class func paletteFontOfSize(_ fontSize: CGFloat) -> NSFont class func toolTipsFontOfSize(_ fontSize: CGFloat) -> NSFont class func controlContentFontOfSize(_ fontSize: CGFloat) -> NSFont class func systemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> NSFont class func monospacedDigitSystemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> NSFont class func systemFontSize() -> CGFloat class func smallSystemFontSize() -> CGFloat class func labelFontSize() -> CGFloat class func systemFontSizeForControlSize(_ controlSize: NSControlSize) -> CGFloat var fontName: String { get } var pointSize: CGFloat { get } var matrix: UnsafePointer<CGFloat> { get } var familyName: String? { get } var displayName: String? { get } var fontDescriptor: NSFontDescriptor { get } @NSCopying var textTransform: NSAffineTransform { get } var numberOfGlyphs: Int { get } var mostCompatibleStringEncoding: UInt { get } func glyphWithName(_ aName: String) -> NSGlyph var coveredCharacterSet: NSCharacterSet { get } var boundingRectForFont: NSRect { get } var maximumAdvancement: NSSize { get } var ascender: CGFloat { get } var descender: CGFloat { get } var leading: CGFloat { get } var underlinePosition: CGFloat { get } var underlineThickness: CGFloat { get } var italicAngle: CGFloat { get } var capHeight: CGFloat { get } var xHeight: CGFloat { get } var fixedPitch: Bool { get } func boundingRectForGlyph(_ aGlyph: NSGlyph) -> NSRect func advancementForGlyph(_ ag: NSGlyph) -> NSSize func getBoundingRects(_ bounds: NSRectArray, forGlyphs glyphs: UnsafePointer<NSGlyph>, count glyphCount: Int) func getAdvancements(_ advancements: NSSizeArray, forGlyphs glyphs: UnsafePointer<NSGlyph>, count glyphCount: Int) func getAdvancements(_ advancements: NSSizeArray, forPackedGlyphs packedGlyphs: UnsafePointer<Void>, length length: Int) func set() func setInContext(_ graphicsContext: NSGraphicsContext) @NSCopying var printerFont: NSFont { get } @NSCopying var screenFont: NSFont { get } func screenFontWithRenderingMode(_ renderingMode: NSFontRenderingMode) -> NSFont var renderingMode: NSFontRenderingMode { get } @NSCopying var verticalFont: NSFont { get } var vertical: Bool { get } } | NSCopying, NSSecureCoding |
To | class NSFont : NSObject, NSCopying, NSSecureCoding { init?(name fontName: String, size fontSize: CGFloat) class func withName(_ fontName: String, size fontSize: CGFloat) -> NSFont? init?(name fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>) class func withName(_ fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>) -> NSFont? init?(descriptor fontDescriptor: NSFontDescriptor, size fontSize: CGFloat) class func withDescriptor(_ fontDescriptor: NSFontDescriptor, size fontSize: CGFloat) -> NSFont? init?(descriptor fontDescriptor: NSFontDescriptor, textTransform textTransform: AffineTransform?) class func withDescriptor(_ fontDescriptor: NSFontDescriptor, textTransform textTransform: AffineTransform?) -> NSFont? class func userFont(ofSize fontSize: CGFloat) -> NSFont? class func userFixedPitchFont(ofSize fontSize: CGFloat) -> NSFont? class func setUser(_ font: NSFont?) class func setUserFixedPitch(_ font: NSFont?) class func systemFont(ofSize fontSize: CGFloat) -> NSFont class func boldSystemFont(ofSize fontSize: CGFloat) -> NSFont class func labelFont(ofSize fontSize: CGFloat) -> NSFont class func titleBarFont(ofSize fontSize: CGFloat) -> NSFont class func menuFont(ofSize fontSize: CGFloat) -> NSFont class func menuBarFont(ofSize fontSize: CGFloat) -> NSFont class func messageFont(ofSize fontSize: CGFloat) -> NSFont class func paletteFont(ofSize fontSize: CGFloat) -> NSFont class func toolTipsFont(ofSize fontSize: CGFloat) -> NSFont class func controlContentFont(ofSize fontSize: CGFloat) -> NSFont class func systemFont(ofSize fontSize: CGFloat, weight weight: CGFloat) -> NSFont class func monospacedDigitSystemFont(ofSize fontSize: CGFloat, weight weight: CGFloat) -> NSFont class func systemFontSize() -> CGFloat class func smallSystemFontSize() -> CGFloat class func labelFontSize() -> CGFloat class func systemFontSize(for controlSize: NSControlSize) -> CGFloat var fontName: String { get } var pointSize: CGFloat { get } var matrix: UnsafePointer<CGFloat> { get } var familyName: String? { get } var displayName: String? { get } var fontDescriptor: NSFontDescriptor { get } var textTransform: AffineTransform { get } var numberOfGlyphs: Int { get } var mostCompatibleStringEncoding: UInt { get } func glyph(withName name: String) -> NSGlyph var coveredCharacterSet: CharacterSet { get } var boundingRectForFont: NSRect { get } var maximumAdvancement: NSSize { get } var ascender: CGFloat { get } var descender: CGFloat { get } var leading: CGFloat { get } var underlinePosition: CGFloat { get } var underlineThickness: CGFloat { get } var italicAngle: CGFloat { get } var capHeight: CGFloat { get } var xHeight: CGFloat { get } var isFixedPitch: Bool { get } func boundingRect(forGlyph glyph: NSGlyph) -> NSRect func advancement(forGlyph glyph: NSGlyph) -> NSSize func getBoundingRects(_ bounds: NSRectArray, forGlyphs glyphs: UnsafePointer<NSGlyph>, count glyphCount: Int) func getAdvancements(_ advancements: NSSizeArray, forGlyphs glyphs: UnsafePointer<NSGlyph>, count glyphCount: Int) func getAdvancements(_ advancements: NSSizeArray, forPackedGlyphs packedGlyphs: UnsafeRawPointer, length length: Int) func set() func set(in graphicsContext: NSGraphicsContext) @NSCopying var printer: NSFont { get } @NSCopying var screen: NSFont { get } func screenFont(with renderingMode: NSFontRenderingMode) -> NSFont var renderingMode: NSFontRenderingMode { get } @NSCopying var vertical: NSFont { get } var isVertical: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSFont : CVarArg { } extension NSFont : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | func advancementForGlyph(_ ag: NSGlyph) -> NSSize |
To | func advancement(forGlyph glyph: NSGlyph) -> NSSize |
Declaration | |
---|---|
From | class func boldSystemFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func boldSystemFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | func boundingRectForGlyph(_ aGlyph: NSGlyph) -> NSRect |
To | func boundingRect(forGlyph glyph: NSGlyph) -> NSRect |
Declaration | |
---|---|
From | class func controlContentFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func controlContentFont(ofSize fontSize: CGFloat) -> NSFont |
Modified NSFont.coveredCharacterSet
Declaration | |
---|---|
From | var coveredCharacterSet: NSCharacterSet { get } |
To | var coveredCharacterSet: CharacterSet { get } |
Declaration | |
---|---|
From | func getAdvancements(_ advancements: NSSizeArray, forPackedGlyphs packedGlyphs: UnsafePointer<Void>, length length: Int) |
To | func getAdvancements(_ advancements: NSSizeArray, forPackedGlyphs packedGlyphs: UnsafeRawPointer, length length: Int) |
Declaration | |
---|---|
From | func glyphWithName(_ aName: String) -> NSGlyph |
To | func glyph(withName name: String) -> NSGlyph |
Declaration | |
---|---|
From | init?(descriptor fontDescriptor: NSFontDescriptor, textTransform textTransform: NSAffineTransform?) |
To | init?(descriptor fontDescriptor: NSFontDescriptor, textTransform textTransform: AffineTransform?) |
Modified NSFont.isFixedPitch
Declaration | |
---|---|
From | var fixedPitch: Bool { get } |
To | var isFixedPitch: Bool { get } |
Modified NSFont.isVertical
Declaration | |
---|---|
From | var vertical: Bool { get } |
To | var isVertical: Bool { get } |
Declaration | |
---|---|
From | class func labelFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func labelFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func menuBarFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func menuBarFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func menuFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func menuFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func messageFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func messageFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func monospacedDigitSystemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> NSFont |
To | class func monospacedDigitSystemFont(ofSize fontSize: CGFloat, weight weight: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func paletteFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func paletteFont(ofSize fontSize: CGFloat) -> NSFont |
Modified NSFont.printer
Declaration | |
---|---|
From | @NSCopying var printerFont: NSFont { get } |
To | @NSCopying var printer: NSFont { get } |
Modified NSFont.screen
Declaration | |
---|---|
From | @NSCopying var screenFont: NSFont { get } |
To | @NSCopying var screen: NSFont { get } |
Declaration | |
---|---|
From | func screenFontWithRenderingMode(_ renderingMode: NSFontRenderingMode) -> NSFont |
To | func screenFont(with renderingMode: NSFontRenderingMode) -> NSFont |
Modified NSFont.set(in: NSGraphicsContext)
Declaration | |
---|---|
From | func setInContext(_ graphicsContext: NSGraphicsContext) |
To | func set(in graphicsContext: NSGraphicsContext) |
Modified NSFont.setUser(_: NSFont?) [class]
Declaration | |
---|---|
From | class func setUserFont(_ aFont: NSFont?) |
To | class func setUser(_ font: NSFont?) |
Declaration | |
---|---|
From | class func setUserFixedPitchFont(_ aFont: NSFont?) |
To | class func setUserFixedPitch(_ font: NSFont?) |
Declaration | |
---|---|
From | class func systemFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func systemFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func systemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> NSFont |
To | class func systemFont(ofSize fontSize: CGFloat, weight weight: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func systemFontSizeForControlSize(_ controlSize: NSControlSize) -> CGFloat |
To | class func systemFontSize(for controlSize: NSControlSize) -> CGFloat |
Modified NSFont.textTransform
Declaration | |
---|---|
From | @NSCopying var textTransform: NSAffineTransform { get } |
To | var textTransform: AffineTransform { get } |
Declaration | |
---|---|
From | class func titleBarFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func titleBarFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func toolTipsFontOfSize(_ fontSize: CGFloat) -> NSFont |
To | class func toolTipsFont(ofSize fontSize: CGFloat) -> NSFont |
Declaration | |
---|---|
From | class func userFixedPitchFontOfSize(_ fontSize: CGFloat) -> NSFont? |
To | class func userFixedPitchFont(ofSize fontSize: CGFloat) -> NSFont? |
Declaration | |
---|---|
From | class func userFontOfSize(_ fontSize: CGFloat) -> NSFont? |
To | class func userFont(ofSize fontSize: CGFloat) -> NSFont? |
Modified NSFont.vertical
Declaration | |
---|---|
From | @NSCopying var verticalFont: NSFont { get } |
To | @NSCopying var vertical: NSFont { get } |
Modified NSFontAction [enum]
Declaration | |
---|---|
From | enum NSFontAction : UInt { case NoFontChangeAction case ViaPanelFontAction case AddTraitFontAction case SizeUpFontAction case SizeDownFontAction case HeavierFontAction case LighterFontAction case RemoveTraitFontAction } |
To | enum NSFontAction : UInt { case noFontChangeAction case viaPanelFontAction case addTraitFontAction case sizeUpFontAction case sizeDownFontAction case heavierFontAction case lighterFontAction case removeTraitFontAction } |
Modified NSFontAction.addTraitFontAction
Declaration | |
---|---|
From | case AddTraitFontAction |
To | case addTraitFontAction |
Modified NSFontAction.heavierFontAction
Declaration | |
---|---|
From | case HeavierFontAction |
To | case heavierFontAction |
Modified NSFontAction.lighterFontAction
Declaration | |
---|---|
From | case LighterFontAction |
To | case lighterFontAction |
Modified NSFontAction.noFontChangeAction
Declaration | |
---|---|
From | case NoFontChangeAction |
To | case noFontChangeAction |
Modified NSFontAction.removeTraitFontAction
Declaration | |
---|---|
From | case RemoveTraitFontAction |
To | case removeTraitFontAction |
Modified NSFontAction.sizeDownFontAction
Declaration | |
---|---|
From | case SizeDownFontAction |
To | case sizeDownFontAction |
Modified NSFontAction.sizeUpFontAction
Declaration | |
---|---|
From | case SizeUpFontAction |
To | case sizeUpFontAction |
Modified NSFontAction.viaPanelFontAction
Declaration | |
---|---|
From | case ViaPanelFontAction |
To | case viaPanelFontAction |
Modified NSFontCollection
Declaration | Protocols | |
---|---|---|
From | class NSFontCollection : NSObject, NSCopying, NSMutableCopying, NSCoding { init(descriptors queryDescriptors: [NSFontDescriptor]) class func fontCollectionWithDescriptors(_ queryDescriptors: [NSFontDescriptor]) -> NSFontCollection class func fontCollectionWithAllAvailableDescriptors() -> NSFontCollection init?(locale locale: NSLocale) class func fontCollectionWithLocale(_ locale: NSLocale) -> NSFontCollection? class func showFontCollection(_ collection: NSFontCollection, withName name: String, visibility visibility: NSFontCollectionVisibility) throws class func hideFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility) throws class func renameFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility, toName name: String) throws class func allFontCollectionNames() -> [String] init?(name name: String) class func fontCollectionWithName(_ name: String) -> NSFontCollection? init?(name name: String, visibility visibility: NSFontCollectionVisibility) class func fontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility) -> NSFontCollection? var queryDescriptors: [NSFontDescriptor]? { get } var exclusionDescriptors: [NSFontDescriptor]? { get } var matchingDescriptors: [NSFontDescriptor]? { get } func matchingDescriptorsWithOptions(_ options: [String : NSNumber]?) -> [NSFontDescriptor]? func matchingDescriptorsForFamily(_ family: String) -> [NSFontDescriptor]? func matchingDescriptorsForFamily(_ family: String, options options: [String : NSNumber]?) -> [NSFontDescriptor]? } | NSCoding, NSCopying, NSMutableCopying |
To | class NSFontCollection : NSObject, NSCopying, NSMutableCopying, NSCoding { init(descriptors queryDescriptors: [NSFontDescriptor]) class func withDescriptors(_ queryDescriptors: [NSFontDescriptor]) -> NSFontCollection class func withAllAvailableDescriptors() -> NSFontCollection init?(locale locale: Locale) class func withLocale(_ locale: Locale) -> NSFontCollection? class func show(_ collection: NSFontCollection, withName name: String, visibility visibility: NSFontCollectionVisibility) throws class func hide(withName name: String, visibility visibility: NSFontCollectionVisibility) throws class func rename(fromName name: String, visibility visibility: NSFontCollectionVisibility, toName name: String) throws class func allFontCollectionNames() -> [String] init?(name name: String) class func withName(_ name: String) -> NSFontCollection? init?(name name: String, visibility visibility: NSFontCollectionVisibility) class func withName(_ name: String, visibility visibility: NSFontCollectionVisibility) -> NSFontCollection? var queryDescriptors: [NSFontDescriptor]? { get } var exclusionDescriptors: [NSFontDescriptor]? { get } var matchingDescriptors: [NSFontDescriptor]? { get } func matchingDescriptors(options options: [String : NSNumber]? = nil) -> [NSFontDescriptor]? func matchingDescriptors(forFamily family: String) -> [NSFontDescriptor]? func matchingDescriptors(forFamily family: String, options options: [String : NSNumber]? = nil) -> [NSFontDescriptor]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSFontCollection : CVarArg { } extension NSFontCollection : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSMutableCopying |
Modified NSFontCollection.hide(withName: String, visibility: NSFontCollectionVisibility) throws [class]
Declaration | |
---|---|
From | class func hideFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility) throws |
To | class func hide(withName name: String, visibility visibility: NSFontCollectionVisibility) throws |
Declaration | |
---|---|
From | init?(locale locale: NSLocale) |
To | init?(locale locale: Locale) |
Declaration | |
---|---|
From | func matchingDescriptorsForFamily(_ family: String) -> [NSFontDescriptor]? |
To | func matchingDescriptors(forFamily family: String) -> [NSFontDescriptor]? |
Declaration | |
---|---|
From | func matchingDescriptorsForFamily(_ family: String, options options: [String : NSNumber]?) -> [NSFontDescriptor]? |
To | func matchingDescriptors(forFamily family: String, options options: [String : NSNumber]? = nil) -> [NSFontDescriptor]? |
Declaration | |
---|---|
From | func matchingDescriptorsWithOptions(_ options: [String : NSNumber]?) -> [NSFontDescriptor]? |
To | func matchingDescriptors(options options: [String : NSNumber]? = nil) -> [NSFontDescriptor]? |
Declaration | |
---|---|
From | class func renameFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility, toName name: String) throws |
To | class func rename(fromName name: String, visibility visibility: NSFontCollectionVisibility, toName name: String) throws |
Declaration | |
---|---|
From | class func showFontCollection(_ collection: NSFontCollection, withName name: String, visibility visibility: NSFontCollectionVisibility) throws |
To | class func show(_ collection: NSFontCollection, withName name: String, visibility visibility: NSFontCollectionVisibility) throws |
Declaration | |
---|---|
From | class func fontCollectionWithAllAvailableDescriptors() -> NSFontCollection |
To | class func withAllAvailableDescriptors() -> NSFontCollection |
Modified NSFontCollectionOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSFontCollectionOptions : OptionSetType { init(rawValue rawValue: UInt) static var ApplicationOnlyMask: NSFontCollectionOptions { get } } | OptionSetType |
To | struct NSFontCollectionOptions : OptionSet { init(rawValue rawValue: UInt) static var applicationOnlyMask: NSFontCollectionOptions { get } func intersect(_ other: NSFontCollectionOptions) -> NSFontCollectionOptions func exclusiveOr(_ other: NSFontCollectionOptions) -> NSFontCollectionOptions mutating func unionInPlace(_ other: NSFontCollectionOptions) mutating func intersectInPlace(_ other: NSFontCollectionOptions) mutating func exclusiveOrInPlace(_ other: NSFontCollectionOptions) func isSubsetOf(_ other: NSFontCollectionOptions) -> Bool func isDisjointWith(_ other: NSFontCollectionOptions) -> Bool func isSupersetOf(_ other: NSFontCollectionOptions) -> Bool mutating func subtractInPlace(_ other: NSFontCollectionOptions) func isStrictSupersetOf(_ other: NSFontCollectionOptions) -> Bool func isStrictSubsetOf(_ other: NSFontCollectionOptions) -> Bool } extension NSFontCollectionOptions { func union(_ other: NSFontCollectionOptions) -> NSFontCollectionOptions func intersection(_ other: NSFontCollectionOptions) -> NSFontCollectionOptions func symmetricDifference(_ other: NSFontCollectionOptions) -> NSFontCollectionOptions } extension NSFontCollectionOptions { func contains(_ member: NSFontCollectionOptions) -> Bool mutating func insert(_ newMember: NSFontCollectionOptions) -> (inserted: Bool, memberAfterInsert: NSFontCollectionOptions) mutating func remove(_ member: NSFontCollectionOptions) -> NSFontCollectionOptions? mutating func update(with newMember: NSFontCollectionOptions) -> NSFontCollectionOptions? } extension NSFontCollectionOptions { convenience init() mutating func formUnion(_ other: NSFontCollectionOptions) mutating func formIntersection(_ other: NSFontCollectionOptions) mutating func formSymmetricDifference(_ other: NSFontCollectionOptions) } extension NSFontCollectionOptions { convenience init<S : Sequence where S.Iterator.Element == NSFontCollectionOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSFontCollectionOptions...) mutating func subtract(_ other: NSFontCollectionOptions) func isSubset(of other: NSFontCollectionOptions) -> Bool func isSuperset(of other: NSFontCollectionOptions) -> Bool func isDisjoint(with other: NSFontCollectionOptions) -> Bool func subtracting(_ other: NSFontCollectionOptions) -> NSFontCollectionOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSFontCollectionOptions) -> Bool func isStrictSubset(of other: NSFontCollectionOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ApplicationOnlyMask: NSFontCollectionOptions { get } |
To | static var applicationOnlyMask: NSFontCollectionOptions { get } |
Modified NSFontCollectionVisibility [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSFontCollectionVisibility : OptionSetType { init(rawValue rawValue: UInt) static var Process: NSFontCollectionVisibility { get } static var User: NSFontCollectionVisibility { get } static var Computer: NSFontCollectionVisibility { get } } | OptionSetType |
To | struct NSFontCollectionVisibility : OptionSet { init(rawValue rawValue: UInt) static var process: NSFontCollectionVisibility { get } static var user: NSFontCollectionVisibility { get } static var computer: NSFontCollectionVisibility { get } func intersect(_ other: NSFontCollectionVisibility) -> NSFontCollectionVisibility func exclusiveOr(_ other: NSFontCollectionVisibility) -> NSFontCollectionVisibility mutating func unionInPlace(_ other: NSFontCollectionVisibility) mutating func intersectInPlace(_ other: NSFontCollectionVisibility) mutating func exclusiveOrInPlace(_ other: NSFontCollectionVisibility) func isSubsetOf(_ other: NSFontCollectionVisibility) -> Bool func isDisjointWith(_ other: NSFontCollectionVisibility) -> Bool func isSupersetOf(_ other: NSFontCollectionVisibility) -> Bool mutating func subtractInPlace(_ other: NSFontCollectionVisibility) func isStrictSupersetOf(_ other: NSFontCollectionVisibility) -> Bool func isStrictSubsetOf(_ other: NSFontCollectionVisibility) -> Bool } extension NSFontCollectionVisibility { func union(_ other: NSFontCollectionVisibility) -> NSFontCollectionVisibility func intersection(_ other: NSFontCollectionVisibility) -> NSFontCollectionVisibility func symmetricDifference(_ other: NSFontCollectionVisibility) -> NSFontCollectionVisibility } extension NSFontCollectionVisibility { func contains(_ member: NSFontCollectionVisibility) -> Bool mutating func insert(_ newMember: NSFontCollectionVisibility) -> (inserted: Bool, memberAfterInsert: NSFontCollectionVisibility) mutating func remove(_ member: NSFontCollectionVisibility) -> NSFontCollectionVisibility? mutating func update(with newMember: NSFontCollectionVisibility) -> NSFontCollectionVisibility? } extension NSFontCollectionVisibility { convenience init() mutating func formUnion(_ other: NSFontCollectionVisibility) mutating func formIntersection(_ other: NSFontCollectionVisibility) mutating func formSymmetricDifference(_ other: NSFontCollectionVisibility) } extension NSFontCollectionVisibility { convenience init<S : Sequence where S.Iterator.Element == NSFontCollectionVisibility>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSFontCollectionVisibility...) mutating func subtract(_ other: NSFontCollectionVisibility) func isSubset(of other: NSFontCollectionVisibility) -> Bool func isSuperset(of other: NSFontCollectionVisibility) -> Bool func isDisjoint(with other: NSFontCollectionVisibility) -> Bool func subtracting(_ other: NSFontCollectionVisibility) -> NSFontCollectionVisibility var isEmpty: Bool { get } func isStrictSuperset(of other: NSFontCollectionVisibility) -> Bool func isStrictSubset(of other: NSFontCollectionVisibility) -> Bool } | OptionSet |
Modified NSFontCollectionVisibility.computer
Declaration | |
---|---|
From | static var Computer: NSFontCollectionVisibility { get } |
To | static var computer: NSFontCollectionVisibility { get } |
Modified NSFontCollectionVisibility.process
Declaration | |
---|---|
From | static var Process: NSFontCollectionVisibility { get } |
To | static var process: NSFontCollectionVisibility { get } |
Modified NSFontCollectionVisibility.user
Declaration | |
---|---|
From | static var User: NSFontCollectionVisibility { get } |
To | static var user: NSFontCollectionVisibility { get } |
Modified NSFontDescriptor
Declaration | Protocols | |
---|---|---|
From | class NSFontDescriptor : NSObject, NSCopying, NSSecureCoding { var postscriptName: String? { get } var pointSize: CGFloat { get } @NSCopying var matrix: NSAffineTransform? { get } var symbolicTraits: NSFontSymbolicTraits { get } func objectForKey(_ anAttribute: String) -> AnyObject? var fontAttributes: [String : AnyObject] { get } init(fontAttributes attributes: [String : AnyObject]?) class func fontDescriptorWithFontAttributes(_ attributes: [String : AnyObject]?) -> NSFontDescriptor init(name fontName: String, size size: CGFloat) class func fontDescriptorWithName(_ fontName: String, size size: CGFloat) -> NSFontDescriptor init(name fontName: String, matrix matrix: NSAffineTransform) class func fontDescriptorWithName(_ fontName: String, matrix matrix: NSAffineTransform) -> NSFontDescriptor init(fontAttributes attributes: [String : AnyObject]?) func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> [NSFontDescriptor] func matchingFontDescriptorWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> NSFontDescriptor? func fontDescriptorByAddingAttributes(_ attributes: [String : AnyObject]) -> NSFontDescriptor func fontDescriptorWithSymbolicTraits(_ symbolicTraits: NSFontSymbolicTraits) -> NSFontDescriptor func fontDescriptorWithSize(_ newPointSize: CGFloat) -> NSFontDescriptor func fontDescriptorWithMatrix(_ matrix: NSAffineTransform) -> NSFontDescriptor func fontDescriptorWithFace(_ newFace: String) -> NSFontDescriptor func fontDescriptorWithFamily(_ newFamily: String) -> NSFontDescriptor } | NSCopying, NSSecureCoding |
To | class NSFontDescriptor : NSObject, NSCopying, NSSecureCoding { var postscriptName: String? { get } var pointSize: CGFloat { get } var matrix: AffineTransform? { get } var symbolicTraits: NSFontSymbolicTraits { get } func object(forKey attribute: String) -> Any? var fontAttributes: [String : Any] { get } init(fontAttributes attributes: [String : Any]? = nil) class func withFontAttributes(_ attributes: [String : Any]? = nil) -> NSFontDescriptor init(name fontName: String, size size: CGFloat) class func withName(_ fontName: String, size size: CGFloat) -> NSFontDescriptor init(name fontName: String, matrix matrix: AffineTransform) class func withName(_ fontName: String, matrix matrix: AffineTransform) -> NSFontDescriptor init(fontAttributes attributes: [String : Any]? = nil) func matchingFontDescriptors(withMandatoryKeys mandatoryKeys: Set<String>?) -> [NSFontDescriptor] func matchingFontDescriptor(withMandatoryKeys mandatoryKeys: Set<String>?) -> NSFontDescriptor? func addingAttributes(_ attributes: [String : Any] = [:]) -> NSFontDescriptor func withSymbolicTraits(_ symbolicTraits: NSFontSymbolicTraits) -> NSFontDescriptor func withSize(_ newPointSize: CGFloat) -> NSFontDescriptor func withMatrix(_ matrix: AffineTransform) -> NSFontDescriptor func withFace(_ newFace: String) -> NSFontDescriptor func withFamily(_ newFamily: String) -> NSFontDescriptor func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSFontDescriptor : CVarArg { } extension NSFontDescriptor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | func fontDescriptorByAddingAttributes(_ attributes: [String : AnyObject]) -> NSFontDescriptor |
To | func addingAttributes(_ attributes: [String : Any] = [:]) -> NSFontDescriptor |
Modified NSFontDescriptor.fontAttributes
Declaration | |
---|---|
From | var fontAttributes: [String : AnyObject] { get } |
To | var fontAttributes: [String : Any] { get } |
Declaration | |
---|---|
From | init(fontAttributes attributes: [String : AnyObject]?) |
To | init(fontAttributes attributes: [String : Any]? = nil) |
Declaration | |
---|---|
From | init(name fontName: String, matrix matrix: NSAffineTransform) |
To | init(name fontName: String, matrix matrix: AffineTransform) |
Modified NSFontDescriptor.matchingFontDescriptor(withMandatoryKeys: Set<String>?) -> NSFontDescriptor?
Declaration | |
---|---|
From | func matchingFontDescriptorWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> NSFontDescriptor? |
To | func matchingFontDescriptor(withMandatoryKeys mandatoryKeys: Set<String>?) -> NSFontDescriptor? |
Modified NSFontDescriptor.matchingFontDescriptors(withMandatoryKeys: Set<String>?) -> [NSFontDescriptor]
Declaration | |
---|---|
From | func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> [NSFontDescriptor] |
To | func matchingFontDescriptors(withMandatoryKeys mandatoryKeys: Set<String>?) -> [NSFontDescriptor] |
Modified NSFontDescriptor.matrix
Declaration | |
---|---|
From | @NSCopying var matrix: NSAffineTransform? { get } |
To | var matrix: AffineTransform? { get } |
Declaration | |
---|---|
From | func objectForKey(_ anAttribute: String) -> AnyObject? |
To | func object(forKey attribute: String) -> Any? |
Declaration | |
---|---|
From | func fontDescriptorWithFace(_ newFace: String) -> NSFontDescriptor |
To | func withFace(_ newFace: String) -> NSFontDescriptor |
Declaration | |
---|---|
From | func fontDescriptorWithFamily(_ newFamily: String) -> NSFontDescriptor |
To | func withFamily(_ newFamily: String) -> NSFontDescriptor |
Declaration | |
---|---|
From | func fontDescriptorWithMatrix(_ matrix: NSAffineTransform) -> NSFontDescriptor |
To | func withMatrix(_ matrix: AffineTransform) -> NSFontDescriptor |
Declaration | |
---|---|
From | func fontDescriptorWithSize(_ newPointSize: CGFloat) -> NSFontDescriptor |
To | func withSize(_ newPointSize: CGFloat) -> NSFontDescriptor |
Declaration | |
---|---|
From | func fontDescriptorWithSymbolicTraits(_ symbolicTraits: NSFontSymbolicTraits) -> NSFontDescriptor |
To | func withSymbolicTraits(_ symbolicTraits: NSFontSymbolicTraits) -> NSFontDescriptor |
Modified NSFontManager
Declaration | Protocols | |
---|---|---|
From | class NSFontManager : NSObject { class func setFontPanelFactory(_ factoryId: AnyClass?) class func setFontManagerFactory(_ factoryId: AnyClass?) class func sharedFontManager() -> NSFontManager var multiple: Bool { get } var selectedFont: NSFont? { get } func setSelectedFont(_ fontObj: NSFont, isMultiple flag: Bool) func setFontMenu(_ newMenu: NSMenu) func fontMenu(_ create: Bool) -> NSMenu? func fontPanel(_ create: Bool) -> NSFontPanel? func fontWithFamily(_ family: String, traits traits: NSFontTraitMask, weight weight: Int, size size: CGFloat) -> NSFont? func traitsOfFont(_ fontObj: NSFont) -> NSFontTraitMask func weightOfFont(_ fontObj: NSFont) -> Int var availableFonts: [String] { get } var availableFontFamilies: [String] { get } func availableMembersOfFontFamily(_ fam: String) -> [[AnyObject]]? func convertFont(_ fontObj: NSFont) -> NSFont func convertFont(_ fontObj: NSFont, toSize size: CGFloat) -> NSFont func convertFont(_ fontObj: NSFont, toFace typeface: String) -> NSFont? func convertFont(_ fontObj: NSFont, toFamily family: String) -> NSFont func convertFont(_ fontObj: NSFont, toHaveTrait trait: NSFontTraitMask) -> NSFont func convertFont(_ fontObj: NSFont, toNotHaveTrait trait: NSFontTraitMask) -> NSFont func convertWeight(_ upFlag: Bool, ofFont fontObj: NSFont) -> NSFont var enabled: Bool var action: Selector unowned(unsafe) var delegate: AnyObject? func sendAction() -> Bool func localizedNameForFamily(_ family: String, face faceKey: String?) -> String func setSelectedAttributes(_ attributes: [String : AnyObject], isMultiple flag: Bool) func convertAttributes(_ attributes: [String : AnyObject]) -> [String : AnyObject] func availableFontNamesMatchingFontDescriptor(_ descriptor: NSFontDescriptor) -> [AnyObject]? var collectionNames: [AnyObject] { get } func fontDescriptorsInCollection(_ collectionNames: String) -> [AnyObject]? func addCollection(_ collectionName: String, options collectionOptions: NSFontCollectionOptions) -> Bool func removeCollection(_ collectionName: String) -> Bool func addFontDescriptors(_ descriptors: [AnyObject], toCollection collectionName: String) func removeFontDescriptor(_ descriptor: NSFontDescriptor, fromCollection collection: String) var currentFontAction: NSFontAction { get } func convertFontTraits(_ traits: NSFontTraitMask) -> NSFontTraitMask weak var target: AnyObject? } extension NSFontManager { func fontNamed(_ fName: String, hasTraits someTraits: NSFontTraitMask) -> Bool func availableFontNamesWithTraits(_ someTraits: NSFontTraitMask) -> [String]? func addFontTrait(_ sender: AnyObject?) func removeFontTrait(_ sender: AnyObject?) func modifyFontViaPanel(_ sender: AnyObject?) func modifyFont(_ sender: AnyObject?) func orderFrontFontPanel(_ sender: AnyObject?) func orderFrontStylesPanel(_ sender: AnyObject?) } | -- |
To | class NSFontManager : NSObject { class func setFontPanelFactory(_ factoryId: Swift.AnyClass?) class func setFontManagerFactory(_ factoryId: Swift.AnyClass?) class func shared() -> NSFontManager var isMultiple: Bool { get } var selectedFont: NSFont? { get } func setSelectedFont(_ fontObj: NSFont, isMultiple flag: Bool) func setFontMenu(_ newMenu: NSMenu) func fontMenu(_ create: Bool) -> NSMenu? func fontPanel(_ create: Bool) -> NSFontPanel? func font(withFamily family: String, traits traits: NSFontTraitMask, weight weight: Int, size size: CGFloat) -> NSFont? func traits(of fontObj: NSFont) -> NSFontTraitMask func weight(of fontObj: NSFont) -> Int var availableFonts: [String] { get } var availableFontFamilies: [String] { get } func availableMembers(ofFontFamily fam: String) -> [[Any]]? func convert(_ fontObj: NSFont) -> NSFont func convert(_ fontObj: NSFont, toSize size: CGFloat) -> NSFont func convert(_ fontObj: NSFont, toFace typeface: String) -> NSFont? func convert(_ fontObj: NSFont, toFamily family: String) -> NSFont func convert(_ fontObj: NSFont, toHaveTrait trait: NSFontTraitMask) -> NSFont func convert(_ fontObj: NSFont, toNotHaveTrait trait: NSFontTraitMask) -> NSFont func convertWeight(_ upFlag: Bool, of fontObj: NSFont) -> NSFont var isEnabled: Bool var action: Selector unowned(unsafe) var delegate: AnyObject? func sendAction() -> Bool func localizedName(forFamily family: String, face faceKey: String?) -> String func setSelectedAttributes(_ attributes: [String : Any], isMultiple flag: Bool) func convertAttributes(_ attributes: [String : Any] = [:]) -> [String : Any] func availableFontNames(matching descriptor: NSFontDescriptor) -> [Any]? var collectionNames: [Any] { get } func fontDescriptors(inCollection collectionNames: String) -> [Any]? func addCollection(_ collectionName: String, options collectionOptions: NSFontCollectionOptions = []) -> Bool func removeCollection(_ collectionName: String) -> Bool func addFontDescriptors(_ descriptors: [Any], toCollection collectionName: String) func removeFontDescriptor(_ descriptor: NSFontDescriptor, fromCollection collection: String) var currentFontAction: NSFontAction { get } func convertFontTraits(_ traits: NSFontTraitMask) -> NSFontTraitMask weak var target: AnyObject? func fontNamed(_ fName: String, hasTraits someTraits: NSFontTraitMask) -> Bool func availableFontNames(with someTraits: NSFontTraitMask) -> [String]? func addFontTrait(_ sender: Any?) func removeFontTrait(_ sender: Any?) func modifyFontViaPanel(_ sender: Any?) func modifyFont(_ sender: Any?) func orderFrontFontPanel(_ sender: Any?) func orderFrontStylesPanel(_ sender: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSFontManager : CVarArg { } extension NSFontManager : Equatable, Hashable { var hashValue: Int { get } } extension NSFontManager { func fontNamed(_ fName: String, hasTraits someTraits: NSFontTraitMask) -> Bool func availableFontNames(with someTraits: NSFontTraitMask) -> [String]? func addFontTrait(_ sender: Any?) func removeFontTrait(_ sender: Any?) func modifyFontViaPanel(_ sender: Any?) func modifyFont(_ sender: Any?) func orderFrontFontPanel(_ sender: Any?) func orderFrontStylesPanel(_ sender: Any?) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addCollection(_ collectionName: String, options collectionOptions: NSFontCollectionOptions) -> Bool |
To | func addCollection(_ collectionName: String, options collectionOptions: NSFontCollectionOptions = []) -> Bool |
Declaration | |
---|---|
From | func addFontDescriptors(_ descriptors: [AnyObject], toCollection collectionName: String) |
To | func addFontDescriptors(_ descriptors: [Any], toCollection collectionName: String) |
Modified NSFontManager.addFontTrait(_: Any?)
Declaration | |
---|---|
From | func addFontTrait(_ sender: AnyObject?) |
To | func addFontTrait(_ sender: Any?) |
Declaration | |
---|---|
From | func availableFontNamesMatchingFontDescriptor(_ descriptor: NSFontDescriptor) -> [AnyObject]? |
To | func availableFontNames(matching descriptor: NSFontDescriptor) -> [Any]? |
Declaration | |
---|---|
From | func availableFontNamesWithTraits(_ someTraits: NSFontTraitMask) -> [String]? |
To | func availableFontNames(with someTraits: NSFontTraitMask) -> [String]? |
Declaration | |
---|---|
From | func availableMembersOfFontFamily(_ fam: String) -> [[AnyObject]]? |
To | func availableMembers(ofFontFamily fam: String) -> [[Any]]? |
Modified NSFontManager.collectionNames
Declaration | |
---|---|
From | var collectionNames: [AnyObject] { get } |
To | var collectionNames: [Any] { get } |
Declaration | |
---|---|
From | func convertFont(_ fontObj: NSFont) -> NSFont |
To | func convert(_ fontObj: NSFont) -> NSFont |
Declaration | |
---|---|
From | func convertFont(_ fontObj: NSFont, toFace typeface: String) -> NSFont? |
To | func convert(_ fontObj: NSFont, toFace typeface: String) -> NSFont? |
Declaration | |
---|---|
From | func convertFont(_ fontObj: NSFont, toFamily family: String) -> NSFont |
To | func convert(_ fontObj: NSFont, toFamily family: String) -> NSFont |
Declaration | |
---|---|
From | func convertFont(_ fontObj: NSFont, toHaveTrait trait: NSFontTraitMask) -> NSFont |
To | func convert(_ fontObj: NSFont, toHaveTrait trait: NSFontTraitMask) -> NSFont |
Declaration | |
---|---|
From | func convertFont(_ fontObj: NSFont, toNotHaveTrait trait: NSFontTraitMask) -> NSFont |
To | func convert(_ fontObj: NSFont, toNotHaveTrait trait: NSFontTraitMask) -> NSFont |
Declaration | |
---|---|
From | func convertFont(_ fontObj: NSFont, toSize size: CGFloat) -> NSFont |
To | func convert(_ fontObj: NSFont, toSize size: CGFloat) -> NSFont |
Declaration | |
---|---|
From | func convertAttributes(_ attributes: [String : AnyObject]) -> [String : AnyObject] |
To | func convertAttributes(_ attributes: [String : Any] = [:]) -> [String : Any] |
Declaration | |
---|---|
From | func convertWeight(_ upFlag: Bool, ofFont fontObj: NSFont) -> NSFont |
To | func convertWeight(_ upFlag: Bool, of fontObj: NSFont) -> NSFont |
Declaration | |
---|---|
From | func fontWithFamily(_ family: String, traits traits: NSFontTraitMask, weight weight: Int, size size: CGFloat) -> NSFont? |
To | func font(withFamily family: String, traits traits: NSFontTraitMask, weight weight: Int, size size: CGFloat) -> NSFont? |
Declaration | |
---|---|
From | func fontDescriptorsInCollection(_ collectionNames: String) -> [AnyObject]? |
To | func fontDescriptors(inCollection collectionNames: String) -> [Any]? |
Modified NSFontManager.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified NSFontManager.isMultiple
Declaration | |
---|---|
From | var multiple: Bool { get } |
To | var isMultiple: Bool { get } |
Declaration | |
---|---|
From | func localizedNameForFamily(_ family: String, face faceKey: String?) -> String |
To | func localizedName(forFamily family: String, face faceKey: String?) -> String |
Modified NSFontManager.modifyFont(_: Any?)
Declaration | |
---|---|
From | func modifyFont(_ sender: AnyObject?) |
To | func modifyFont(_ sender: Any?) |
Declaration | |
---|---|
From | func modifyFontViaPanel(_ sender: AnyObject?) |
To | func modifyFontViaPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontFontPanel(_ sender: AnyObject?) |
To | func orderFrontFontPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontStylesPanel(_ sender: AnyObject?) |
To | func orderFrontStylesPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func removeFontTrait(_ sender: AnyObject?) |
To | func removeFontTrait(_ sender: Any?) |
Declaration | |
---|---|
From | class func setFontManagerFactory(_ factoryId: AnyClass?) |
To | class func setFontManagerFactory(_ factoryId: Swift.AnyClass?) |
Declaration | |
---|---|
From | class func setFontPanelFactory(_ factoryId: AnyClass?) |
To | class func setFontPanelFactory(_ factoryId: Swift.AnyClass?) |
Declaration | |
---|---|
From | func setSelectedAttributes(_ attributes: [String : AnyObject], isMultiple flag: Bool) |
To | func setSelectedAttributes(_ attributes: [String : Any], isMultiple flag: Bool) |
Declaration | |
---|---|
From | class func sharedFontManager() -> NSFontManager |
To | class func shared() -> NSFontManager |
Declaration | |
---|---|
From | func traitsOfFont(_ fontObj: NSFont) -> NSFontTraitMask |
To | func traits(of fontObj: NSFont) -> NSFontTraitMask |
Declaration | |
---|---|
From | func weightOfFont(_ fontObj: NSFont) -> Int |
To | func weight(of fontObj: NSFont) -> Int |
Modified NSFontPanel
Declaration | |
---|---|
From | class NSFontPanel : NSPanel { class func sharedFontPanel() -> NSFontPanel class func sharedFontPanelExists() -> Bool var accessoryView: NSView? func setPanelFont(_ fontObj: NSFont, isMultiple flag: Bool) func panelConvertFont(_ fontObj: NSFont) -> NSFont var worksWhenModal: Bool var enabled: Bool func reloadDefaultFontFamilies() } |
To | class NSFontPanel : NSPanel { class func shared() -> NSFontPanel class func sharedFontPanelExists() -> Bool var accessoryView: NSView? func setPanelFont(_ fontObj: NSFont, isMultiple flag: Bool) func convert(_ fontObj: NSFont) -> NSFont var worksWhenModal: Bool var isEnabled: Bool func reloadDefaultFontFamilies() } |
Declaration | |
---|---|
From | func panelConvertFont(_ fontObj: NSFont) -> NSFont |
To | func convert(_ fontObj: NSFont) -> NSFont |
Modified NSFontPanel.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Declaration | |
---|---|
From | class func sharedFontPanel() -> NSFontPanel |
To | class func shared() -> NSFontPanel |
Modified NSFontRenderingMode [enum]
Declaration | |
---|---|
From | enum NSFontRenderingMode : UInt { case DefaultRenderingMode case AntialiasedRenderingMode case IntegerAdvancementsRenderingMode case AntialiasedIntegerAdvancementsRenderingMode } |
To | enum NSFontRenderingMode : UInt { case defaultRenderingMode case antialiasedRenderingMode case integerAdvancementsRenderingMode case antialiasedIntegerAdvancementsRenderingMode } |
Declaration | |
---|---|
From | case AntialiasedIntegerAdvancementsRenderingMode |
To | case antialiasedIntegerAdvancementsRenderingMode |
Declaration | |
---|---|
From | case AntialiasedRenderingMode |
To | case antialiasedRenderingMode |
Declaration | |
---|---|
From | case DefaultRenderingMode |
To | case defaultRenderingMode |
Declaration | |
---|---|
From | case IntegerAdvancementsRenderingMode |
To | case integerAdvancementsRenderingMode |
Modified NSFontTraitMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSFontTraitMask : OptionSetType { init(rawValue rawValue: UInt) static var ItalicFontMask: NSFontTraitMask { get } static var BoldFontMask: NSFontTraitMask { get } static var UnboldFontMask: NSFontTraitMask { get } static var NonStandardCharacterSetFontMask: NSFontTraitMask { get } static var NarrowFontMask: NSFontTraitMask { get } static var ExpandedFontMask: NSFontTraitMask { get } static var CondensedFontMask: NSFontTraitMask { get } static var SmallCapsFontMask: NSFontTraitMask { get } static var PosterFontMask: NSFontTraitMask { get } static var CompressedFontMask: NSFontTraitMask { get } static var FixedPitchFontMask: NSFontTraitMask { get } static var UnitalicFontMask: NSFontTraitMask { get } } | OptionSetType |
To | struct NSFontTraitMask : OptionSet { init(rawValue rawValue: UInt) static var italicFontMask: NSFontTraitMask { get } static var boldFontMask: NSFontTraitMask { get } static var unboldFontMask: NSFontTraitMask { get } static var nonStandardCharacterSetFontMask: NSFontTraitMask { get } static var narrowFontMask: NSFontTraitMask { get } static var expandedFontMask: NSFontTraitMask { get } static var condensedFontMask: NSFontTraitMask { get } static var smallCapsFontMask: NSFontTraitMask { get } static var posterFontMask: NSFontTraitMask { get } static var compressedFontMask: NSFontTraitMask { get } static var fixedPitchFontMask: NSFontTraitMask { get } static var unitalicFontMask: NSFontTraitMask { get } func intersect(_ other: NSFontTraitMask) -> NSFontTraitMask func exclusiveOr(_ other: NSFontTraitMask) -> NSFontTraitMask mutating func unionInPlace(_ other: NSFontTraitMask) mutating func intersectInPlace(_ other: NSFontTraitMask) mutating func exclusiveOrInPlace(_ other: NSFontTraitMask) func isSubsetOf(_ other: NSFontTraitMask) -> Bool func isDisjointWith(_ other: NSFontTraitMask) -> Bool func isSupersetOf(_ other: NSFontTraitMask) -> Bool mutating func subtractInPlace(_ other: NSFontTraitMask) func isStrictSupersetOf(_ other: NSFontTraitMask) -> Bool func isStrictSubsetOf(_ other: NSFontTraitMask) -> Bool } extension NSFontTraitMask { func union(_ other: NSFontTraitMask) -> NSFontTraitMask func intersection(_ other: NSFontTraitMask) -> NSFontTraitMask func symmetricDifference(_ other: NSFontTraitMask) -> NSFontTraitMask } extension NSFontTraitMask { func contains(_ member: NSFontTraitMask) -> Bool mutating func insert(_ newMember: NSFontTraitMask) -> (inserted: Bool, memberAfterInsert: NSFontTraitMask) mutating func remove(_ member: NSFontTraitMask) -> NSFontTraitMask? mutating func update(with newMember: NSFontTraitMask) -> NSFontTraitMask? } extension NSFontTraitMask { convenience init() mutating func formUnion(_ other: NSFontTraitMask) mutating func formIntersection(_ other: NSFontTraitMask) mutating func formSymmetricDifference(_ other: NSFontTraitMask) } extension NSFontTraitMask { convenience init<S : Sequence where S.Iterator.Element == NSFontTraitMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSFontTraitMask...) mutating func subtract(_ other: NSFontTraitMask) func isSubset(of other: NSFontTraitMask) -> Bool func isSuperset(of other: NSFontTraitMask) -> Bool func isDisjoint(with other: NSFontTraitMask) -> Bool func subtracting(_ other: NSFontTraitMask) -> NSFontTraitMask var isEmpty: Bool { get } func isStrictSuperset(of other: NSFontTraitMask) -> Bool func isStrictSubset(of other: NSFontTraitMask) -> Bool } | OptionSet |
Modified NSFontTraitMask.boldFontMask
Declaration | |
---|---|
From | static var BoldFontMask: NSFontTraitMask { get } |
To | static var boldFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.compressedFontMask
Declaration | |
---|---|
From | static var CompressedFontMask: NSFontTraitMask { get } |
To | static var compressedFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.condensedFontMask
Declaration | |
---|---|
From | static var CondensedFontMask: NSFontTraitMask { get } |
To | static var condensedFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.expandedFontMask
Declaration | |
---|---|
From | static var ExpandedFontMask: NSFontTraitMask { get } |
To | static var expandedFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.fixedPitchFontMask
Declaration | |
---|---|
From | static var FixedPitchFontMask: NSFontTraitMask { get } |
To | static var fixedPitchFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.italicFontMask
Declaration | |
---|---|
From | static var ItalicFontMask: NSFontTraitMask { get } |
To | static var italicFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.narrowFontMask
Declaration | |
---|---|
From | static var NarrowFontMask: NSFontTraitMask { get } |
To | static var narrowFontMask: NSFontTraitMask { get } |
Declaration | |
---|---|
From | static var NonStandardCharacterSetFontMask: NSFontTraitMask { get } |
To | static var nonStandardCharacterSetFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.posterFontMask
Declaration | |
---|---|
From | static var PosterFontMask: NSFontTraitMask { get } |
To | static var posterFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.smallCapsFontMask
Declaration | |
---|---|
From | static var SmallCapsFontMask: NSFontTraitMask { get } |
To | static var smallCapsFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.unboldFontMask
Declaration | |
---|---|
From | static var UnboldFontMask: NSFontTraitMask { get } |
To | static var unboldFontMask: NSFontTraitMask { get } |
Modified NSFontTraitMask.unitalicFontMask
Declaration | |
---|---|
From | static var UnitalicFontMask: NSFontTraitMask { get } |
To | static var unitalicFontMask: NSFontTraitMask { get } |
Modified NSForm
Declaration | Protocols | |
---|---|---|
From | class NSForm : NSMatrix { func indexOfSelectedItem() -> Int func setEntryWidth(_ width: CGFloat) func setInterlineSpacing(_ spacing: CGFloat) func setBordered(_ flag: Bool) func setBezeled(_ flag: Bool) func setTitleAlignment(_ mode: NSTextAlignment) func setTextAlignment(_ mode: NSTextAlignment) func setTitleFont(_ fontObj: NSFont) func setTextFont(_ fontObj: NSFont) func cellAtIndex(_ index: Int) -> AnyObject! func drawCellAtIndex(_ index: Int) func addEntry(_ title: String) -> NSFormCell func insertEntry(_ title: String, atIndex index: Int) -> NSFormCell! func removeEntryAtIndex(_ index: Int) func indexOfCellWithTag(_ aTag: Int) -> Int func selectTextAtIndex(_ index: Int) func setFrameSize(_ newSize: NSSize) func setTitleBaseWritingDirection(_ writingDirection: NSWritingDirection) func setTextBaseWritingDirection(_ writingDirection: NSWritingDirection) func setPreferredTextFieldWidth(_ preferredWidth: CGFloat) func preferredTextFieldWidth() -> CGFloat } | -- |
To | class NSForm : NSMatrix { func indexOfSelectedItem() -> Int func setEntryWidth(_ width: CGFloat) func setInterlineSpacing(_ spacing: CGFloat) func setBordered(_ flag: Bool) func setBezeled(_ flag: Bool) func setTitleAlignment(_ mode: NSTextAlignment) func setTextAlignment(_ mode: NSTextAlignment) func setTitleFont(_ fontObj: NSFont) func setTextFont(_ fontObj: NSFont) func cell(at index: Int) -> Any! func drawCell(at index: Int) func addEntry(_ title: String) -> NSFormCell func insertEntry(_ title: String, at index: Int) -> NSFormCell! func removeEntry(at index: Int) func indexOfCell(withTag tag: Int) -> Int func selectText(at index: Int) func setFrameSize(_ newSize: NSSize) func setTitleBaseWritingDirection(_ writingDirection: NSWritingDirection) func setTextBaseWritingDirection(_ writingDirection: NSWritingDirection) func setPreferredTextFieldWidth(_ preferredWidth: CGFloat) func preferredTextFieldWidth() -> CGFloat var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSForm : CVarArg { } extension NSForm : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSForm.cell(at: Int) -> Any!
Declaration | |
---|---|
From | func cellAtIndex(_ index: Int) -> AnyObject! |
To | func cell(at index: Int) -> Any! |
Modified NSForm.drawCell(at: Int)
Declaration | |
---|---|
From | func drawCellAtIndex(_ index: Int) |
To | func drawCell(at index: Int) |
Declaration | |
---|---|
From | func indexOfCellWithTag(_ aTag: Int) -> Int |
To | func indexOfCell(withTag tag: Int) -> Int |
Declaration | |
---|---|
From | func insertEntry(_ title: String, atIndex index: Int) -> NSFormCell! |
To | func insertEntry(_ title: String, at index: Int) -> NSFormCell! |
Modified NSForm.removeEntry(at: Int)
Declaration | |
---|---|
From | func removeEntryAtIndex(_ index: Int) |
To | func removeEntry(at index: Int) |
Modified NSForm.selectText(at: Int)
Declaration | |
---|---|
From | func selectTextAtIndex(_ index: Int) |
To | func selectText(at index: Int) |
Modified NSFormCell
Declaration | |
---|---|
From | class NSFormCell : NSActionCell { init(textCell aString: String?) func titleWidth(_ aSize: NSSize) -> CGFloat var titleWidth: CGFloat var title: String var titleFont: NSFont var titleAlignment: NSTextAlignment var opaque: Bool { get } var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? var titleBaseWritingDirection: NSWritingDirection var preferredTextFieldWidth: CGFloat } extension NSFormCell { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } extension NSFormCell { @NSCopying var attributedTitle: NSAttributedString } |
To | class NSFormCell : NSActionCell { init(textCell string: String?) init(coder coder: NSCoder) convenience init(imageCell image: NSImage?) func titleWidth(_ size: NSSize) -> CGFloat var titleWidth: CGFloat var title: String var titleFont: NSFont var titleAlignment: NSTextAlignment var isOpaque: Bool { get } var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? var titleBaseWritingDirection: NSWritingDirection var preferredTextFieldWidth: CGFloat @NSCopying var attributedTitle: NSAttributedString func setTitleWithMnemonic(_ stringWithAmpersand: String!) } extension NSFormCell { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } extension NSFormCell { @NSCopying var attributedTitle: NSAttributedString } |
Modified NSFormCell.isOpaque
Declaration | |
---|---|
From | var opaque: Bool { get } |
To | var isOpaque: Bool { get } |
Modified NSGestureRecognizer
Declaration | Protocols | |
---|---|---|
From | class NSGestureRecognizer : NSObject, NSCoding { init(target target: AnyObject, action action: Selector) init?(coder coder: NSCoder) weak var target: AnyObject? var action: Selector var state: NSGestureRecognizerState weak var delegate: NSGestureRecognizerDelegate? var enabled: Bool var view: NSView? { get } var pressureConfiguration: NSPressureConfiguration var delaysPrimaryMouseButtonEvents: Bool var delaysSecondaryMouseButtonEvents: Bool var delaysOtherMouseButtonEvents: Bool var delaysKeyEvents: Bool var delaysMagnificationEvents: Bool var delaysRotationEvents: Bool func locationInView(_ view: NSView?) -> NSPoint } extension NSGestureRecognizer { func reset() func canPreventGestureRecognizer(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePreventedByGestureRecognizer(_ preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailureOfGestureRecognizer(_ otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFailByGestureRecognizer(_ otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(_ event: NSEvent) func rightMouseDown(_ event: NSEvent) func otherMouseDown(_ event: NSEvent) func mouseUp(_ event: NSEvent) func rightMouseUp(_ event: NSEvent) func otherMouseUp(_ event: NSEvent) func mouseDragged(_ event: NSEvent) func rightMouseDragged(_ event: NSEvent) func otherMouseDragged(_ event: NSEvent) func keyDown(_ event: NSEvent) func keyUp(_ event: NSEvent) func flagsChanged(_ event: NSEvent) func tabletPoint(_ event: NSEvent) func magnifyWithEvent(_ event: NSEvent) func rotateWithEvent(_ event: NSEvent) func pressureChangeWithEvent(_ event: NSEvent) } | NSCoding |
To | class NSGestureRecognizer : NSObject, NSCoding { init(target target: Any, action action: Selector?) init?(coder coder: NSCoder) weak var target: AnyObject? var action: Selector? var state: NSGestureRecognizerState weak var delegate: NSGestureRecognizerDelegate? var isEnabled: Bool var view: NSView? { get } var pressureConfiguration: NSPressureConfiguration var delaysPrimaryMouseButtonEvents: Bool var delaysSecondaryMouseButtonEvents: Bool var delaysOtherMouseButtonEvents: Bool var delaysKeyEvents: Bool var delaysMagnificationEvents: Bool var delaysRotationEvents: Bool func location(in view: NSView?) -> NSPoint func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSGestureRecognizer : CVarArg { } extension NSGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } extension NSGestureRecognizer { func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) } | CVarArg, Equatable, Hashable, NSCoding |
Modified NSGestureRecognizer.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Declaration | |
---|---|
From | func canBePreventedByGestureRecognizer(_ preventingGestureRecognizer: NSGestureRecognizer) -> Bool |
To | func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool |
Declaration | |
---|---|
From | func canPreventGestureRecognizer(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool |
To | func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool |
Declaration | |
---|---|
From | func flagsChanged(_ event: NSEvent) |
To | func flagsChanged(with event: NSEvent) |
Declaration | |
---|---|
From | init(target target: AnyObject, action action: Selector) |
To | init(target target: Any, action action: Selector?) |
Modified NSGestureRecognizer.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Declaration | |
---|---|
From | func keyDown(_ event: NSEvent) |
To | func keyDown(with event: NSEvent) |
Declaration | |
---|---|
From | func keyUp(_ event: NSEvent) |
To | func keyUp(with event: NSEvent) |
Declaration | |
---|---|
From | func locationInView(_ view: NSView?) -> NSPoint |
To | func location(in view: NSView?) -> NSPoint |
Declaration | |
---|---|
From | func magnifyWithEvent(_ event: NSEvent) |
To | func magnify(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseDown(_ event: NSEvent) |
To | func mouseDown(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseDragged(_ event: NSEvent) |
To | func mouseDragged(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseUp(_ event: NSEvent) |
To | func mouseUp(with event: NSEvent) |
Declaration | |
---|---|
From | func otherMouseDown(_ event: NSEvent) |
To | func otherMouseDown(with event: NSEvent) |
Declaration | |
---|---|
From | func otherMouseDragged(_ event: NSEvent) |
To | func otherMouseDragged(with event: NSEvent) |
Declaration | |
---|---|
From | func otherMouseUp(_ event: NSEvent) |
To | func otherMouseUp(with event: NSEvent) |
Declaration | |
---|---|
From | func pressureChangeWithEvent(_ event: NSEvent) |
To | func pressureChange(with event: NSEvent) |
Declaration | |
---|---|
From | func rightMouseDown(_ event: NSEvent) |
To | func rightMouseDown(with event: NSEvent) |
Declaration | |
---|---|
From | func rightMouseDragged(_ event: NSEvent) |
To | func rightMouseDragged(with event: NSEvent) |
Declaration | |
---|---|
From | func rightMouseUp(_ event: NSEvent) |
To | func rightMouseUp(with event: NSEvent) |
Declaration | |
---|---|
From | func rotateWithEvent(_ event: NSEvent) |
To | func rotate(with event: NSEvent) |
Declaration | |
---|---|
From | func shouldBeRequiredToFailByGestureRecognizer(_ otherGestureRecognizer: NSGestureRecognizer) -> Bool |
To | func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool |
Declaration | |
---|---|
From | func shouldRequireFailureOfGestureRecognizer(_ otherGestureRecognizer: NSGestureRecognizer) -> Bool |
To | func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool |
Declaration | |
---|---|
From | func tabletPoint(_ event: NSEvent) |
To | func tabletPoint(with event: NSEvent) |
Modified NSGestureRecognizerDelegate
Declaration | |
---|---|
From | protocol NSGestureRecognizerDelegate : NSObjectProtocol { optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldAttemptToRecognizeWithEvent event: NSEvent) -> Bool optional func gestureRecognizerShouldBegin(_ gestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRecognizeSimultaneouslyWithGestureRecognizer otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRequireFailureOfGestureRecognizer otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldBeRequiredToFailByGestureRecognizer otherGestureRecognizer: NSGestureRecognizer) -> Bool } |
To | protocol NSGestureRecognizerDelegate : NSObjectProtocol { optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldAttemptToRecognizeWith event: NSEvent) -> Bool optional func gestureRecognizerShouldBegin(_ gestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRequireFailureOf otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: NSGestureRecognizer) -> Bool } |
Declaration | |
---|---|
From | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldAttemptToRecognizeWithEvent event: NSEvent) -> Bool |
To | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldAttemptToRecognizeWith event: NSEvent) -> Bool |
Declaration | |
---|---|
From | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldBeRequiredToFailByGestureRecognizer otherGestureRecognizer: NSGestureRecognizer) -> Bool |
To | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: NSGestureRecognizer) -> Bool |
Declaration | |
---|---|
From | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRecognizeSimultaneouslyWithGestureRecognizer otherGestureRecognizer: NSGestureRecognizer) -> Bool |
To | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: NSGestureRecognizer) -> Bool |
Declaration | |
---|---|
From | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRequireFailureOfGestureRecognizer otherGestureRecognizer: NSGestureRecognizer) -> Bool |
To | optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRequireFailureOf otherGestureRecognizer: NSGestureRecognizer) -> Bool |
Modified NSGestureRecognizerState [enum]
Declaration | |
---|---|
From | enum NSGestureRecognizerState : Int { case Possible case Began case Changed case Ended case Cancelled case Failed static var Recognized: NSGestureRecognizerState { get } } |
To | enum NSGestureRecognizerState : Int { case possible case began case changed case ended case cancelled case failed static var recognized: NSGestureRecognizerState { get } } |
Modified NSGestureRecognizerState.began
Declaration | |
---|---|
From | case Began |
To | case began |
Modified NSGestureRecognizerState.cancelled
Declaration | |
---|---|
From | case Cancelled |
To | case cancelled |
Modified NSGestureRecognizerState.changed
Declaration | |
---|---|
From | case Changed |
To | case changed |
Modified NSGestureRecognizerState.ended
Declaration | |
---|---|
From | case Ended |
To | case ended |
Modified NSGestureRecognizerState.failed
Declaration | |
---|---|
From | case Failed |
To | case failed |
Modified NSGestureRecognizerState.possible
Declaration | |
---|---|
From | case Possible |
To | case possible |
Modified NSGestureRecognizerState.recognized
Declaration | |
---|---|
From | static var Recognized: NSGestureRecognizerState { get } |
To | static var recognized: NSGestureRecognizerState { get } |
Modified NSGlyphGenerator
Declaration | Protocols | |
---|---|---|
From | class NSGlyphGenerator : NSObject { func generateGlyphsForGlyphStorage(_ glyphStorage: NSGlyphStorage, desiredNumberOfCharacters nChars: Int, glyphIndex glyphIndex: UnsafeMutablePointer<Int>, characterIndex charIndex: UnsafeMutablePointer<Int>) class func sharedGlyphGenerator() -> NSGlyphGenerator } | -- |
To | class NSGlyphGenerator : NSObject { func generateGlyphs(for glyphStorage: NSGlyphStorage, desiredNumberOfCharacters nChars: Int, glyphIndex glyphIndex: UnsafeMutablePointer<Int>?, characterIndex charIndex: UnsafeMutablePointer<Int>?) class func shared() -> NSGlyphGenerator func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSGlyphGenerator : CVarArg { } extension NSGlyphGenerator : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func generateGlyphsForGlyphStorage(_ glyphStorage: NSGlyphStorage, desiredNumberOfCharacters nChars: Int, glyphIndex glyphIndex: UnsafeMutablePointer<Int>, characterIndex charIndex: UnsafeMutablePointer<Int>) |
To | func generateGlyphs(for glyphStorage: NSGlyphStorage, desiredNumberOfCharacters nChars: Int, glyphIndex glyphIndex: UnsafeMutablePointer<Int>?, characterIndex charIndex: UnsafeMutablePointer<Int>?) |
Declaration | |
---|---|
From | class func sharedGlyphGenerator() -> NSGlyphGenerator |
To | class func shared() -> NSGlyphGenerator |
Modified NSGlyphInfo
Declaration | Protocols | |
---|---|---|
From | class NSGlyphInfo : NSObject, NSCopying, NSSecureCoding { init?(glyphName glyphName: String, forFont font: NSFont, baseString theString: String) class func glyphInfoWithGlyphName(_ glyphName: String, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo? init?(glyph glyph: NSGlyph, forFont font: NSFont, baseString theString: String) class func glyphInfoWithGlyph(_ glyph: NSGlyph, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo? init?(characterIdentifier cid: Int, collection characterCollection: NSCharacterCollection, baseString theString: String) class func glyphInfoWithCharacterIdentifier(_ cid: Int, collection characterCollection: NSCharacterCollection, baseString theString: String) -> NSGlyphInfo? var glyphName: String? { get } var characterIdentifier: Int { get } var characterCollection: NSCharacterCollection { get } } | NSCopying, NSSecureCoding |
To | class NSGlyphInfo : NSObject, NSCopying, NSSecureCoding { init?(glyphName glyphName: String, for font: NSFont, baseString string: String) class func withGlyphName(_ glyphName: String, for font: NSFont, baseString string: String) -> NSGlyphInfo? init?(glyph glyph: NSGlyph, for font: NSFont, baseString string: String) class func withGlyph(_ glyph: NSGlyph, for font: NSFont, baseString string: String) -> NSGlyphInfo? init?(characterIdentifier cid: Int, collection characterCollection: NSCharacterCollection, baseString string: String) class func withCharacterIdentifier(_ cid: Int, collection characterCollection: NSCharacterCollection, baseString string: String) -> NSGlyphInfo? var glyphName: String? { get } var characterIdentifier: Int { get } var characterCollection: NSCharacterCollection { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSGlyphInfo : CVarArg { } extension NSGlyphInfo : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | init?(glyph glyph: NSGlyph, forFont font: NSFont, baseString theString: String) |
To | init?(glyph glyph: NSGlyph, for font: NSFont, baseString string: String) |
Declaration | |
---|---|
From | init?(glyphName glyphName: String, forFont font: NSFont, baseString theString: String) |
To | init?(glyphName glyphName: String, for font: NSFont, baseString string: String) |
Modified NSGlyphInscription [enum]
Declaration | |
---|---|
From | enum NSGlyphInscription : UInt { case InscribeBase case InscribeBelow case InscribeAbove case InscribeOverstrike case InscribeOverBelow } |
To | enum NSGlyphInscription : UInt { case inscribeBase case inscribeBelow case inscribeAbove case inscribeOverstrike case inscribeOverBelow } |
Modified NSGlyphInscription.inscribeAbove
Declaration | |
---|---|
From | case InscribeAbove |
To | case inscribeAbove |
Modified NSGlyphInscription.inscribeBase
Declaration | |
---|---|
From | case InscribeBase |
To | case inscribeBase |
Modified NSGlyphInscription.inscribeBelow
Declaration | |
---|---|
From | case InscribeBelow |
To | case inscribeBelow |
Modified NSGlyphInscription.inscribeOverBelow
Declaration | |
---|---|
From | case InscribeOverBelow |
To | case inscribeOverBelow |
Declaration | |
---|---|
From | case InscribeOverstrike |
To | case inscribeOverstrike |
Modified NSGlyphProperty [enum]
Declaration | |
---|---|
From | enum NSGlyphProperty : Int { case Null case ControlCharacter case Elastic case NonBaseCharacter } |
To | enum NSGlyphProperty : Int { case null case controlCharacter case elastic case nonBaseCharacter } |
Modified NSGlyphProperty.controlCharacter
Declaration | |
---|---|
From | case ControlCharacter |
To | case controlCharacter |
Modified NSGlyphProperty.elastic
Declaration | |
---|---|
From | case Elastic |
To | case elastic |
Modified NSGlyphProperty.nonBaseCharacter
Declaration | |
---|---|
From | case NonBaseCharacter |
To | case nonBaseCharacter |
Modified NSGlyphProperty.null
Declaration | |
---|---|
From | case Null |
To | case null |
Modified NSGlyphStorage
Declaration | |
---|---|
From | protocol NSGlyphStorage { func insertGlyphs(_ glyphs: UnsafePointer<NSGlyph>, length length: Int, forStartingGlyphAtIndex glyphIndex: Int, characterIndex charIndex: Int) func setIntAttribute(_ attributeTag: Int, value val: Int, forGlyphAtIndex glyphIndex: Int) func attributedString() -> NSAttributedString func layoutOptions() -> Int } |
To | protocol NSGlyphStorage { func insertGlyphs(_ glyphs: UnsafePointer<NSGlyph>, length length: Int, forStartingGlyphAt glyphIndex: Int, characterIndex charIndex: Int) func setIntAttribute(_ attributeTag: Int, value val: Int, forGlyphAt glyphIndex: Int) func attributedString() -> NSAttributedString func layoutOptions() -> Int } |
Declaration | |
---|---|
From | func insertGlyphs(_ glyphs: UnsafePointer<NSGlyph>, length length: Int, forStartingGlyphAtIndex glyphIndex: Int, characterIndex charIndex: Int) |
To | func insertGlyphs(_ glyphs: UnsafePointer<NSGlyph>, length length: Int, forStartingGlyphAt glyphIndex: Int, characterIndex charIndex: Int) |
Declaration | |
---|---|
From | func setIntAttribute(_ attributeTag: Int, value val: Int, forGlyphAtIndex glyphIndex: Int) |
To | func setIntAttribute(_ attributeTag: Int, value val: Int, forGlyphAt glyphIndex: Int) |
Modified NSGradient
Declaration | Protocols | |
---|---|---|
From | class NSGradient : NSObject, NSCopying, NSCoding { convenience init?(startingColor startingColor: NSColor, endingColor endingColor: NSColor) convenience init?(colors colorArray: [NSColor]) init?(colors colorArray: [NSColor], atLocations locations: UnsafePointer<CGFloat>, colorSpace colorSpace: NSColorSpace) func drawFromPoint(_ startingPoint: NSPoint, toPoint endingPoint: NSPoint, options options: NSGradientDrawingOptions) func drawInRect(_ rect: NSRect, angle angle: CGFloat) func drawInBezierPath(_ path: NSBezierPath, angle angle: CGFloat) func drawFromCenter(_ startCenter: NSPoint, radius startRadius: CGFloat, toCenter endCenter: NSPoint, radius endRadius: CGFloat, options options: NSGradientDrawingOptions) func drawInRect(_ rect: NSRect, relativeCenterPosition relativeCenterPosition: NSPoint) func drawInBezierPath(_ path: NSBezierPath, relativeCenterPosition relativeCenterPosition: NSPoint) var colorSpace: NSColorSpace { get } var numberOfColorStops: Int { get } func getColor(_ color: AutoreleasingUnsafeMutablePointer<NSColor?>, location location: UnsafeMutablePointer<CGFloat>, atIndex index: Int) func interpolatedColorAtLocation(_ location: CGFloat) -> NSColor } extension NSGradient { convenience init?(colorsAndLocations objects: (NSColor, CGFloat)...) } extension NSGradient { convenience init?(colorsAndLocations objects: (NSColor, CGFloat)...) } | NSCoding, NSCopying |
To | class NSGradient : NSObject, NSCopying, NSCoding { convenience init?(starting startingColor: NSColor, ending endingColor: NSColor) convenience init?(colors colorArray: [NSColor]) init?(colors colorArray: [NSColor], atLocations locations: UnsafePointer<CGFloat>?, colorSpace colorSpace: NSColorSpace) init(coder decoder: NSCoder) func draw(from startingPoint: NSPoint, to endingPoint: NSPoint, options options: NSGradientDrawingOptions = []) func draw(in rect: NSRect, angle angle: CGFloat) func draw(in path: NSBezierPath, angle angle: CGFloat) func draw(fromCenter startCenter: NSPoint, radius startRadius: CGFloat, toCenter endCenter: NSPoint, radius endRadius: CGFloat, options options: NSGradientDrawingOptions = []) func draw(in rect: NSRect, relativeCenterPosition relativeCenterPosition: NSPoint) func draw(in path: NSBezierPath, relativeCenterPosition relativeCenterPosition: NSPoint) var colorSpace: NSColorSpace { get } var numberOfColorStops: Int { get } func getColor(_ color: AutoreleasingUnsafeMutablePointer<NSColor>?, location location: UnsafeMutablePointer<CGFloat>?, at index: Int) func interpolatedColor(atLocation location: CGFloat) -> NSColor convenience init?(colorsAndLocations objects: (NSColor, CGFloat)...) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSGradient : CVarArg { } extension NSGradient : Equatable, Hashable { var hashValue: Int { get } } extension NSGradient { convenience init?(colorsAndLocations objects: (NSColor, CGFloat)...) } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func drawFromPoint(_ startingPoint: NSPoint, toPoint endingPoint: NSPoint, options options: NSGradientDrawingOptions) |
To | func draw(from startingPoint: NSPoint, to endingPoint: NSPoint, options options: NSGradientDrawingOptions = []) |
Declaration | |
---|---|
From | func drawFromCenter(_ startCenter: NSPoint, radius startRadius: CGFloat, toCenter endCenter: NSPoint, radius endRadius: CGFloat, options options: NSGradientDrawingOptions) |
To | func draw(fromCenter startCenter: NSPoint, radius startRadius: CGFloat, toCenter endCenter: NSPoint, radius endRadius: CGFloat, options options: NSGradientDrawingOptions = []) |
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect, angle angle: CGFloat) |
To | func draw(in rect: NSRect, angle angle: CGFloat) |
Declaration | |
---|---|
From | func drawInBezierPath(_ path: NSBezierPath, angle angle: CGFloat) |
To | func draw(in path: NSBezierPath, angle angle: CGFloat) |
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect, relativeCenterPosition relativeCenterPosition: NSPoint) |
To | func draw(in rect: NSRect, relativeCenterPosition relativeCenterPosition: NSPoint) |
Declaration | |
---|---|
From | func drawInBezierPath(_ path: NSBezierPath, relativeCenterPosition relativeCenterPosition: NSPoint) |
To | func draw(in path: NSBezierPath, relativeCenterPosition relativeCenterPosition: NSPoint) |
Declaration | |
---|---|
From | func getColor(_ color: AutoreleasingUnsafeMutablePointer<NSColor?>, location location: UnsafeMutablePointer<CGFloat>, atIndex index: Int) |
To | func getColor(_ color: AutoreleasingUnsafeMutablePointer<NSColor>?, location location: UnsafeMutablePointer<CGFloat>?, at index: Int) |
Modified NSGradient.init(colors: [NSColor], atLocations: UnsafePointer<CGFloat>?, colorSpace: NSColorSpace)
Declaration | |
---|---|
From | init?(colors colorArray: [NSColor], atLocations locations: UnsafePointer<CGFloat>, colorSpace colorSpace: NSColorSpace) |
To | init?(colors colorArray: [NSColor], atLocations locations: UnsafePointer<CGFloat>?, colorSpace colorSpace: NSColorSpace) |
Declaration | |
---|---|
From | convenience init?(startingColor startingColor: NSColor, endingColor endingColor: NSColor) |
To | convenience init?(starting startingColor: NSColor, ending endingColor: NSColor) |
Declaration | |
---|---|
From | func interpolatedColorAtLocation(_ location: CGFloat) -> NSColor |
To | func interpolatedColor(atLocation location: CGFloat) -> NSColor |
Modified NSGradientType [enum]
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | enum NSGradientType : UInt { case None case ConcaveWeak case ConcaveStrong case ConvexWeak case ConvexStrong } | OS X 10.10 | -- |
To | enum NSGradientType : UInt { case none case concaveWeak case concaveStrong case convexWeak case convexStrong } | OS X 10.0 | OS X 10.12 |
Modified NSGradientType.concaveStrong
Declaration | |
---|---|
From | case ConcaveStrong |
To | case concaveStrong |
Modified NSGradientType.concaveWeak
Declaration | |
---|---|
From | case ConcaveWeak |
To | case concaveWeak |
Modified NSGradientType.convexStrong
Declaration | |
---|---|
From | case ConvexStrong |
To | case convexStrong |
Modified NSGradientType.convexWeak
Declaration | |
---|---|
From | case ConvexWeak |
To | case convexWeak |
Modified NSGradientType.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSGraphicsContext
Declaration | Protocols | |
---|---|---|
From | class NSGraphicsContext : NSObject { init?(attributes attributes: [String : AnyObject]) class func graphicsContextWithAttributes(_ attributes: [String : AnyObject]) -> NSGraphicsContext? init(window window: NSWindow) class func graphicsContextWithWindow(_ window: NSWindow) -> NSGraphicsContext init?(bitmapImageRep bitmapRep: NSBitmapImageRep) class func graphicsContextWithBitmapImageRep(_ bitmapRep: NSBitmapImageRep) -> NSGraphicsContext? init(CGContext graphicsPort: CGContext, flipped initialFlippedState: Bool) class func graphicsContextWithCGContext(_ graphicsPort: CGContext, flipped initialFlippedState: Bool) -> NSGraphicsContext class func currentContext() -> NSGraphicsContext? class func setCurrentContext(_ context: NSGraphicsContext?) class func currentContextDrawingToScreen() -> Bool class func saveGraphicsState() class func restoreGraphicsState() var attributes: [String : AnyObject]? { get } var drawingToScreen: Bool { get } func saveGraphicsState() func restoreGraphicsState() func flushGraphics() var CGContext: CGContext { get } var flipped: Bool { get } } extension NSGraphicsContext { var shouldAntialias: Bool var imageInterpolation: NSImageInterpolation var patternPhase: NSPoint var compositingOperation: NSCompositingOperation var colorRenderingIntent: NSColorRenderingIntent } extension NSGraphicsContext { var CIContext: CIContext? { get } } extension NSGraphicsContext { class func setGraphicsState(_ gState: Int) func focusStack() -> AnyObject! func setFocusStack(_ stack: AnyObject!) init(graphicsPort graphicsPort: UnsafeMutablePointer<Void>, flipped initialFlippedState: Bool) class func graphicsContextWithGraphicsPort(_ graphicsPort: UnsafeMutablePointer<Void>, flipped initialFlippedState: Bool) -> NSGraphicsContext var graphicsPort: UnsafeMutablePointer<Void> { get } } | -- |
To | class NSGraphicsContext : NSObject { init?(attributes attributes: [String : Any] = [:]) class func withAttributes(_ attributes: [String : Any] = [:]) -> NSGraphicsContext? init(window window: NSWindow) class func withWindow(_ window: NSWindow) -> NSGraphicsContext init?(bitmapImageRep bitmapRep: NSBitmapImageRep) class func withBitmapImageRep(_ bitmapRep: NSBitmapImageRep) -> NSGraphicsContext? init(cgContext graphicsPort: CGContext, flipped initialFlippedState: Bool) class func withCGContext(_ graphicsPort: CGContext, flipped initialFlippedState: Bool) -> NSGraphicsContext class func current() -> NSGraphicsContext? class func setCurrent(_ context: NSGraphicsContext?) class func currentContextDrawingToScreen() -> Bool class func saveGraphicsState() class func restoreGraphicsState() var attributes: [String : Any]? { get } var isDrawingToScreen: Bool { get } func saveGraphicsState() func restoreGraphicsState() func flushGraphics() var cgContext: CGContext { get } var isFlipped: Bool { get } var shouldAntialias: Bool var imageInterpolation: NSImageInterpolation var patternPhase: NSPoint var compositingOperation: NSCompositingOperation var colorRenderingIntent: NSColorRenderingIntent var ciContext: CIContext? { get } class func setGraphicsState(_ gState: Int) func focusStack() -> Any! func setFocusStack(_ stack: Any!) init(graphicsPort graphicsPort: UnsafeMutableRawPointer, flipped initialFlippedState: Bool) class func withGraphicsPort(_ graphicsPort: UnsafeMutableRawPointer, flipped initialFlippedState: Bool) -> NSGraphicsContext var graphicsPort: UnsafeMutableRawPointer { get } class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSGraphicsContext : CVarArg { } extension NSGraphicsContext : Equatable, Hashable { var hashValue: Int { get } } extension NSGraphicsContext { var shouldAntialias: Bool var imageInterpolation: NSImageInterpolation var patternPhase: NSPoint var compositingOperation: NSCompositingOperation var colorRenderingIntent: NSColorRenderingIntent } extension NSGraphicsContext { var ciContext: CIContext? { get } } extension NSGraphicsContext { class func setGraphicsState(_ gState: Int) func focusStack() -> Any! func setFocusStack(_ stack: Any!) init(graphicsPort graphicsPort: UnsafeMutableRawPointer, flipped initialFlippedState: Bool) class func withGraphicsPort(_ graphicsPort: UnsafeMutableRawPointer, flipped initialFlippedState: Bool) -> NSGraphicsContext var graphicsPort: UnsafeMutableRawPointer { get } } | CVarArg, Equatable, Hashable |
Modified NSGraphicsContext.attributes
Declaration | |
---|---|
From | var attributes: [String : AnyObject]? { get } |
To | var attributes: [String : Any]? { get } |
Modified NSGraphicsContext.cgContext
Declaration | |
---|---|
From | var CGContext: CGContext { get } |
To | var cgContext: CGContext { get } |
Modified NSGraphicsContext.ciContext
Declaration | |
---|---|
From | var CIContext: CIContext? { get } |
To | var ciContext: CIContext? { get } |
Declaration | |
---|---|
From | class func currentContext() -> NSGraphicsContext? |
To | class func current() -> NSGraphicsContext? |
Modified NSGraphicsContext.graphicsPort
Declaration | |
---|---|
From | var graphicsPort: UnsafeMutablePointer<Void> { get } |
To | var graphicsPort: UnsafeMutableRawPointer { get } |
Declaration | |
---|---|
From | init?(attributes attributes: [String : AnyObject]) |
To | init?(attributes attributes: [String : Any] = [:]) |
Declaration | |
---|---|
From | init(CGContext graphicsPort: CGContext, flipped initialFlippedState: Bool) |
To | init(cgContext graphicsPort: CGContext, flipped initialFlippedState: Bool) |
Declaration | |
---|---|
From | init(graphicsPort graphicsPort: UnsafeMutablePointer<Void>, flipped initialFlippedState: Bool) |
To | init(graphicsPort graphicsPort: UnsafeMutableRawPointer, flipped initialFlippedState: Bool) |
Modified NSGraphicsContext.isDrawingToScreen
Declaration | |
---|---|
From | var drawingToScreen: Bool { get } |
To | var isDrawingToScreen: Bool { get } |
Modified NSGraphicsContext.isFlipped
Declaration | |
---|---|
From | var flipped: Bool { get } |
To | var isFlipped: Bool { get } |
Modified NSGraphicsContext.setCurrent(_: NSGraphicsContext?) [class]
Declaration | |
---|---|
From | class func setCurrentContext(_ context: NSGraphicsContext?) |
To | class func setCurrent(_ context: NSGraphicsContext?) |
Modified NSHapticFeedbackManager
Declaration | Protocols | |
---|---|---|
From | class NSHapticFeedbackManager : NSObject { class func defaultPerformer() -> NSHapticFeedbackPerformer } | -- |
To | class NSHapticFeedbackManager : NSObject { class func defaultPerformer() -> NSHapticFeedbackPerformer func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSHapticFeedbackManager : CVarArg { } extension NSHapticFeedbackManager : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSHapticFeedbackPattern [enum]
Declaration | |
---|---|
From | enum NSHapticFeedbackPattern : Int { case Generic case Alignment case LevelChange } |
To | enum NSHapticFeedbackPattern : Int { case generic case alignment case levelChange } |
Modified NSHapticFeedbackPattern.alignment
Declaration | |
---|---|
From | case Alignment |
To | case alignment |
Modified NSHapticFeedbackPattern.generic
Declaration | |
---|---|
From | case Generic |
To | case generic |
Modified NSHapticFeedbackPattern.levelChange
Declaration | |
---|---|
From | case LevelChange |
To | case levelChange |
Declaration | |
---|---|
From | enum NSHapticFeedbackPerformanceTime : UInt { case Default case Now case DrawCompleted } |
To | enum NSHapticFeedbackPerformanceTime : UInt { case `default` case now case drawCompleted } |
Declaration | |
---|---|
From | case Default |
To | case `default` |
Declaration | |
---|---|
From | case DrawCompleted |
To | case drawCompleted |
Modified NSHapticFeedbackPerformanceTime.now
Declaration | |
---|---|
From | case Now |
To | case now |
Modified NSHapticFeedbackPerformer
Declaration | |
---|---|
From | protocol NSHapticFeedbackPerformer : NSObjectProtocol { func performFeedbackPattern(_ pattern: NSHapticFeedbackPattern, performanceTime performanceTime: NSHapticFeedbackPerformanceTime) } |
To | protocol NSHapticFeedbackPerformer : NSObjectProtocol { func perform(_ pattern: NSHapticFeedbackPattern, performanceTime performanceTime: NSHapticFeedbackPerformanceTime) } |
Declaration | |
---|---|
From | func performFeedbackPattern(_ pattern: NSHapticFeedbackPattern, performanceTime performanceTime: NSHapticFeedbackPerformanceTime) |
To | func perform(_ pattern: NSHapticFeedbackPattern, performanceTime performanceTime: NSHapticFeedbackPerformanceTime) |
Modified NSHelpManager
Declaration | Protocols | |
---|---|---|
From | class NSHelpManager : NSObject { class func sharedHelpManager() -> NSHelpManager class func setContextHelpModeActive(_ active: Bool) class func isContextHelpModeActive() -> Bool func setContextHelp(_ attrString: NSAttributedString, forObject object: AnyObject) func removeContextHelpForObject(_ object: AnyObject) func contextHelpForObject(_ object: AnyObject) -> NSAttributedString? func showContextHelpForObject(_ object: AnyObject, locationHint pt: NSPoint) -> Bool func openHelpAnchor(_ anchor: String, inBook book: String?) func findString(_ query: String, inBook book: String?) func registerBooksInBundle(_ bundle: NSBundle) -> Bool } | -- |
To | class NSHelpManager : NSObject { class func shared() -> NSHelpManager class func setContextHelpModeActive(_ active: Bool) class func isContextHelpModeActive() -> Bool func setContextHelp(_ attrString: NSAttributedString, for object: Any) func removeContextHelp(for object: Any) func contextHelp(for object: Any) -> NSAttributedString? func showContextHelp(for object: Any, locationHint pt: NSPoint) -> Bool func openHelpAnchor(_ anchor: String, inBook book: String?) func find(_ query: String, inBook book: String?) func registerBooks(in bundle: Bundle) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSHelpManager : CVarArg { } extension NSHelpManager : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func contextHelpForObject(_ object: AnyObject) -> NSAttributedString? |
To | func contextHelp(for object: Any) -> NSAttributedString? |
Declaration | |
---|---|
From | func findString(_ query: String, inBook book: String?) |
To | func find(_ query: String, inBook book: String?) |
Declaration | |
---|---|
From | func registerBooksInBundle(_ bundle: NSBundle) -> Bool |
To | func registerBooks(in bundle: Bundle) -> Bool |
Declaration | |
---|---|
From | func removeContextHelpForObject(_ object: AnyObject) |
To | func removeContextHelp(for object: Any) |
Declaration | |
---|---|
From | func setContextHelp(_ attrString: NSAttributedString, forObject object: AnyObject) |
To | func setContextHelp(_ attrString: NSAttributedString, for object: Any) |
Declaration | |
---|---|
From | class func sharedHelpManager() -> NSHelpManager |
To | class func shared() -> NSHelpManager |
Declaration | |
---|---|
From | func showContextHelpForObject(_ object: AnyObject, locationHint pt: NSPoint) -> Bool |
To | func showContextHelp(for object: Any, locationHint pt: NSPoint) -> Bool |
Modified NSIgnoreMisspelledWords
Declaration | |
---|---|
From | protocol NSIgnoreMisspelledWords { func ignoreSpelling(_ sender: AnyObject?) } |
To | protocol NSIgnoreMisspelledWords { func ignoreSpelling(_ sender: Any?) } |
Declaration | |
---|---|
From | func ignoreSpelling(_ sender: AnyObject?) |
To | func ignoreSpelling(_ sender: Any?) |
Modified NSImage
Declaration | Protocols | |
---|---|---|
From | class NSImage : NSObject, NSCopying, NSCoding, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting { init?(named name: String) class func imageNamed(_ name: String) -> NSImage? init(size aSize: NSSize) init?(data data: NSData) init?(contentsOfFile fileName: String) init?(contentsOfURL url: NSURL) init?(byReferencingFile fileName: String) init(byReferencingURL url: NSURL) init(iconRef iconRef: IconRef) init?(pasteboard pasteboard: NSPasteboard) init?(dataIgnoringOrientation data: NSData) init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: (NSRect) -> Bool) class func imageWithSize(_ size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: (NSRect) -> Bool) -> NSImage var size: NSSize func setName(_ string: String?) -> Bool func name() -> String? @NSCopying var backgroundColor: NSColor var usesEPSOnResolutionMismatch: Bool var prefersColorMatch: Bool var matchesOnMultipleResolution: Bool var matchesOnlyOnBestFittingAxis: Bool func drawAtPoint(_ point: NSPoint, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) func drawInRect(_ rect: NSRect, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : AnyObject]?) func drawRepresentation(_ imageRep: NSImageRep, inRect rect: NSRect) -> Bool func drawInRect(_ rect: NSRect) func recache() var TIFFRepresentation: NSData? { get } func TIFFRepresentationUsingCompression(_ comp: NSTIFFCompression, factor aFloat: Float) -> NSData? var representations: [NSImageRep] { get } func addRepresentations(_ imageReps: [NSImageRep]) func addRepresentation(_ imageRep: NSImageRep) func removeRepresentation(_ imageRep: NSImageRep) var valid: Bool { get } func lockFocus() func lockFocusFlipped(_ flipped: Bool) func unlockFocus() func bestRepresentationForDevice(_ deviceDescription: [NSObject : AnyObject]!) -> NSImageRep! unowned(unsafe) var delegate: NSImageDelegate? class func imageUnfilteredFileTypes() -> [String] class func imageUnfilteredPasteboardTypes() -> [String] class func imageFileTypes() -> [String] class func imagePasteboardTypes() -> [String] class func imageTypes() -> [String] class func imageUnfilteredTypes() -> [String] class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool func cancelIncrementalLoad() var cacheMode: NSImageCacheMode var alignmentRect: NSRect var template: Bool var accessibilityDescription: String? init(CGImage cgImage: CGImage, size size: NSSize) func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context referenceContext: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> CGImage? func bestRepresentationForRect(_ rect: NSRect, context referenceContext: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> NSImageRep? func hitTestRect(_ testRectDestSpace: NSRect, withImageDestinationRect imageRectDestSpace: NSRect, context context: NSGraphicsContext?, hints hints: [String : AnyObject]?, flipped flipped: Bool) -> Bool func recommendedLayerContentsScale(_ preferredContentsScale: CGFloat) -> CGFloat func layerContentsForContentsScale(_ layerContentsScale: CGFloat) -> AnyObject var capInsets: NSEdgeInsets var resizingMode: NSImageResizingMode } extension NSImage { required convenience init(imageLiteral name: String) } extension NSImage { func setFlipped(_ flag: Bool) func isFlipped() -> Bool func dissolveToPoint(_ point: NSPoint, fraction aFloat: CGFloat) func dissolveToPoint(_ point: NSPoint, fromRect rect: NSRect, fraction aFloat: CGFloat) func compositeToPoint(_ point: NSPoint, operation op: NSCompositingOperation) func compositeToPoint(_ point: NSPoint, fromRect rect: NSRect, operation op: NSCompositingOperation) func compositeToPoint(_ point: NSPoint, operation op: NSCompositingOperation, fraction delta: CGFloat) func compositeToPoint(_ point: NSPoint, fromRect rect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) func lockFocusOnRepresentation(_ imageRepresentation: NSImageRep!) func setScalesWhenResized(_ flag: Bool) func scalesWhenResized() -> Bool func setDataRetained(_ flag: Bool) func isDataRetained() -> Bool func setCachedSeparately(_ flag: Bool) func isCachedSeparately() -> Bool func setCacheDepthMatchesImageDepth(_ flag: Bool) func cacheDepthMatchesImageDepth() -> Bool } extension NSImage { required convenience init(imageLiteral name: String) } | NSCoding, NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
To | class NSImage : NSObject, NSCopying, NSCoding, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting { init?(named name: String) class func imageNamed(_ name: String) -> NSImage? init(size size: NSSize) init(coder coder: NSCoder) convenience init?(data data: Data) convenience init?(contentsOfFile fileName: String) convenience init?(contentsOf url: URL) convenience init?(byReferencingFile fileName: String) convenience init(byReferencing url: URL) convenience init(iconRef iconRef: IconRef) convenience init?(pasteboard pasteboard: NSPasteboard) convenience init?(dataIgnoringOrientation data: Data) init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: @escaping (NSRect) -> Bool) class func withSize(_ size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: @escaping (NSRect) -> Bool) -> NSImage var size: NSSize func setName(_ string: String?) -> Bool func name() -> String? @NSCopying var backgroundColor: NSColor var usesEPSOnResolutionMismatch: Bool var prefersColorMatch: Bool var matchesOnMultipleResolution: Bool var matchesOnlyOnBestFittingAxis: Bool func draw(at point: NSPoint, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) func draw(in rect: NSRect, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) func draw(in dstSpacePortionRect: NSRect, from srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : Any]?) func drawRepresentation(_ imageRep: NSImageRep, in rect: NSRect) -> Bool func draw(in rect: NSRect) func recache() var tiffRepresentation: Data? { get } func tiffRepresentation(using comp: NSTIFFCompression, factor factor: Float) -> Data? var representations: [NSImageRep] { get } func addRepresentations(_ imageReps: [NSImageRep]) func addRepresentation(_ imageRep: NSImageRep) func removeRepresentation(_ imageRep: NSImageRep) var isValid: Bool { get } func lockFocus() func lockFocusFlipped(_ flipped: Bool) func unlockFocus() func bestRepresentation(forDevice deviceDescription: [AnyHashable : Any]!) -> NSImageRep! unowned(unsafe) var delegate: NSImageDelegate? class func imageUnfilteredFileTypes() -> [String] class func imageUnfilteredPasteboardTypes() -> [String] class func imageFileTypes() -> [String] class func imagePasteboardTypes() -> [String] class func imageTypes() -> [String] class func imageUnfilteredTypes() -> [String] class func canInit(with pasteboard: NSPasteboard) -> Bool func cancelIncrementalLoad() var cacheMode: NSImageCacheMode var alignmentRect: NSRect var isTemplate: Bool var accessibilityDescription: String? convenience init(cgImage cgImage: CGImage, size size: NSSize) func cgImage(forProposedRect proposedDestRect: UnsafeMutablePointer<NSRect>?, context referenceContext: NSGraphicsContext?, hints hints: [String : Any]?) -> CGImage? func bestRepresentation(for rect: NSRect, context referenceContext: NSGraphicsContext?, hints hints: [String : Any]?) -> NSImageRep? func hitTest(_ testRectDestSpace: NSRect, withDestinationRect imageRectDestSpace: NSRect, context context: NSGraphicsContext?, hints hints: [String : Any]?, flipped flipped: Bool) -> Bool func recommendedLayerContentsScale(_ preferredContentsScale: CGFloat) -> CGFloat func layerContents(forContentsScale layerContentsScale: CGFloat) -> Any var capInsets: EdgeInsets var resizingMode: NSImageResizingMode func setFlipped(_ flag: Bool) func isFlipped() -> Bool func dissolve(to point: NSPoint, fraction fraction: CGFloat) func dissolve(to point: NSPoint, from rect: NSRect, fraction fraction: CGFloat) func composite(to point: NSPoint, operation op: NSCompositingOperation) func composite(to point: NSPoint, from rect: NSRect, operation op: NSCompositingOperation) func composite(to point: NSPoint, operation op: NSCompositingOperation, fraction delta: CGFloat) func composite(to point: NSPoint, from rect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) func lockFocus(onRepresentation imageRepresentation: NSImageRep!) func setScalesWhenResized(_ flag: Bool) func scalesWhenResized() -> Bool func setDataRetained(_ flag: Bool) func isDataRetained() -> Bool func setCachedSeparately(_ flag: Bool) func isCachedSeparately() -> Bool func setCacheDepthMatchesImageDepth(_ flag: Bool) func cacheDepthMatchesImageDepth() -> Bool required convenience init(imageLiteralResourceName name: String) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSImage : CVarArg { } extension NSImage : Equatable, Hashable { var hashValue: Int { get } } extension NSImage { func setFlipped(_ flag: Bool) func isFlipped() -> Bool func dissolve(to point: NSPoint, fraction fraction: CGFloat) func dissolve(to point: NSPoint, from rect: NSRect, fraction fraction: CGFloat) func composite(to point: NSPoint, operation op: NSCompositingOperation) func composite(to point: NSPoint, from rect: NSRect, operation op: NSCompositingOperation) func composite(to point: NSPoint, operation op: NSCompositingOperation, fraction delta: CGFloat) func composite(to point: NSPoint, from rect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) func lockFocus(onRepresentation imageRepresentation: NSImageRep!) func setScalesWhenResized(_ flag: Bool) func scalesWhenResized() -> Bool func setDataRetained(_ flag: Bool) func isDataRetained() -> Bool func setCachedSeparately(_ flag: Bool) func isCachedSeparately() -> Bool func setCacheDepthMatchesImageDepth(_ flag: Bool) func cacheDepthMatchesImageDepth() -> Bool } extension NSImage { required convenience init(imageLiteralResourceName name: String) } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
Declaration | |
---|---|
From | func bestRepresentationForRect(_ rect: NSRect, context referenceContext: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> NSImageRep? |
To | func bestRepresentation(for rect: NSRect, context referenceContext: NSGraphicsContext?, hints hints: [String : Any]?) -> NSImageRep? |
Declaration | |
---|---|
From | class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool |
To | class func canInit(with pasteboard: NSPasteboard) -> Bool |
Modified NSImage.capInsets
Declaration | |
---|---|
From | var capInsets: NSEdgeInsets |
To | var capInsets: EdgeInsets |
Declaration | |
---|---|
From | func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context referenceContext: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> CGImage? |
To | func cgImage(forProposedRect proposedDestRect: UnsafeMutablePointer<NSRect>?, context referenceContext: NSGraphicsContext?, hints hints: [String : Any]?) -> CGImage? |
Modified NSImage.draw(at: NSPoint, from: NSRect, operation: NSCompositingOperation, fraction: CGFloat)
Declaration | |
---|---|
From | func drawAtPoint(_ point: NSPoint, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
To | func draw(at point: NSPoint, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
Modified NSImage.draw(in: NSRect)
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect) |
To | func draw(in rect: NSRect) |
Modified NSImage.draw(in: NSRect, from: NSRect, operation: NSCompositingOperation, fraction: CGFloat)
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
To | func draw(in rect: NSRect, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat) |
Declaration | |
---|---|
From | func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : AnyObject]?) |
To | func draw(in dstSpacePortionRect: NSRect, from srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : Any]?) |
Declaration | |
---|---|
From | func drawRepresentation(_ imageRep: NSImageRep, inRect rect: NSRect) -> Bool |
To | func drawRepresentation(_ imageRep: NSImageRep, in rect: NSRect) -> Bool |
Declaration | |
---|---|
From | func hitTestRect(_ testRectDestSpace: NSRect, withImageDestinationRect imageRectDestSpace: NSRect, context context: NSGraphicsContext?, hints hints: [String : AnyObject]?, flipped flipped: Bool) -> Bool |
To | func hitTest(_ testRectDestSpace: NSRect, withDestinationRect imageRectDestSpace: NSRect, context context: NSGraphicsContext?, hints hints: [String : Any]?, flipped flipped: Bool) -> Bool |
Modified NSImage.init(byReferencing: URL)
Declaration | |
---|---|
From | init(byReferencingURL url: NSURL) |
To | convenience init(byReferencing url: URL) |
Declaration | |
---|---|
From | init?(byReferencingFile fileName: String) |
To | convenience init?(byReferencingFile fileName: String) |
Declaration | |
---|---|
From | init(CGImage cgImage: CGImage, size size: NSSize) |
To | convenience init(cgImage cgImage: CGImage, size size: NSSize) |
Modified NSImage.init(contentsOf: URL)
Declaration | |
---|---|
From | init?(contentsOfURL url: NSURL) |
To | convenience init?(contentsOf url: URL) |
Modified NSImage.init(contentsOfFile: String)
Declaration | |
---|---|
From | init?(contentsOfFile fileName: String) |
To | convenience init?(contentsOfFile fileName: String) |
Modified NSImage.init(data: Data)
Declaration | |
---|---|
From | init?(data data: NSData) |
To | convenience init?(data data: Data) |
Declaration | |
---|---|
From | init?(dataIgnoringOrientation data: NSData) |
To | convenience init?(dataIgnoringOrientation data: Data) |
Modified NSImage.init(iconRef: IconRef)
Declaration | |
---|---|
From | init(iconRef iconRef: IconRef) |
To | convenience init(iconRef iconRef: IconRef) |
Declaration | |
---|---|
From | init?(pasteboard pasteboard: NSPasteboard) |
To | convenience init?(pasteboard pasteboard: NSPasteboard) |
Declaration | |
---|---|
From | init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: (NSRect) -> Bool) |
To | init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: @escaping (NSRect) -> Bool) |
Modified NSImage.isTemplate
Declaration | |
---|---|
From | var template: Bool |
To | var isTemplate: Bool |
Modified NSImage.isValid
Declaration | |
---|---|
From | var valid: Bool { get } |
To | var isValid: Bool { get } |
Declaration | |
---|---|
From | func layerContentsForContentsScale(_ layerContentsScale: CGFloat) -> AnyObject |
To | func layerContents(forContentsScale layerContentsScale: CGFloat) -> Any |
Modified NSImage.tiffRepresentation
Declaration | |
---|---|
From | var TIFFRepresentation: NSData? { get } |
To | var tiffRepresentation: Data? { get } |
Declaration | |
---|---|
From | func TIFFRepresentationUsingCompression(_ comp: NSTIFFCompression, factor aFloat: Float) -> NSData? |
To | func tiffRepresentation(using comp: NSTIFFCompression, factor factor: Float) -> Data? |
Modified NSImageAlignment [enum]
Declaration | |
---|---|
From | enum NSImageAlignment : UInt { case AlignCenter case AlignTop case AlignTopLeft case AlignTopRight case AlignLeft case AlignBottom case AlignBottomLeft case AlignBottomRight case AlignRight } |
To | enum NSImageAlignment : UInt { case alignCenter case alignTop case alignTopLeft case alignTopRight case alignLeft case alignBottom case alignBottomLeft case alignBottomRight case alignRight } |
Modified NSImageAlignment.alignBottom
Declaration | |
---|---|
From | case AlignBottom |
To | case alignBottom |
Modified NSImageAlignment.alignBottomLeft
Declaration | |
---|---|
From | case AlignBottomLeft |
To | case alignBottomLeft |
Modified NSImageAlignment.alignBottomRight
Declaration | |
---|---|
From | case AlignBottomRight |
To | case alignBottomRight |
Modified NSImageAlignment.alignCenter
Declaration | |
---|---|
From | case AlignCenter |
To | case alignCenter |
Modified NSImageAlignment.alignLeft
Declaration | |
---|---|
From | case AlignLeft |
To | case alignLeft |
Modified NSImageAlignment.alignRight
Declaration | |
---|---|
From | case AlignRight |
To | case alignRight |
Modified NSImageAlignment.alignTop
Declaration | |
---|---|
From | case AlignTop |
To | case alignTop |
Modified NSImageAlignment.alignTopLeft
Declaration | |
---|---|
From | case AlignTopLeft |
To | case alignTopLeft |
Modified NSImageAlignment.alignTopRight
Declaration | |
---|---|
From | case AlignTopRight |
To | case alignTopRight |
Modified NSImageCacheMode [enum]
Declaration | |
---|---|
From | enum NSImageCacheMode : UInt { case Default case Always case BySize case Never } |
To | enum NSImageCacheMode : UInt { case `default` case always case bySize case never } |
Modified NSImageCacheMode.always
Declaration | |
---|---|
From | case Always |
To | case always |
Modified NSImageCacheMode.bySize
Declaration | |
---|---|
From | case BySize |
To | case bySize |
Modified NSImageCacheMode.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSImageCacheMode.never
Declaration | |
---|---|
From | case Never |
To | case never |
Modified NSImageCell
Declaration | Protocols | |
---|---|---|
From | class NSImageCell : NSCell, NSCopying, NSCoding { var imageAlignment: NSImageAlignment var imageScaling: NSImageScaling var imageFrameStyle: NSImageFrameStyle } | NSCoding, NSCopying |
To | class NSImageCell : NSCell, NSCopying, NSCoding { var imageAlignment: NSImageAlignment var imageScaling: NSImageScaling var imageFrameStyle: NSImageFrameStyle func entryType() -> Int func setEntryType(_ type: Int) func isEntryAcceptable(_ string: String) -> Bool func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String func setTitleWithMnemonic(_ stringWithAmpersand: String) var backgroundStyle: NSBackgroundStyle var interiorBackgroundStyle: NSBackgroundStyle { get } func expansionFrame(withFrame cellFrame: NSRect, in view: NSView) -> NSRect func draw(withExpansionFrame cellFrame: NSRect, in view: NSView) func hitTest(for event: NSEvent, in cellFrame: NSRect, of controlView: NSView) -> NSCellHitResult var allowsMixedState: Bool var nextState: Int { get } func setNextState() @NSCopying var attributedStringValue: NSAttributedString var allowsEditingTextAttributes: Bool var importsGraphics: Bool var refusesFirstResponder: Bool var acceptsFirstResponder: Bool { get } var showsFirstResponder: Bool func performClick(_ sender: Any?) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask(withFrame cellFrame: NSRect, in controlView: NSView) func focusRingMaskBounds(forFrame cellFrame: NSRect, in controlView: NSView) -> NSRect var wantsNotificationForMarkedText: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSImageCell : CVarArg { } extension NSImageCell : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSImageDelegate
Declaration | |
---|---|
From | protocol NSImageDelegate : NSObjectProtocol { optional func imageDidNotDraw(_ sender: NSImage, inRect aRect: NSRect) -> NSImage? optional func image(_ image: NSImage, willLoadRepresentation rep: NSImageRep) optional func image(_ image: NSImage, didLoadRepresentationHeader rep: NSImageRep) optional func image(_ image: NSImage, didLoadPartOfRepresentation rep: NSImageRep, withValidRows rows: Int) optional func image(_ image: NSImage, didLoadRepresentation rep: NSImageRep, withStatus status: NSImageLoadStatus) } |
To | protocol NSImageDelegate : NSObjectProtocol { optional func imageDidNotDraw(_ sender: NSImage, in rect: NSRect) -> NSImage? optional func image(_ image: NSImage, willLoadRepresentation rep: NSImageRep) optional func image(_ image: NSImage, didLoadRepresentationHeader rep: NSImageRep) optional func image(_ image: NSImage, didLoadPartOfRepresentation rep: NSImageRep, withValidRows rows: Int) optional func image(_ image: NSImage, didLoadRepresentation rep: NSImageRep, with status: NSImageLoadStatus) } |
Modified NSImageDelegate.image(_: NSImage, didLoadRepresentation: NSImageRep, with: NSImageLoadStatus)
Declaration | |
---|---|
From | optional func image(_ image: NSImage, didLoadRepresentation rep: NSImageRep, withStatus status: NSImageLoadStatus) |
To | optional func image(_ image: NSImage, didLoadRepresentation rep: NSImageRep, with status: NSImageLoadStatus) |
Declaration | |
---|---|
From | optional func imageDidNotDraw(_ sender: NSImage, inRect aRect: NSRect) -> NSImage? |
To | optional func imageDidNotDraw(_ sender: NSImage, in rect: NSRect) -> NSImage? |
Modified NSImageFrameStyle [enum]
Declaration | |
---|---|
From | enum NSImageFrameStyle : UInt { case None case Photo case GrayBezel case Groove case Button } |
To | enum NSImageFrameStyle : UInt { case none case photo case grayBezel case groove case button } |
Modified NSImageFrameStyle.button
Declaration | |
---|---|
From | case Button |
To | case button |
Modified NSImageFrameStyle.grayBezel
Declaration | |
---|---|
From | case GrayBezel |
To | case grayBezel |
Modified NSImageFrameStyle.groove
Declaration | |
---|---|
From | case Groove |
To | case groove |
Modified NSImageFrameStyle.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSImageFrameStyle.photo
Declaration | |
---|---|
From | case Photo |
To | case photo |
Modified NSImageInterpolation [enum]
Declaration | |
---|---|
From | enum NSImageInterpolation : UInt { case Default case None case Low case Medium case High } |
To | enum NSImageInterpolation : UInt { case `default` case none case low case medium case high } |
Modified NSImageInterpolation.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSImageInterpolation.high
Declaration | |
---|---|
From | case High |
To | case high |
Modified NSImageInterpolation.low
Declaration | |
---|---|
From | case Low |
To | case low |
Modified NSImageInterpolation.medium
Declaration | |
---|---|
From | case Medium |
To | case medium |
Modified NSImageInterpolation.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSImageLoadStatus [enum]
Declaration | |
---|---|
From | enum NSImageLoadStatus : UInt { case Completed case Cancelled case InvalidData case UnexpectedEOF case ReadError } |
To | enum NSImageLoadStatus : UInt { case completed case cancelled case invalidData case unexpectedEOF case readError } |
Modified NSImageLoadStatus.cancelled
Declaration | |
---|---|
From | case Cancelled |
To | case cancelled |
Modified NSImageLoadStatus.completed
Declaration | |
---|---|
From | case Completed |
To | case completed |
Modified NSImageLoadStatus.invalidData
Declaration | |
---|---|
From | case InvalidData |
To | case invalidData |
Modified NSImageLoadStatus.readError
Declaration | |
---|---|
From | case ReadError |
To | case readError |
Modified NSImageLoadStatus.unexpectedEOF
Declaration | |
---|---|
From | case UnexpectedEOF |
To | case unexpectedEOF |
Modified NSImageRep
Declaration | Protocols | |
---|---|---|
From | class NSImageRep : NSObject, NSCopying, NSCoding { init() init?(coder coder: NSCoder) func draw() -> Bool func drawAtPoint(_ point: NSPoint) -> Bool func drawInRect(_ rect: NSRect) -> Bool func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : AnyObject]?) -> Bool var size: NSSize var alpha: Bool var opaque: Bool var colorSpaceName: String var bitsPerSample: Int var pixelsWide: Int var pixelsHigh: Int class func registerImageRepClass(_ imageRepClass: AnyClass) class func unregisterImageRepClass(_ imageRepClass: AnyClass) class func registeredImageRepClasses() -> [AnyClass] class func imageRepClassForFileType(_ type: String) -> AnyClass? class func imageRepClassForPasteboardType(_ type: String) -> AnyClass? class func imageRepClassForType(_ type: String) -> AnyClass? class func imageRepClassForData(_ data: NSData) -> AnyClass? class func canInitWithData(_ data: NSData) -> Bool class func imageUnfilteredFileTypes() -> [String] class func imageUnfilteredPasteboardTypes() -> [String] class func imageFileTypes() -> [String] class func imagePasteboardTypes() -> [String] class func imageUnfilteredTypes() -> [String] class func imageTypes() -> [String] class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool class func imageRepsWithContentsOfFile(_ filename: String) -> [NSImageRep]? init?(contentsOfFile filename: String) class func imageRepWithContentsOfFile(_ filename: String) -> NSImageRep? class func imageRepsWithContentsOfURL(_ url: NSURL) -> [NSImageRep]? init?(contentsOfURL url: NSURL) class func imageRepWithContentsOfURL(_ url: NSURL) -> NSImageRep? class func imageRepsWithPasteboard(_ pasteboard: NSPasteboard) -> [NSImageRep]? init?(pasteboard pasteboard: NSPasteboard) class func imageRepWithPasteboard(_ pasteboard: NSPasteboard) -> NSImageRep? func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context context: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> CGImage? } | NSCoding, NSCopying |
To | class NSImageRep : NSObject, NSCopying, NSCoding { init() init?(coder coder: NSCoder) func draw() -> Bool func draw(at point: NSPoint) -> Bool func draw(in rect: NSRect) -> Bool func draw(in dstSpacePortionRect: NSRect, from srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : Any]?) -> Bool var size: NSSize var hasAlpha: Bool var isOpaque: Bool var colorSpaceName: String var bitsPerSample: Int var pixelsWide: Int var pixelsHigh: Int var layoutDirection: NSImageLayoutDirection class func registerClass(_ imageRepClass: Swift.AnyClass) class func unregisterClass(_ imageRepClass: Swift.AnyClass) class func registeredClasses() -> [Swift.AnyClass] class func `class`(forFileType type: String) -> Swift.AnyClass? class func `class`(forPasteboardType type: String) -> Swift.AnyClass? class func `class`(forType type: String) -> Swift.AnyClass? class func `class`(for data: Data) -> Swift.AnyClass? class func canInit(with data: Data) -> Bool class func imageUnfilteredFileTypes() -> [String] class func imageUnfilteredPasteboardTypes() -> [String] class func imageFileTypes() -> [String] class func imagePasteboardTypes() -> [String] class func imageUnfilteredTypes() -> [String] class func imageTypes() -> [String] class func canInit(with pasteboard: NSPasteboard) -> Bool class func imageReps(withContentsOfFile filename: String) -> [NSImageRep]? init?(contentsOfFile filename: String) class func withContentsOfFile(_ filename: String) -> NSImageRep? class func imageReps(withContentsOf url: URL) -> [NSImageRep]? init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> NSImageRep? class func imageReps(with pasteboard: NSPasteboard) -> [NSImageRep]? init?(pasteboard pasteboard: NSPasteboard) class func withPasteboard(_ pasteboard: NSPasteboard) -> NSImageRep? func cgImage(forProposedRect proposedDestRect: UnsafeMutablePointer<NSRect>?, context context: NSGraphicsContext?, hints hints: [String : Any]?) -> CGImage? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSImageRep : CVarArg { } extension NSImageRep : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool |
To | class func canInit(with pasteboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | class func canInitWithData(_ data: NSData) -> Bool |
To | class func canInit(with data: Data) -> Bool |
Declaration | |
---|---|
From | func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context context: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> CGImage? |
To | func cgImage(forProposedRect proposedDestRect: UnsafeMutablePointer<NSRect>?, context context: NSGraphicsContext?, hints hints: [String : Any]?) -> CGImage? |
Declaration | |
---|---|
From | class func imageRepClassForData(_ data: NSData) -> AnyClass? |
To | class func `class`(for data: Data) -> Swift.AnyClass? |
Declaration | |
---|---|
From | class func imageRepClassForFileType(_ type: String) -> AnyClass? |
To | class func `class`(forFileType type: String) -> Swift.AnyClass? |
Declaration | |
---|---|
From | class func imageRepClassForPasteboardType(_ type: String) -> AnyClass? |
To | class func `class`(forPasteboardType type: String) -> Swift.AnyClass? |
Declaration | |
---|---|
From | class func imageRepClassForType(_ type: String) -> AnyClass? |
To | class func `class`(forType type: String) -> Swift.AnyClass? |
Modified NSImageRep.draw(at: NSPoint) -> Bool
Declaration | |
---|---|
From | func drawAtPoint(_ point: NSPoint) -> Bool |
To | func draw(at point: NSPoint) -> Bool |
Modified NSImageRep.draw(in: NSRect) -> Bool
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect) -> Bool |
To | func draw(in rect: NSRect) -> Bool |
Declaration | |
---|---|
From | func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : AnyObject]?) -> Bool |
To | func draw(in dstSpacePortionRect: NSRect, from srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : Any]?) -> Bool |
Modified NSImageRep.hasAlpha
Declaration | |
---|---|
From | var alpha: Bool |
To | var hasAlpha: Bool |
Declaration | |
---|---|
From | class func imageRepsWithPasteboard(_ pasteboard: NSPasteboard) -> [NSImageRep]? |
To | class func imageReps(with pasteboard: NSPasteboard) -> [NSImageRep]? |
Declaration | |
---|---|
From | class func imageRepsWithContentsOfURL(_ url: NSURL) -> [NSImageRep]? |
To | class func imageReps(withContentsOf url: URL) -> [NSImageRep]? |
Declaration | |
---|---|
From | class func imageRepsWithContentsOfFile(_ filename: String) -> [NSImageRep]? |
To | class func imageReps(withContentsOfFile filename: String) -> [NSImageRep]? |
Modified NSImageRep.init(contentsOf: URL)
Declaration | |
---|---|
From | init?(contentsOfURL url: NSURL) |
To | init?(contentsOf url: URL) |
Modified NSImageRep.isOpaque
Declaration | |
---|---|
From | var opaque: Bool |
To | var isOpaque: Bool |
Declaration | |
---|---|
From | class func registerImageRepClass(_ imageRepClass: AnyClass) |
To | class func registerClass(_ imageRepClass: Swift.AnyClass) |
Declaration | |
---|---|
From | class func registeredImageRepClasses() -> [AnyClass] |
To | class func registeredClasses() -> [Swift.AnyClass] |
Declaration | |
---|---|
From | class func unregisterImageRepClass(_ imageRepClass: AnyClass) |
To | class func unregisterClass(_ imageRepClass: Swift.AnyClass) |
Modified NSImageRepLoadStatus [enum]
Declaration | |
---|---|
From | enum NSImageRepLoadStatus : Int { case UnknownType case ReadingHeader case WillNeedAllData case InvalidData case UnexpectedEOF case Completed } |
To | enum NSImageRepLoadStatus : Int { case unknownType case readingHeader case willNeedAllData case invalidData case unexpectedEOF case completed } |
Modified NSImageRepLoadStatus.completed
Declaration | |
---|---|
From | case Completed |
To | case completed |
Modified NSImageRepLoadStatus.invalidData
Declaration | |
---|---|
From | case InvalidData |
To | case invalidData |
Modified NSImageRepLoadStatus.readingHeader
Declaration | |
---|---|
From | case ReadingHeader |
To | case readingHeader |
Modified NSImageRepLoadStatus.unexpectedEOF
Declaration | |
---|---|
From | case UnexpectedEOF |
To | case unexpectedEOF |
Modified NSImageRepLoadStatus.unknownType
Declaration | |
---|---|
From | case UnknownType |
To | case unknownType |
Modified NSImageRepLoadStatus.willNeedAllData
Declaration | |
---|---|
From | case WillNeedAllData |
To | case willNeedAllData |
Modified NSImageResizingMode [enum]
Declaration | |
---|---|
From | enum NSImageResizingMode : Int { case Stretch case Tile } |
To | enum NSImageResizingMode : Int { case stretch case tile } |
Modified NSImageResizingMode.stretch
Declaration | |
---|---|
From | case Stretch |
To | case stretch |
Modified NSImageResizingMode.tile
Declaration | |
---|---|
From | case Tile |
To | case tile |
Modified NSImageScaling [enum]
Declaration | |
---|---|
From | enum NSImageScaling : UInt { case ScaleProportionallyDown case ScaleAxesIndependently case ScaleNone case ScaleProportionallyUpOrDown static var NSScaleProportionally: NSImageScaling { get } static var NSScaleToFit: NSImageScaling { get } static var NSScaleNone: NSImageScaling { get } } |
To | enum NSImageScaling : UInt { case scaleProportionallyDown case scaleAxesIndependently case scaleNone case scaleProportionallyUpOrDown static var NSScaleProportionally: NSImageScaling { get } static var NSScaleToFit: NSImageScaling { get } static var NSScaleNone: NSImageScaling { get } } |
Declaration | |
---|---|
From | case ScaleAxesIndependently |
To | case scaleAxesIndependently |
Modified NSImageScaling.scaleNone
Declaration | |
---|---|
From | case ScaleNone |
To | case scaleNone |
Declaration | |
---|---|
From | case ScaleProportionallyDown |
To | case scaleProportionallyDown |
Declaration | |
---|---|
From | case ScaleProportionallyUpOrDown |
To | case scaleProportionallyUpOrDown |
Modified NSImageView
Declaration | Protocols | |
---|---|---|
From | class NSImageView : NSControl, NSAccessibilityImage { var image: NSImage? var imageAlignment: NSImageAlignment var imageScaling: NSImageScaling var imageFrameStyle: NSImageFrameStyle var editable: Bool var animates: Bool var allowsCutCopyPaste: Bool } | NSAccessibilityImage |
To | class NSImageView : NSControl, NSAccessibilityImage { var image: NSImage? var imageAlignment: NSImageAlignment var imageScaling: NSImageScaling var imageFrameStyle: NSImageFrameStyle var isEditable: Bool var animates: Bool var allowsCutCopyPaste: Bool convenience init(image image: NSImage) class func withImage(_ image: NSImage) -> Self func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSImageView : CVarArg { } extension NSImageView : Equatable, Hashable { var hashValue: Int { get } } extension NSImageView { convenience init(image image: NSImage) class func withImage(_ image: NSImage) -> Self } | CVarArg, Equatable, Hashable, NSAccessibilityImage |
Modified NSImageView.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Modified NSInputServerMouseTracker
Declaration | |
---|---|
From | protocol NSInputServerMouseTracker { func mouseDownOnCharacterIndex(_ theIndex: Int, atCoordinate thePoint: NSPoint, withModifier theFlags: Int, client sender: AnyObject!) -> Bool func mouseDraggedOnCharacterIndex(_ theIndex: Int, atCoordinate thePoint: NSPoint, withModifier theFlags: Int, client sender: AnyObject!) -> Bool func mouseUpOnCharacterIndex(_ theIndex: Int, atCoordinate thePoint: NSPoint, withModifier theFlags: Int, client sender: AnyObject!) } |
To | protocol NSInputServerMouseTracker { func mouseDown(onCharacterIndex index: Int, atCoordinate point: NSPoint, withModifier flags: Int, client sender: Any!) -> Bool func mouseDragged(onCharacterIndex index: Int, atCoordinate point: NSPoint, withModifier flags: Int, client sender: Any!) -> Bool func mouseUp(onCharacterIndex index: Int, atCoordinate point: NSPoint, withModifier flags: Int, client sender: Any!) } |
Modified NSInputServiceProvider
Declaration | |
---|---|
From | protocol NSInputServiceProvider { func insertText(_ aString: AnyObject!, client sender: AnyObject!) func doCommandBySelector(_ aSelector: Selector, client sender: AnyObject!) func markedTextAbandoned(_ sender: AnyObject?) func markedTextSelectionChanged(_ newSel: NSRange, client sender: AnyObject!) func terminate(_ sender: AnyObject?) func canBeDisabled() -> Bool func wantsToInterpretAllKeystrokes() -> Bool func wantsToHandleMouseEvents() -> Bool func wantsToDelayTextChangeNotifications() -> Bool func inputClientBecomeActive(_ sender: AnyObject?) func inputClientResignActive(_ sender: AnyObject?) func inputClientEnabled(_ sender: AnyObject?) func inputClientDisabled(_ sender: AnyObject?) func activeConversationWillChange(_ sender: AnyObject!, fromOldConversation oldConversation: Int) func activeConversationChanged(_ sender: AnyObject!, toNewConversation newConversation: Int) } |
To | protocol NSInputServiceProvider { func insertText(_ string: Any!, client sender: Any!) func doCommand(by selector: Selector!, client sender: Any!) func markedTextAbandoned(_ sender: Any?) func markedTextSelectionChanged(_ newSel: NSRange, client sender: Any!) func terminate(_ sender: Any?) func canBeDisabled() -> Bool func wantsToInterpretAllKeystrokes() -> Bool func wantsToHandleMouseEvents() -> Bool func wantsToDelayTextChangeNotifications() -> Bool func inputClientBecomeActive(_ sender: Any?) func inputClientResignActive(_ sender: Any?) func inputClientEnabled(_ sender: Any?) func inputClientDisabled(_ sender: Any?) func activeConversationWillChange(_ sender: Any!, fromOldConversation oldConversation: Int) func activeConversationChanged(_ sender: Any!, toNewConversation newConversation: Int) } |
Modified NSLayoutAnchor
Declaration | Protocols | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|---|
From | class NSLayoutAnchor : NSObject { func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! } | -- | -- | |
To | class NSLayoutAnchor<AnchorType : AnyObject> : NSObject, NSCopying, NSCoding { func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSLayoutAnchor : CVarArg { } extension NSLayoutAnchor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying | AnchorType : AnyObject | AnchorType |
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutAnchor.constraint(greaterThanOrEqualTo: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutAnchor.constraint(lessThanOrEqualTo: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutAttribute [enum]
Declaration | |
---|---|
From | enum NSLayoutAttribute : Int { case Left case Right case Top case Bottom case Leading case Trailing case Width case Height case CenterX case CenterY case Baseline static var LastBaseline: NSLayoutAttribute { get } case FirstBaseline case NotAnAttribute } |
To | enum NSLayoutAttribute : Int { case left case right case top case bottom case leading case trailing case width case height case centerX case centerY case lastBaseline static var baseline: NSLayoutAttribute { get } case firstBaseline case notAnAttribute } |
Modified NSLayoutAttribute.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Modified NSLayoutAttribute.centerX
Declaration | |
---|---|
From | case CenterX |
To | case centerX |
Modified NSLayoutAttribute.centerY
Declaration | |
---|---|
From | case CenterY |
To | case centerY |
Modified NSLayoutAttribute.firstBaseline
Declaration | |
---|---|
From | case FirstBaseline |
To | case firstBaseline |
Modified NSLayoutAttribute.height
Declaration | |
---|---|
From | case Height |
To | case height |
Modified NSLayoutAttribute.lastBaseline
Name | Declaration | |
---|---|---|
From | LastBaseline | static var LastBaseline: NSLayoutAttribute { get } |
To | lastBaseline | case lastBaseline |
Modified NSLayoutAttribute.leading
Declaration | |
---|---|
From | case Leading |
To | case leading |
Modified NSLayoutAttribute.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified NSLayoutAttribute.notAnAttribute
Declaration | |
---|---|
From | case NotAnAttribute |
To | case notAnAttribute |
Modified NSLayoutAttribute.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified NSLayoutAttribute.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified NSLayoutAttribute.trailing
Declaration | |
---|---|
From | case Trailing |
To | case trailing |
Modified NSLayoutAttribute.width
Declaration | |
---|---|
From | case Width |
To | case width |
Modified NSLayoutConstraint
Declaration | Protocols | |
---|---|---|
From | class NSLayoutConstraint : NSObject, NSAnimatablePropertyContainer { class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [String : NSNumber]?, views views: [String : AnyObject]) -> [NSLayoutConstraint] convenience init(item view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) class func constraintWithItem(_ view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) -> Self var priority: NSLayoutPriority var shouldBeArchived: Bool unowned(unsafe) var firstItem: AnyObject { get } var firstAttribute: NSLayoutAttribute { get } var relation: NSLayoutRelation { get } unowned(unsafe) var secondItem: AnyObject? { get } var secondAttribute: NSLayoutAttribute { get } var multiplier: CGFloat { get } var constant: CGFloat var active: Bool class func activateConstraints(_ constraints: [NSLayoutConstraint]) class func deactivateConstraints(_ constraints: [NSLayoutConstraint]) } extension NSLayoutConstraint { var identifier: String? } | NSAnimatablePropertyContainer |
To | class NSLayoutConstraint : NSObject, NSAnimatablePropertyContainer { class func constraints(withVisualFormat format: String, options opts: NSLayoutFormatOptions = [], metrics metrics: [String : NSNumber]?, views views: [String : Any]) -> [NSLayoutConstraint] convenience init(item view1: Any, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: Any?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) class func withItem(_ view1: Any, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: Any?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) -> Self var priority: NSLayoutPriority var shouldBeArchived: Bool unowned(unsafe) var firstItem: AnyObject? { get } var firstAttribute: NSLayoutAttribute { get } unowned(unsafe) var secondItem: AnyObject? { get } var secondAttribute: NSLayoutAttribute { get } @NSCopying var firstAnchor: NSLayoutAnchor<AnyObject> { get } @NSCopying var secondAnchor: NSLayoutAnchor<AnyObject>? { get } var relation: NSLayoutRelation { get } var multiplier: CGFloat { get } var constant: CGFloat var isActive: Bool class func activate(_ constraints: [NSLayoutConstraint]) class func deactivate(_ constraints: [NSLayoutConstraint]) var identifier: String? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSLayoutConstraint : CVarArg { } extension NSLayoutConstraint : Equatable, Hashable { var hashValue: Int { get } } extension NSLayoutConstraint { var identifier: String? } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer |
Declaration | |
---|---|
From | class func activateConstraints(_ constraints: [NSLayoutConstraint]) |
To | class func activate(_ constraints: [NSLayoutConstraint]) |
Declaration | |
---|---|
From | class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [String : NSNumber]?, views views: [String : AnyObject]) -> [NSLayoutConstraint] |
To | class func constraints(withVisualFormat format: String, options opts: NSLayoutFormatOptions = [], metrics metrics: [String : NSNumber]?, views views: [String : Any]) -> [NSLayoutConstraint] |
Declaration | |
---|---|
From | class func deactivateConstraints(_ constraints: [NSLayoutConstraint]) |
To | class func deactivate(_ constraints: [NSLayoutConstraint]) |
Modified NSLayoutConstraint.firstItem
Declaration | |
---|---|
From | unowned(unsafe) var firstItem: AnyObject { get } |
To | unowned(unsafe) var firstItem: AnyObject? { get } |
Declaration | |
---|---|
From | convenience init(item view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) |
To | convenience init(item view1: Any, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: Any?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) |
Modified NSLayoutConstraint.isActive
Declaration | |
---|---|
From | var active: Bool |
To | var isActive: Bool |
Modified NSLayoutConstraintOrientation [enum]
Declaration | |
---|---|
From | enum NSLayoutConstraintOrientation : Int { case Horizontal case Vertical } |
To | enum NSLayoutConstraintOrientation : Int { case horizontal case vertical } |
Declaration | |
---|---|
From | case Horizontal |
To | case horizontal |
Declaration | |
---|---|
From | case Vertical |
To | case vertical |
Modified NSLayoutDimension
Declaration | |
---|---|
From | class NSLayoutDimension : NSLayoutAnchor { func constraintEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! } |
To | class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> { func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint } |
Modified NSLayoutDimension.constraint(equalTo: NSLayoutDimension, multiplier: CGFloat) -> NSLayoutConstraint
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutFormatOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSLayoutFormatOptions : OptionSetType { init(rawValue rawValue: UInt) static var AlignAllLeft: NSLayoutFormatOptions { get } static var AlignAllRight: NSLayoutFormatOptions { get } static var AlignAllTop: NSLayoutFormatOptions { get } static var AlignAllBottom: NSLayoutFormatOptions { get } static var AlignAllLeading: NSLayoutFormatOptions { get } static var AlignAllTrailing: NSLayoutFormatOptions { get } static var AlignAllCenterX: NSLayoutFormatOptions { get } static var AlignAllCenterY: NSLayoutFormatOptions { get } static var AlignAllBaseline: NSLayoutFormatOptions { get } static var AlignAllLastBaseline: NSLayoutFormatOptions { get } static var AlignAllFirstBaseline: NSLayoutFormatOptions { get } static var AlignmentMask: NSLayoutFormatOptions { get } static var DirectionLeadingToTrailing: NSLayoutFormatOptions { get } static var DirectionLeftToRight: NSLayoutFormatOptions { get } static var DirectionRightToLeft: NSLayoutFormatOptions { get } static var DirectionMask: NSLayoutFormatOptions { get } } | OptionSetType |
To | struct NSLayoutFormatOptions : OptionSet { init(rawValue rawValue: UInt) static var alignAllLeft: NSLayoutFormatOptions { get } static var alignAllRight: NSLayoutFormatOptions { get } static var alignAllTop: NSLayoutFormatOptions { get } static var alignAllBottom: NSLayoutFormatOptions { get } static var alignAllLeading: NSLayoutFormatOptions { get } static var alignAllTrailing: NSLayoutFormatOptions { get } static var alignAllCenterX: NSLayoutFormatOptions { get } static var alignAllCenterY: NSLayoutFormatOptions { get } static var alignAllBaseline: NSLayoutFormatOptions { get } static var alignAllLastBaseline: NSLayoutFormatOptions { get } static var alignAllFirstBaseline: NSLayoutFormatOptions { get } static var alignmentMask: NSLayoutFormatOptions { get } static var directionLeadingToTrailing: NSLayoutFormatOptions { get } static var directionLeftToRight: NSLayoutFormatOptions { get } static var directionRightToLeft: NSLayoutFormatOptions { get } static var directionMask: NSLayoutFormatOptions { get } func intersect(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions func exclusiveOr(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions mutating func unionInPlace(_ other: NSLayoutFormatOptions) mutating func intersectInPlace(_ other: NSLayoutFormatOptions) mutating func exclusiveOrInPlace(_ other: NSLayoutFormatOptions) func isSubsetOf(_ other: NSLayoutFormatOptions) -> Bool func isDisjointWith(_ other: NSLayoutFormatOptions) -> Bool func isSupersetOf(_ other: NSLayoutFormatOptions) -> Bool mutating func subtractInPlace(_ other: NSLayoutFormatOptions) func isStrictSupersetOf(_ other: NSLayoutFormatOptions) -> Bool func isStrictSubsetOf(_ other: NSLayoutFormatOptions) -> Bool } extension NSLayoutFormatOptions { func union(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions func intersection(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions func symmetricDifference(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions } extension NSLayoutFormatOptions { func contains(_ member: NSLayoutFormatOptions) -> Bool mutating func insert(_ newMember: NSLayoutFormatOptions) -> (inserted: Bool, memberAfterInsert: NSLayoutFormatOptions) mutating func remove(_ member: NSLayoutFormatOptions) -> NSLayoutFormatOptions? mutating func update(with newMember: NSLayoutFormatOptions) -> NSLayoutFormatOptions? } extension NSLayoutFormatOptions { convenience init() mutating func formUnion(_ other: NSLayoutFormatOptions) mutating func formIntersection(_ other: NSLayoutFormatOptions) mutating func formSymmetricDifference(_ other: NSLayoutFormatOptions) } extension NSLayoutFormatOptions { convenience init<S : Sequence where S.Iterator.Element == NSLayoutFormatOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSLayoutFormatOptions...) mutating func subtract(_ other: NSLayoutFormatOptions) func isSubset(of other: NSLayoutFormatOptions) -> Bool func isSuperset(of other: NSLayoutFormatOptions) -> Bool func isDisjoint(with other: NSLayoutFormatOptions) -> Bool func subtracting(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSLayoutFormatOptions) -> Bool func isStrictSubset(of other: NSLayoutFormatOptions) -> Bool } | OptionSet |
Modified NSLayoutFormatOptions.alignAllBottom
Declaration | |
---|---|
From | static var AlignAllBottom: NSLayoutFormatOptions { get } |
To | static var alignAllBottom: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllCenterX: NSLayoutFormatOptions { get } |
To | static var alignAllCenterX: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllCenterY: NSLayoutFormatOptions { get } |
To | static var alignAllCenterY: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllFirstBaseline: NSLayoutFormatOptions { get } |
To | static var alignAllFirstBaseline: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllLastBaseline: NSLayoutFormatOptions { get } |
To | static var alignAllLastBaseline: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllLeading: NSLayoutFormatOptions { get } |
To | static var alignAllLeading: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignAllLeft
Declaration | |
---|---|
From | static var AlignAllLeft: NSLayoutFormatOptions { get } |
To | static var alignAllLeft: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignAllRight
Declaration | |
---|---|
From | static var AlignAllRight: NSLayoutFormatOptions { get } |
To | static var alignAllRight: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignAllTop
Declaration | |
---|---|
From | static var AlignAllTop: NSLayoutFormatOptions { get } |
To | static var alignAllTop: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllTrailing: NSLayoutFormatOptions { get } |
To | static var alignAllTrailing: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignmentMask
Declaration | |
---|---|
From | static var AlignmentMask: NSLayoutFormatOptions { get } |
To | static var alignmentMask: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var DirectionLeadingToTrailing: NSLayoutFormatOptions { get } |
To | static var directionLeadingToTrailing: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var DirectionLeftToRight: NSLayoutFormatOptions { get } |
To | static var directionLeftToRight: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.directionMask
Declaration | |
---|---|
From | static var DirectionMask: NSLayoutFormatOptions { get } |
To | static var directionMask: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var DirectionRightToLeft: NSLayoutFormatOptions { get } |
To | static var directionRightToLeft: NSLayoutFormatOptions { get } |
Modified NSLayoutGuide
Declaration | Protocols | |
---|---|---|
From | class NSLayoutGuide : NSObject, NSCoding, NSUserInterfaceItemIdentification { var frame: NSRect { get } weak var owningView: NSView? var identifier: String 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 } } | NSCoding, NSUserInterfaceItemIdentification |
To | class NSLayoutGuide : NSObject, NSCoding, NSUserInterfaceItemIdentification { var frame: NSRect { get } weak var owningView: NSView? var identifier: String 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 hasAmbiguousLayout: Bool { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSLayoutGuide : CVarArg { } extension NSLayoutGuide : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSUserInterfaceItemIdentification |
Modified NSLayoutManager
Declaration | Protocols | |
---|---|---|
From | class NSLayoutManager : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var textStorage: NSTextStorage? func replaceTextStorage(_ newTextStorage: NSTextStorage) var textContainers: [NSTextContainer] { get } func addTextContainer(_ container: NSTextContainer) func insertTextContainer(_ container: NSTextContainer, atIndex index: Int) func removeTextContainerAtIndex(_ index: Int) func textContainerChangedGeometry(_ container: NSTextContainer) func textContainerChangedTextView(_ container: NSTextContainer) unowned(unsafe) var delegate: NSLayoutManagerDelegate? var showsInvisibleCharacters: Bool var showsControlCharacters: Bool var hyphenationFactor: Float var usesFontLeading: Bool var allowsNonContiguousLayout: Bool var hasNonContiguousLayout: Bool { get } var backgroundLayoutEnabled: Bool var defaultAttachmentScaling: NSImageScaling var typesetter: NSTypesetter var typesetterBehavior: NSTypesetterBehavior func invalidateGlyphsForCharacterRange(_ charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer) func invalidateLayoutForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) func invalidateDisplayForCharacterRange(_ charRange: NSRange) func invalidateDisplayForGlyphRange(_ glyphRange: NSRange) func processEditingForTextStorage(_ textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func ensureGlyphsForCharacterRange(_ charRange: NSRange) func ensureGlyphsForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForCharacterRange(_ charRange: NSRange) func ensureLayoutForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForTextContainer(_ container: NSTextContainer) func ensureLayoutForBoundingRect(_ bounds: NSRect, inTextContainer container: NSTextContainer) func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: NSFont, forGlyphRange glyphRange: NSRange) var numberOfGlyphs: Int { get } func CGGlyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph func CGGlyphAtIndex(_ glyphIndex: Int) -> CGGlyph func isValidGlyphIndex(_ glyphIndex: Int) -> Bool func propertyForGlyphAtIndex(_ glyphIndex: Int) -> NSGlyphProperty func characterIndexForGlyphAtIndex(_ glyphIndex: Int) -> Int func glyphIndexForCharacterAtIndex(_ charIndex: Int) -> Int func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>, properties props: UnsafeMutablePointer<NSGlyphProperty>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int func setTextContainer(_ container: NSTextContainer, forGlyphRange glyphRange: NSRange) func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect) func setExtraLineFragmentRect(_ fragmentRect: NSRect, usedRect usedRect: NSRect, textContainer container: NSTextContainer) func setLocation(_ location: NSPoint, forStartOfGlyphRange glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>, glyphIndex glyphIndex: UnsafeMutablePointer<Int>) func firstUnlaidCharacterIndex() -> Int func firstUnlaidGlyphIndex() -> Int func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSTextContainer? func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSTextContainer? func usedRectForTextContainer(_ container: NSTextContainer) -> NSRect func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSRect func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSRect var extraLineFragmentRect: NSRect { get } var extraLineFragmentUsedRect: NSRect { get } var extraLineFragmentTextContainer: NSTextContainer? { get } func locationForGlyphAtIndex(_ glyphIndex: Int) -> NSPoint func notShownAttributeForGlyphAtIndex(_ glyphIndex: Int) -> Bool func drawsOutsideLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> Bool func attachmentSizeForGlyphAtIndex(_ glyphIndex: Int) -> NSSize func truncatedGlyphRangeInLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> NSRange func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange func glyphRangeForTextContainer(_ container: NSTextContainer) -> NSRange func rangeOfNominallySpacedGlyphsContainingIndex(_ glyphIndex: Int) -> NSRange func boundingRectForGlyphRange(_ glyphRange: NSRange, inTextContainer container: NSTextContainer) -> NSRect func glyphRangeForBoundingRect(_ bounds: NSRect, inTextContainer container: NSTextContainer) -> NSRange func glyphRangeForBoundingRectWithoutAdditionalLayout(_ bounds: NSRect, inTextContainer container: NSTextContainer) -> NSRange func glyphIndexForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func glyphIndexForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer) -> Int func fractionOfDistanceThroughGlyphForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer) -> CGFloat func characterIndexForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func getLineFragmentInsertionPointsForCharacterAtIndex(_ charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>, characterIndexes charIndexes: UnsafeMutablePointer<Int>) -> Int func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (NSRect, NSRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateEnclosingRectsForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, inTextContainer textContainer: NSTextContainer, usingBlock block: (NSRect, UnsafeMutablePointer<ObjCBool>) -> Void) func drawBackgroundForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: NSPoint) func drawGlyphsForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: NSPoint) func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<NSPoint>, count glyphCount: Int, font font: NSFont, matrix textMatrix: NSAffineTransform, attributes attributes: [String : AnyObject], inContext graphicsContext: NSGraphicsContext) func fillBackgroundRectArray(_ rectArray: UnsafePointer<NSRect>, count rectCount: Int, forCharacterRange charRange: NSRange, color color: NSColor) func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func showAttachmentCell(_ cell: NSCell, inRect rect: NSRect, characterIndex attachmentIndex: Int) func setLayoutRect(_ rect: NSRect, forTextBlock block: NSTextBlock, glyphRange glyphRange: NSRange) func setBoundsRect(_ rect: NSRect, forTextBlock block: NSTextBlock, glyphRange glyphRange: NSRange) func layoutRectForTextBlock(_ block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect func boundsRectForTextBlock(_ block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect func layoutRectForTextBlock(_ block: NSTextBlock, atIndex glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect func boundsRectForTextBlock(_ block: NSTextBlock, atIndex glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect func temporaryAttributesAtCharacterIndex(_ charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [String : AnyObject] func setTemporaryAttributes(_ attrs: [String : AnyObject], forCharacterRange charRange: NSRange) func addTemporaryAttributes(_ attrs: [String : AnyObject], forCharacterRange charRange: NSRange) func removeTemporaryAttribute(_ attrName: String, forCharacterRange charRange: NSRange) func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, effectiveRange range: NSRangePointer) -> AnyObject? func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> AnyObject? func temporaryAttributesAtCharacterIndex(_ location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> [String : AnyObject] func addTemporaryAttribute(_ attrName: String, value value: AnyObject, forCharacterRange charRange: NSRange) func defaultLineHeightForFont(_ theFont: NSFont) -> CGFloat func defaultBaselineOffsetForFont(_ theFont: NSFont) -> CGFloat } extension NSLayoutManager : NSGlyphStorage { var glyphGenerator: NSGlyphGenerator } extension NSLayoutManager { func rulerMarkersForTextView(_ view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [NSRulerMarker] func rulerAccessoryViewForTextView(_ view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView, enabled isEnabled: Bool) -> NSView? func layoutManagerOwnsFirstResponderInWindow(_ window: NSWindow) -> Bool unowned(unsafe) var firstTextView: NSTextView? { get } unowned(unsafe) var textViewForBeginningOfSelection: NSTextView? { get } } extension NSLayoutManager { func glyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> NSGlyph func glyphAtIndex(_ glyphIndex: Int) -> NSGlyph func rectArrayForCharacterRange(_ charRange: NSRange, withinSelectedCharacterRange selCharRange: NSRange, inTextContainer container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray func rectArrayForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selGlyphRange: NSRange, inTextContainer container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray var usesScreenFonts: Bool func substituteFontForFont(_ originalFont: NSFont) -> NSFont func insertGlyphs(_ glyphs: UnsafePointer<NSGlyph>, length length: Int, forStartingGlyphAtIndex glyphIndex: Int, characterIndex charIndex: Int) func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex charIndex: Int) func replaceGlyphAtIndex(_ glyphIndex: Int, withGlyph newGlyph: NSGlyph) func deleteGlyphsInRange(_ glyphRange: NSRange) func setCharacterIndex(_ charIndex: Int, forGlyphAtIndex glyphIndex: Int) func setIntAttribute(_ attributeTag: Int, value val: Int, forGlyphAtIndex glyphIndex: Int) func invalidateGlyphsOnLayoutInvalidationForGlyphRange(_ glyphRange: NSRange) func intAttribute(_ attributeTag: Int, forGlyphAtIndex glyphIndex: Int) -> Int func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>) -> Int func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int func getGlyphs(_ glyphArray: UnsafeMutablePointer<NSGlyph>, range glyphRange: NSRange) -> Int func invalidateLayoutForCharacterRange(_ charRange: NSRange, isSoft flag: Bool, actualCharacterRange actualCharRange: NSRangePointer) func textStorage(_ str: NSTextStorage, edited editedMask: NSTextStorageEditedOptions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func setLocations(_ locations: NSPointArray, startingGlyphIndexes glyphIndexes: UnsafeMutablePointer<Int>, count count: Int, forGlyphRange glyphRange: NSRange) func showPackedGlyphs(_ glyphs: UnsafeMutablePointer<Int8>, length glyphLen: Int, glyphRange glyphRange: NSRange, atPoint point: NSPoint, font font: NSFont, color color: NSColor, printingAdjustment printingAdjustment: NSSize) } | NSCoding, NSGlyphStorage |
To | class NSLayoutManager : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var textStorage: NSTextStorage? func replaceTextStorage(_ newTextStorage: NSTextStorage) var textContainers: [NSTextContainer] { get } func addTextContainer(_ container: NSTextContainer) func insertTextContainer(_ container: NSTextContainer, at index: Int) func removeTextContainer(at index: Int) func textContainerChangedGeometry(_ container: NSTextContainer) func textContainerChangedTextView(_ container: NSTextContainer) unowned(unsafe) var delegate: NSLayoutManagerDelegate? var showsInvisibleCharacters: Bool var showsControlCharacters: Bool var hyphenationFactor: Float var usesFontLeading: Bool var allowsNonContiguousLayout: Bool var hasNonContiguousLayout: Bool { get } var backgroundLayoutEnabled: Bool var defaultAttachmentScaling: NSImageScaling var typesetter: NSTypesetter var typesetterBehavior: NSTypesetterBehavior func invalidateGlyphs(forCharacterRange charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer?) func invalidateLayout(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) func invalidateDisplay(forCharacterRange charRange: NSRange) func invalidateDisplay(forGlyphRange glyphRange: NSRange) func processEditing(for textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func ensureGlyphs(forCharacterRange charRange: NSRange) func ensureGlyphs(forGlyphRange glyphRange: NSRange) func ensureLayout(forCharacterRange charRange: NSRange) func ensureLayout(forGlyphRange glyphRange: NSRange) func ensureLayout(for container: NSTextContainer) func ensureLayout(forBoundingRect bounds: NSRect, in container: NSTextContainer) func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: NSFont, forGlyphRange glyphRange: NSRange) var numberOfGlyphs: Int { get } func cgGlyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyph func cgGlyph(at glyphIndex: Int) -> CGGlyph func isValidGlyphIndex(_ glyphIndex: Int) -> Bool func propertyForGlyph(at glyphIndex: Int) -> NSGlyphProperty func characterIndexForGlyph(at glyphIndex: Int) -> Int func glyphIndexForCharacter(at charIndex: Int) -> Int func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>?, properties props: UnsafeMutablePointer<NSGlyphProperty>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>?) -> Int func setTextContainer(_ container: NSTextContainer, forGlyphRange glyphRange: NSRange) func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect) func setExtraLineFragmentRect(_ fragmentRect: NSRect, usedRect usedRect: NSRect, textContainer container: NSTextContainer) func setLocation(_ location: NSPoint, forStartOfGlyphRange glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphAt glyphIndex: Int) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAt glyphIndex: Int) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>?, glyphIndex glyphIndex: UnsafeMutablePointer<Int>?) func firstUnlaidCharacterIndex() -> Int func firstUnlaidGlyphIndex() -> Int func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSTextContainer? func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSTextContainer? func usedRect(for container: NSTextContainer) -> NSRect func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSRect func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSRect var extraLineFragmentRect: NSRect { get } var extraLineFragmentUsedRect: NSRect { get } var extraLineFragmentTextContainer: NSTextContainer? { get } func location(forGlyphAt glyphIndex: Int) -> NSPoint func notShownAttribute(forGlyphAt glyphIndex: Int) -> Bool func drawsOutsideLineFragment(forGlyphAt glyphIndex: Int) -> Bool func attachmentSize(forGlyphAt glyphIndex: Int) -> NSSize func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange func glyphRange(for container: NSTextContainer) -> NSRange func range(ofNominallySpacedGlyphsContaining glyphIndex: Int) -> NSRange func boundingRect(forGlyphRange glyphRange: NSRange, in container: NSTextContainer) -> NSRect func glyphRange(forBoundingRect bounds: NSRect, in container: NSTextContainer) -> NSRange func glyphRange(forBoundingRectWithoutAdditionalLayout bounds: NSRect, in container: NSTextContainer) -> NSRange func glyphIndex(for point: NSPoint, in container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int func glyphIndex(for point: NSPoint, in container: NSTextContainer) -> Int func fractionOfDistanceThroughGlyph(for point: NSPoint, in container: NSTextContainer) -> CGFloat func characterIndex(for point: NSPoint, in container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int func getLineFragmentInsertionPoints(forCharacterAt charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>?, characterIndexes charIndexes: UnsafeMutablePointer<Int>?) -> Int func enumerateLineFragments(forGlyphRange glyphRange: NSRange, using block: @escaping (NSRect, NSRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateEnclosingRects(forGlyphRange glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, in textContainer: NSTextContainer, using block: @escaping (NSRect, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: NSPoint) func drawGlyphs(forGlyphRange glyphsToShow: NSRange, at origin: NSPoint) func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<NSPoint>, count glyphCount: Int, font font: NSFont, matrix textMatrix: AffineTransform, attributes attributes: [String : Any] = [:], in graphicsContext: NSGraphicsContext) func fillBackgroundRectArray(_ rectArray: UnsafePointer<NSRect>, count rectCount: Int, forCharacterRange charRange: NSRange, color color: NSColor) func drawUnderline(forGlyphRange glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func drawStrikethrough(forGlyphRange glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) func showAttachmentCell(_ cell: NSCell, in rect: NSRect, characterIndex attachmentIndex: Int) func setLayoutRect(_ rect: NSRect, for block: NSTextBlock, glyphRange glyphRange: NSRange) func setBoundsRect(_ rect: NSRect, for block: NSTextBlock, glyphRange glyphRange: NSRange) func layoutRect(for block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect func boundsRect(for block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect func layoutRect(for block: NSTextBlock, at glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect func boundsRect(for block: NSTextBlock, at glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect func temporaryAttributes(atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer?) -> [String : Any] func setTemporaryAttributes(_ attrs: [String : Any], forCharacterRange charRange: NSRange) func addTemporaryAttributes(_ attrs: [String : Any] = [:], forCharacterRange charRange: NSRange) func removeTemporaryAttribute(_ attrName: String, forCharacterRange charRange: NSRange) func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, effectiveRange range: NSRangePointer?) -> Any? func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any? func temporaryAttributes(atCharacterIndex location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any] func addTemporaryAttribute(_ attrName: String, value value: Any, forCharacterRange charRange: NSRange) func defaultLineHeight(for theFont: NSFont) -> CGFloat func defaultBaselineOffset(for theFont: NSFont) -> CGFloat func rulerMarkers(for view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [NSRulerMarker] func rulerAccessoryView(for view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView, enabled isEnabled: Bool) -> NSView? func layoutManagerOwnsFirstResponder(in window: NSWindow) -> Bool unowned(unsafe) var firstTextView: NSTextView? { get } unowned(unsafe) var textViewForBeginningOfSelection: NSTextView? { get } func glyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> NSGlyph func glyph(at glyphIndex: Int) -> NSGlyph func rectArray(forCharacterRange charRange: NSRange, withinSelectedCharacterRange selCharRange: NSRange, in container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray? func rectArray(forGlyphRange glyphRange: NSRange, withinSelectedGlyphRange selGlyphRange: NSRange, in container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray? var usesScreenFonts: Bool func substituteFont(for originalFont: NSFont) -> NSFont func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex charIndex: Int) func replaceGlyph(at glyphIndex: Int, withGlyph newGlyph: NSGlyph) func deleteGlyphs(in glyphRange: NSRange) func setCharacterIndex(_ charIndex: Int, forGlyphAt glyphIndex: Int) func invalidateGlyphs(onLayoutInvalidationForGlyphRange glyphRange: NSRange) func intAttribute(_ attributeTag: Int, forGlyphAt glyphIndex: Int) -> Int func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>?, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>?) -> Int func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>?, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>?, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>?) -> Int func getGlyphs(_ glyphArray: UnsafeMutablePointer<NSGlyph>?, range glyphRange: NSRange) -> Int func invalidateLayout(forCharacterRange charRange: NSRange, isSoft flag: Bool, actualCharacterRange actualCharRange: NSRangePointer?) func textStorage(_ str: NSTextStorage, edited editedMask: NSTextStorageEditedOptions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func setLocations(_ locations: NSPointArray, startingGlyphIndexes glyphIndexes: UnsafeMutablePointer<Int>, count count: Int, forGlyphRange glyphRange: NSRange) func showPackedGlyphs(_ glyphs: UnsafeMutablePointer<Int8>, length glyphLen: Int, glyphRange glyphRange: NSRange, at point: NSPoint, font font: NSFont, color color: NSColor, printingAdjustment printingAdjustment: NSSize) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSLayoutManager : CVarArg { } extension NSLayoutManager : NSGlyphStorage { var glyphGenerator: NSGlyphGenerator } extension NSLayoutManager : Equatable, Hashable { var hashValue: Int { get } } extension NSLayoutManager : NSGlyphStorage { var glyphGenerator: NSGlyphGenerator } extension NSLayoutManager { func rulerMarkers(for view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [NSRulerMarker] func rulerAccessoryView(for view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView, enabled isEnabled: Bool) -> NSView? func layoutManagerOwnsFirstResponder(in window: NSWindow) -> Bool unowned(unsafe) var firstTextView: NSTextView? { get } unowned(unsafe) var textViewForBeginningOfSelection: NSTextView? { get } } extension NSLayoutManager { func glyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> NSGlyph func glyph(at glyphIndex: Int) -> NSGlyph func rectArray(forCharacterRange charRange: NSRange, withinSelectedCharacterRange selCharRange: NSRange, in container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray? func rectArray(forGlyphRange glyphRange: NSRange, withinSelectedGlyphRange selGlyphRange: NSRange, in container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray? var usesScreenFonts: Bool func substituteFont(for originalFont: NSFont) -> NSFont func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex charIndex: Int) func replaceGlyph(at glyphIndex: Int, withGlyph newGlyph: NSGlyph) func deleteGlyphs(in glyphRange: NSRange) func setCharacterIndex(_ charIndex: Int, forGlyphAt glyphIndex: Int) func invalidateGlyphs(onLayoutInvalidationForGlyphRange glyphRange: NSRange) func intAttribute(_ attributeTag: Int, forGlyphAt glyphIndex: Int) -> Int func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>?, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>?) -> Int func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>?, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>?, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>?) -> Int func getGlyphs(_ glyphArray: UnsafeMutablePointer<NSGlyph>?, range glyphRange: NSRange) -> Int func invalidateLayout(forCharacterRange charRange: NSRange, isSoft flag: Bool, actualCharacterRange actualCharRange: NSRangePointer?) func textStorage(_ str: NSTextStorage, edited editedMask: NSTextStorageEditedOptions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func setLocations(_ locations: NSPointArray, startingGlyphIndexes glyphIndexes: UnsafeMutablePointer<Int>, count count: Int, forGlyphRange glyphRange: NSRange) func showPackedGlyphs(_ glyphs: UnsafeMutablePointer<Int8>, length glyphLen: Int, glyphRange glyphRange: NSRange, at point: NSPoint, font font: NSFont, color color: NSColor, printingAdjustment printingAdjustment: NSSize) } | CVarArg, Equatable, Hashable, NSCoding, NSGlyphStorage |
Declaration | |
---|---|
From | func addTemporaryAttribute(_ attrName: String, value value: AnyObject, forCharacterRange charRange: NSRange) |
To | func addTemporaryAttribute(_ attrName: String, value value: Any, forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func addTemporaryAttributes(_ attrs: [String : AnyObject], forCharacterRange charRange: NSRange) |
To | func addTemporaryAttributes(_ attrs: [String : Any] = [:], forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func attachmentSizeForGlyphAtIndex(_ glyphIndex: Int) -> NSSize |
To | func attachmentSize(forGlyphAt glyphIndex: Int) -> NSSize |
Declaration | |
---|---|
From | func boundingRectForGlyphRange(_ glyphRange: NSRange, inTextContainer container: NSTextContainer) -> NSRect |
To | func boundingRect(forGlyphRange glyphRange: NSRange, in container: NSTextContainer) -> NSRect |
Modified NSLayoutManager.boundsRect(for: NSTextBlock, at: Int, effectiveRange: NSRangePointer?) -> NSRect
Declaration | |
---|---|
From | func boundsRectForTextBlock(_ block: NSTextBlock, atIndex glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect |
To | func boundsRect(for block: NSTextBlock, at glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect |
Declaration | |
---|---|
From | func boundsRectForTextBlock(_ block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect |
To | func boundsRect(for block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect |
Declaration | |
---|---|
From | func CGGlyphAtIndex(_ glyphIndex: Int) -> CGGlyph |
To | func cgGlyph(at glyphIndex: Int) -> CGGlyph |
Declaration | |
---|---|
From | func CGGlyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph |
To | func cgGlyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyph |
Declaration | |
---|---|
From | func characterIndexForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>) -> Int |
To | func characterIndex(for point: NSPoint, in container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int |
Declaration | |
---|---|
From | func characterIndexForGlyphAtIndex(_ glyphIndex: Int) -> Int |
To | func characterIndexForGlyph(at glyphIndex: Int) -> Int |
Modified NSLayoutManager.characterRange(forGlyphRange: NSRange, actualGlyphRange: NSRangePointer?) -> NSRange
Declaration | |
---|---|
From | func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange |
To | func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange |
Declaration | |
---|---|
From | func defaultBaselineOffsetForFont(_ theFont: NSFont) -> CGFloat |
To | func defaultBaselineOffset(for theFont: NSFont) -> CGFloat |
Declaration | |
---|---|
From | func defaultLineHeightForFont(_ theFont: NSFont) -> CGFloat |
To | func defaultLineHeight(for theFont: NSFont) -> CGFloat |
Declaration | |
---|---|
From | func deleteGlyphsInRange(_ glyphRange: NSRange) |
To | func deleteGlyphs(in glyphRange: NSRange) |
Declaration | |
---|---|
From | func drawBackgroundForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: NSPoint) |
To | func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: NSPoint) |
Declaration | |
---|---|
From | func drawGlyphsForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: NSPoint) |
To | func drawGlyphs(forGlyphRange glyphsToShow: NSRange, at origin: NSPoint) |
Declaration | |
---|---|
From | func drawsOutsideLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> Bool |
To | func drawsOutsideLineFragment(forGlyphAt glyphIndex: Int) -> Bool |
Declaration | |
---|---|
From | func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) |
To | func drawStrikethrough(forGlyphRange glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) |
Declaration | |
---|---|
From | func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) |
To | func drawUnderline(forGlyphRange glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint) |
Declaration | |
---|---|
From | func ensureGlyphsForCharacterRange(_ charRange: NSRange) |
To | func ensureGlyphs(forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func ensureGlyphsForGlyphRange(_ glyphRange: NSRange) |
To | func ensureGlyphs(forGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func ensureLayoutForTextContainer(_ container: NSTextContainer) |
To | func ensureLayout(for container: NSTextContainer) |
Declaration | |
---|---|
From | func ensureLayoutForBoundingRect(_ bounds: NSRect, inTextContainer container: NSTextContainer) |
To | func ensureLayout(forBoundingRect bounds: NSRect, in container: NSTextContainer) |
Declaration | |
---|---|
From | func ensureLayoutForCharacterRange(_ charRange: NSRange) |
To | func ensureLayout(forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func ensureLayoutForGlyphRange(_ glyphRange: NSRange) |
To | func ensureLayout(forGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func enumerateEnclosingRectsForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, inTextContainer textContainer: NSTextContainer, usingBlock block: (NSRect, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateEnclosingRects(forGlyphRange glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, in textContainer: NSTextContainer, using block: @escaping (NSRect, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (NSRect, NSRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateLineFragments(forGlyphRange glyphRange: NSRange, using block: @escaping (NSRect, NSRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Modified NSLayoutManager.fractionOfDistanceThroughGlyph(for: NSPoint, in: NSTextContainer) -> CGFloat
Declaration | |
---|---|
From | func fractionOfDistanceThroughGlyphForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer) -> CGFloat |
To | func fractionOfDistanceThroughGlyph(for point: NSPoint, in container: NSTextContainer) -> CGFloat |
Declaration | |
---|---|
From | func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>, glyphIndex glyphIndex: UnsafeMutablePointer<Int>) |
To | func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>?, glyphIndex glyphIndex: UnsafeMutablePointer<Int>?) |
Declaration | |
---|---|
From | func getGlyphs(_ glyphArray: UnsafeMutablePointer<NSGlyph>, range glyphRange: NSRange) -> Int |
To | func getGlyphs(_ glyphArray: UnsafeMutablePointer<NSGlyph>?, range glyphRange: NSRange) -> Int |
Declaration | |
---|---|
From | func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>) -> Int |
To | func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>?, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>?) -> Int |
Declaration | |
---|---|
From | func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int |
To | func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>?, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>?, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>?) -> Int |
Declaration | |
---|---|
From | func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>, properties props: UnsafeMutablePointer<NSGlyphProperty>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int |
To | func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>?, properties props: UnsafeMutablePointer<NSGlyphProperty>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>?) -> Int |
Declaration | |
---|---|
From | func getLineFragmentInsertionPointsForCharacterAtIndex(_ charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>, characterIndexes charIndexes: UnsafeMutablePointer<Int>) -> Int |
To | func getLineFragmentInsertionPoints(forCharacterAt charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>?, characterIndexes charIndexes: UnsafeMutablePointer<Int>?) -> Int |
Declaration | |
---|---|
From | func glyphAtIndex(_ glyphIndex: Int) -> NSGlyph |
To | func glyph(at glyphIndex: Int) -> NSGlyph |
Declaration | |
---|---|
From | func glyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> NSGlyph |
To | func glyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> NSGlyph |
Declaration | |
---|---|
From | func glyphIndexForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer) -> Int |
To | func glyphIndex(for point: NSPoint, in container: NSTextContainer) -> Int |
Declaration | |
---|---|
From | func glyphIndexForPoint(_ point: NSPoint, inTextContainer container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>) -> Int |
To | func glyphIndex(for point: NSPoint, in container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int |
Declaration | |
---|---|
From | func glyphIndexForCharacterAtIndex(_ charIndex: Int) -> Int |
To | func glyphIndexForCharacter(at charIndex: Int) -> Int |
Declaration | |
---|---|
From | func glyphRangeForTextContainer(_ container: NSTextContainer) -> NSRange |
To | func glyphRange(for container: NSTextContainer) -> NSRange |
Declaration | |
---|---|
From | func glyphRangeForBoundingRect(_ bounds: NSRect, inTextContainer container: NSTextContainer) -> NSRange |
To | func glyphRange(forBoundingRect bounds: NSRect, in container: NSTextContainer) -> NSRange |
Declaration | |
---|---|
From | func glyphRangeForBoundingRectWithoutAdditionalLayout(_ bounds: NSRect, inTextContainer container: NSTextContainer) -> NSRange |
To | func glyphRange(forBoundingRectWithoutAdditionalLayout bounds: NSRect, in container: NSTextContainer) -> NSRange |
Declaration | |
---|---|
From | func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange |
To | func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange |
Declaration | |
---|---|
From | func insertTextContainer(_ container: NSTextContainer, atIndex index: Int) |
To | func insertTextContainer(_ container: NSTextContainer, at index: Int) |
Declaration | |
---|---|
From | func intAttribute(_ attributeTag: Int, forGlyphAtIndex glyphIndex: Int) -> Int |
To | func intAttribute(_ attributeTag: Int, forGlyphAt glyphIndex: Int) -> Int |
Declaration | |
---|---|
From | func invalidateDisplayForCharacterRange(_ charRange: NSRange) |
To | func invalidateDisplay(forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func invalidateDisplayForGlyphRange(_ glyphRange: NSRange) |
To | func invalidateDisplay(forGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func invalidateGlyphsForCharacterRange(_ charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer) |
To | func invalidateGlyphs(forCharacterRange charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer?) |
Declaration | |
---|---|
From | func invalidateGlyphsOnLayoutInvalidationForGlyphRange(_ glyphRange: NSRange) |
To | func invalidateGlyphs(onLayoutInvalidationForGlyphRange glyphRange: NSRange) |
Modified NSLayoutManager.invalidateLayout(forCharacterRange: NSRange, actualCharacterRange: NSRangePointer?)
Declaration | |
---|---|
From | func invalidateLayoutForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) |
To | func invalidateLayout(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) |
Declaration | |
---|---|
From | func invalidateLayoutForCharacterRange(_ charRange: NSRange, isSoft flag: Bool, actualCharacterRange actualCharRange: NSRangePointer) |
To | func invalidateLayout(forCharacterRange charRange: NSRange, isSoft flag: Bool, actualCharacterRange actualCharRange: NSRangePointer?) |
Introduction | |
---|---|
From | OS X 10.10 |
To | OS X 10.11 |
Declaration | |
---|---|
From | func layoutManagerOwnsFirstResponderInWindow(_ window: NSWindow) -> Bool |
To | func layoutManagerOwnsFirstResponder(in window: NSWindow) -> Bool |
Modified NSLayoutManager.layoutRect(for: NSTextBlock, at: Int, effectiveRange: NSRangePointer?) -> NSRect
Declaration | |
---|---|
From | func layoutRectForTextBlock(_ block: NSTextBlock, atIndex glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect |
To | func layoutRect(for block: NSTextBlock, at glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect |
Declaration | |
---|---|
From | func layoutRectForTextBlock(_ block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect |
To | func layoutRect(for block: NSTextBlock, glyphRange glyphRange: NSRange) -> NSRect |
Modified NSLayoutManager.lineFragmentRect(forGlyphAt: Int, effectiveRange: NSRangePointer?) -> NSRect
Declaration | |
---|---|
From | func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect |
To | func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect |
Declaration | |
---|---|
From | func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSRect |
To | func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSRect |
Modified NSLayoutManager.lineFragmentUsedRect(forGlyphAt: Int, effectiveRange: NSRangePointer?) -> NSRect
Declaration | |
---|---|
From | func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSRect |
To | func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSRect |
Declaration | |
---|---|
From | func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSRect |
To | func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSRect |
Declaration | |
---|---|
From | func locationForGlyphAtIndex(_ glyphIndex: Int) -> NSPoint |
To | func location(forGlyphAt glyphIndex: Int) -> NSPoint |
Declaration | |
---|---|
From | func notShownAttributeForGlyphAtIndex(_ glyphIndex: Int) -> Bool |
To | func notShownAttribute(forGlyphAt glyphIndex: Int) -> Bool |
Declaration | |
---|---|
From | func processEditingForTextStorage(_ textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) |
To | func processEditing(for textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) |
Declaration | |
---|---|
From | func propertyForGlyphAtIndex(_ glyphIndex: Int) -> NSGlyphProperty |
To | func propertyForGlyph(at glyphIndex: Int) -> NSGlyphProperty |
Declaration | |
---|---|
From | func rangeOfNominallySpacedGlyphsContainingIndex(_ glyphIndex: Int) -> NSRange |
To | func range(ofNominallySpacedGlyphsContaining glyphIndex: Int) -> NSRange |
Declaration | |
---|---|
From | func rectArrayForCharacterRange(_ charRange: NSRange, withinSelectedCharacterRange selCharRange: NSRange, inTextContainer container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray |
To | func rectArray(forCharacterRange charRange: NSRange, withinSelectedCharacterRange selCharRange: NSRange, in container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray? |
Declaration | |
---|---|
From | func rectArrayForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selGlyphRange: NSRange, inTextContainer container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray |
To | func rectArray(forGlyphRange glyphRange: NSRange, withinSelectedGlyphRange selGlyphRange: NSRange, in container: NSTextContainer, rectCount rectCount: UnsafeMutablePointer<Int>) -> NSRectArray? |
Declaration | |
---|---|
From | func removeTextContainerAtIndex(_ index: Int) |
To | func removeTextContainer(at index: Int) |
Declaration | |
---|---|
From | func replaceGlyphAtIndex(_ glyphIndex: Int, withGlyph newGlyph: NSGlyph) |
To | func replaceGlyph(at glyphIndex: Int, withGlyph newGlyph: NSGlyph) |
Declaration | |
---|---|
From | func rulerAccessoryViewForTextView(_ view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView, enabled isEnabled: Bool) -> NSView? |
To | func rulerAccessoryView(for view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView, enabled isEnabled: Bool) -> NSView? |
Declaration | |
---|---|
From | func rulerMarkersForTextView(_ view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [NSRulerMarker] |
To | func rulerMarkers(for view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [NSRulerMarker] |
Declaration | |
---|---|
From | func setBoundsRect(_ rect: NSRect, forTextBlock block: NSTextBlock, glyphRange glyphRange: NSRange) |
To | func setBoundsRect(_ rect: NSRect, for block: NSTextBlock, glyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func setCharacterIndex(_ charIndex: Int, forGlyphAtIndex glyphIndex: Int) |
To | func setCharacterIndex(_ charIndex: Int, forGlyphAt glyphIndex: Int) |
Declaration | |
---|---|
From | func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) |
To | func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAt glyphIndex: Int) |
Declaration | |
---|---|
From | func setLayoutRect(_ rect: NSRect, forTextBlock block: NSTextBlock, glyphRange glyphRange: NSRange) |
To | func setLayoutRect(_ rect: NSRect, for block: NSTextBlock, glyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func setNotShownAttribute(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) |
To | func setNotShownAttribute(_ flag: Bool, forGlyphAt glyphIndex: Int) |
Declaration | |
---|---|
From | func setTemporaryAttributes(_ attrs: [String : AnyObject], forCharacterRange charRange: NSRange) |
To | func setTemporaryAttributes(_ attrs: [String : Any], forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func showAttachmentCell(_ cell: NSCell, inRect rect: NSRect, characterIndex attachmentIndex: Int) |
To | func showAttachmentCell(_ cell: NSCell, in rect: NSRect, characterIndex attachmentIndex: Int) |
Declaration | |
---|---|
From | func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<NSPoint>, count glyphCount: Int, font font: NSFont, matrix textMatrix: NSAffineTransform, attributes attributes: [String : AnyObject], inContext graphicsContext: NSGraphicsContext) |
To | func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<NSPoint>, count glyphCount: Int, font font: NSFont, matrix textMatrix: AffineTransform, attributes attributes: [String : Any] = [:], in graphicsContext: NSGraphicsContext) |
Declaration | |
---|---|
From | func substituteFontForFont(_ originalFont: NSFont) -> NSFont |
To | func substituteFont(for originalFont: NSFont) -> NSFont |
Declaration | |
---|---|
From | func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, effectiveRange range: NSRangePointer) -> AnyObject? |
To | func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, effectiveRange range: NSRangePointer?) -> Any? |
Declaration | |
---|---|
From | func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> AnyObject? |
To | func temporaryAttribute(_ attrName: String, atCharacterIndex location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any? |
Declaration | |
---|---|
From | func temporaryAttributesAtCharacterIndex(_ charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [String : AnyObject] |
To | func temporaryAttributes(atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer?) -> [String : Any] |
Declaration | |
---|---|
From | func temporaryAttributesAtCharacterIndex(_ location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> [String : AnyObject] |
To | func temporaryAttributes(atCharacterIndex location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any] |
Modified NSLayoutManager.textContainer(forGlyphAt: Int, effectiveRange: NSRangePointer?) -> NSTextContainer?
Declaration | |
---|---|
From | func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSTextContainer? |
To | func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSTextContainer? |
Declaration | |
---|---|
From | func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSTextContainer? |
To | func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSTextContainer? |
Declaration | |
---|---|
From | func truncatedGlyphRangeInLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> NSRange |
To | func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange |
Declaration | |
---|---|
From | func usedRectForTextContainer(_ container: NSTextContainer) -> NSRect |
To | func usedRect(for container: NSTextContainer) -> NSRect |
Modified NSLayoutManagerDelegate
Declaration | |
---|---|
From | protocol NSLayoutManagerDelegate : NSObjectProtocol { optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: NSFont, forGlyphRange glyphRange: NSRange) -> Int optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseAction action: NSControlCharacterAction, forControlCharacterAtIndex charIndex: Int) -> NSControlCharacterAction optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAtIndex glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<NSRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<NSRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, inTextContainer textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager) optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFromSize oldSize: NSSize) optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseTemporaryAttributes attrs: [String : AnyObject], forDrawingToScreen toScreen: Bool, atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [String : AnyObject]? } |
To | protocol NSLayoutManagerDelegate : NSObjectProtocol { optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: NSFont, forGlyphRange glyphRange: NSRange) -> Int optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSControlCharacterAction optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAt charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAt charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<NSRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<NSRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager) optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutFor textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFrom oldSize: NSSize) optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseTemporaryAttributes attrs: [String : Any] = [:], forDrawingToScreen toScreen: Bool, atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer?) -> [String : Any]? } |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAtIndex glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutFor textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAtIndex charIndex: Int) -> Bool |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAtIndex charIndex: Int) -> Bool |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<NSRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<NSRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, inTextContainer textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<NSRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<NSRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseAction action: NSControlCharacterAction, forControlCharacterAtIndex charIndex: Int) -> NSControlCharacterAction |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSControlCharacterAction |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseTemporaryAttributes attrs: [String : AnyObject], forDrawingToScreen toScreen: Bool, atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [String : AnyObject]? |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseTemporaryAttributes attrs: [String : Any] = [:], forDrawingToScreen toScreen: Bool, atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer?) -> [String : Any]? |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFromSize oldSize: NSSize) |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFrom oldSize: NSSize) |
Modified NSLayoutRelation [enum]
Declaration | |
---|---|
From | enum NSLayoutRelation : Int { case LessThanOrEqual case Equal case GreaterThanOrEqual } |
To | enum NSLayoutRelation : Int { case lessThanOrEqual case equal case greaterThanOrEqual } |
Modified NSLayoutRelation.equal
Declaration | |
---|---|
From | case Equal |
To | case equal |
Modified NSLayoutRelation.greaterThanOrEqual
Declaration | |
---|---|
From | case GreaterThanOrEqual |
To | case greaterThanOrEqual |
Modified NSLayoutRelation.lessThanOrEqual
Declaration | |
---|---|
From | case LessThanOrEqual |
To | case lessThanOrEqual |
Modified NSLayoutXAxisAnchor
Declaration | |
---|---|
From | class NSLayoutXAxisAnchor : NSLayoutAnchor { } |
To | class NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor> { } |
Modified NSLayoutYAxisAnchor
Declaration | |
---|---|
From | class NSLayoutYAxisAnchor : NSLayoutAnchor { } |
To | class NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor> { } |
Modified NSLevelIndicator
Declaration | Protocols | |
---|---|---|
From | class NSLevelIndicator : NSControl { var levelIndicatorStyle: NSLevelIndicatorStyle var minValue: Double var maxValue: Double var warningValue: Double var criticalValue: Double var tickMarkPosition: NSTickMarkPosition var numberOfTickMarks: Int var numberOfMajorTickMarks: Int func tickMarkValueAtIndex(_ index: Int) -> Double func rectOfTickMarkAtIndex(_ index: Int) -> NSRect } | -- |
To | class NSLevelIndicator : NSControl { var levelIndicatorStyle: NSLevelIndicatorStyle var minValue: Double var maxValue: Double var warningValue: Double var criticalValue: Double var tickMarkPosition: NSTickMarkPosition var numberOfTickMarks: Int var numberOfMajorTickMarks: Int func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSLevelIndicator : CVarArg { } extension NSLevelIndicator : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func rectOfTickMarkAtIndex(_ index: Int) -> NSRect |
To | func rectOfTickMark(at index: Int) -> NSRect |
Declaration | |
---|---|
From | func tickMarkValueAtIndex(_ index: Int) -> Double |
To | func tickMarkValue(at index: Int) -> Double |
Modified NSLevelIndicatorCell
Declaration | |
---|---|
From | class NSLevelIndicatorCell : NSActionCell { init(levelIndicatorStyle levelIndicatorStyle: NSLevelIndicatorStyle) var levelIndicatorStyle: NSLevelIndicatorStyle var minValue: Double var maxValue: Double var warningValue: Double var criticalValue: Double var tickMarkPosition: NSTickMarkPosition var numberOfTickMarks: Int var numberOfMajorTickMarks: Int func rectOfTickMarkAtIndex(_ index: Int) -> NSRect func tickMarkValueAtIndex(_ index: Int) -> Double func setImage(_ image: NSImage?) } |
To | class NSLevelIndicatorCell : NSActionCell { init(levelIndicatorStyle levelIndicatorStyle: NSLevelIndicatorStyle) var levelIndicatorStyle: NSLevelIndicatorStyle var minValue: Double var maxValue: Double var warningValue: Double var criticalValue: Double var tickMarkPosition: NSTickMarkPosition var numberOfTickMarks: Int var numberOfMajorTickMarks: Int func rectOfTickMark(at index: Int) -> NSRect func tickMarkValue(at index: Int) -> Double func setImage(_ image: NSImage?) } |
Declaration | |
---|---|
From | func rectOfTickMarkAtIndex(_ index: Int) -> NSRect |
To | func rectOfTickMark(at index: Int) -> NSRect |
Declaration | |
---|---|
From | func tickMarkValueAtIndex(_ index: Int) -> Double |
To | func tickMarkValue(at index: Int) -> Double |
Modified NSLevelIndicatorStyle [enum]
Declaration | |
---|---|
From | enum NSLevelIndicatorStyle : UInt { case RelevancyLevelIndicatorStyle case ContinuousCapacityLevelIndicatorStyle case DiscreteCapacityLevelIndicatorStyle case RatingLevelIndicatorStyle } |
To | enum NSLevelIndicatorStyle : UInt { case relevancyLevelIndicatorStyle case continuousCapacityLevelIndicatorStyle case discreteCapacityLevelIndicatorStyle case ratingLevelIndicatorStyle } |
Declaration | |
---|---|
From | case ContinuousCapacityLevelIndicatorStyle |
To | case continuousCapacityLevelIndicatorStyle |
Declaration | |
---|---|
From | case DiscreteCapacityLevelIndicatorStyle |
To | case discreteCapacityLevelIndicatorStyle |
Declaration | |
---|---|
From | case RatingLevelIndicatorStyle |
To | case ratingLevelIndicatorStyle |
Declaration | |
---|---|
From | case RelevancyLevelIndicatorStyle |
To | case relevancyLevelIndicatorStyle |
Modified NSLineBreakMode [enum]
Declaration | |
---|---|
From | enum NSLineBreakMode : UInt { case ByWordWrapping case ByCharWrapping case ByClipping case ByTruncatingHead case ByTruncatingTail case ByTruncatingMiddle } |
To | enum NSLineBreakMode : UInt { case byWordWrapping case byCharWrapping case byClipping case byTruncatingHead case byTruncatingTail case byTruncatingMiddle } |
Modified NSLineBreakMode.byCharWrapping
Declaration | |
---|---|
From | case ByCharWrapping |
To | case byCharWrapping |
Modified NSLineBreakMode.byClipping
Declaration | |
---|---|
From | case ByClipping |
To | case byClipping |
Modified NSLineBreakMode.byTruncatingHead
Declaration | |
---|---|
From | case ByTruncatingHead |
To | case byTruncatingHead |
Modified NSLineBreakMode.byTruncatingMiddle
Declaration | |
---|---|
From | case ByTruncatingMiddle |
To | case byTruncatingMiddle |
Modified NSLineBreakMode.byTruncatingTail
Declaration | |
---|---|
From | case ByTruncatingTail |
To | case byTruncatingTail |
Modified NSLineBreakMode.byWordWrapping
Declaration | |
---|---|
From | case ByWordWrapping |
To | case byWordWrapping |
Modified NSLineCapStyle [enum]
Declaration | |
---|---|
From | enum NSLineCapStyle : UInt { case ButtLineCapStyle case RoundLineCapStyle case SquareLineCapStyle } |
To | enum NSLineCapStyle : UInt { case buttLineCapStyle case roundLineCapStyle case squareLineCapStyle } |
Modified NSLineCapStyle.buttLineCapStyle
Declaration | |
---|---|
From | case ButtLineCapStyle |
To | case buttLineCapStyle |
Modified NSLineCapStyle.roundLineCapStyle
Declaration | |
---|---|
From | case RoundLineCapStyle |
To | case roundLineCapStyle |
Modified NSLineCapStyle.squareLineCapStyle
Declaration | |
---|---|
From | case SquareLineCapStyle |
To | case squareLineCapStyle |
Modified NSLineJoinStyle [enum]
Declaration | |
---|---|
From | enum NSLineJoinStyle : UInt { case MiterLineJoinStyle case RoundLineJoinStyle case BevelLineJoinStyle } |
To | enum NSLineJoinStyle : UInt { case miterLineJoinStyle case roundLineJoinStyle case bevelLineJoinStyle } |
Modified NSLineJoinStyle.bevelLineJoinStyle
Declaration | |
---|---|
From | case BevelLineJoinStyle |
To | case bevelLineJoinStyle |
Modified NSLineJoinStyle.miterLineJoinStyle
Declaration | |
---|---|
From | case MiterLineJoinStyle |
To | case miterLineJoinStyle |
Modified NSLineJoinStyle.roundLineJoinStyle
Declaration | |
---|---|
From | case RoundLineJoinStyle |
To | case roundLineJoinStyle |
Modified NSLineMovementDirection [enum]
Declaration | |
---|---|
From | enum NSLineMovementDirection : UInt { case DoesntMove case MovesLeft case MovesRight case MovesDown case MovesUp } |
To | enum NSLineMovementDirection : UInt { case doesntMove case movesLeft case movesRight case movesDown case movesUp } |
Modified NSLineMovementDirection.doesntMove
Declaration | |
---|---|
From | case DoesntMove |
To | case doesntMove |
Modified NSLineMovementDirection.movesDown
Declaration | |
---|---|
From | case MovesDown |
To | case movesDown |
Modified NSLineMovementDirection.movesLeft
Declaration | |
---|---|
From | case MovesLeft |
To | case movesLeft |
Modified NSLineMovementDirection.movesRight
Declaration | |
---|---|
From | case MovesRight |
To | case movesRight |
Modified NSLineMovementDirection.movesUp
Declaration | |
---|---|
From | case MovesUp |
To | case movesUp |
Modified NSLineSweepDirection [enum]
Declaration | |
---|---|
From | enum NSLineSweepDirection : UInt { case Left case Right case Down case Up } |
To | enum NSLineSweepDirection : UInt { case left case right case down case up } |
Modified NSLineSweepDirection.down
Declaration | |
---|---|
From | case Down |
To | case down |
Modified NSLineSweepDirection.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified NSLineSweepDirection.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified NSLineSweepDirection.up
Declaration | |
---|---|
From | case Up |
To | case up |
Modified NSMagnificationGestureRecognizer
Declaration | Protocols | |
---|---|---|
From | class NSMagnificationGestureRecognizer : NSGestureRecognizer { var magnification: CGFloat } | -- |
To | class NSMagnificationGestureRecognizer : NSGestureRecognizer { var magnification: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSMagnificationGestureRecognizer : CVarArg { } extension NSMagnificationGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSMatrix
Declaration | Protocols | |
---|---|---|
From | class NSMatrix : NSControl, NSUserInterfaceValidations { convenience init(frame frameRect: NSRect) init(frame frameRect: NSRect, mode aMode: NSMatrixMode, prototype aCell: NSCell, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) init(frame frameRect: NSRect, mode aMode: NSMatrixMode, cellClass factoryId: AnyClass?, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) var cellClass: AnyClass @NSCopying var prototype: NSCell? func makeCellAtRow(_ row: Int, column col: Int) -> NSCell var mode: NSMatrixMode var allowsEmptySelection: Bool func sendAction(_ aSelector: Selector, to anObject: AnyObject, forAllCells flag: Bool) var cells: [NSCell] { get } func sortUsingSelector(_ comparator: Selector) func sortUsingFunction(_ compare: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>) var selectedCells: [NSCell] { get } var selectedRow: Int { get } var selectedColumn: Int { get } var selectionByRect: Bool func setSelectionFrom(_ startPos: Int, to endPos: Int, anchor anchorPos: Int, highlight lit: Bool) func deselectSelectedCell() func deselectAllCells() func selectCellAtRow(_ row: Int, column col: Int) func selectAll(_ sender: AnyObject?) func selectCellWithTag(_ anInt: Int) -> Bool var cellSize: NSSize var intercellSpacing: NSSize func setScrollable(_ flag: Bool) @NSCopying var backgroundColor: NSColor @NSCopying var cellBackgroundColor: NSColor? var drawsCellBackground: Bool var drawsBackground: Bool func setState(_ value: Int, atRow row: Int, column col: Int) func getNumberOfRows(_ rowCount: UnsafeMutablePointer<Int>, columns colCount: UnsafeMutablePointer<Int>) var numberOfRows: Int { get } var numberOfColumns: Int { get } func cellAtRow(_ row: Int, column col: Int) -> NSCell? func cellFrameAtRow(_ row: Int, column col: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, ofCell aCell: NSCell) -> Bool func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, forPoint aPoint: NSPoint) -> Bool func renewRows(_ newRows: Int, columns newCols: Int) func putCell(_ newCell: NSCell, atRow row: Int, column col: Int) func addRow() func addRowWithCells(_ newCells: [NSCell]) func insertRow(_ row: Int) func insertRow(_ row: Int, withCells newCells: [NSCell]) func removeRow(_ row: Int) func addColumn() func addColumnWithCells(_ newCells: [NSCell]) func insertColumn(_ column: Int) func insertColumn(_ column: Int, withCells newCells: [NSCell]) func removeColumn(_ col: Int) func cellWithTag(_ anInt: Int) -> NSCell? var doubleAction: Selector var autosizesCells: Bool func sizeToCells() func setValidateSize(_ flag: Bool) func drawCellAtRow(_ row: Int, column col: Int) func highlightCell(_ flag: Bool, atRow row: Int, column col: Int) var autoscroll: Bool func scrollCellToVisibleAtRow(_ row: Int, column col: Int) var mouseDownFlags: Int { get } func mouseDown(_ theEvent: NSEvent) func performKeyEquivalent(_ theEvent: NSEvent) -> Bool func sendAction() -> Bool func sendDoubleAction() unowned(unsafe) var delegate: NSMatrixDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: NSNotification) func textDidEndEditing(_ notification: NSNotification) func textDidChange(_ notification: NSNotification) func selectText(_ sender: AnyObject?) func selectTextAtRow(_ row: Int, column col: Int) -> NSCell? func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool func resetCursorRects() func setToolTip(_ toolTipString: String?, forCell cell: NSCell) func toolTipForCell(_ cell: NSCell) -> String? var autorecalculatesCellSize: Bool func selectedCell() -> NSCell? } extension NSMatrix { var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? } | NSUserInterfaceValidations |
To | class NSMatrix : NSControl, NSUserInterfaceValidations { convenience init(frame frameRect: NSRect) init(frame frameRect: NSRect, mode mode: NSMatrixMode, prototype cell: NSCell, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) init(frame frameRect: NSRect, mode mode: NSMatrixMode, cellClass factoryId: Swift.AnyClass?, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) var cellClass: Swift.AnyClass @NSCopying var prototype: NSCell? func makeCell(atRow row: Int, column col: Int) -> NSCell var mode: NSMatrixMode var allowsEmptySelection: Bool func sendAction(_ selector: Selector, to object: Any, forAllCells flag: Bool) var cells: [NSCell] { get } func sort(using comparator: Selector) func sort(using compare: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) var selectedCells: [NSCell] { get } var selectedRow: Int { get } var selectedColumn: Int { get } var isSelectionByRect: Bool func setSelectionFrom(_ startPos: Int, to endPos: Int, anchor anchorPos: Int, highlight lit: Bool) func deselectSelectedCell() func deselectAllCells() func selectCell(atRow row: Int, column col: Int) func selectAll(_ sender: Any?) func selectCell(withTag tag: Int) -> Bool var cellSize: NSSize var intercellSpacing: NSSize func setScrollable(_ flag: Bool) @NSCopying var backgroundColor: NSColor @NSCopying var cellBackgroundColor: NSColor? var drawsCellBackground: Bool var drawsBackground: Bool func setState(_ value: Int, atRow row: Int, column col: Int) func getNumberOfRows(_ rowCount: UnsafeMutablePointer<Int>?, columns colCount: UnsafeMutablePointer<Int>?) var numberOfRows: Int { get } var numberOfColumns: Int { get } func cell(atRow row: Int, column col: Int) -> NSCell? func cellFrame(atRow row: Int, column col: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, of cell: NSCell) -> Bool func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, for point: NSPoint) -> Bool func renewRows(_ newRows: Int, columns newCols: Int) func putCell(_ newCell: NSCell, atRow row: Int, column col: Int) func addRow() func addRow(with newCells: [NSCell]) func insertRow(_ row: Int) func insertRow(_ row: Int, with newCells: [NSCell]?) func removeRow(_ row: Int) func addColumn() func addColumn(with newCells: [NSCell]) func insertColumn(_ column: Int) func insertColumn(_ column: Int, with newCells: [NSCell]?) func removeColumn(_ col: Int) func cell(withTag tag: Int) -> NSCell? var doubleAction: Selector? var autosizesCells: Bool func sizeToCells() func setValidateSize(_ flag: Bool) func drawCell(atRow row: Int, column col: Int) func highlightCell(_ flag: Bool, atRow row: Int, column col: Int) var isAutoscroll: Bool func scrollCellToVisible(atRow row: Int, column col: Int) var mouseDownFlags: Int { get } func mouseDown(with event: NSEvent) func performKeyEquivalent(with event: NSEvent) -> Bool func sendAction() -> Bool func sendDoubleAction() unowned(unsafe) var delegate: NSMatrixDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func selectText(_ sender: Any?) func selectText(atRow row: Int, column col: Int) -> NSCell? func acceptsFirstMouse(for event: NSEvent?) -> Bool func resetCursorRects() func setToolTip(_ toolTipString: String?, for cell: NSCell) func toolTip(for cell: NSCell) -> String? var autorecalculatesCellSize: Bool func selectedCell() -> NSCell? var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSMatrix : CVarArg { } extension NSMatrix : Equatable, Hashable { var hashValue: Int { get } } extension NSMatrix { var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? } | CVarArg, Equatable, Hashable, NSUserInterfaceValidations |
Declaration | |
---|---|
From | func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool |
To | func acceptsFirstMouse(for event: NSEvent?) -> Bool |
Modified NSMatrix.addColumn(with: [NSCell])
Declaration | |
---|---|
From | func addColumnWithCells(_ newCells: [NSCell]) |
To | func addColumn(with newCells: [NSCell]) |
Modified NSMatrix.addRow(with: [NSCell])
Declaration | |
---|---|
From | func addRowWithCells(_ newCells: [NSCell]) |
To | func addRow(with newCells: [NSCell]) |
Declaration | |
---|---|
From | func cellAtRow(_ row: Int, column col: Int) -> NSCell? |
To | func cell(atRow row: Int, column col: Int) -> NSCell? |
Declaration | |
---|---|
From | func cellWithTag(_ anInt: Int) -> NSCell? |
To | func cell(withTag tag: Int) -> NSCell? |
Modified NSMatrix.cellClass
Declaration | |
---|---|
From | var cellClass: AnyClass |
To | var cellClass: Swift.AnyClass |
Declaration | |
---|---|
From | func cellFrameAtRow(_ row: Int, column col: Int) -> NSRect |
To | func cellFrame(atRow row: Int, column col: Int) -> NSRect |
Modified NSMatrix.doubleAction
Declaration | |
---|---|
From | var doubleAction: Selector |
To | var doubleAction: Selector? |
Declaration | |
---|---|
From | func drawCellAtRow(_ row: Int, column col: Int) |
To | func drawCell(atRow row: Int, column col: Int) |
Modified NSMatrix.getNumberOfRows(_: UnsafeMutablePointer<Int>?, columns: UnsafeMutablePointer<Int>?)
Declaration | |
---|---|
From | func getNumberOfRows(_ rowCount: UnsafeMutablePointer<Int>, columns colCount: UnsafeMutablePointer<Int>) |
To | func getNumberOfRows(_ rowCount: UnsafeMutablePointer<Int>?, columns colCount: UnsafeMutablePointer<Int>?) |
Declaration | |
---|---|
From | func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, forPoint aPoint: NSPoint) -> Bool |
To | func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, for point: NSPoint) -> Bool |
Modified NSMatrix.getRow(_: UnsafeMutablePointer<Int>, column: UnsafeMutablePointer<Int>, of: NSCell) -> Bool
Declaration | |
---|---|
From | func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, ofCell aCell: NSCell) -> Bool |
To | func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, of cell: NSCell) -> Bool |
Declaration | |
---|---|
From | init(frame frameRect: NSRect, mode aMode: NSMatrixMode, cellClass factoryId: AnyClass?, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) |
To | init(frame frameRect: NSRect, mode mode: NSMatrixMode, cellClass factoryId: Swift.AnyClass?, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) |
Declaration | |
---|---|
From | func insertColumn(_ column: Int, withCells newCells: [NSCell]) |
To | func insertColumn(_ column: Int, with newCells: [NSCell]?) |
Declaration | |
---|---|
From | func insertRow(_ row: Int, withCells newCells: [NSCell]) |
To | func insertRow(_ row: Int, with newCells: [NSCell]?) |
Modified NSMatrix.isAutoscroll
Declaration | |
---|---|
From | var autoscroll: Bool |
To | var isAutoscroll: Bool |
Modified NSMatrix.isSelectionByRect
Declaration | |
---|---|
From | var selectionByRect: Bool |
To | var isSelectionByRect: Bool |
Declaration | |
---|---|
From | func makeCellAtRow(_ row: Int, column col: Int) -> NSCell |
To | func makeCell(atRow row: Int, column col: Int) -> NSCell |
Modified NSMatrix.mouseDown(with: NSEvent)
Declaration | |
---|---|
From | func mouseDown(_ theEvent: NSEvent) |
To | func mouseDown(with event: NSEvent) |
Declaration | |
---|---|
From | func performKeyEquivalent(_ theEvent: NSEvent) -> Bool |
To | func performKeyEquivalent(with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | func scrollCellToVisibleAtRow(_ row: Int, column col: Int) |
To | func scrollCellToVisible(atRow row: Int, column col: Int) |
Modified NSMatrix.selectAll(_: Any?)
Declaration | |
---|---|
From | func selectAll(_ sender: AnyObject?) |
To | func selectAll(_ sender: Any?) |
Declaration | |
---|---|
From | func selectCellAtRow(_ row: Int, column col: Int) |
To | func selectCell(atRow row: Int, column col: Int) |
Declaration | |
---|---|
From | func selectCellWithTag(_ anInt: Int) -> Bool |
To | func selectCell(withTag tag: Int) -> Bool |
Modified NSMatrix.selectText(_: Any?)
Declaration | |
---|---|
From | func selectText(_ sender: AnyObject?) |
To | func selectText(_ sender: Any?) |
Declaration | |
---|---|
From | func selectTextAtRow(_ row: Int, column col: Int) -> NSCell? |
To | func selectText(atRow row: Int, column col: Int) -> NSCell? |
Declaration | |
---|---|
From | func sendAction(_ aSelector: Selector, to anObject: AnyObject, forAllCells flag: Bool) |
To | func sendAction(_ selector: Selector, to object: Any, forAllCells flag: Bool) |
Declaration | |
---|---|
From | func setToolTip(_ toolTipString: String?, forCell cell: NSCell) |
To | func setToolTip(_ toolTipString: String?, for cell: NSCell) |
Modified NSMatrix.sort(using: Selector)
Declaration | |
---|---|
From | func sortUsingSelector(_ comparator: Selector) |
To | func sort(using comparator: Selector) |
Modified NSMatrix.sort(using: (Any, Any, UnsafeMutableRawPointer?) -> Int, context: UnsafeMutableRawPointer?)
Declaration | |
---|---|
From | func sortUsingFunction(_ compare: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>) |
To | func sort(using compare: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func textDidBeginEditing(_ notification: NSNotification) |
To | func textDidBeginEditing(_ notification: Notification) |
Declaration | |
---|---|
From | func textDidChange(_ notification: NSNotification) |
To | func textDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | func textDidEndEditing(_ notification: NSNotification) |
To | func textDidEndEditing(_ notification: Notification) |
Declaration | |
---|---|
From | func toolTipForCell(_ cell: NSCell) -> String? |
To | func toolTip(for cell: NSCell) -> String? |
Modified NSMatrixMode [enum]
Declaration | |
---|---|
From | enum NSMatrixMode : UInt { case RadioModeMatrix case HighlightModeMatrix case ListModeMatrix case TrackModeMatrix } |
To | enum NSMatrixMode : UInt { case radioModeMatrix case highlightModeMatrix case listModeMatrix case trackModeMatrix } |
Modified NSMatrixMode.highlightModeMatrix
Declaration | |
---|---|
From | case HighlightModeMatrix |
To | case highlightModeMatrix |
Modified NSMatrixMode.listModeMatrix
Declaration | |
---|---|
From | case ListModeMatrix |
To | case listModeMatrix |
Modified NSMatrixMode.radioModeMatrix
Declaration | |
---|---|
From | case RadioModeMatrix |
To | case radioModeMatrix |
Modified NSMatrixMode.trackModeMatrix
Declaration | |
---|---|
From | case TrackModeMatrix |
To | case trackModeMatrix |
Modified NSMediaLibrary [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSMediaLibrary : OptionSetType { init(rawValue rawValue: UInt) static var Audio: NSMediaLibrary { get } static var Image: NSMediaLibrary { get } static var Movie: NSMediaLibrary { get } } | OptionSetType |
To | struct NSMediaLibrary : OptionSet { init(rawValue rawValue: UInt) static var audio: NSMediaLibrary { get } static var image: NSMediaLibrary { get } static var movie: NSMediaLibrary { get } func intersect(_ other: NSMediaLibrary) -> NSMediaLibrary func exclusiveOr(_ other: NSMediaLibrary) -> NSMediaLibrary mutating func unionInPlace(_ other: NSMediaLibrary) mutating func intersectInPlace(_ other: NSMediaLibrary) mutating func exclusiveOrInPlace(_ other: NSMediaLibrary) func isSubsetOf(_ other: NSMediaLibrary) -> Bool func isDisjointWith(_ other: NSMediaLibrary) -> Bool func isSupersetOf(_ other: NSMediaLibrary) -> Bool mutating func subtractInPlace(_ other: NSMediaLibrary) func isStrictSupersetOf(_ other: NSMediaLibrary) -> Bool func isStrictSubsetOf(_ other: NSMediaLibrary) -> Bool } extension NSMediaLibrary { func union(_ other: NSMediaLibrary) -> NSMediaLibrary func intersection(_ other: NSMediaLibrary) -> NSMediaLibrary func symmetricDifference(_ other: NSMediaLibrary) -> NSMediaLibrary } extension NSMediaLibrary { func contains(_ member: NSMediaLibrary) -> Bool mutating func insert(_ newMember: NSMediaLibrary) -> (inserted: Bool, memberAfterInsert: NSMediaLibrary) mutating func remove(_ member: NSMediaLibrary) -> NSMediaLibrary? mutating func update(with newMember: NSMediaLibrary) -> NSMediaLibrary? } extension NSMediaLibrary { convenience init() mutating func formUnion(_ other: NSMediaLibrary) mutating func formIntersection(_ other: NSMediaLibrary) mutating func formSymmetricDifference(_ other: NSMediaLibrary) } extension NSMediaLibrary { convenience init<S : Sequence where S.Iterator.Element == NSMediaLibrary>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSMediaLibrary...) mutating func subtract(_ other: NSMediaLibrary) func isSubset(of other: NSMediaLibrary) -> Bool func isSuperset(of other: NSMediaLibrary) -> Bool func isDisjoint(with other: NSMediaLibrary) -> Bool func subtracting(_ other: NSMediaLibrary) -> NSMediaLibrary var isEmpty: Bool { get } func isStrictSuperset(of other: NSMediaLibrary) -> Bool func isStrictSubset(of other: NSMediaLibrary) -> Bool } | OptionSet |
Modified NSMediaLibrary.audio
Declaration | |
---|---|
From | static var Audio: NSMediaLibrary { get } |
To | static var audio: NSMediaLibrary { get } |
Modified NSMediaLibrary.image
Declaration | |
---|---|
From | static var Image: NSMediaLibrary { get } |
To | static var image: NSMediaLibrary { get } |
Modified NSMediaLibrary.movie
Declaration | |
---|---|
From | static var Movie: NSMediaLibrary { get } |
To | static var movie: NSMediaLibrary { get } |
Modified NSMediaLibraryBrowserController
Declaration | Protocols | |
---|---|---|
From | class NSMediaLibraryBrowserController : NSObject { var visible: Bool var frame: NSRect var mediaLibraries: NSMediaLibrary class func sharedMediaLibraryBrowserController() -> NSMediaLibraryBrowserController @IBAction func togglePanel(_ sender: AnyObject?) } | -- |
To | class NSMediaLibraryBrowserController : NSObject { var isVisible: Bool var frame: NSRect var mediaLibraries: NSMediaLibrary class func shared() -> NSMediaLibraryBrowserController @IBAction func togglePanel(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSMediaLibraryBrowserController : CVarArg { } extension NSMediaLibraryBrowserController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var visible: Bool |
To | var isVisible: Bool |
Declaration | |
---|---|
From | class func sharedMediaLibraryBrowserController() -> NSMediaLibraryBrowserController |
To | class func shared() -> NSMediaLibraryBrowserController |
Declaration | |
---|---|
From | @IBAction func togglePanel(_ sender: AnyObject?) |
To | @IBAction func togglePanel(_ sender: Any?) |
Modified NSMenu
Declaration | Protocols | |
---|---|---|
From | class NSMenu : NSObject, NSCopying, NSCoding { init(title aTitle: String) var title: String class func popUpContextMenu(_ menu: NSMenu, withEvent event: NSEvent, forView view: NSView) class func popUpContextMenu(_ menu: NSMenu, withEvent event: NSEvent, forView view: NSView, withFont font: NSFont?) func popUpMenuPositioningItem(_ item: NSMenuItem?, atLocation location: NSPoint, inView view: NSView?) -> Bool class func setMenuBarVisible(_ visible: Bool) class func menuBarVisible() -> Bool unowned(unsafe) var supermenu: NSMenu? func insertItem(_ newItem: NSMenuItem, atIndex index: Int) func addItem(_ newItem: NSMenuItem) func insertItemWithTitle(_ aString: String, action aSelector: Selector, keyEquivalent charCode: String, atIndex index: Int) -> NSMenuItem? func addItemWithTitle(_ aString: String, action aSelector: Selector, keyEquivalent charCode: String) -> NSMenuItem? func removeItemAtIndex(_ index: Int) func removeItem(_ item: NSMenuItem) func setSubmenu(_ aMenu: NSMenu?, forItem anItem: NSMenuItem) func removeAllItems() var itemArray: [NSMenuItem] { get } var numberOfItems: Int { get } func itemAtIndex(_ index: Int) -> NSMenuItem? func indexOfItem(_ item: NSMenuItem) -> Int func indexOfItemWithTitle(_ aTitle: String) -> Int func indexOfItemWithTag(_ aTag: Int) -> Int func indexOfItemWithRepresentedObject(_ object: AnyObject) -> Int func indexOfItemWithSubmenu(_ submenu: NSMenu?) -> Int func indexOfItemWithTarget(_ target: AnyObject?, andAction actionSelector: Selector) -> Int func itemWithTitle(_ aTitle: String) -> NSMenuItem? func itemWithTag(_ tag: Int) -> NSMenuItem? var autoenablesItems: Bool func update() func performKeyEquivalent(_ theEvent: NSEvent) -> Bool func itemChanged(_ item: NSMenuItem) func performActionForItemAtIndex(_ index: Int) unowned(unsafe) var delegate: NSMenuDelegate? var menuBarHeight: CGFloat { get } func cancelTracking() func cancelTrackingWithoutAnimation() var highlightedItem: NSMenuItem? { get } var minimumWidth: CGFloat var size: NSSize { get } var font: NSFont! var allowsContextMenuPlugIns: Bool var showsStateColumn: Bool var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection } extension NSMenu { func submenuAction(_ sender: AnyObject?) } extension NSMenu { var propertiesToUpdate: NSMenuProperties { get } } extension NSMenu { func setMenuRepresentation(_ menuRep: AnyObject!) func menuRepresentation() -> AnyObject! func setContextMenuRepresentation(_ menuRep: AnyObject!) func contextMenuRepresentation() -> AnyObject! func setTearOffMenuRepresentation(_ menuRep: AnyObject!) func tearOffMenuRepresentation() -> AnyObject! class func menuZone() -> NSZone class func setMenuZone(_ aZone: NSZone) func attachedMenu() -> NSMenu! func isAttached() -> Bool func sizeToFit() func locationForSubmenu(_ aSubmenu: NSMenu!) -> NSPoint var menuChangedMessagesEnabled: Bool func helpRequested(_ eventPtr: NSEvent) var tornOff: Bool { get } } | NSCoding, NSCopying |
To | class NSMenu : NSObject, NSCopying, NSCoding, NSUserInterfaceItemIdentification, NSAccessibilityElementProtocol, NSAccessibility { init(title title: String) init(coder decoder: NSCoder) var title: String class func popUpContextMenu(_ menu: NSMenu, with event: NSEvent, for view: NSView) class func popUpContextMenu(_ menu: NSMenu, with event: NSEvent, for view: NSView, with font: NSFont?) func popUp(positioning item: NSMenuItem?, at location: NSPoint, in view: NSView?) -> Bool class func setMenuBarVisible(_ visible: Bool) class func menuBarVisible() -> Bool unowned(unsafe) var supermenu: NSMenu? func insertItem(_ newItem: NSMenuItem, at index: Int) func addItem(_ newItem: NSMenuItem) func insertItem(withTitle string: String, action selector: Selector?, keyEquivalent charCode: String, at index: Int) -> NSMenuItem func addItem(withTitle string: String, action selector: Selector?, keyEquivalent charCode: String) -> NSMenuItem func removeItem(at index: Int) func removeItem(_ item: NSMenuItem) func setSubmenu(_ menu: NSMenu?, for item: NSMenuItem) func removeAllItems() var items: [NSMenuItem] { get } var numberOfItems: Int { get } func item(at index: Int) -> NSMenuItem? func index(of item: NSMenuItem) -> Int func indexOfItem(withTitle title: String) -> Int func indexOfItem(withTag tag: Int) -> Int func indexOfItem(withRepresentedObject object: Any) -> Int func indexOfItem(withSubmenu submenu: NSMenu?) -> Int func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int func item(withTitle title: String) -> NSMenuItem? func item(withTag tag: Int) -> NSMenuItem? var autoenablesItems: Bool func update() func performKeyEquivalent(with event: NSEvent) -> Bool func itemChanged(_ item: NSMenuItem) func performActionForItem(at index: Int) weak var delegate: NSMenuDelegate? var menuBarHeight: CGFloat { get } func cancelTracking() func cancelTrackingWithoutAnimation() var highlightedItem: NSMenuItem? { get } var minimumWidth: CGFloat var size: NSSize { get } var font: NSFont! var allowsContextMenuPlugIns: Bool var showsStateColumn: Bool var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func submenuAction(_ sender: Any?) var propertiesToUpdate: NSMenuProperties { get } func setMenuRepresentation(_ menuRep: Any!) func menuRepresentation() -> Any! func setContextMenuRepresentation(_ menuRep: Any!) func contextMenuRepresentation() -> Any! func setTearOffMenuRepresentation(_ menuRep: Any!) func tearOffMenuRepresentation() -> Any! class func menuZone() -> NSZone! class func setMenuZone(_ zone: NSZone!) func attached() -> NSMenu! func isAttached() -> Bool func sizeToFit() func location(forSubmenu submenu: NSMenu!) -> NSPoint var menuChangedMessagesEnabled: Bool func helpRequested(with eventPtr: NSEvent) var isTornOff: Bool { get } class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSMenu : CVarArg { } extension NSMenu : Equatable, Hashable { var hashValue: Int { get } } extension NSMenu { func submenuAction(_ sender: Any?) } extension NSMenu { var propertiesToUpdate: NSMenuProperties { get } } extension NSMenu { func setMenuRepresentation(_ menuRep: Any!) func menuRepresentation() -> Any! func setContextMenuRepresentation(_ menuRep: Any!) func contextMenuRepresentation() -> Any! func setTearOffMenuRepresentation(_ menuRep: Any!) func tearOffMenuRepresentation() -> Any! class func menuZone() -> NSZone! class func setMenuZone(_ zone: NSZone!) func attached() -> NSMenu! func isAttached() -> Bool func sizeToFit() func location(forSubmenu submenu: NSMenu!) -> NSPoint var menuChangedMessagesEnabled: Bool func helpRequested(with eventPtr: NSEvent) var isTornOff: Bool { get } } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSCoding, NSCopying, NSUserInterfaceItemIdentification |
Declaration | |
---|---|
From | func addItemWithTitle(_ aString: String, action aSelector: Selector, keyEquivalent charCode: String) -> NSMenuItem? |
To | func addItem(withTitle string: String, action selector: Selector?, keyEquivalent charCode: String) -> NSMenuItem |
Modified NSMenu.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: NSMenuDelegate? |
To | weak var delegate: NSMenuDelegate? |
Modified NSMenu.helpRequested(with: NSEvent)
Declaration | |
---|---|
From | func helpRequested(_ eventPtr: NSEvent) |
To | func helpRequested(with eventPtr: NSEvent) |
Modified NSMenu.index(of: NSMenuItem) -> Int
Declaration | |
---|---|
From | func indexOfItem(_ item: NSMenuItem) -> Int |
To | func index(of item: NSMenuItem) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithRepresentedObject(_ object: AnyObject) -> Int |
To | func indexOfItem(withRepresentedObject object: Any) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithSubmenu(_ submenu: NSMenu?) -> Int |
To | func indexOfItem(withSubmenu submenu: NSMenu?) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTag(_ aTag: Int) -> Int |
To | func indexOfItem(withTag tag: Int) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTarget(_ target: AnyObject?, andAction actionSelector: Selector) -> Int |
To | func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTitle(_ aTitle: String) -> Int |
To | func indexOfItem(withTitle title: String) -> Int |
Declaration | |
---|---|
From | func insertItem(_ newItem: NSMenuItem, atIndex index: Int) |
To | func insertItem(_ newItem: NSMenuItem, at index: Int) |
Declaration | |
---|---|
From | func insertItemWithTitle(_ aString: String, action aSelector: Selector, keyEquivalent charCode: String, atIndex index: Int) -> NSMenuItem? |
To | func insertItem(withTitle string: String, action selector: Selector?, keyEquivalent charCode: String, at index: Int) -> NSMenuItem |
Modified NSMenu.isTornOff
Declaration | |
---|---|
From | var tornOff: Bool { get } |
To | var isTornOff: Bool { get } |
Modified NSMenu.item(at: Int) -> NSMenuItem?
Declaration | |
---|---|
From | func itemAtIndex(_ index: Int) -> NSMenuItem? |
To | func item(at index: Int) -> NSMenuItem? |
Declaration | |
---|---|
From | func itemWithTag(_ tag: Int) -> NSMenuItem? |
To | func item(withTag tag: Int) -> NSMenuItem? |
Declaration | |
---|---|
From | func itemWithTitle(_ aTitle: String) -> NSMenuItem? |
To | func item(withTitle title: String) -> NSMenuItem? |
Modified NSMenu.items
Declaration | |
---|---|
From | var itemArray: [NSMenuItem] { get } |
To | var items: [NSMenuItem] { get } |
Modified NSMenu.menuZone() -> NSZone! [class]
Declaration | |
---|---|
From | class func menuZone() -> NSZone |
To | class func menuZone() -> NSZone! |
Modified NSMenu.performActionForItem(at: Int)
Declaration | |
---|---|
From | func performActionForItemAtIndex(_ index: Int) |
To | func performActionForItem(at index: Int) |
Declaration | |
---|---|
From | func performKeyEquivalent(_ theEvent: NSEvent) -> Bool |
To | func performKeyEquivalent(with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | func popUpMenuPositioningItem(_ item: NSMenuItem?, atLocation location: NSPoint, inView view: NSView?) -> Bool |
To | func popUp(positioning item: NSMenuItem?, at location: NSPoint, in view: NSView?) -> Bool |
Declaration | |
---|---|
From | class func popUpContextMenu(_ menu: NSMenu, withEvent event: NSEvent, forView view: NSView) |
To | class func popUpContextMenu(_ menu: NSMenu, with event: NSEvent, for view: NSView) |
Declaration | |
---|---|
From | class func popUpContextMenu(_ menu: NSMenu, withEvent event: NSEvent, forView view: NSView, withFont font: NSFont?) |
To | class func popUpContextMenu(_ menu: NSMenu, with event: NSEvent, for view: NSView, with font: NSFont?) |
Modified NSMenu.removeItem(at: Int)
Declaration | |
---|---|
From | func removeItemAtIndex(_ index: Int) |
To | func removeItem(at index: Int) |
Declaration | |
---|---|
From | func setSubmenu(_ aMenu: NSMenu?, forItem anItem: NSMenuItem) |
To | func setSubmenu(_ menu: NSMenu?, for item: NSMenuItem) |
Modified NSMenu.submenuAction(_: Any?)
Declaration | |
---|---|
From | func submenuAction(_ sender: AnyObject?) |
To | func submenuAction(_ sender: Any?) |
Modified NSMenuDelegate
Declaration | |
---|---|
From | protocol NSMenuDelegate : NSObjectProtocol { optional func menuNeedsUpdate(_ menu: NSMenu) optional func numberOfItemsInMenu(_ menu: NSMenu) -> Int optional func menu(_ menu: NSMenu, updateItem item: NSMenuItem, atIndex index: Int, shouldCancel shouldCancel: Bool) -> Bool optional func menuHasKeyEquivalent(_ menu: NSMenu, forEvent event: NSEvent, target target: AutoreleasingUnsafeMutablePointer<AnyObject?>, action action: UnsafeMutablePointer<Selector>) -> Bool optional func menuWillOpen(_ menu: NSMenu) optional func menuDidClose(_ menu: NSMenu) optional func menu(_ menu: NSMenu, willHighlightItem item: NSMenuItem?) optional func confinementRectForMenu(_ menu: NSMenu, onScreen screen: NSScreen?) -> NSRect } |
To | protocol NSMenuDelegate : NSObjectProtocol { optional func menuNeedsUpdate(_ menu: NSMenu) optional func numberOfItems(in menu: NSMenu) -> Int optional func menu(_ menu: NSMenu, update item: NSMenuItem, at index: Int, shouldCancel shouldCancel: Bool) -> Bool optional func menuHasKeyEquivalent(_ menu: NSMenu, for event: NSEvent, target target: AutoreleasingUnsafeMutablePointer<AnyObject?>?, action action: UnsafeMutablePointer<Selector?>?) -> Bool optional func menuWillOpen(_ menu: NSMenu) optional func menuDidClose(_ menu: NSMenu) optional func menu(_ menu: NSMenu, willHighlight item: NSMenuItem?) optional func confinementRect(for menu: NSMenu, on screen: NSScreen?) -> NSRect } |
Declaration | |
---|---|
From | optional func confinementRectForMenu(_ menu: NSMenu, onScreen screen: NSScreen?) -> NSRect |
To | optional func confinementRect(for menu: NSMenu, on screen: NSScreen?) -> NSRect |
Declaration | |
---|---|
From | optional func menu(_ menu: NSMenu, updateItem item: NSMenuItem, atIndex index: Int, shouldCancel shouldCancel: Bool) -> Bool |
To | optional func menu(_ menu: NSMenu, update item: NSMenuItem, at index: Int, shouldCancel shouldCancel: Bool) -> Bool |
Declaration | |
---|---|
From | optional func menu(_ menu: NSMenu, willHighlightItem item: NSMenuItem?) |
To | optional func menu(_ menu: NSMenu, willHighlight item: NSMenuItem?) |
Declaration | |
---|---|
From | optional func menuHasKeyEquivalent(_ menu: NSMenu, forEvent event: NSEvent, target target: AutoreleasingUnsafeMutablePointer<AnyObject?>, action action: UnsafeMutablePointer<Selector>) -> Bool |
To | optional func menuHasKeyEquivalent(_ menu: NSMenu, for event: NSEvent, target target: AutoreleasingUnsafeMutablePointer<AnyObject?>?, action action: UnsafeMutablePointer<Selector?>?) -> Bool |
Declaration | |
---|---|
From | optional func numberOfItemsInMenu(_ menu: NSMenu) -> Int |
To | optional func numberOfItems(in menu: NSMenu) -> Int |
Modified NSMenuItem
Declaration | Protocols | |
---|---|---|
From | class NSMenuItem : NSObject, NSCopying, NSCoding, NSValidatedUserInterfaceItem { class func setUsesUserKeyEquivalents(_ flag: Bool) class func usesUserKeyEquivalents() -> Bool class func separatorItem() -> NSMenuItem init(title aString: String, action aSelector: Selector, keyEquivalent charCode: String) unowned(unsafe) var menu: NSMenu? var hasSubmenu: Bool { get } var submenu: NSMenu? unowned(unsafe) var parentItem: NSMenuItem? { get } var title: String @NSCopying var attributedTitle: NSAttributedString? var separatorItem: Bool { get } var keyEquivalent: String var keyEquivalentModifierMask: Int var userKeyEquivalent: String { get } func setTitleWithMnemonic(_ stringWithAmpersand: String) var image: NSImage? var state: Int var onStateImage: NSImage! var offStateImage: NSImage! var mixedStateImage: NSImage! var enabled: Bool var alternate: Bool var indentationLevel: Int weak var target: AnyObject? var action: Selector var tag: Int var representedObject: AnyObject? var view: NSView? var highlighted: Bool { get } var hidden: Bool var hiddenOrHasHiddenAncestor: Bool { get } var toolTip: String? } extension NSMenuItem { func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String! } | NSCoding, NSCopying, NSValidatedUserInterfaceItem |
To | class NSMenuItem : NSObject, NSCopying, NSCoding, NSValidatedUserInterfaceItem, NSUserInterfaceItemIdentification, NSAccessibilityElementProtocol, NSAccessibility { class func setUsesUserKeyEquivalents(_ flag: Bool) class func usesUserKeyEquivalents() -> Bool class func separator() -> NSMenuItem init(title string: String, action selector: Selector?, keyEquivalent charCode: String) init(coder decoder: NSCoder) unowned(unsafe) var menu: NSMenu? var hasSubmenu: Bool { get } var submenu: NSMenu? unowned(unsafe) var parent: NSMenuItem? { get } var title: String @NSCopying var attributedTitle: NSAttributedString? var isSeparatorItem: Bool { get } var keyEquivalent: String var keyEquivalentModifierMask: NSEventModifierFlags var userKeyEquivalent: String { get } func setTitleWithMnemonic(_ stringWithAmpersand: String) var image: NSImage? var state: Int var onStateImage: NSImage! var offStateImage: NSImage? var mixedStateImage: NSImage! var isEnabled: Bool var isAlternate: Bool var indentationLevel: Int weak var target: AnyObject? var action: Selector? var tag: Int var representedObject: Any? var view: NSView? var isHighlighted: Bool { get } var isHidden: Bool var isHiddenOrHasHiddenAncestor: Bool { get } var toolTip: String? func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String! func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSMenuItem : CVarArg { } extension NSMenuItem : Equatable, Hashable { var hashValue: Int { get } } extension NSMenuItem { func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String! } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSCoding, NSCopying, NSUserInterfaceItemIdentification, NSValidatedUserInterfaceItem |
Modified NSMenuItem.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Declaration | |
---|---|
From | init(title aString: String, action aSelector: Selector, keyEquivalent charCode: String) |
To | init(title string: String, action selector: Selector?, keyEquivalent charCode: String) |
Modified NSMenuItem.isAlternate
Declaration | |
---|---|
From | var alternate: Bool |
To | var isAlternate: Bool |
Modified NSMenuItem.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified NSMenuItem.isHidden
Declaration | |
---|---|
From | var hidden: Bool |
To | var isHidden: Bool |
Declaration | |
---|---|
From | var hiddenOrHasHiddenAncestor: Bool { get } |
To | var isHiddenOrHasHiddenAncestor: Bool { get } |
Modified NSMenuItem.isHighlighted
Declaration | |
---|---|
From | var highlighted: Bool { get } |
To | var isHighlighted: Bool { get } |
Modified NSMenuItem.isSeparatorItem
Declaration | |
---|---|
From | var separatorItem: Bool { get } |
To | var isSeparatorItem: Bool { get } |
Modified NSMenuItem.keyEquivalentModifierMask
Declaration | |
---|---|
From | var keyEquivalentModifierMask: Int |
To | var keyEquivalentModifierMask: NSEventModifierFlags |
Modified NSMenuItem.offStateImage
Declaration | |
---|---|
From | var offStateImage: NSImage! |
To | var offStateImage: NSImage? |
Modified NSMenuItem.parent
Declaration | |
---|---|
From | unowned(unsafe) var parentItem: NSMenuItem? { get } |
To | unowned(unsafe) var parent: NSMenuItem? { get } |
Modified NSMenuItem.representedObject
Declaration | |
---|---|
From | var representedObject: AnyObject? |
To | var representedObject: Any? |
Declaration | |
---|---|
From | class func separatorItem() -> NSMenuItem |
To | class func separator() -> NSMenuItem |
Modified NSMenuItemCell
Declaration | |
---|---|
From | class NSMenuItemCell : NSButtonCell { var menuItem: NSMenuItem? var needsSizing: Bool func calcSize() var needsDisplay: Bool var stateImageWidth: CGFloat { get } var imageWidth: CGFloat { get } var titleWidth: CGFloat { get } var keyEquivalentWidth: CGFloat { get } func stateImageRectForBounds(_ cellFrame: NSRect) -> NSRect func titleRectForBounds(_ cellFrame: NSRect) -> NSRect func keyEquivalentRectForBounds(_ cellFrame: NSRect) -> NSRect func drawSeparatorItemWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func drawStateImageWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func drawImageWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func drawTitleWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func drawKeyEquivalentWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func drawBorderAndBackgroundWithFrame(_ cellFrame: NSRect, inView controlView: NSView) var tag: Int } |
To | class NSMenuItemCell : NSButtonCell { init(textCell string: String) init(coder coder: NSCoder) var menuItem: NSMenuItem? var needsSizing: Bool func calcSize() var needsDisplay: Bool var stateImageWidth: CGFloat { get } var imageWidth: CGFloat { get } var titleWidth: CGFloat { get } var keyEquivalentWidth: CGFloat { get } func stateImageRect(forBounds cellFrame: NSRect) -> NSRect func titleRect(forBounds cellFrame: NSRect) -> NSRect func keyEquivalentRect(forBounds cellFrame: NSRect) -> NSRect func drawSeparatorItem(withFrame cellFrame: NSRect, in controlView: NSView) func drawStateImage(withFrame cellFrame: NSRect, in controlView: NSView) func drawImage(withFrame cellFrame: NSRect, in controlView: NSView) func drawTitle(withFrame cellFrame: NSRect, in controlView: NSView) func drawKeyEquivalent(withFrame cellFrame: NSRect, in controlView: NSView) func drawBorderAndBackground(withFrame cellFrame: NSRect, in controlView: NSView) var tag: Int var gradientType: NSGradientType func setTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateTitleWithMnemonic(_ stringWithAmpersand: String!) func setAlternateMnemonicLocation(_ location: Int) func alternateMnemonicLocation() -> Int func alternateMnemonic() -> String! var sound: NSSound? var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString var imageDimsWhenDisabled: Bool var showsBorderOnlyWhileMouseInside: Bool func mouseEntered(with event: NSEvent) func mouseExited(with event: NSEvent) @NSCopying var backgroundColor: NSColor? } |
Declaration | |
---|---|
From | func drawBorderAndBackgroundWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawBorderAndBackground(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawImageWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawImage(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawKeyEquivalentWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawKeyEquivalent(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawSeparatorItemWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawSeparatorItem(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawStateImageWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawStateImage(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func drawTitleWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func drawTitle(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func keyEquivalentRectForBounds(_ cellFrame: NSRect) -> NSRect |
To | func keyEquivalentRect(forBounds cellFrame: NSRect) -> NSRect |
Declaration | |
---|---|
From | func stateImageRectForBounds(_ cellFrame: NSRect) -> NSRect |
To | func stateImageRect(forBounds cellFrame: NSRect) -> NSRect |
Declaration | |
---|---|
From | func titleRectForBounds(_ cellFrame: NSRect) -> NSRect |
To | func titleRect(forBounds cellFrame: NSRect) -> NSRect |
Modified NSMenuProperties [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSMenuProperties : OptionSetType { init(rawValue rawValue: UInt) static var PropertyItemTitle: NSMenuProperties { get } static var PropertyItemAttributedTitle: NSMenuProperties { get } static var PropertyItemKeyEquivalent: NSMenuProperties { get } static var PropertyItemImage: NSMenuProperties { get } static var PropertyItemEnabled: NSMenuProperties { get } static var PropertyItemAccessibilityDescription: NSMenuProperties { get } } | OptionSetType |
To | struct NSMenuProperties : OptionSet { init(rawValue rawValue: UInt) static var propertyItemTitle: NSMenuProperties { get } static var propertyItemAttributedTitle: NSMenuProperties { get } static var propertyItemKeyEquivalent: NSMenuProperties { get } static var propertyItemImage: NSMenuProperties { get } static var propertyItemEnabled: NSMenuProperties { get } static var propertyItemAccessibilityDescription: NSMenuProperties { get } func intersect(_ other: NSMenuProperties) -> NSMenuProperties func exclusiveOr(_ other: NSMenuProperties) -> NSMenuProperties mutating func unionInPlace(_ other: NSMenuProperties) mutating func intersectInPlace(_ other: NSMenuProperties) mutating func exclusiveOrInPlace(_ other: NSMenuProperties) func isSubsetOf(_ other: NSMenuProperties) -> Bool func isDisjointWith(_ other: NSMenuProperties) -> Bool func isSupersetOf(_ other: NSMenuProperties) -> Bool mutating func subtractInPlace(_ other: NSMenuProperties) func isStrictSupersetOf(_ other: NSMenuProperties) -> Bool func isStrictSubsetOf(_ other: NSMenuProperties) -> Bool } extension NSMenuProperties { func union(_ other: NSMenuProperties) -> NSMenuProperties func intersection(_ other: NSMenuProperties) -> NSMenuProperties func symmetricDifference(_ other: NSMenuProperties) -> NSMenuProperties } extension NSMenuProperties { func contains(_ member: NSMenuProperties) -> Bool mutating func insert(_ newMember: NSMenuProperties) -> (inserted: Bool, memberAfterInsert: NSMenuProperties) mutating func remove(_ member: NSMenuProperties) -> NSMenuProperties? mutating func update(with newMember: NSMenuProperties) -> NSMenuProperties? } extension NSMenuProperties { convenience init() mutating func formUnion(_ other: NSMenuProperties) mutating func formIntersection(_ other: NSMenuProperties) mutating func formSymmetricDifference(_ other: NSMenuProperties) } extension NSMenuProperties { convenience init<S : Sequence where S.Iterator.Element == NSMenuProperties>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSMenuProperties...) mutating func subtract(_ other: NSMenuProperties) func isSubset(of other: NSMenuProperties) -> Bool func isSuperset(of other: NSMenuProperties) -> Bool func isDisjoint(with other: NSMenuProperties) -> Bool func subtracting(_ other: NSMenuProperties) -> NSMenuProperties var isEmpty: Bool { get } func isStrictSuperset(of other: NSMenuProperties) -> Bool func isStrictSubset(of other: NSMenuProperties) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var PropertyItemAccessibilityDescription: NSMenuProperties { get } |
To | static var propertyItemAccessibilityDescription: NSMenuProperties { get } |
Declaration | |
---|---|
From | static var PropertyItemAttributedTitle: NSMenuProperties { get } |
To | static var propertyItemAttributedTitle: NSMenuProperties { get } |
Modified NSMenuProperties.propertyItemEnabled
Declaration | |
---|---|
From | static var PropertyItemEnabled: NSMenuProperties { get } |
To | static var propertyItemEnabled: NSMenuProperties { get } |
Modified NSMenuProperties.propertyItemImage
Declaration | |
---|---|
From | static var PropertyItemImage: NSMenuProperties { get } |
To | static var propertyItemImage: NSMenuProperties { get } |
Declaration | |
---|---|
From | static var PropertyItemKeyEquivalent: NSMenuProperties { get } |
To | static var propertyItemKeyEquivalent: NSMenuProperties { get } |
Modified NSMenuProperties.propertyItemTitle
Declaration | |
---|---|
From | static var PropertyItemTitle: NSMenuProperties { get } |
To | static var propertyItemTitle: NSMenuProperties { get } |
Modified NSMultibyteGlyphPacking [enum]
Declaration | |
---|---|
From | enum NSMultibyteGlyphPacking : UInt { case NativeShortGlyphPacking } |
To | enum NSMultibyteGlyphPacking : UInt { case nativeShortGlyphPacking } |
Declaration | |
---|---|
From | case NativeShortGlyphPacking |
To | case nativeShortGlyphPacking |
Declaration | |
---|---|
From | func fixAttachmentAttributeInRange(_ range: NSRange) |
To | func fixAttachmentAttribute(in range: NSRange) |
Declaration | |
---|---|
From | func fixAttributesInRange(_ range: NSRange) |
To | func fixAttributes(in range: NSRange) |
Declaration | |
---|---|
From | func fixFontAttributeInRange(_ range: NSRange) |
To | func fixFontAttribute(in range: NSRange) |
Declaration | |
---|---|
From | func fixParagraphStyleAttributeInRange(_ range: NSRange) |
To | func fixParagraphStyleAttribute(in range: NSRange) |
Declaration | |
---|---|
From | func readFromURL(_ url: NSURL, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool |
To | func read(from url: URL, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool |
Declaration | |
---|---|
From | func readFromData(_ data: NSData, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool |
To | func read(from data: Data, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool |
Declaration | |
---|---|
From | func readFromURL(_ url: NSURL, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: ()) throws |
To | func read(from url: URL, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?, error error: ()) throws |
Declaration | |
---|---|
From | func readFromData(_ data: NSData, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: ()) throws |
To | func read(from data: Data, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?, error error: ()) throws |
Declaration | |
---|---|
From | func updateAttachmentsFromPath(_ path: String) |
To | func updateAttachments(fromPath path: String) |
Modified NSMutableFontCollection
Declaration | |
---|---|
From | class NSMutableFontCollection : NSFontCollection { init(descriptors queryDescriptors: [NSFontDescriptor]) class func fontCollectionWithDescriptors(_ queryDescriptors: [NSFontDescriptor]) -> NSMutableFontCollection class func fontCollectionWithAllAvailableDescriptors() -> NSMutableFontCollection init(locale locale: NSLocale) class func fontCollectionWithLocale(_ locale: NSLocale) -> NSMutableFontCollection init?(name name: String) class func fontCollectionWithName(_ name: String) -> NSMutableFontCollection? init?(name name: String, visibility visibility: NSFontCollectionVisibility) class func fontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility) -> NSMutableFontCollection? var queryDescriptors: [NSFontDescriptor]? var exclusionDescriptors: [NSFontDescriptor]? func addQueryForDescriptors(_ descriptors: [NSFontDescriptor]) func removeQueryForDescriptors(_ descriptors: [NSFontDescriptor]) } |
To | class NSMutableFontCollection : NSFontCollection { init(descriptors queryDescriptors: [NSFontDescriptor]) class func withDescriptors(_ queryDescriptors: [NSFontDescriptor]) -> NSMutableFontCollection class func withAllAvailableDescriptors() -> NSMutableFontCollection init(locale locale: Locale) class func withLocale(_ locale: Locale) -> NSMutableFontCollection init?(name name: String) class func withName(_ name: String) -> NSMutableFontCollection? init?(name name: String, visibility visibility: NSFontCollectionVisibility) class func withName(_ name: String, visibility visibility: NSFontCollectionVisibility) -> NSMutableFontCollection? var queryDescriptors: [NSFontDescriptor]? var exclusionDescriptors: [NSFontDescriptor]? func addQuery(for descriptors: [NSFontDescriptor]) func removeQuery(for descriptors: [NSFontDescriptor]) } |
Declaration | |
---|---|
From | func addQueryForDescriptors(_ descriptors: [NSFontDescriptor]) |
To | func addQuery(for descriptors: [NSFontDescriptor]) |
Declaration | |
---|---|
From | init(locale locale: NSLocale) |
To | init(locale locale: Locale) |
Declaration | |
---|---|
From | func removeQueryForDescriptors(_ descriptors: [NSFontDescriptor]) |
To | func removeQuery(for descriptors: [NSFontDescriptor]) |
Declaration | |
---|---|
From | class func fontCollectionWithAllAvailableDescriptors() -> NSMutableFontCollection |
To | class func withAllAvailableDescriptors() -> NSMutableFontCollection |
Modified NSNib
Declaration | Protocols | |
---|---|---|
From | class NSNib : NSObject, NSCoding { init?(nibNamed nibName: String, bundle bundle: NSBundle?) init(nibData nibData: NSData, bundle bundle: NSBundle?) func instantiateWithOwner(_ owner: AnyObject?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool } extension NSNib { init!(contentsOfURL nibFileURL: NSURL!) func instantiateNibWithExternalNameTable(_ externalNameTable: [NSObject : AnyObject]!) -> Bool func instantiateNibWithOwner(_ owner: AnyObject!, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool } | NSCoding |
To | class NSNib : NSObject, NSCoding { init?(nibNamed nibName: String, bundle bundle: Bundle?) init(nibData nibData: Data, bundle bundle: Bundle?) func instantiate(withOwner owner: Any?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray>?) -> Bool init!(contentsOf nibFileURL: URL!) func instantiateNib(withExternalNameTable externalNameTable: [AnyHashable : Any]!) -> Bool func instantiateNib(withOwner owner: Any!, topLevel topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>!) -> Bool func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSNib : CVarArg { } extension NSNib : Equatable, Hashable { var hashValue: Int { get } } extension NSNib { init!(contentsOf nibFileURL: URL!) func instantiateNib(withExternalNameTable externalNameTable: [AnyHashable : Any]!) -> Bool func instantiateNib(withOwner owner: Any!, topLevel topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>!) -> Bool } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | init(nibData nibData: NSData, bundle bundle: NSBundle?) |
To | init(nibData nibData: Data, bundle bundle: Bundle?) |
Declaration | |
---|---|
From | init?(nibNamed nibName: String, bundle bundle: NSBundle?) |
To | init?(nibNamed nibName: String, bundle bundle: Bundle?) |
Declaration | |
---|---|
From | func instantiateWithOwner(_ owner: AnyObject?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool |
To | func instantiate(withOwner owner: Any?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray>?) -> Bool |
Name | Declaration | |
---|---|---|
From | NSAnimationProgressMarkNotification | let NSAnimationProgressMarkNotification: String |
To | NSAnimationProgressMark | static let NSAnimationProgressMark: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSAntialiasThresholdChangedNotification | let NSAntialiasThresholdChangedNotification: String |
To | NSAntialiasThresholdChanged | static let NSAntialiasThresholdChanged: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidBecomeActiveNotification | let NSApplicationDidBecomeActiveNotification: String |
To | NSApplicationDidBecomeActive | static let NSApplicationDidBecomeActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidChangeOcclusionStateNotification | let NSApplicationDidChangeOcclusionStateNotification: String |
To | NSApplicationDidChangeOcclusionState | static let NSApplicationDidChangeOcclusionState: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidChangeScreenParametersNotification | let NSApplicationDidChangeScreenParametersNotification: String |
To | NSApplicationDidChangeScreenParameters | static let NSApplicationDidChangeScreenParameters: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidFinishLaunchingNotification | let NSApplicationDidFinishLaunchingNotification: String |
To | NSApplicationDidFinishLaunching | static let NSApplicationDidFinishLaunching: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidFinishRestoringWindowsNotification | let NSApplicationDidFinishRestoringWindowsNotification: String |
To | NSApplicationDidFinishRestoringWindows | static let NSApplicationDidFinishRestoringWindows: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidHideNotification | let NSApplicationDidHideNotification: String |
To | NSApplicationDidHide | static let NSApplicationDidHide: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidResignActiveNotification | let NSApplicationDidResignActiveNotification: String |
To | NSApplicationDidResignActive | static let NSApplicationDidResignActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidUnhideNotification | let NSApplicationDidUnhideNotification: String |
To | NSApplicationDidUnhide | static let NSApplicationDidUnhide: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationDidUpdateNotification | let NSApplicationDidUpdateNotification: String |
To | NSApplicationDidUpdate | static let NSApplicationDidUpdate: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationWillBecomeActiveNotification | let NSApplicationWillBecomeActiveNotification: String |
To | NSApplicationWillBecomeActive | static let NSApplicationWillBecomeActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationWillFinishLaunchingNotification | let NSApplicationWillFinishLaunchingNotification: String |
To | NSApplicationWillFinishLaunching | static let NSApplicationWillFinishLaunching: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationWillHideNotification | let NSApplicationWillHideNotification: String |
To | NSApplicationWillHide | static let NSApplicationWillHide: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationWillResignActiveNotification | let NSApplicationWillResignActiveNotification: String |
To | NSApplicationWillResignActive | static let NSApplicationWillResignActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationWillTerminateNotification | let NSApplicationWillTerminateNotification: String |
To | NSApplicationWillTerminate | static let NSApplicationWillTerminate: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationWillUnhideNotification | let NSApplicationWillUnhideNotification: String |
To | NSApplicationWillUnhide | static let NSApplicationWillUnhide: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSApplicationWillUpdateNotification | let NSApplicationWillUpdateNotification: String |
To | NSApplicationWillUpdate | static let NSApplicationWillUpdate: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSBrowserColumnConfigurationDidChangeNotification | let NSBrowserColumnConfigurationDidChangeNotification: String |
To | NSBrowserColumnConfigurationDidChange | static let NSBrowserColumnConfigurationDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSColorListDidChangeNotification | let NSColorListDidChangeNotification: String |
To | NSColorListDidChange | static let NSColorListDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSColorPanelColorDidChangeNotification | let NSColorPanelColorDidChangeNotification: String |
To | NSColorPanelColorDidChange | static let NSColorPanelColorDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSComboBoxSelectionDidChangeNotification | let NSComboBoxSelectionDidChangeNotification: String |
To | NSComboBoxSelectionDidChange | static let NSComboBoxSelectionDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSComboBoxSelectionIsChangingNotification | let NSComboBoxSelectionIsChangingNotification: String |
To | NSComboBoxSelectionIsChanging | static let NSComboBoxSelectionIsChanging: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSComboBoxWillDismissNotification | let NSComboBoxWillDismissNotification: String |
To | NSComboBoxWillDismiss | static let NSComboBoxWillDismiss: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSComboBoxWillPopUpNotification | let NSComboBoxWillPopUpNotification: String |
To | NSComboBoxWillPopUp | static let NSComboBoxWillPopUp: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSContextHelpModeDidActivateNotification | let NSContextHelpModeDidActivateNotification: String |
To | NSContextHelpModeDidActivate | static let NSContextHelpModeDidActivate: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSContextHelpModeDidDeactivateNotification | let NSContextHelpModeDidDeactivateNotification: String |
To | NSContextHelpModeDidDeactivate | static let NSContextHelpModeDidDeactivate: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSControlTextDidBeginEditingNotification | let NSControlTextDidBeginEditingNotification: String |
To | NSControlTextDidBeginEditing | static let NSControlTextDidBeginEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSControlTextDidChangeNotification | let NSControlTextDidChangeNotification: String |
To | NSControlTextDidChange | static let NSControlTextDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSControlTextDidEndEditingNotification | let NSControlTextDidEndEditingNotification: String |
To | NSControlTextDidEndEditing | static let NSControlTextDidEndEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSControlTintDidChangeNotification | let NSControlTintDidChangeNotification: String |
To | NSControlTintDidChange | static let NSControlTintDidChange: NSNotification.Name |
Modified NSNotification.Name.NSDrawerDidClose
Name | Declaration | |
---|---|---|
From | NSDrawerDidCloseNotification | let NSDrawerDidCloseNotification: String |
To | NSDrawerDidClose | static let NSDrawerDidClose: NSNotification.Name |
Modified NSNotification.Name.NSDrawerDidOpen
Name | Declaration | |
---|---|---|
From | NSDrawerDidOpenNotification | let NSDrawerDidOpenNotification: String |
To | NSDrawerDidOpen | static let NSDrawerDidOpen: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSDrawerWillCloseNotification | let NSDrawerWillCloseNotification: String |
To | NSDrawerWillClose | static let NSDrawerWillClose: NSNotification.Name |
Modified NSNotification.Name.NSDrawerWillOpen
Name | Declaration | |
---|---|---|
From | NSDrawerWillOpenNotification | let NSDrawerWillOpenNotification: String |
To | NSDrawerWillOpen | static let NSDrawerWillOpen: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSFontCollectionDidChangeNotification | let NSFontCollectionDidChangeNotification: String |
To | NSFontCollectionDidChange | static let NSFontCollectionDidChange: NSNotification.Name |
Modified NSNotification.Name.NSFontSetChanged
Name | Declaration | |
---|---|---|
From | NSFontSetChangedNotification | let NSFontSetChangedNotification: String |
To | NSFontSetChanged | static let NSFontSetChanged: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSImageRepRegistryDidChangeNotification | let NSImageRepRegistryDidChangeNotification: String |
To | NSImageRepRegistryDidChange | static let NSImageRepRegistryDidChange: NSNotification.Name |
Modified NSNotification.Name.NSMenuDidAddItem
Name | Declaration | |
---|---|---|
From | NSMenuDidAddItemNotification | let NSMenuDidAddItemNotification: String |
To | NSMenuDidAddItem | static let NSMenuDidAddItem: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSMenuDidBeginTrackingNotification | let NSMenuDidBeginTrackingNotification: String |
To | NSMenuDidBeginTracking | static let NSMenuDidBeginTracking: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSMenuDidChangeItemNotification | let NSMenuDidChangeItemNotification: String |
To | NSMenuDidChangeItem | static let NSMenuDidChangeItem: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSMenuDidEndTrackingNotification | let NSMenuDidEndTrackingNotification: String |
To | NSMenuDidEndTracking | static let NSMenuDidEndTracking: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSMenuDidRemoveItemNotification | let NSMenuDidRemoveItemNotification: String |
To | NSMenuDidRemoveItem | static let NSMenuDidRemoveItem: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSMenuDidSendActionNotification | let NSMenuDidSendActionNotification: String |
To | NSMenuDidSendAction | static let NSMenuDidSendAction: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSMenuWillSendActionNotification | let NSMenuWillSendActionNotification: String |
To | NSMenuWillSendAction | static let NSMenuWillSendAction: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewColumnDidMoveNotification | let NSOutlineViewColumnDidMoveNotification: String |
To | NSOutlineViewColumnDidMove | static let NSOutlineViewColumnDidMove: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewColumnDidResizeNotification | let NSOutlineViewColumnDidResizeNotification: String |
To | NSOutlineViewColumnDidResize | static let NSOutlineViewColumnDidResize: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewItemDidCollapseNotification | let NSOutlineViewItemDidCollapseNotification: String |
To | NSOutlineViewItemDidCollapse | static let NSOutlineViewItemDidCollapse: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewItemDidExpandNotification | let NSOutlineViewItemDidExpandNotification: String |
To | NSOutlineViewItemDidExpand | static let NSOutlineViewItemDidExpand: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewItemWillCollapseNotification | let NSOutlineViewItemWillCollapseNotification: String |
To | NSOutlineViewItemWillCollapse | static let NSOutlineViewItemWillCollapse: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewItemWillExpandNotification | let NSOutlineViewItemWillExpandNotification: String |
To | NSOutlineViewItemWillExpand | static let NSOutlineViewItemWillExpand: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewSelectionDidChangeNotification | let NSOutlineViewSelectionDidChangeNotification: String |
To | NSOutlineViewSelectionDidChange | static let NSOutlineViewSelectionDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSOutlineViewSelectionIsChangingNotification | let NSOutlineViewSelectionIsChangingNotification: String |
To | NSOutlineViewSelectionIsChanging | static let NSOutlineViewSelectionIsChanging: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPopoverDidCloseNotification | let NSPopoverDidCloseNotification: String |
To | NSPopoverDidClose | static let NSPopoverDidClose: NSNotification.Name |
Modified NSNotification.Name.NSPopoverDidShow
Name | Declaration | |
---|---|---|
From | NSPopoverDidShowNotification | let NSPopoverDidShowNotification: String |
To | NSPopoverDidShow | static let NSPopoverDidShow: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPopoverWillCloseNotification | let NSPopoverWillCloseNotification: String |
To | NSPopoverWillClose | static let NSPopoverWillClose: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPopoverWillShowNotification | let NSPopoverWillShowNotification: String |
To | NSPopoverWillShow | static let NSPopoverWillShow: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPopUpButtonCellWillPopUpNotification | let NSPopUpButtonCellWillPopUpNotification: String |
To | NSPopUpButtonCellWillPopUp | static let NSPopUpButtonCellWillPopUp: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPopUpButtonWillPopUpNotification | let NSPopUpButtonWillPopUpNotification: String |
To | NSPopUpButtonWillPopUp | static let NSPopUpButtonWillPopUp: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPreferredScrollerStyleDidChangeNotification | let NSPreferredScrollerStyleDidChangeNotification: String |
To | NSPreferredScrollerStyleDidChange | static let NSPreferredScrollerStyleDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSRuleEditorRowsDidChangeNotification | let NSRuleEditorRowsDidChangeNotification: String |
To | NSRuleEditorRowsDidChange | static let NSRuleEditorRowsDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSScreenColorSpaceDidChangeNotification | let NSScreenColorSpaceDidChangeNotification: String |
To | NSScreenColorSpaceDidChange | static let NSScreenColorSpaceDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSScrollViewDidEndLiveMagnifyNotification | let NSScrollViewDidEndLiveMagnifyNotification: String |
To | NSScrollViewDidEndLiveMagnify | static let NSScrollViewDidEndLiveMagnify: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSScrollViewDidEndLiveScrollNotification | let NSScrollViewDidEndLiveScrollNotification: String |
To | NSScrollViewDidEndLiveScroll | static let NSScrollViewDidEndLiveScroll: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSScrollViewDidLiveScrollNotification | let NSScrollViewDidLiveScrollNotification: String |
To | NSScrollViewDidLiveScroll | static let NSScrollViewDidLiveScroll: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSScrollViewWillStartLiveMagnifyNotification | let NSScrollViewWillStartLiveMagnifyNotification: String |
To | NSScrollViewWillStartLiveMagnify | static let NSScrollViewWillStartLiveMagnify: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSScrollViewWillStartLiveScrollNotification | let NSScrollViewWillStartLiveScrollNotification: String |
To | NSScrollViewWillStartLiveScroll | static let NSScrollViewWillStartLiveScroll: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSSpellCheckerDidChangeAutomaticDashSubstitutionNotification | let NSSpellCheckerDidChangeAutomaticDashSubstitutionNotification: String |
To | NSSpellCheckerDidChangeAutomaticDashSubstitution | static let NSSpellCheckerDidChangeAutomaticDashSubstitution: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSSpellCheckerDidChangeAutomaticQuoteSubstitutionNotification | let NSSpellCheckerDidChangeAutomaticQuoteSubstitutionNotification: String |
To | NSSpellCheckerDidChangeAutomaticQuoteSubstitution | static let NSSpellCheckerDidChangeAutomaticQuoteSubstitution: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification | let NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification: String |
To | NSSpellCheckerDidChangeAutomaticSpellingCorrection | static let NSSpellCheckerDidChangeAutomaticSpellingCorrection: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSSpellCheckerDidChangeAutomaticTextReplacementNotification | let NSSpellCheckerDidChangeAutomaticTextReplacementNotification: String |
To | NSSpellCheckerDidChangeAutomaticTextReplacement | static let NSSpellCheckerDidChangeAutomaticTextReplacement: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSSplitViewDidResizeSubviewsNotification | let NSSplitViewDidResizeSubviewsNotification: String |
To | NSSplitViewDidResizeSubviews | static let NSSplitViewDidResizeSubviews: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSSplitViewWillResizeSubviewsNotification | let NSSplitViewWillResizeSubviewsNotification: String |
To | NSSplitViewWillResizeSubviews | static let NSSplitViewWillResizeSubviews: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSSystemColorsDidChangeNotification | let NSSystemColorsDidChangeNotification: String |
To | NSSystemColorsDidChange | static let NSSystemColorsDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTableViewColumnDidMoveNotification | let NSTableViewColumnDidMoveNotification: String |
To | NSTableViewColumnDidMove | static let NSTableViewColumnDidMove: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTableViewColumnDidResizeNotification | let NSTableViewColumnDidResizeNotification: String |
To | NSTableViewColumnDidResize | static let NSTableViewColumnDidResize: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTableViewSelectionDidChangeNotification | let NSTableViewSelectionDidChangeNotification: String |
To | NSTableViewSelectionDidChange | static let NSTableViewSelectionDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTableViewSelectionIsChangingNotification | let NSTableViewSelectionIsChangingNotification: String |
To | NSTableViewSelectionIsChanging | static let NSTableViewSelectionIsChanging: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextAlternativesSelectedAlternativeStringNotification | let NSTextAlternativesSelectedAlternativeStringNotification: String |
To | NSTextAlternativesSelectedAlternativeString | static let NSTextAlternativesSelectedAlternativeString: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextDidBeginEditingNotification | let NSTextDidBeginEditingNotification: String |
To | NSTextDidBeginEditing | static let NSTextDidBeginEditing: NSNotification.Name |
Modified NSNotification.Name.NSTextDidChange
Name | Declaration | |
---|---|---|
From | NSTextDidChangeNotification | let NSTextDidChangeNotification: String |
To | NSTextDidChange | static let NSTextDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextDidEndEditingNotification | let NSTextDidEndEditingNotification: String |
To | NSTextDidEndEditing | static let NSTextDidEndEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextInputContextKeyboardSelectionDidChangeNotification | let NSTextInputContextKeyboardSelectionDidChangeNotification: String |
To | NSTextInputContextKeyboardSelectionDidChange | static let NSTextInputContextKeyboardSelectionDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextStorageDidProcessEditingNotification | let NSTextStorageDidProcessEditingNotification: String |
To | NSTextStorageDidProcessEditing | static let NSTextStorageDidProcessEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextStorageWillProcessEditingNotification | let NSTextStorageWillProcessEditingNotification: String |
To | NSTextStorageWillProcessEditing | static let NSTextStorageWillProcessEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextViewDidChangeSelectionNotification | let NSTextViewDidChangeSelectionNotification: String |
To | NSTextViewDidChangeSelection | static let NSTextViewDidChangeSelection: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextViewDidChangeTypingAttributesNotification | let NSTextViewDidChangeTypingAttributesNotification: String |
To | NSTextViewDidChangeTypingAttributes | static let NSTextViewDidChangeTypingAttributes: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextViewWillChangeNotifyingTextViewNotification | let NSTextViewWillChangeNotifyingTextViewNotification: String |
To | NSTextViewWillChangeNotifyingTextView | static let NSTextViewWillChangeNotifyingTextView: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSToolbarDidRemoveItemNotification | let NSToolbarDidRemoveItemNotification: String |
To | NSToolbarDidRemoveItem | static let NSToolbarDidRemoveItem: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSToolbarWillAddItemNotification | let NSToolbarWillAddItemNotification: String |
To | NSToolbarWillAddItem | static let NSToolbarWillAddItem: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSViewBoundsDidChangeNotification | let NSViewBoundsDidChangeNotification: String |
To | NSViewBoundsDidChange | static let NSViewBoundsDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSViewDidUpdateTrackingAreasNotification | let NSViewDidUpdateTrackingAreasNotification: String |
To | NSViewDidUpdateTrackingAreas | static let NSViewDidUpdateTrackingAreas: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSViewFocusDidChangeNotification | let NSViewFocusDidChangeNotification: String |
To | NSViewFocusDidChange | static let NSViewFocusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSViewFrameDidChangeNotification | let NSViewFrameDidChangeNotification: String |
To | NSViewFrameDidChange | static let NSViewFrameDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSViewGlobalFrameDidChangeNotification | let NSViewGlobalFrameDidChangeNotification: String |
To | NSViewGlobalFrameDidChange | static let NSViewGlobalFrameDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidBecomeKeyNotification | let NSWindowDidBecomeKeyNotification: String |
To | NSWindowDidBecomeKey | static let NSWindowDidBecomeKey: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidBecomeMainNotification | let NSWindowDidBecomeMainNotification: String |
To | NSWindowDidBecomeMain | static let NSWindowDidBecomeMain: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidChangeBackingPropertiesNotification | let NSWindowDidChangeBackingPropertiesNotification: String |
To | NSWindowDidChangeBackingProperties | static let NSWindowDidChangeBackingProperties: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidChangeOcclusionStateNotification | let NSWindowDidChangeOcclusionStateNotification: String |
To | NSWindowDidChangeOcclusionState | static let NSWindowDidChangeOcclusionState: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidChangeScreenNotification | let NSWindowDidChangeScreenNotification: String |
To | NSWindowDidChangeScreen | static let NSWindowDidChangeScreen: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidChangeScreenProfileNotification | let NSWindowDidChangeScreenProfileNotification: String |
To | NSWindowDidChangeScreenProfile | static let NSWindowDidChangeScreenProfile: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidDeminiaturizeNotification | let NSWindowDidDeminiaturizeNotification: String |
To | NSWindowDidDeminiaturize | static let NSWindowDidDeminiaturize: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidEndLiveResizeNotification | let NSWindowDidEndLiveResizeNotification: String |
To | NSWindowDidEndLiveResize | static let NSWindowDidEndLiveResize: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidEndSheetNotification | let NSWindowDidEndSheetNotification: String |
To | NSWindowDidEndSheet | static let NSWindowDidEndSheet: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidEnterFullScreenNotification | let NSWindowDidEnterFullScreenNotification: String |
To | NSWindowDidEnterFullScreen | static let NSWindowDidEnterFullScreen: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidEnterVersionBrowserNotification | let NSWindowDidEnterVersionBrowserNotification: String |
To | NSWindowDidEnterVersionBrowser | static let NSWindowDidEnterVersionBrowser: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidExitFullScreenNotification | let NSWindowDidExitFullScreenNotification: String |
To | NSWindowDidExitFullScreen | static let NSWindowDidExitFullScreen: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidExitVersionBrowserNotification | let NSWindowDidExitVersionBrowserNotification: String |
To | NSWindowDidExitVersionBrowser | static let NSWindowDidExitVersionBrowser: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidExposeNotification | let NSWindowDidExposeNotification: String |
To | NSWindowDidExpose | static let NSWindowDidExpose: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidMiniaturizeNotification | let NSWindowDidMiniaturizeNotification: String |
To | NSWindowDidMiniaturize | static let NSWindowDidMiniaturize: NSNotification.Name |
Modified NSNotification.Name.NSWindowDidMove
Name | Declaration | |
---|---|---|
From | NSWindowDidMoveNotification | let NSWindowDidMoveNotification: String |
To | NSWindowDidMove | static let NSWindowDidMove: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidResignKeyNotification | let NSWindowDidResignKeyNotification: String |
To | NSWindowDidResignKey | static let NSWindowDidResignKey: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidResignMainNotification | let NSWindowDidResignMainNotification: String |
To | NSWindowDidResignMain | static let NSWindowDidResignMain: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidResizeNotification | let NSWindowDidResizeNotification: String |
To | NSWindowDidResize | static let NSWindowDidResize: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowDidUpdateNotification | let NSWindowDidUpdateNotification: String |
To | NSWindowDidUpdate | static let NSWindowDidUpdate: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillBeginSheetNotification | let NSWindowWillBeginSheetNotification: String |
To | NSWindowWillBeginSheet | static let NSWindowWillBeginSheet: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillCloseNotification | let NSWindowWillCloseNotification: String |
To | NSWindowWillClose | static let NSWindowWillClose: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillEnterFullScreenNotification | let NSWindowWillEnterFullScreenNotification: String |
To | NSWindowWillEnterFullScreen | static let NSWindowWillEnterFullScreen: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillEnterVersionBrowserNotification | let NSWindowWillEnterVersionBrowserNotification: String |
To | NSWindowWillEnterVersionBrowser | static let NSWindowWillEnterVersionBrowser: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillExitFullScreenNotification | let NSWindowWillExitFullScreenNotification: String |
To | NSWindowWillExitFullScreen | static let NSWindowWillExitFullScreen: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillExitVersionBrowserNotification | let NSWindowWillExitVersionBrowserNotification: String |
To | NSWindowWillExitVersionBrowser | static let NSWindowWillExitVersionBrowser: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillMiniaturizeNotification | let NSWindowWillMiniaturizeNotification: String |
To | NSWindowWillMiniaturize | static let NSWindowWillMiniaturize: NSNotification.Name |
Modified NSNotification.Name.NSWindowWillMove
Name | Declaration | |
---|---|---|
From | NSWindowWillMoveNotification | let NSWindowWillMoveNotification: String |
To | NSWindowWillMove | static let NSWindowWillMove: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWindowWillStartLiveResizeNotification | let NSWindowWillStartLiveResizeNotification: String |
To | NSWindowWillStartLiveResize | static let NSWindowWillStartLiveResize: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification | let NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification: String |
To | NSWorkspaceAccessibilityDisplayOptionsDidChange | static let NSWorkspaceAccessibilityDisplayOptionsDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceActiveSpaceDidChangeNotification | let NSWorkspaceActiveSpaceDidChangeNotification: String |
To | NSWorkspaceActiveSpaceDidChange | static let NSWorkspaceActiveSpaceDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidActivateApplicationNotification | let NSWorkspaceDidActivateApplicationNotification: String |
To | NSWorkspaceDidActivateApplication | static let NSWorkspaceDidActivateApplication: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidChangeFileLabelsNotification | let NSWorkspaceDidChangeFileLabelsNotification: String |
To | NSWorkspaceDidChangeFileLabels | static let NSWorkspaceDidChangeFileLabels: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidDeactivateApplicationNotification | let NSWorkspaceDidDeactivateApplicationNotification: String |
To | NSWorkspaceDidDeactivateApplication | static let NSWorkspaceDidDeactivateApplication: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidHideApplicationNotification | let NSWorkspaceDidHideApplicationNotification: String |
To | NSWorkspaceDidHideApplication | static let NSWorkspaceDidHideApplication: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidLaunchApplicationNotification | let NSWorkspaceDidLaunchApplicationNotification: String |
To | NSWorkspaceDidLaunchApplication | static let NSWorkspaceDidLaunchApplication: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidMountNotification | let NSWorkspaceDidMountNotification: String |
To | NSWorkspaceDidMount | static let NSWorkspaceDidMount: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidPerformFileOperationNotification | let NSWorkspaceDidPerformFileOperationNotification: String |
To | NSWorkspaceDidPerformFileOperation | static let NSWorkspaceDidPerformFileOperation: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidRenameVolumeNotification | let NSWorkspaceDidRenameVolumeNotification: String |
To | NSWorkspaceDidRenameVolume | static let NSWorkspaceDidRenameVolume: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidTerminateApplicationNotification | let NSWorkspaceDidTerminateApplicationNotification: String |
To | NSWorkspaceDidTerminateApplication | static let NSWorkspaceDidTerminateApplication: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidUnhideApplicationNotification | let NSWorkspaceDidUnhideApplicationNotification: String |
To | NSWorkspaceDidUnhideApplication | static let NSWorkspaceDidUnhideApplication: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidUnmountNotification | let NSWorkspaceDidUnmountNotification: String |
To | NSWorkspaceDidUnmount | static let NSWorkspaceDidUnmount: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceDidWakeNotification | let NSWorkspaceDidWakeNotification: String |
To | NSWorkspaceDidWake | static let NSWorkspaceDidWake: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceScreensDidSleepNotification | let NSWorkspaceScreensDidSleepNotification: String |
To | NSWorkspaceScreensDidSleep | static let NSWorkspaceScreensDidSleep: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceScreensDidWakeNotification | let NSWorkspaceScreensDidWakeNotification: String |
To | NSWorkspaceScreensDidWake | static let NSWorkspaceScreensDidWake: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceSessionDidBecomeActiveNotification | let NSWorkspaceSessionDidBecomeActiveNotification: String |
To | NSWorkspaceSessionDidBecomeActive | static let NSWorkspaceSessionDidBecomeActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceSessionDidResignActiveNotification | let NSWorkspaceSessionDidResignActiveNotification: String |
To | NSWorkspaceSessionDidResignActive | static let NSWorkspaceSessionDidResignActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceWillLaunchApplicationNotification | let NSWorkspaceWillLaunchApplicationNotification: String |
To | NSWorkspaceWillLaunchApplication | static let NSWorkspaceWillLaunchApplication: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceWillPowerOffNotification | let NSWorkspaceWillPowerOffNotification: String |
To | NSWorkspaceWillPowerOff | static let NSWorkspaceWillPowerOff: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceWillSleepNotification | let NSWorkspaceWillSleepNotification: String |
To | NSWorkspaceWillSleep | static let NSWorkspaceWillSleep: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSWorkspaceWillUnmountNotification | let NSWorkspaceWillUnmountNotification: String |
To | NSWorkspaceWillUnmount | static let NSWorkspaceWillUnmount: NSNotification.Name |
Declaration | |
---|---|
From | func accessibilityActionNames() -> [AnyObject] |
To | func accessibilityActionNames() -> [Any] |
Declaration | |
---|---|
From | func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [AnyObject] |
To | func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] |
Declaration | |
---|---|
From | func accessibilityAttributeNames() -> [AnyObject] |
To | func accessibilityAttributeNames() -> [Any] |
Declaration | |
---|---|
From | func accessibilityAttributeValue(_ attribute: String) -> AnyObject? |
To | func accessibilityAttributeValue(_ attribute: String) -> Any? |
Declaration | |
---|---|
From | func accessibilityAttributeValue(_ attribute: String, forParameter parameter: AnyObject?) -> AnyObject? |
To | func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? |
Declaration | |
---|---|
From | var accessibilityFocusedUIElement: AnyObject? { get } |
To | var accessibilityFocusedUIElement: Any? { get } |
Declaration | |
---|---|
From | func accessibilityHitTest(_ point: NSPoint) -> AnyObject? |
To | func accessibilityHitTest(_ point: NSPoint) -> Any? |
Declaration | |
---|---|
From | func accessibilityIndexOfChild(_ child: AnyObject) -> Int |
To | func accessibilityIndex(ofChild child: Any) -> Int |
Declaration | |
---|---|
From | func accessibilityParameterizedAttributeNames() -> [AnyObject] |
To | func accessibilityParameterizedAttributeNames() -> [Any] |
Declaration | |
---|---|
From | func accessibilitySetOverrideValue(_ value: AnyObject?, forAttribute attribute: String) -> Bool |
To | func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool |
Declaration | |
---|---|
From | func accessibilitySetValue(_ value: AnyObject?, forAttribute attribute: String) |
To | func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) |
Declaration | |
---|---|
From | func bind(_ binding: String, toObject observable: AnyObject, withKeyPath keyPath: String, options options: [String : AnyObject]?) |
To | func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) |
Modified NSObject.changeColor(_: Any?)
Declaration | |
---|---|
From | func changeColor(_ sender: AnyObject?) |
To | func changeColor(_ sender: Any?) |
Modified NSObject.changeFont(_: Any?)
Declaration | |
---|---|
From | func changeFont(_ sender: AnyObject?) |
To | func changeFont(_ sender: Any?) |
Declaration | |
---|---|
From | func commitEditingWithDelegate(_ delegate: AnyObject?, didCommitSelector didCommitSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func controlTextDidBeginEditing(_ obj: NSNotification) |
To | func controlTextDidBeginEditing(_ obj: Notification) |
Declaration | |
---|---|
From | func controlTextDidChange(_ obj: NSNotification) |
To | func controlTextDidChange(_ obj: Notification) |
Declaration | |
---|---|
From | func controlTextDidEndEditing(_ obj: NSNotification) |
To | func controlTextDidEndEditing(_ obj: Notification) |
Declaration | |
---|---|
From | class func defaultPlaceholderForMarker(_ marker: AnyObject?, withBinding binding: String) -> AnyObject? |
To | class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? |
Declaration | |
---|---|
From | func fontManager(_ sender: AnyObject, willIncludeFont fontName: String) -> Bool |
To | func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool |
Declaration | |
---|---|
From | func infoForBinding(_ binding: String) -> [String : AnyObject]? |
To | func infoForBinding(_ binding: String) -> [String : Any]? |
Declaration | |
---|---|
From | func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, fromWindow window: NSWindow) -> Bool |
To | func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool |
Declaration | |
---|---|
From | func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [String]? |
To | func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? |
Declaration | |
---|---|
From | func objectDidBeginEditing(_ editor: AnyObject) |
To | func objectDidBeginEditing(_ editor: Any) |
Modified NSObject.objectDidEndEditing(_: Any)
Declaration | |
---|---|
From | func objectDidEndEditing(_ editor: AnyObject) |
To | func objectDidEndEditing(_ editor: Any) |
Declaration | |
---|---|
From | class func setDefaultPlaceholder(_ placeholder: AnyObject?, forMarker marker: AnyObject?, withBinding binding: String) |
To | class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) |
Declaration | |
---|---|
From | func textStorageDidProcessEditing(_ notification: NSNotification) |
To | func textStorageDidProcessEditing(_ notification: Notification) |
Declaration | |
---|---|
From | func textStorageWillProcessEditing(_ notification: NSNotification) |
To | func textStorageWillProcessEditing(_ notification: Notification) |
Declaration | |
---|---|
From | func valueClassForBinding(_ binding: String) -> AnyClass? |
To | func valueClassForBinding(_ binding: String) -> Swift.AnyClass? |
Declaration | |
---|---|
From | func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutablePointer<Void>) -> String |
To | func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String |
Modified NSObjectController
Declaration | |
---|---|
From | class NSObjectController : NSController { init(content content: AnyObject?) init?(coder coder: NSCoder) var content: AnyObject? var selection: AnyObject { get } var selectedObjects: [AnyObject] { get } var automaticallyPreparesContent: Bool func prepareContent() var objectClass: AnyClass! func newObject() -> AnyObject func addObject(_ object: AnyObject) func removeObject(_ object: AnyObject) var editable: Bool func add(_ sender: AnyObject?) var canAdd: Bool { get } func remove(_ sender: AnyObject?) var canRemove: Bool { get } func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool } extension NSObjectController { var managedObjectContext: NSManagedObjectContext? var entityName: String? var fetchPredicate: NSPredicate? func fetchWithRequest(_ fetchRequest: NSFetchRequest?, merge merge: Bool) throws func fetch(_ sender: AnyObject?) var usesLazyFetching: Bool func defaultFetchRequest() -> NSFetchRequest } |
To | class NSObjectController : NSController { init(content content: Any?) init?(coder coder: NSCoder) var content: Any? var selection: Any { get } var selectedObjects: [Any] { get } var automaticallyPreparesContent: Bool func prepareContent() var objectClass: Swift.AnyClass! func newObject() -> Any func addObject(_ object: Any) func removeObject(_ object: Any) var isEditable: Bool func add(_ sender: Any?) var canAdd: Bool { get } func remove(_ sender: Any?) var canRemove: Bool { get } func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool var managedObjectContext: NSManagedObjectContext? var entityName: String? var fetchPredicate: NSPredicate? func fetch(with fetchRequest: NSFetchRequest<NSFetchRequestResult>?, merge merge: Bool) throws func fetch(_ sender: Any?) var usesLazyFetching: Bool func defaultFetchRequest() -> NSFetchRequest<NSFetchRequestResult> } extension NSObjectController { var managedObjectContext: NSManagedObjectContext? var entityName: String? var fetchPredicate: NSPredicate? func fetch(with fetchRequest: NSFetchRequest<NSFetchRequestResult>?, merge merge: Bool) throws func fetch(_ sender: Any?) var usesLazyFetching: Bool func defaultFetchRequest() -> NSFetchRequest<NSFetchRequestResult> } |
Modified NSObjectController.add(_: Any?)
Declaration | |
---|---|
From | func add(_ sender: AnyObject?) |
To | func add(_ sender: Any?) |
Modified NSObjectController.addObject(_: Any)
Declaration | |
---|---|
From | func addObject(_ object: AnyObject) |
To | func addObject(_ object: Any) |
Modified NSObjectController.content
Declaration | |
---|---|
From | var content: AnyObject? |
To | var content: Any? |
Declaration | |
---|---|
From | func defaultFetchRequest() -> NSFetchRequest |
To | func defaultFetchRequest() -> NSFetchRequest<NSFetchRequestResult> |
Modified NSObjectController.fetch(_: Any?)
Declaration | |
---|---|
From | func fetch(_ sender: AnyObject?) |
To | func fetch(_ sender: Any?) |
Declaration | |
---|---|
From | func fetchWithRequest(_ fetchRequest: NSFetchRequest?, merge merge: Bool) throws |
To | func fetch(with fetchRequest: NSFetchRequest<NSFetchRequestResult>?, merge merge: Bool) throws |
Declaration | |
---|---|
From | init(content content: AnyObject?) |
To | init(content content: Any?) |
Modified NSObjectController.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Declaration | |
---|---|
From | func newObject() -> AnyObject |
To | func newObject() -> Any |
Modified NSObjectController.objectClass
Declaration | |
---|---|
From | var objectClass: AnyClass! |
To | var objectClass: Swift.AnyClass! |
Modified NSObjectController.remove(_: Any?)
Declaration | |
---|---|
From | func remove(_ sender: AnyObject?) |
To | func remove(_ sender: Any?) |
Declaration | |
---|---|
From | func removeObject(_ object: AnyObject) |
To | func removeObject(_ object: Any) |
Modified NSObjectController.selectedObjects
Declaration | |
---|---|
From | var selectedObjects: [AnyObject] { get } |
To | var selectedObjects: [Any] { get } |
Modified NSObjectController.selection
Declaration | |
---|---|
From | var selection: AnyObject { get } |
To | var selection: Any { get } |
Modified NSOpenGLContext
Declaration | Protocols | |
---|---|---|
From | class NSOpenGLContext : NSObject, NSLocking { init?(format format: NSOpenGLPixelFormat, shareContext share: NSOpenGLContext?) init?(CGLContextObj context: UnsafeMutablePointer<_CGLContextObject>) var pixelFormat: NSOpenGLPixelFormat { get } unowned(unsafe) var view: NSView? func setFullScreen() func setOffScreen(_ baseaddr: UnsafeMutablePointer<Void>, width width: GLsizei, height height: GLsizei, rowbytes rowbytes: GLint) func clearDrawable() func update() func flushBuffer() func makeCurrentContext() class func clearCurrentContext() class func currentContext() -> NSOpenGLContext? func copyAttributesFromContext(_ context: NSOpenGLContext, withMask mask: GLbitfield) func setValues(_ vals: UnsafePointer<GLint>, forParameter param: NSOpenGLContextParameter) func getValues(_ vals: UnsafeMutablePointer<GLint>, forParameter param: NSOpenGLContextParameter) var currentVirtualScreen: GLint func createTexture(_ target: GLenum, fromView view: NSView, internalFormat format: GLenum) var CGLContextObj: UnsafeMutablePointer<_CGLContextObject> { get } } extension NSOpenGLContext { func setPixelBuffer(_ pixelBuffer: NSOpenGLPixelBuffer, cubeMapFace face: GLenum, mipMapLevel level: GLint, currentVirtualScreen screen: GLint) func pixelBuffer() -> NSOpenGLPixelBuffer? func pixelBufferCubeMapFace() -> GLenum func pixelBufferMipMapLevel() -> GLint func setTextureImageToPixelBuffer(_ pixelBuffer: NSOpenGLPixelBuffer, colorBuffer source: GLenum) } | NSLocking |
To | class NSOpenGLContext : NSObject, NSLocking { init?(format format: NSOpenGLPixelFormat, share share: NSOpenGLContext?) init?(cglContextObj context: UnsafeMutablePointer<_CGLContextObject>) var pixelFormat: NSOpenGLPixelFormat { get } unowned(unsafe) var view: NSView? func setFullScreen() func setOffScreen(_ baseaddr: UnsafeMutableRawPointer, width width: GLsizei, height height: GLsizei, rowbytes rowbytes: GLint) func clearDrawable() func update() func flushBuffer() func makeCurrentContext() class func clearCurrentContext() class func current() -> NSOpenGLContext? func copyAttributes(from context: NSOpenGLContext, withMask mask: GLbitfield) func setValues(_ vals: UnsafePointer<GLint>, for param: NSOpenGLContextParameter) func getValues(_ vals: UnsafeMutablePointer<GLint>, for param: NSOpenGLContextParameter) var currentVirtualScreen: GLint func createTexture(_ target: GLenum, from view: NSView, internalFormat format: GLenum) var cglContextObj: UnsafeMutablePointer<_CGLContextObject>? { get } func setPixelBuffer(_ pixelBuffer: NSOpenGLPixelBuffer, cubeMapFace face: GLenum, mipMapLevel level: GLint, currentVirtualScreen screen: GLint) func pixelBuffer() -> NSOpenGLPixelBuffer? func pixelBufferCubeMapFace() -> GLenum func pixelBufferMipMapLevel() -> GLint func setTextureImageTo(_ pixelBuffer: NSOpenGLPixelBuffer, colorBuffer source: GLenum) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSOpenGLContext : CVarArg { } extension NSOpenGLContext : Equatable, Hashable { var hashValue: Int { get } } extension NSOpenGLContext { func setPixelBuffer(_ pixelBuffer: NSOpenGLPixelBuffer, cubeMapFace face: GLenum, mipMapLevel level: GLint, currentVirtualScreen screen: GLint) func pixelBuffer() -> NSOpenGLPixelBuffer? func pixelBufferCubeMapFace() -> GLenum func pixelBufferMipMapLevel() -> GLint func setTextureImageTo(_ pixelBuffer: NSOpenGLPixelBuffer, colorBuffer source: GLenum) } | CVarArg, Equatable, Hashable, NSLocking |
Modified NSOpenGLContext.cglContextObj
Declaration | |
---|---|
From | var CGLContextObj: UnsafeMutablePointer<_CGLContextObject> { get } |
To | var cglContextObj: UnsafeMutablePointer<_CGLContextObject>? { get } |
Declaration | |
---|---|
From | class func currentContext() -> NSOpenGLContext? |
To | class func current() -> NSOpenGLContext? |
Declaration | |
---|---|
From | func getValues(_ vals: UnsafeMutablePointer<GLint>, forParameter param: NSOpenGLContextParameter) |
To | func getValues(_ vals: UnsafeMutablePointer<GLint>, for param: NSOpenGLContextParameter) |
Declaration | |
---|---|
From | init?(CGLContextObj context: UnsafeMutablePointer<_CGLContextObject>) |
To | init?(cglContextObj context: UnsafeMutablePointer<_CGLContextObject>) |
Declaration | |
---|---|
From | init?(format format: NSOpenGLPixelFormat, shareContext share: NSOpenGLContext?) |
To | init?(format format: NSOpenGLPixelFormat, share share: NSOpenGLContext?) |
Declaration | |
---|---|
From | func setValues(_ vals: UnsafePointer<GLint>, forParameter param: NSOpenGLContextParameter) |
To | func setValues(_ vals: UnsafePointer<GLint>, for param: NSOpenGLContextParameter) |
Modified NSOpenGLContextParameter [enum]
Declaration | |
---|---|
From | enum NSOpenGLContextParameter : Int { case GLCPSwapInterval case GLCPSurfaceOrder case GLCPSurfaceOpacity case GLCPSurfaceBackingSize case GLCPReclaimResources case GLCPCurrentRendererID case GLCPGPUVertexProcessing case GLCPGPUFragmentProcessing case GLCPHasDrawable case GLCPMPSwapsInFlight case GLCPSwapRectangle case GLCPSwapRectangleEnable case GLCPRasterizationEnable case GLCPStateValidation case GLCPSurfaceSurfaceVolatile } |
To | enum NSOpenGLContextParameter : Int { case swapInterval case surfaceOrder case surfaceOpacity case surfaceBackingSize case reclaimResources case currentRendererID case gpuVertexProcessing case gpuFragmentProcessing case hasDrawable case mpSwapsInFlight case swapRectangle case swapRectangleEnable case rasterizationEnable case stateValidation case surfaceSurfaceVolatile } |
Modified NSOpenGLLayer
Declaration | |
---|---|
From | class NSOpenGLLayer : CAOpenGLLayer { unowned(unsafe) var view: NSView? var openGLPixelFormat: NSOpenGLPixelFormat? var openGLContext: NSOpenGLContext? func openGLPixelFormatForDisplayMask(_ mask: UInt32) -> NSOpenGLPixelFormat func openGLContextForPixelFormat(_ pixelFormat: NSOpenGLPixelFormat) -> NSOpenGLContext func canDrawInOpenGLContext(_ context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) -> Bool func drawInOpenGLContext(_ context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) } |
To | class NSOpenGLLayer : CAOpenGLLayer { unowned(unsafe) var view: NSView? var openGLPixelFormat: NSOpenGLPixelFormat? var openGLContext: NSOpenGLContext? func openGLPixelFormat(forDisplayMask mask: UInt32) -> NSOpenGLPixelFormat func openGLContext(for pixelFormat: NSOpenGLPixelFormat) -> NSOpenGLContext func canDraw(in context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) -> Bool func draw(in context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) } |
Declaration | |
---|---|
From | func canDrawInOpenGLContext(_ context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) -> Bool |
To | func canDraw(in context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) -> Bool |
Declaration | |
---|---|
From | func drawInOpenGLContext(_ context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) |
To | func draw(in context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) |
Declaration | |
---|---|
From | func openGLContextForPixelFormat(_ pixelFormat: NSOpenGLPixelFormat) -> NSOpenGLContext |
To | func openGLContext(for pixelFormat: NSOpenGLPixelFormat) -> NSOpenGLContext |
Declaration | |
---|---|
From | func openGLPixelFormatForDisplayMask(_ mask: UInt32) -> NSOpenGLPixelFormat |
To | func openGLPixelFormat(forDisplayMask mask: UInt32) -> NSOpenGLPixelFormat |
Modified NSOpenGLPixelFormat
Declaration | Protocols | |
---|---|---|
From | class NSOpenGLPixelFormat : NSObject, NSCoding { init?(attributes attribs: UnsafePointer<NSOpenGLPixelFormatAttribute>) init?(data attribs: NSData!) init?(CGLPixelFormatObj format: COpaquePointer) func attributes() -> NSData! func setAttributes(_ attribs: NSData!) func getValues(_ vals: UnsafeMutablePointer<GLint>, forAttribute attrib: NSOpenGLPixelFormatAttribute, forVirtualScreen screen: GLint) var numberOfVirtualScreens: GLint { get } var CGLPixelFormatObj: COpaquePointer { get } } | NSCoding |
To | class NSOpenGLPixelFormat : NSObject, NSCoding { init?(cglPixelFormatObj format: OpaquePointer) convenience init?(attributes attribs: UnsafePointer<NSOpenGLPixelFormatAttribute>) convenience init?(data attribs: Data!) func attributes() -> Data! func setAttributes(_ attribs: Data!) func getValues(_ vals: UnsafeMutablePointer<GLint>, forAttribute attrib: NSOpenGLPixelFormatAttribute, forVirtualScreen screen: GLint) var numberOfVirtualScreens: GLint { get } var cglPixelFormatObj: OpaquePointer? { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSOpenGLPixelFormat : CVarArg { } extension NSOpenGLPixelFormat : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | var CGLPixelFormatObj: COpaquePointer { get } |
To | var cglPixelFormatObj: OpaquePointer? { get } |
Declaration | |
---|---|
From | init?(attributes attribs: UnsafePointer<NSOpenGLPixelFormatAttribute>) |
To | convenience init?(attributes attribs: UnsafePointer<NSOpenGLPixelFormatAttribute>) |
Declaration | |
---|---|
From | init?(CGLPixelFormatObj format: COpaquePointer) |
To | init?(cglPixelFormatObj format: OpaquePointer) |
Modified NSOpenGLView
Declaration | Protocols | |
---|---|---|
From | class NSOpenGLView : NSView { class func defaultPixelFormat() -> NSOpenGLPixelFormat init?(frame frameRect: NSRect, pixelFormat format: NSOpenGLPixelFormat?) var openGLContext: NSOpenGLContext? func clearGLContext() func update() func reshape() var pixelFormat: NSOpenGLPixelFormat? func prepareOpenGL() } | -- |
To | class NSOpenGLView : NSView { class func defaultPixelFormat() -> NSOpenGLPixelFormat init?(frame frameRect: NSRect, pixelFormat format: NSOpenGLPixelFormat?) var openGLContext: NSOpenGLContext? func clearGLContext() func update() func reshape() var pixelFormat: NSOpenGLPixelFormat? func prepareOpenGL() var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSOpenGLView : CVarArg { } extension NSOpenGLView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSOpenPanel
Declaration | |
---|---|
From | class NSOpenPanel : NSSavePanel { init() class func openPanel() -> NSOpenPanel var URLs: [NSURL] { get } var resolvesAliases: Bool var canChooseDirectories: Bool var allowsMultipleSelection: Bool var canChooseFiles: Bool var canResolveUbiquitousConflicts: Bool var canDownloadUbiquitousContents: Bool var accessoryViewDisclosed: Bool } extension NSOpenPanel { func filenames() -> [AnyObject] func beginSheetForDirectory(_ path: String?, file name: String?, types fileTypes: [AnyObject]?, modalForWindow docWindow: NSWindow?, modalDelegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func beginForDirectory(_ path: String?, file name: String?, types fileTypes: [AnyObject]?, modelessDelegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func runModalForDirectory(_ path: String?, file name: String?, types fileTypes: [AnyObject]?) -> Int func runModalForTypes(_ fileTypes: [AnyObject]?) -> Int } |
To | class NSOpenPanel : NSSavePanel { init() class func openPanel() -> NSOpenPanel var urls: [URL] { get } var resolvesAliases: Bool var canChooseDirectories: Bool var allowsMultipleSelection: Bool var canChooseFiles: Bool var canResolveUbiquitousConflicts: Bool var canDownloadUbiquitousContents: Bool var isAccessoryViewDisclosed: Bool func filenames() -> [Any] func beginSheet(forDirectory path: String?, file name: String?, types fileTypes: [Any]?, modalFor docWindow: NSWindow?, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func begin(forDirectory path: String?, file name: String?, types fileTypes: [Any]?, modelessDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(forDirectory path: String?, file name: String?, types fileTypes: [Any]?) -> Int func runModal(forTypes fileTypes: [Any]?) -> Int func filename() -> String func directory() -> String func setDirectory(_ path: String?) func requiredFileType() -> String? func setRequiredFileType(_ type: String?) func beginSheet(forDirectory path: String, file name: String?, modalFor docWindow: NSWindow?, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(forDirectory path: String?, file name: String?) -> Int @IBAction func selectText(_ sender: Any?) } extension NSOpenPanel { func filenames() -> [Any] func beginSheet(forDirectory path: String?, file name: String?, types fileTypes: [Any]?, modalFor docWindow: NSWindow?, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func begin(forDirectory path: String?, file name: String?, types fileTypes: [Any]?, modelessDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(forDirectory path: String?, file name: String?, types fileTypes: [Any]?) -> Int func runModal(forTypes fileTypes: [Any]?) -> Int } |
Modified NSOpenPanel.isAccessoryViewDisclosed
Declaration | |
---|---|
From | var accessoryViewDisclosed: Bool |
To | var isAccessoryViewDisclosed: Bool |
Modified NSOpenPanel.urls
Declaration | |
---|---|
From | var URLs: [NSURL] { get } |
To | var urls: [URL] { get } |
Modified NSOpenSavePanelDelegate
Declaration | |
---|---|
From | protocol NSOpenSavePanelDelegate : NSObjectProtocol { optional func panel(_ sender: AnyObject, shouldEnableURL url: NSURL) -> Bool optional func panel(_ sender: AnyObject, validateURL url: NSURL) throws optional func panel(_ sender: AnyObject, didChangeToDirectoryURL url: NSURL?) optional func panel(_ sender: AnyObject, userEnteredFilename filename: String, confirmed okFlag: Bool) -> String? optional func panel(_ sender: AnyObject, willExpand expanding: Bool) optional func panelSelectionDidChange(_ sender: AnyObject?) } |
To | protocol NSOpenSavePanelDelegate : NSObjectProtocol { optional func panel(_ sender: Any, shouldEnable url: URL) -> Bool optional func panel(_ sender: Any, validate url: URL) throws optional func panel(_ sender: Any, didChangeToDirectoryURL url: URL?) optional func panel(_ sender: Any, userEnteredFilename filename: String, confirmed okFlag: Bool) -> String? optional func panel(_ sender: Any, willExpand expanding: Bool) optional func panelSelectionDidChange(_ sender: Any?) } |
Declaration | |
---|---|
From | optional func panel(_ sender: AnyObject, didChangeToDirectoryURL url: NSURL?) |
To | optional func panel(_ sender: Any, didChangeToDirectoryURL url: URL?) |
Declaration | |
---|---|
From | optional func panel(_ sender: AnyObject, shouldEnableURL url: NSURL) -> Bool |
To | optional func panel(_ sender: Any, shouldEnable url: URL) -> Bool |
Modified NSOpenSavePanelDelegate.panel(_: Any, userEnteredFilename: String, confirmed: Bool) -> String?
Declaration | |
---|---|
From | optional func panel(_ sender: AnyObject, userEnteredFilename filename: String, confirmed okFlag: Bool) -> String? |
To | optional func panel(_ sender: Any, userEnteredFilename filename: String, confirmed okFlag: Bool) -> String? |
Declaration | |
---|---|
From | optional func panel(_ sender: AnyObject, validateURL url: NSURL) throws |
To | optional func panel(_ sender: Any, validate url: URL) throws |
Declaration | |
---|---|
From | optional func panel(_ sender: AnyObject, willExpand expanding: Bool) |
To | optional func panel(_ sender: Any, willExpand expanding: Bool) |
Declaration | |
---|---|
From | optional func panelSelectionDidChange(_ sender: AnyObject?) |
To | optional func panelSelectionDidChange(_ sender: Any?) |
Modified NSOutlineView
Declaration | Protocols | |
---|---|---|
From | class NSOutlineView : NSTableView, NSAccessibilityOutline { func setDelegate(_ anObject: NSOutlineViewDelegate?) func delegate() -> NSOutlineViewDelegate? func setDataSource(_ aSource: NSOutlineViewDataSource?) func dataSource() -> NSOutlineViewDataSource? unowned(unsafe) var outlineTableColumn: NSTableColumn? func isExpandable(_ item: AnyObject?) -> Bool func numberOfChildrenOfItem(_ item: AnyObject?) -> Int func child(_ index: Int, ofItem item: AnyObject?) -> AnyObject? func expandItem(_ item: AnyObject?, expandChildren expandChildren: Bool) func expandItem(_ item: AnyObject?) func collapseItem(_ item: AnyObject?, collapseChildren collapseChildren: Bool) func collapseItem(_ item: AnyObject?) func reloadItem(_ item: AnyObject?, reloadChildren reloadChildren: Bool) func reloadItem(_ item: AnyObject?) func parentForItem(_ item: AnyObject?) -> AnyObject? func childIndexForItem(_ item: AnyObject) -> Int func itemAtRow(_ row: Int) -> AnyObject? func rowForItem(_ item: AnyObject?) -> Int func levelForItem(_ item: AnyObject?) -> Int func levelForRow(_ row: Int) -> Int func isItemExpanded(_ item: AnyObject?) -> Bool var indentationPerLevel: CGFloat var indentationMarkerFollowsCell: Bool var autoresizesOutlineColumn: Bool func frameOfOutlineCellAtRow(_ row: Int) -> NSRect func setDropItem(_ item: AnyObject?, dropChildIndex index: Int) func shouldCollapseAutoExpandedItemsForDeposited(_ deposited: Bool) -> Bool var autosaveExpandedItems: Bool func insertItemsAtIndexes(_ indexes: NSIndexSet, inParent parent: AnyObject?, withAnimation animationOptions: NSTableViewAnimationOptions) func removeItemsAtIndexes(_ indexes: NSIndexSet, inParent parent: AnyObject?, withAnimation animationOptions: NSTableViewAnimationOptions) func moveItemAtIndex(_ fromIndex: Int, inParent oldParent: AnyObject?, toIndex toIndex: Int, inParent newParent: AnyObject?) func insertRowsAtIndexes(_ indexes: NSIndexSet, withAnimation animationOptions: NSTableViewAnimationOptions) func removeRowsAtIndexes(_ indexes: NSIndexSet, withAnimation animationOptions: NSTableViewAnimationOptions) func moveRowAtIndex(_ oldIndex: Int, toIndex newIndex: Int) var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection } | NSAccessibilityOutline |
To | class NSOutlineView : NSTableView, NSAccessibilityOutline { weak var delegate: NSOutlineViewDelegate? weak var dataSource: NSOutlineViewDataSource? unowned(unsafe) var outlineTableColumn: NSTableColumn? func isExpandable(_ item: Any?) -> Bool func numberOfChildren(ofItem item: Any?) -> Int func child(_ index: Int, ofItem item: Any?) -> Any? func expandItem(_ item: Any?, expandChildren expandChildren: Bool) func expandItem(_ item: Any?) func collapseItem(_ item: Any?, collapseChildren collapseChildren: Bool) func collapseItem(_ item: Any?) func reloadItem(_ item: Any?, reloadChildren reloadChildren: Bool) func reloadItem(_ item: Any?) func parent(forItem item: Any?) -> Any? func childIndex(forItem item: Any) -> Int func item(atRow row: Int) -> Any? func row(forItem item: Any?) -> Int func level(forItem item: Any?) -> Int func level(forRow row: Int) -> Int func isItemExpanded(_ item: Any?) -> Bool var indentationPerLevel: CGFloat var indentationMarkerFollowsCell: Bool var autoresizesOutlineColumn: Bool func frameOfOutlineCell(atRow row: Int) -> NSRect func setDropItem(_ item: Any?, dropChildIndex index: Int) func shouldCollapseAutoExpandedItems(forDeposited deposited: Bool) -> Bool var autosaveExpandedItems: Bool func insertItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveItem(at fromIndex: Int, inParent oldParent: Any?, to toIndex: Int, inParent newParent: Any?) func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveRow(at oldIndex: Int, to newIndex: Int) var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection var stronglyReferencesItems: Bool func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSOutlineView : CVarArg { } extension NSOutlineView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityOutline |
Declaration | |
---|---|
From | func child(_ index: Int, ofItem item: AnyObject?) -> AnyObject? |
To | func child(_ index: Int, ofItem item: Any?) -> Any? |
Declaration | |
---|---|
From | func childIndexForItem(_ item: AnyObject) -> Int |
To | func childIndex(forItem item: Any) -> Int |
Modified NSOutlineView.collapseItem(_: Any?)
Declaration | |
---|---|
From | func collapseItem(_ item: AnyObject?) |
To | func collapseItem(_ item: Any?) |
Declaration | |
---|---|
From | func collapseItem(_ item: AnyObject?, collapseChildren collapseChildren: Bool) |
To | func collapseItem(_ item: Any?, collapseChildren collapseChildren: Bool) |
Modified NSOutlineView.expandItem(_: Any?)
Declaration | |
---|---|
From | func expandItem(_ item: AnyObject?) |
To | func expandItem(_ item: Any?) |
Declaration | |
---|---|
From | func expandItem(_ item: AnyObject?, expandChildren expandChildren: Bool) |
To | func expandItem(_ item: Any?, expandChildren expandChildren: Bool) |
Declaration | |
---|---|
From | func frameOfOutlineCellAtRow(_ row: Int) -> NSRect |
To | func frameOfOutlineCell(atRow row: Int) -> NSRect |
Modified NSOutlineView.insertItems(at: IndexSet, inParent: Any?, withAnimation: NSTableViewAnimationOptions)
Declaration | |
---|---|
From | func insertItemsAtIndexes(_ indexes: NSIndexSet, inParent parent: AnyObject?, withAnimation animationOptions: NSTableViewAnimationOptions) |
To | func insertItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) |
Declaration | |
---|---|
From | func isExpandable(_ item: AnyObject?) -> Bool |
To | func isExpandable(_ item: Any?) -> Bool |
Declaration | |
---|---|
From | func isItemExpanded(_ item: AnyObject?) -> Bool |
To | func isItemExpanded(_ item: Any?) -> Bool |
Declaration | |
---|---|
From | func itemAtRow(_ row: Int) -> AnyObject? |
To | func item(atRow row: Int) -> Any? |
Declaration | |
---|---|
From | func levelForItem(_ item: AnyObject?) -> Int |
To | func level(forItem item: Any?) -> Int |
Declaration | |
---|---|
From | func levelForRow(_ row: Int) -> Int |
To | func level(forRow row: Int) -> Int |
Declaration | |
---|---|
From | func moveItemAtIndex(_ fromIndex: Int, inParent oldParent: AnyObject?, toIndex toIndex: Int, inParent newParent: AnyObject?) |
To | func moveItem(at fromIndex: Int, inParent oldParent: Any?, to toIndex: Int, inParent newParent: Any?) |
Declaration | |
---|---|
From | func numberOfChildrenOfItem(_ item: AnyObject?) -> Int |
To | func numberOfChildren(ofItem item: Any?) -> Int |
Declaration | |
---|---|
From | func parentForItem(_ item: AnyObject?) -> AnyObject? |
To | func parent(forItem item: Any?) -> Any? |
Modified NSOutlineView.reloadItem(_: Any?)
Declaration | |
---|---|
From | func reloadItem(_ item: AnyObject?) |
To | func reloadItem(_ item: Any?) |
Declaration | |
---|---|
From | func reloadItem(_ item: AnyObject?, reloadChildren reloadChildren: Bool) |
To | func reloadItem(_ item: Any?, reloadChildren reloadChildren: Bool) |
Modified NSOutlineView.removeItems(at: IndexSet, inParent: Any?, withAnimation: NSTableViewAnimationOptions)
Declaration | |
---|---|
From | func removeItemsAtIndexes(_ indexes: NSIndexSet, inParent parent: AnyObject?, withAnimation animationOptions: NSTableViewAnimationOptions) |
To | func removeItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) |
Declaration | |
---|---|
From | func rowForItem(_ item: AnyObject?) -> Int |
To | func row(forItem item: Any?) -> Int |
Declaration | |
---|---|
From | func setDropItem(_ item: AnyObject?, dropChildIndex index: Int) |
To | func setDropItem(_ item: Any?, dropChildIndex index: Int) |
Declaration | |
---|---|
From | func shouldCollapseAutoExpandedItemsForDeposited(_ deposited: Bool) -> Bool |
To | func shouldCollapseAutoExpandedItems(forDeposited deposited: Bool) -> Bool |
Modified NSOutlineViewDataSource
Declaration | |
---|---|
From | protocol NSOutlineViewDataSource : NSObjectProtocol { optional func outlineView(_ outlineView: NSOutlineView, numberOfChildrenOfItem item: AnyObject?) -> Int optional func outlineView(_ outlineView: NSOutlineView, child index: Int, ofItem item: AnyObject?) -> AnyObject optional func outlineView(_ outlineView: NSOutlineView, isItemExpandable item: AnyObject) -> Bool optional func outlineView(_ outlineView: NSOutlineView, objectValueForTableColumn tableColumn: NSTableColumn?, byItem item: AnyObject?) -> AnyObject? optional func outlineView(_ outlineView: NSOutlineView, setObjectValue object: AnyObject?, forTableColumn tableColumn: NSTableColumn?, byItem item: AnyObject?) optional func outlineView(_ outlineView: NSOutlineView, itemForPersistentObject object: AnyObject) -> AnyObject? optional func outlineView(_ outlineView: NSOutlineView, persistentObjectForItem item: AnyObject?) -> AnyObject? optional func outlineView(_ outlineView: NSOutlineView, sortDescriptorsDidChange oldDescriptors: [NSSortDescriptor]) optional func outlineView(_ outlineView: NSOutlineView, pasteboardWriterForItem item: AnyObject) -> NSPasteboardWriting? optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forItems draggedItems: [AnyObject]) optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, operation operation: NSDragOperation) optional func outlineView(_ outlineView: NSOutlineView, writeItems items: [AnyObject], toPasteboard pasteboard: NSPasteboard) -> Bool optional func outlineView(_ outlineView: NSOutlineView, updateDraggingItemsForDrag draggingInfo: NSDraggingInfo) optional func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: AnyObject?, proposedChildIndex index: Int) -> NSDragOperation optional func outlineView(_ outlineView: NSOutlineView, acceptDrop info: NSDraggingInfo, item item: AnyObject?, childIndex index: Int) -> Bool optional func outlineView(_ outlineView: NSOutlineView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedItems items: [AnyObject]) -> [String] } |
To | protocol NSOutlineViewDataSource : NSObjectProtocol { optional func outlineView(_ outlineView: NSOutlineView, numberOfChildrenOfItem item: Any?) -> Int optional func outlineView(_ outlineView: NSOutlineView, child index: Int, ofItem item: Any?) -> Any optional func outlineView(_ outlineView: NSOutlineView, isItemExpandable item: Any) -> Bool optional func outlineView(_ outlineView: NSOutlineView, objectValueFor tableColumn: NSTableColumn?, byItem item: Any?) -> Any? optional func outlineView(_ outlineView: NSOutlineView, setObjectValue object: Any?, for tableColumn: NSTableColumn?, byItem item: Any?) optional func outlineView(_ outlineView: NSOutlineView, itemForPersistentObject object: Any) -> Any? optional func outlineView(_ outlineView: NSOutlineView, persistentObjectForItem item: Any?) -> Any? optional func outlineView(_ outlineView: NSOutlineView, sortDescriptorsDidChange oldDescriptors: [NSSortDescriptor]) optional func outlineView(_ outlineView: NSOutlineView, pasteboardWriterForItem item: Any) -> NSPasteboardWriting? optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forItems draggedItems: [Any]) optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) optional func outlineView(_ outlineView: NSOutlineView, writeItems items: [Any], to pasteboard: NSPasteboard) -> Bool optional func outlineView(_ outlineView: NSOutlineView, updateDraggingItemsForDrag draggingInfo: NSDraggingInfo) optional func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: Any?, proposedChildIndex index: Int) -> NSDragOperation optional func outlineView(_ outlineView: NSOutlineView, acceptDrop info: NSDraggingInfo, item item: Any?, childIndex index: Int) -> Bool optional func outlineView(_ outlineView: NSOutlineView, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedItems items: [Any]) -> [String] } |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, acceptDrop info: NSDraggingInfo, item item: AnyObject?, childIndex index: Int) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, acceptDrop info: NSDraggingInfo, item item: Any?, childIndex index: Int) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, child index: Int, ofItem item: AnyObject?) -> AnyObject |
To | optional func outlineView(_ outlineView: NSOutlineView, child index: Int, ofItem item: Any?) -> Any |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, operation operation: NSDragOperation) |
To | optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forItems draggedItems: [AnyObject]) |
To | optional func outlineView(_ outlineView: NSOutlineView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forItems draggedItems: [Any]) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, isItemExpandable item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, isItemExpandable item: Any) -> Bool |
Modified NSOutlineViewDataSource.outlineView(_: NSOutlineView, itemForPersistentObject: Any) -> Any?
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, itemForPersistentObject object: AnyObject) -> AnyObject? |
To | optional func outlineView(_ outlineView: NSOutlineView, itemForPersistentObject object: Any) -> Any? |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedItems items: [AnyObject]) -> [String] |
To | optional func outlineView(_ outlineView: NSOutlineView, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedItems items: [Any]) -> [String] |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, numberOfChildrenOfItem item: AnyObject?) -> Int |
To | optional func outlineView(_ outlineView: NSOutlineView, numberOfChildrenOfItem item: Any?) -> Int |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, objectValueForTableColumn tableColumn: NSTableColumn?, byItem item: AnyObject?) -> AnyObject? |
To | optional func outlineView(_ outlineView: NSOutlineView, objectValueFor tableColumn: NSTableColumn?, byItem item: Any?) -> Any? |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, pasteboardWriterForItem item: AnyObject) -> NSPasteboardWriting? |
To | optional func outlineView(_ outlineView: NSOutlineView, pasteboardWriterForItem item: Any) -> NSPasteboardWriting? |
Modified NSOutlineViewDataSource.outlineView(_: NSOutlineView, persistentObjectForItem: Any?) -> Any?
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, persistentObjectForItem item: AnyObject?) -> AnyObject? |
To | optional func outlineView(_ outlineView: NSOutlineView, persistentObjectForItem item: Any?) -> Any? |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, setObjectValue object: AnyObject?, forTableColumn tableColumn: NSTableColumn?, byItem item: AnyObject?) |
To | optional func outlineView(_ outlineView: NSOutlineView, setObjectValue object: Any?, for tableColumn: NSTableColumn?, byItem item: Any?) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: AnyObject?, proposedChildIndex index: Int) -> NSDragOperation |
To | optional func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: Any?, proposedChildIndex index: Int) -> NSDragOperation |
Modified NSOutlineViewDataSource.outlineView(_: NSOutlineView, writeItems: [Any], to: NSPasteboard) -> Bool
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, writeItems items: [AnyObject], toPasteboard pasteboard: NSPasteboard) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, writeItems items: [Any], to pasteboard: NSPasteboard) -> Bool |
Modified NSOutlineViewDelegate
Declaration | |
---|---|
From | protocol NSOutlineViewDelegate : NSControlTextEditingDelegate { optional func outlineView(_ outlineView: NSOutlineView, viewForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> NSView? optional func outlineView(_ outlineView: NSOutlineView, rowViewForItem item: AnyObject) -> NSTableRowView? optional func outlineView(_ outlineView: NSOutlineView, didAddRowView rowView: NSTableRowView, forRow row: Int) optional func outlineView(_ outlineView: NSOutlineView, didRemoveRowView rowView: NSTableRowView, forRow row: Int) optional func outlineView(_ outlineView: NSOutlineView, willDisplayCell cell: AnyObject, forTableColumn tableColumn: NSTableColumn?, item item: AnyObject) optional func outlineView(_ outlineView: NSOutlineView, shouldEditTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> Bool optional func selectionShouldChangeInOutlineView(_ outlineView: NSOutlineView) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldSelectItem item: AnyObject) -> Bool optional func outlineView(_ outlineView: NSOutlineView, selectionIndexesForProposedSelection proposedSelectionIndexes: NSIndexSet) -> NSIndexSet optional func outlineView(_ outlineView: NSOutlineView, shouldSelectTableColumn tableColumn: NSTableColumn?) -> Bool optional func outlineView(_ outlineView: NSOutlineView, mouseDownInHeaderOfTableColumn tableColumn: NSTableColumn) optional func outlineView(_ outlineView: NSOutlineView, didClickTableColumn tableColumn: NSTableColumn) optional func outlineView(_ outlineView: NSOutlineView, didDragTableColumn tableColumn: NSTableColumn) optional func outlineView(_ outlineView: NSOutlineView, toolTipForCell cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, item item: AnyObject, mouseLocation mouseLocation: NSPoint) -> String optional func outlineView(_ outlineView: NSOutlineView, heightOfRowByItem item: AnyObject) -> CGFloat optional func outlineView(_ outlineView: NSOutlineView, typeSelectStringForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> String? optional func outlineView(_ outlineView: NSOutlineView, nextTypeSelectMatchFromItem startItem: AnyObject, toItem endItem: AnyObject, forString searchString: String) -> AnyObject? optional func outlineView(_ outlineView: NSOutlineView, shouldTypeSelectForEvent event: NSEvent, withCurrentSearchString searchString: String?) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldShowCellExpansionForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldTrackCell cell: NSCell, forTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> Bool optional func outlineView(_ outlineView: NSOutlineView, dataCellForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> NSCell? optional func outlineView(_ outlineView: NSOutlineView, isGroupItem item: AnyObject) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldExpandItem item: AnyObject) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldCollapseItem item: AnyObject) -> Bool optional func outlineView(_ outlineView: NSOutlineView, willDisplayOutlineCell cell: AnyObject, forTableColumn tableColumn: NSTableColumn?, item item: AnyObject) optional func outlineView(_ outlineView: NSOutlineView, sizeToFitWidthOfColumn column: Int) -> CGFloat optional func outlineView(_ outlineView: NSOutlineView, shouldReorderColumn columnIndex: Int, toColumn newColumnIndex: Int) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldShowOutlineCellForItem item: AnyObject) -> Bool optional func outlineViewSelectionDidChange(_ notification: NSNotification) optional func outlineViewColumnDidMove(_ notification: NSNotification) optional func outlineViewColumnDidResize(_ notification: NSNotification) optional func outlineViewSelectionIsChanging(_ notification: NSNotification) optional func outlineViewItemWillExpand(_ notification: NSNotification) optional func outlineViewItemDidExpand(_ notification: NSNotification) optional func outlineViewItemWillCollapse(_ notification: NSNotification) optional func outlineViewItemDidCollapse(_ notification: NSNotification) } |
To | protocol NSOutlineViewDelegate : NSControlTextEditingDelegate { optional func outlineView(_ outlineView: NSOutlineView, viewFor tableColumn: NSTableColumn?, item item: Any) -> NSView? optional func outlineView(_ outlineView: NSOutlineView, rowViewForItem item: Any) -> NSTableRowView? optional func outlineView(_ outlineView: NSOutlineView, didAdd rowView: NSTableRowView, forRow row: Int) optional func outlineView(_ outlineView: NSOutlineView, didRemove rowView: NSTableRowView, forRow row: Int) optional func outlineView(_ outlineView: NSOutlineView, willDisplayCell cell: Any, for tableColumn: NSTableColumn?, item item: Any) optional func outlineView(_ outlineView: NSOutlineView, shouldEdit tableColumn: NSTableColumn?, item item: Any) -> Bool optional func selectionShouldChange(in outlineView: NSOutlineView) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldSelectItem item: Any) -> Bool optional func outlineView(_ outlineView: NSOutlineView, selectionIndexesForProposedSelection proposedSelectionIndexes: IndexSet) -> IndexSet optional func outlineView(_ outlineView: NSOutlineView, shouldSelect tableColumn: NSTableColumn?) -> Bool optional func outlineView(_ outlineView: NSOutlineView, mouseDownInHeaderOf tableColumn: NSTableColumn) optional func outlineView(_ outlineView: NSOutlineView, didClick tableColumn: NSTableColumn) optional func outlineView(_ outlineView: NSOutlineView, didDrag tableColumn: NSTableColumn) optional func outlineView(_ outlineView: NSOutlineView, toolTipFor cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, item item: Any, mouseLocation mouseLocation: NSPoint) -> String optional func outlineView(_ outlineView: NSOutlineView, heightOfRowByItem item: Any) -> CGFloat optional func outlineView(_ outlineView: NSOutlineView, typeSelectStringFor tableColumn: NSTableColumn?, item item: Any) -> String? optional func outlineView(_ outlineView: NSOutlineView, nextTypeSelectMatchFromItem startItem: Any, toItem endItem: Any, for searchString: String) -> Any? optional func outlineView(_ outlineView: NSOutlineView, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldShowCellExpansionFor tableColumn: NSTableColumn?, item item: Any) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldTrackCell cell: NSCell, for tableColumn: NSTableColumn?, item item: Any) -> Bool optional func outlineView(_ outlineView: NSOutlineView, dataCellFor tableColumn: NSTableColumn?, item item: Any) -> NSCell? optional func outlineView(_ outlineView: NSOutlineView, isGroupItem item: Any) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldExpandItem item: Any) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldCollapseItem item: Any) -> Bool optional func outlineView(_ outlineView: NSOutlineView, willDisplayOutlineCell cell: Any, for tableColumn: NSTableColumn?, item item: Any) optional func outlineView(_ outlineView: NSOutlineView, sizeToFitWidthOfColumn column: Int) -> CGFloat optional func outlineView(_ outlineView: NSOutlineView, shouldReorderColumn columnIndex: Int, toColumn newColumnIndex: Int) -> Bool optional func outlineView(_ outlineView: NSOutlineView, shouldShowOutlineCellForItem item: Any) -> Bool optional func outlineViewSelectionDidChange(_ notification: Notification) optional func outlineViewColumnDidMove(_ notification: Notification) optional func outlineViewColumnDidResize(_ notification: Notification) optional func outlineViewSelectionIsChanging(_ notification: Notification) optional func outlineViewItemWillExpand(_ notification: Notification) optional func outlineViewItemDidExpand(_ notification: Notification) optional func outlineViewItemWillCollapse(_ notification: Notification) optional func outlineViewItemDidCollapse(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, dataCellForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> NSCell? |
To | optional func outlineView(_ outlineView: NSOutlineView, dataCellFor tableColumn: NSTableColumn?, item item: Any) -> NSCell? |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, didAddRowView rowView: NSTableRowView, forRow row: Int) |
To | optional func outlineView(_ outlineView: NSOutlineView, didAdd rowView: NSTableRowView, forRow row: Int) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, didClickTableColumn tableColumn: NSTableColumn) |
To | optional func outlineView(_ outlineView: NSOutlineView, didClick tableColumn: NSTableColumn) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, didDragTableColumn tableColumn: NSTableColumn) |
To | optional func outlineView(_ outlineView: NSOutlineView, didDrag tableColumn: NSTableColumn) |
Modified NSOutlineViewDelegate.outlineView(_: NSOutlineView, didRemove: NSTableRowView, forRow: Int)
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, didRemoveRowView rowView: NSTableRowView, forRow row: Int) |
To | optional func outlineView(_ outlineView: NSOutlineView, didRemove rowView: NSTableRowView, forRow row: Int) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, heightOfRowByItem item: AnyObject) -> CGFloat |
To | optional func outlineView(_ outlineView: NSOutlineView, heightOfRowByItem item: Any) -> CGFloat |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, isGroupItem item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, isGroupItem item: Any) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, mouseDownInHeaderOfTableColumn tableColumn: NSTableColumn) |
To | optional func outlineView(_ outlineView: NSOutlineView, mouseDownInHeaderOf tableColumn: NSTableColumn) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, nextTypeSelectMatchFromItem startItem: AnyObject, toItem endItem: AnyObject, forString searchString: String) -> AnyObject? |
To | optional func outlineView(_ outlineView: NSOutlineView, nextTypeSelectMatchFromItem startItem: Any, toItem endItem: Any, for searchString: String) -> Any? |
Modified NSOutlineViewDelegate.outlineView(_: NSOutlineView, rowViewForItem: Any) -> NSTableRowView?
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, rowViewForItem item: AnyObject) -> NSTableRowView? |
To | optional func outlineView(_ outlineView: NSOutlineView, rowViewForItem item: Any) -> NSTableRowView? |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, selectionIndexesForProposedSelection proposedSelectionIndexes: NSIndexSet) -> NSIndexSet |
To | optional func outlineView(_ outlineView: NSOutlineView, selectionIndexesForProposedSelection proposedSelectionIndexes: IndexSet) -> IndexSet |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldCollapseItem item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldCollapseItem item: Any) -> Bool |
Modified NSOutlineViewDelegate.outlineView(_: NSOutlineView, shouldEdit: NSTableColumn?, item: Any) -> Bool
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldEditTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldEdit tableColumn: NSTableColumn?, item item: Any) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldExpandItem item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldExpandItem item: Any) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldSelectTableColumn tableColumn: NSTableColumn?) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldSelect tableColumn: NSTableColumn?) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldSelectItem item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldSelectItem item: Any) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldShowCellExpansionForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldShowCellExpansionFor tableColumn: NSTableColumn?, item item: Any) -> Bool |
Modified NSOutlineViewDelegate.outlineView(_: NSOutlineView, shouldShowOutlineCellForItem: Any) -> Bool
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldShowOutlineCellForItem item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldShowOutlineCellForItem item: Any) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldTrackCell cell: NSCell, forTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldTrackCell cell: NSCell, for tableColumn: NSTableColumn?, item item: Any) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, shouldTypeSelectForEvent event: NSEvent, withCurrentSearchString searchString: String?) -> Bool |
To | optional func outlineView(_ outlineView: NSOutlineView, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> Bool |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, toolTipForCell cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, item item: AnyObject, mouseLocation mouseLocation: NSPoint) -> String |
To | optional func outlineView(_ outlineView: NSOutlineView, toolTipFor cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, item item: Any, mouseLocation mouseLocation: NSPoint) -> String |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, typeSelectStringForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> String? |
To | optional func outlineView(_ outlineView: NSOutlineView, typeSelectStringFor tableColumn: NSTableColumn?, item item: Any) -> String? |
Modified NSOutlineViewDelegate.outlineView(_: NSOutlineView, viewFor: NSTableColumn?, item: Any) -> NSView?
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, viewForTableColumn tableColumn: NSTableColumn?, item item: AnyObject) -> NSView? |
To | optional func outlineView(_ outlineView: NSOutlineView, viewFor tableColumn: NSTableColumn?, item item: Any) -> NSView? |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, willDisplayCell cell: AnyObject, forTableColumn tableColumn: NSTableColumn?, item item: AnyObject) |
To | optional func outlineView(_ outlineView: NSOutlineView, willDisplayCell cell: Any, for tableColumn: NSTableColumn?, item item: Any) |
Declaration | |
---|---|
From | optional func outlineView(_ outlineView: NSOutlineView, willDisplayOutlineCell cell: AnyObject, forTableColumn tableColumn: NSTableColumn?, item item: AnyObject) |
To | optional func outlineView(_ outlineView: NSOutlineView, willDisplayOutlineCell cell: Any, for tableColumn: NSTableColumn?, item item: Any) |
Declaration | |
---|---|
From | optional func outlineViewColumnDidMove(_ notification: NSNotification) |
To | optional func outlineViewColumnDidMove(_ notification: Notification) |
Declaration | |
---|---|
From | optional func outlineViewColumnDidResize(_ notification: NSNotification) |
To | optional func outlineViewColumnDidResize(_ notification: Notification) |
Declaration | |
---|---|
From | optional func outlineViewItemDidCollapse(_ notification: NSNotification) |
To | optional func outlineViewItemDidCollapse(_ notification: Notification) |
Declaration | |
---|---|
From | optional func outlineViewItemDidExpand(_ notification: NSNotification) |
To | optional func outlineViewItemDidExpand(_ notification: Notification) |
Declaration | |
---|---|
From | optional func outlineViewItemWillCollapse(_ notification: NSNotification) |
To | optional func outlineViewItemWillCollapse(_ notification: Notification) |
Declaration | |
---|---|
From | optional func outlineViewItemWillExpand(_ notification: NSNotification) |
To | optional func outlineViewItemWillExpand(_ notification: Notification) |
Declaration | |
---|---|
From | optional func outlineViewSelectionDidChange(_ notification: NSNotification) |
To | optional func outlineViewSelectionDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | optional func outlineViewSelectionIsChanging(_ notification: NSNotification) |
To | optional func outlineViewSelectionIsChanging(_ notification: Notification) |
Declaration | |
---|---|
From | optional func selectionShouldChangeInOutlineView(_ outlineView: NSOutlineView) -> Bool |
To | optional func selectionShouldChange(in outlineView: NSOutlineView) -> Bool |
Modified NSPageController
Declaration | Protocols | |
---|---|---|
From | class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding { @IBOutlet unowned(unsafe) var delegate: NSPageControllerDelegate? var selectedViewController: NSViewController? { get } var transitionStyle: NSPageControllerTransitionStyle var arrangedObjects: [AnyObject] var selectedIndex: Int func navigateForwardToObject(_ object: AnyObject) func completeTransition() @IBAction func navigateBack(_ sender: AnyObject?) @IBAction func navigateForward(_ sender: AnyObject?) @IBAction func takeSelectedIndexFrom(_ sender: AnyObject?) } | NSAnimatablePropertyContainer, NSCoding |
To | class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding { @IBOutlet unowned(unsafe) var delegate: NSPageControllerDelegate? var selectedViewController: NSViewController? { get } var transitionStyle: NSPageControllerTransitionStyle var arrangedObjects: [Any] var selectedIndex: Int func navigateForward(to object: Any) func completeTransition() @IBAction func navigateBack(_ sender: Any?) @IBAction func navigateForward(_ sender: Any?) @IBAction func takeSelectedIndexFrom(_ sender: Any?) var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPageController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSPageController : CVarArg { } extension NSPageController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer, NSCoding, NSExtensionRequestHandling |
Modified NSPageController.arrangedObjects
Declaration | |
---|---|
From | var arrangedObjects: [AnyObject] |
To | var arrangedObjects: [Any] |
Declaration | |
---|---|
From | @IBAction func navigateBack(_ sender: AnyObject?) |
To | @IBAction func navigateBack(_ sender: Any?) |
Declaration | |
---|---|
From | @IBAction func navigateForward(_ sender: AnyObject?) |
To | @IBAction func navigateForward(_ sender: Any?) |
Declaration | |
---|---|
From | func navigateForwardToObject(_ object: AnyObject) |
To | func navigateForward(to object: Any) |
Declaration | |
---|---|
From | @IBAction func takeSelectedIndexFrom(_ sender: AnyObject?) |
To | @IBAction func takeSelectedIndexFrom(_ sender: Any?) |
Modified NSPageControllerDelegate
Declaration | |
---|---|
From | protocol NSPageControllerDelegate : NSObjectProtocol { optional func pageController(_ pageController: NSPageController, identifierForObject object: AnyObject) -> String optional func pageController(_ pageController: NSPageController, viewControllerForIdentifier identifier: String) -> NSViewController optional func pageController(_ pageController: NSPageController, frameForObject object: AnyObject) -> NSRect optional func pageController(_ pageController: NSPageController, prepareViewController viewController: NSViewController, withObject object: AnyObject) optional func pageController(_ pageController: NSPageController, didTransitionToObject object: AnyObject) optional func pageControllerWillStartLiveTransition(_ pageController: NSPageController) optional func pageControllerDidEndLiveTransition(_ pageController: NSPageController) } |
To | protocol NSPageControllerDelegate : NSObjectProtocol { optional func pageController(_ pageController: NSPageController, identifierFor object: Any) -> String optional func pageController(_ pageController: NSPageController, viewControllerForIdentifier identifier: String) -> NSViewController optional func pageController(_ pageController: NSPageController, frameFor object: Any?) -> NSRect optional func pageController(_ pageController: NSPageController, prepare viewController: NSViewController, with object: Any?) optional func pageController(_ pageController: NSPageController, didTransitionTo object: Any) optional func pageControllerWillStartLiveTransition(_ pageController: NSPageController) optional func pageControllerDidEndLiveTransition(_ pageController: NSPageController) } |
Declaration | |
---|---|
From | optional func pageController(_ pageController: NSPageController, didTransitionToObject object: AnyObject) |
To | optional func pageController(_ pageController: NSPageController, didTransitionTo object: Any) |
Declaration | |
---|---|
From | optional func pageController(_ pageController: NSPageController, frameForObject object: AnyObject) -> NSRect |
To | optional func pageController(_ pageController: NSPageController, frameFor object: Any?) -> NSRect |
Declaration | |
---|---|
From | optional func pageController(_ pageController: NSPageController, identifierForObject object: AnyObject) -> String |
To | optional func pageController(_ pageController: NSPageController, identifierFor object: Any) -> String |
Modified NSPageControllerDelegate.pageController(_: NSPageController, prepare: NSViewController, with: Any?)
Declaration | |
---|---|
From | optional func pageController(_ pageController: NSPageController, prepareViewController viewController: NSViewController, withObject object: AnyObject) |
To | optional func pageController(_ pageController: NSPageController, prepare viewController: NSViewController, with object: Any?) |
Declaration | |
---|---|
From | enum NSPageControllerTransitionStyle : Int { case StackHistory case StackBook case HorizontalStrip } |
To | enum NSPageControllerTransitionStyle : Int { case stackHistory case stackBook case horizontalStrip } |
Declaration | |
---|---|
From | case HorizontalStrip |
To | case horizontalStrip |
Declaration | |
---|---|
From | case StackBook |
To | case stackBook |
Declaration | |
---|---|
From | case StackHistory |
To | case stackHistory |
Modified NSPageLayout
Declaration | Protocols | |
---|---|---|
From | class NSPageLayout : NSObject { init() class func pageLayout() -> NSPageLayout func addAccessoryController(_ accessoryController: NSViewController) func removeAccessoryController(_ accessoryController: NSViewController) var accessoryControllers: [NSViewController] { get } func beginSheetWithPrintInfo(_ printInfo: NSPrintInfo, modalForWindow docWindow: NSWindow, delegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func runModalWithPrintInfo(_ printInfo: NSPrintInfo) -> Int func runModal() -> Int var printInfo: NSPrintInfo? { get } } extension NSPageLayout { func setAccessoryView(_ accessoryView: NSView!) func accessoryView() -> NSView! func readPrintInfo() func writePrintInfo() } | -- |
To | class NSPageLayout : NSObject { init() class func pageLayout() -> NSPageLayout func addAccessoryController(_ accessoryController: NSViewController) func removeAccessoryController(_ accessoryController: NSViewController) var accessoryControllers: [NSViewController] { get } func beginSheet(with printInfo: NSPrintInfo, modalFor docWindow: NSWindow, delegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(with printInfo: NSPrintInfo) -> Int func runModal() -> Int var printInfo: NSPrintInfo? { get } func setAccessoryView(_ accessoryView: NSView!) func accessoryView() -> NSView! func readPrintInfo() func writePrintInfo() func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSPageLayout : CVarArg { } extension NSPageLayout : Equatable, Hashable { var hashValue: Int { get } } extension NSPageLayout { func setAccessoryView(_ accessoryView: NSView!) func accessoryView() -> NSView! func readPrintInfo() func writePrintInfo() } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func beginSheetWithPrintInfo(_ printInfo: NSPrintInfo, modalForWindow docWindow: NSWindow, delegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func beginSheet(with printInfo: NSPrintInfo, modalFor docWindow: NSWindow, delegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func runModalWithPrintInfo(_ printInfo: NSPrintInfo) -> Int |
To | func runModal(with printInfo: NSPrintInfo) -> Int |
Modified NSPanel
Declaration | Protocols | |
---|---|---|
From | class NSPanel : NSWindow { var floatingPanel: Bool var becomesKeyOnlyIfNeeded: Bool var worksWhenModal: Bool } | -- |
To | class NSPanel : NSWindow { var isFloatingPanel: Bool var becomesKeyOnlyIfNeeded: Bool var worksWhenModal: Bool func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Void) var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? var drawers: [NSDrawer]? { get } func visualizeConstraints(_ constraints: [NSLayoutConstraint]) func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) func updateConstraintsIfNeeded() func layoutIfNeeded() class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPanel : CVarArg { } extension NSPanel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSPanel.isFloatingPanel
Declaration | |
---|---|
From | var floatingPanel: Bool |
To | var isFloatingPanel: Bool |
Modified NSPanGestureRecognizer
Declaration | Protocols | |
---|---|---|
From | class NSPanGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int func translationInView(_ view: NSView?) -> NSPoint func setTranslation(_ translation: NSPoint, inView view: NSView?) func velocityInView(_ view: NSView?) -> NSPoint } | NSCoding |
To | class NSPanGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int func translation(in view: NSView?) -> NSPoint func setTranslation(_ translation: NSPoint, in view: NSView?) func velocity(in view: NSView?) -> NSPoint func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPanGestureRecognizer : CVarArg { } extension NSPanGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func setTranslation(_ translation: NSPoint, inView view: NSView?) |
To | func setTranslation(_ translation: NSPoint, in view: NSView?) |
Declaration | |
---|---|
From | func translationInView(_ view: NSView?) -> NSPoint |
To | func translation(in view: NSView?) -> NSPoint |
Declaration | |
---|---|
From | func velocityInView(_ view: NSView?) -> NSPoint |
To | func velocity(in view: NSView?) -> NSPoint |
Modified NSPaperOrientation [enum]
Declaration | |
---|---|
From | enum NSPaperOrientation : Int { case Portrait case Landscape } |
To | enum NSPaperOrientation : Int { case portrait case landscape } |
Modified NSPaperOrientation.landscape
Declaration | |
---|---|
From | case Landscape |
To | case landscape |
Modified NSPaperOrientation.portrait
Declaration | |
---|---|
From | case Portrait |
To | case portrait |
Modified NSParagraphStyle
Declaration | Protocols | |
---|---|---|
From | class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { class func defaultParagraphStyle() -> NSParagraphStyle class func defaultWritingDirectionForLanguage(_ languageName: String?) -> NSWritingDirection var lineSpacing: CGFloat { get } var paragraphSpacing: CGFloat { get } var alignment: NSTextAlignment { get } var headIndent: CGFloat { get } var tailIndent: CGFloat { get } var firstLineHeadIndent: CGFloat { get } var minimumLineHeight: CGFloat { get } var maximumLineHeight: CGFloat { get } var lineBreakMode: NSLineBreakMode { get } var baseWritingDirection: NSWritingDirection { get } var lineHeightMultiple: CGFloat { get } var paragraphSpacingBefore: CGFloat { get } var hyphenationFactor: Float { get } var tabStops: [NSTextTab] { get } var defaultTabInterval: CGFloat { get } var allowsDefaultTighteningForTruncation: Bool { get } var tighteningFactorForTruncation: Float { get } var textBlocks: [NSTextBlock] { get } var textLists: [NSTextList] { get } var headerLevel: Int { get } } | NSCopying, NSMutableCopying, NSSecureCoding |
To | class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { class func `default`() -> NSParagraphStyle class func defaultWritingDirection(forLanguage languageName: String?) -> NSWritingDirection var lineSpacing: CGFloat { get } var paragraphSpacing: CGFloat { get } var alignment: NSTextAlignment { get } var headIndent: CGFloat { get } var tailIndent: CGFloat { get } var firstLineHeadIndent: CGFloat { get } var minimumLineHeight: CGFloat { get } var maximumLineHeight: CGFloat { get } var lineBreakMode: NSLineBreakMode { get } var baseWritingDirection: NSWritingDirection { get } var lineHeightMultiple: CGFloat { get } var paragraphSpacingBefore: CGFloat { get } var hyphenationFactor: Float { get } var tabStops: [NSTextTab] { get } var defaultTabInterval: CGFloat { get } var allowsDefaultTighteningForTruncation: Bool { get } var tighteningFactorForTruncation: Float { get } var textBlocks: [NSTextBlock] { get } var textLists: [NSTextList] { get } var headerLevel: Int { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSParagraphStyle : CVarArg { } extension NSParagraphStyle : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
Modified NSParagraphStyle.default() [class]
Declaration | |
---|---|
From | class func defaultParagraphStyle() -> NSParagraphStyle |
To | class func `default`() -> NSParagraphStyle |
Modified NSParagraphStyle.defaultWritingDirection(forLanguage: String?) -> NSWritingDirection [class]
Declaration | |
---|---|
From | class func defaultWritingDirectionForLanguage(_ languageName: String?) -> NSWritingDirection |
To | class func defaultWritingDirection(forLanguage languageName: String?) -> NSWritingDirection |
Modified NSPasteboard
Declaration | Protocols | |
---|---|---|
From | class NSPasteboard : NSObject { class func generalPasteboard() -> NSPasteboard init(name name: String) class func pasteboardWithName(_ name: String) -> NSPasteboard class func pasteboardWithUniqueName() -> NSPasteboard var name: String { get } var changeCount: Int { get } func releaseGlobally() func clearContents() -> Int func writeObjects(_ objects: [NSPasteboardWriting]) -> Bool func readObjectsForClasses(_ classArray: [AnyClass], options options: [String : AnyObject]?) -> [AnyObject]? var pasteboardItems: [NSPasteboardItem]? { get } func indexOfPasteboardItem(_ pasteboardItem: NSPasteboardItem) -> Int func canReadItemWithDataConformingToTypes(_ types: [String]) -> Bool func canReadObjectForClasses(_ classArray: [AnyClass], options options: [String : AnyObject]?) -> Bool func declareTypes(_ newTypes: [String], owner newOwner: AnyObject?) -> Int func addTypes(_ newTypes: [String], owner newOwner: AnyObject?) -> Int var types: [String]? { get } func availableTypeFromArray(_ types: [String]) -> String? func setData(_ data: NSData?, forType dataType: String) -> Bool func setPropertyList(_ plist: AnyObject, forType dataType: String) -> Bool func setString(_ string: String, forType dataType: String) -> Bool func dataForType(_ dataType: String) -> NSData? func propertyListForType(_ dataType: String) -> AnyObject? func stringForType(_ dataType: String) -> String? } extension NSPasteboard { class func typesFilterableTo(_ type: String) -> [String] init(byFilteringFile filename: String) class func pasteboardByFilteringFile(_ filename: String) -> NSPasteboard init(byFilteringData data: NSData, ofType type: String) class func pasteboardByFilteringData(_ data: NSData, ofType type: String) -> NSPasteboard init(byFilteringTypesInPasteboard pboard: NSPasteboard) class func pasteboardByFilteringTypesInPasteboard(_ pboard: NSPasteboard) -> NSPasteboard } extension NSPasteboard { func writeFileContents(_ filename: String) -> Bool func readFileContentsType(_ type: String?, toFile filename: String) -> String? func writeFileWrapper(_ wrapper: NSFileWrapper) -> Bool func readFileWrapper() -> NSFileWrapper? } | -- |
To | class NSPasteboard : NSObject { class func general() -> NSPasteboard init(name name: String) class func withName(_ name: String) -> NSPasteboard class func withUniqueName() -> NSPasteboard var name: String { get } var changeCount: Int { get } func releaseGlobally() func prepareForNewContents(with options: NSPasteboardContentsOptions = []) -> Int func clearContents() -> Int func writeObjects(_ objects: [NSPasteboardWriting]) -> Bool func readObjects(forClasses classArray: [Swift.AnyClass], options options: [String : Any]? = nil) -> [Any]? var pasteboardItems: [NSPasteboardItem]? { get } func index(of pasteboardItem: NSPasteboardItem) -> Int func canReadItem(withDataConformingToTypes types: [String]) -> Bool func canReadObject(forClasses classArray: [Swift.AnyClass], options options: [String : Any]? = nil) -> Bool func declareTypes(_ newTypes: [String], owner newOwner: Any?) -> Int func addTypes(_ newTypes: [String], owner newOwner: Any?) -> Int var types: [String]? { get } func availableType(from types: [String]) -> String? func setData(_ data: Data?, forType dataType: String) -> Bool func setPropertyList(_ plist: Any, forType dataType: String) -> Bool func setString(_ string: String, forType dataType: String) -> Bool func data(forType dataType: String) -> Data? func propertyList(forType dataType: String) -> Any? func string(forType dataType: String) -> String? class func types(filterableTo type: String) -> [String] init(byFilteringFile filename: String) class func filteringFile(_ filename: String) -> NSPasteboard init(byFilteringData data: Data, ofType type: String) class func filteringData(_ data: Data, ofType type: String) -> NSPasteboard init(byFilteringTypesIn pboard: NSPasteboard) class func filteringTypes(in pboard: NSPasteboard) -> NSPasteboard func writeFileContents(_ filename: String) -> Bool func readFileContentsType(_ type: String?, toFile filename: String) -> String? func write(_ wrapper: FileWrapper) -> Bool func readFileWrapper() -> FileWrapper? class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSPasteboard : CVarArg { } extension NSPasteboard : Equatable, Hashable { var hashValue: Int { get } } extension NSPasteboard { class func types(filterableTo type: String) -> [String] init(byFilteringFile filename: String) class func filteringFile(_ filename: String) -> NSPasteboard init(byFilteringData data: Data, ofType type: String) class func filteringData(_ data: Data, ofType type: String) -> NSPasteboard init(byFilteringTypesIn pboard: NSPasteboard) class func filteringTypes(in pboard: NSPasteboard) -> NSPasteboard } extension NSPasteboard { func writeFileContents(_ filename: String) -> Bool func readFileContentsType(_ type: String?, toFile filename: String) -> String? func write(_ wrapper: FileWrapper) -> Bool func readFileWrapper() -> FileWrapper? } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addTypes(_ newTypes: [String], owner newOwner: AnyObject?) -> Int |
To | func addTypes(_ newTypes: [String], owner newOwner: Any?) -> Int |
Declaration | |
---|---|
From | func availableTypeFromArray(_ types: [String]) -> String? |
To | func availableType(from types: [String]) -> String? |
Declaration | |
---|---|
From | func canReadItemWithDataConformingToTypes(_ types: [String]) -> Bool |
To | func canReadItem(withDataConformingToTypes types: [String]) -> Bool |
Declaration | |
---|---|
From | func canReadObjectForClasses(_ classArray: [AnyClass], options options: [String : AnyObject]?) -> Bool |
To | func canReadObject(forClasses classArray: [Swift.AnyClass], options options: [String : Any]? = nil) -> Bool |
Declaration | |
---|---|
From | func dataForType(_ dataType: String) -> NSData? |
To | func data(forType dataType: String) -> Data? |
Declaration | |
---|---|
From | func declareTypes(_ newTypes: [String], owner newOwner: AnyObject?) -> Int |
To | func declareTypes(_ newTypes: [String], owner newOwner: Any?) -> Int |
Declaration | |
---|---|
From | class func generalPasteboard() -> NSPasteboard |
To | class func general() -> NSPasteboard |
Declaration | |
---|---|
From | func indexOfPasteboardItem(_ pasteboardItem: NSPasteboardItem) -> Int |
To | func index(of pasteboardItem: NSPasteboardItem) -> Int |
Declaration | |
---|---|
From | init(byFilteringData data: NSData, ofType type: String) |
To | init(byFilteringData data: Data, ofType type: String) |
Declaration | |
---|---|
From | init(byFilteringTypesInPasteboard pboard: NSPasteboard) |
To | init(byFilteringTypesIn pboard: NSPasteboard) |
Declaration | |
---|---|
From | func propertyListForType(_ dataType: String) -> AnyObject? |
To | func propertyList(forType dataType: String) -> Any? |
Declaration | |
---|---|
From | func readFileWrapper() -> NSFileWrapper? |
To | func readFileWrapper() -> FileWrapper? |
Declaration | |
---|---|
From | func readObjectsForClasses(_ classArray: [AnyClass], options options: [String : AnyObject]?) -> [AnyObject]? |
To | func readObjects(forClasses classArray: [Swift.AnyClass], options options: [String : Any]? = nil) -> [Any]? |
Declaration | |
---|---|
From | func setData(_ data: NSData?, forType dataType: String) -> Bool |
To | func setData(_ data: Data?, forType dataType: String) -> Bool |
Declaration | |
---|---|
From | func setPropertyList(_ plist: AnyObject, forType dataType: String) -> Bool |
To | func setPropertyList(_ plist: Any, forType dataType: String) -> Bool |
Declaration | |
---|---|
From | func stringForType(_ dataType: String) -> String? |
To | func string(forType dataType: String) -> String? |
Declaration | |
---|---|
From | class func typesFilterableTo(_ type: String) -> [String] |
To | class func types(filterableTo type: String) -> [String] |
Declaration | |
---|---|
From | class func pasteboardWithUniqueName() -> NSPasteboard |
To | class func withUniqueName() -> NSPasteboard |
Declaration | |
---|---|
From | func writeFileWrapper(_ wrapper: NSFileWrapper) -> Bool |
To | func write(_ wrapper: FileWrapper) -> Bool |
Modified NSPasteboardItem
Declaration | Protocols | |
---|---|---|
From | class NSPasteboardItem : NSObject, NSPasteboardWriting, NSPasteboardReading { var types: [String] { get } func availableTypeFromArray(_ types: [String]) -> String? func setDataProvider(_ dataProvider: NSPasteboardItemDataProvider, forTypes types: [AnyObject]) -> Bool func setData(_ data: NSData?, forType type: String) -> Bool func setString(_ string: String?, forType type: String) -> Bool func setPropertyList(_ propertyList: AnyObject?, forType type: String) -> Bool func dataForType(_ type: String) -> NSData? func stringForType(_ type: String) -> String? func propertyListForType(_ type: String) -> AnyObject? } | NSPasteboardReading, NSPasteboardWriting |
To | class NSPasteboardItem : NSObject, NSPasteboardWriting, NSPasteboardReading { var types: [String] { get } func availableType(from types: [String]) -> String? func setDataProvider(_ dataProvider: NSPasteboardItemDataProvider, forTypes types: [Any]) -> Bool func setData(_ data: Data?, forType type: String) -> Bool func setString(_ string: String?, forType type: String) -> Bool func setPropertyList(_ propertyList: Any?, forType type: String) -> Bool func data(forType type: String) -> Data? func string(forType type: String) -> String? func propertyList(forType type: String) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPasteboardItem : CVarArg { } extension NSPasteboardItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSPasteboardReading, NSPasteboardWriting |
Declaration | |
---|---|
From | func availableTypeFromArray(_ types: [String]) -> String? |
To | func availableType(from types: [String]) -> String? |
Declaration | |
---|---|
From | func dataForType(_ type: String) -> NSData? |
To | func data(forType type: String) -> Data? |
Declaration | |
---|---|
From | func propertyListForType(_ type: String) -> AnyObject? |
To | func propertyList(forType type: String) -> Any? |
Declaration | |
---|---|
From | func setData(_ data: NSData?, forType type: String) -> Bool |
To | func setData(_ data: Data?, forType type: String) -> Bool |
Declaration | |
---|---|
From | func setDataProvider(_ dataProvider: NSPasteboardItemDataProvider, forTypes types: [AnyObject]) -> Bool |
To | func setDataProvider(_ dataProvider: NSPasteboardItemDataProvider, forTypes types: [Any]) -> Bool |
Declaration | |
---|---|
From | func setPropertyList(_ propertyList: AnyObject?, forType type: String) -> Bool |
To | func setPropertyList(_ propertyList: Any?, forType type: String) -> Bool |
Declaration | |
---|---|
From | func stringForType(_ type: String) -> String? |
To | func string(forType type: String) -> String? |
Modified NSPasteboardReading
Declaration | |
---|---|
From | protocol NSPasteboardReading : NSObjectProtocol { static func readableTypesForPasteboard(_ pasteboard: NSPasteboard) -> [String] optional static func readingOptionsForType(_ type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardReadingOptions init?(pasteboardPropertyList propertyList: AnyObject, ofType type: String) } |
To | protocol NSPasteboardReading : NSObjectProtocol { static func readableTypes(for pasteboard: NSPasteboard) -> [String] optional static func readingOptions(forType type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardReadingOptions init?(pasteboardPropertyList propertyList: Any, ofType type: String) } |
Declaration | |
---|---|
From | init?(pasteboardPropertyList propertyList: AnyObject, ofType type: String) |
To | init?(pasteboardPropertyList propertyList: Any, ofType type: String) |
Declaration | |
---|---|
From | static func readableTypesForPasteboard(_ pasteboard: NSPasteboard) -> [String] |
To | static func readableTypes(for pasteboard: NSPasteboard) -> [String] |
Declaration | |
---|---|
From | optional static func readingOptionsForType(_ type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardReadingOptions |
To | optional static func readingOptions(forType type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardReadingOptions |
Modified NSPasteboardReadingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSPasteboardReadingOptions : OptionSetType { init(rawValue rawValue: UInt) static var AsData: NSPasteboardReadingOptions { get } static var AsString: NSPasteboardReadingOptions { get } static var AsPropertyList: NSPasteboardReadingOptions { get } static var AsKeyedArchive: NSPasteboardReadingOptions { get } } | OptionSetType |
To | struct NSPasteboardReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var asData: NSPasteboardReadingOptions { get } static var asString: NSPasteboardReadingOptions { get } static var asPropertyList: NSPasteboardReadingOptions { get } static var asKeyedArchive: NSPasteboardReadingOptions { get } func intersect(_ other: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions func exclusiveOr(_ other: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions mutating func unionInPlace(_ other: NSPasteboardReadingOptions) mutating func intersectInPlace(_ other: NSPasteboardReadingOptions) mutating func exclusiveOrInPlace(_ other: NSPasteboardReadingOptions) func isSubsetOf(_ other: NSPasteboardReadingOptions) -> Bool func isDisjointWith(_ other: NSPasteboardReadingOptions) -> Bool func isSupersetOf(_ other: NSPasteboardReadingOptions) -> Bool mutating func subtractInPlace(_ other: NSPasteboardReadingOptions) func isStrictSupersetOf(_ other: NSPasteboardReadingOptions) -> Bool func isStrictSubsetOf(_ other: NSPasteboardReadingOptions) -> Bool } extension NSPasteboardReadingOptions { func union(_ other: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions func intersection(_ other: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions func symmetricDifference(_ other: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions } extension NSPasteboardReadingOptions { func contains(_ member: NSPasteboardReadingOptions) -> Bool mutating func insert(_ newMember: NSPasteboardReadingOptions) -> (inserted: Bool, memberAfterInsert: NSPasteboardReadingOptions) mutating func remove(_ member: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions? mutating func update(with newMember: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions? } extension NSPasteboardReadingOptions { convenience init() mutating func formUnion(_ other: NSPasteboardReadingOptions) mutating func formIntersection(_ other: NSPasteboardReadingOptions) mutating func formSymmetricDifference(_ other: NSPasteboardReadingOptions) } extension NSPasteboardReadingOptions { convenience init<S : Sequence where S.Iterator.Element == NSPasteboardReadingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSPasteboardReadingOptions...) mutating func subtract(_ other: NSPasteboardReadingOptions) func isSubset(of other: NSPasteboardReadingOptions) -> Bool func isSuperset(of other: NSPasteboardReadingOptions) -> Bool func isDisjoint(with other: NSPasteboardReadingOptions) -> Bool func subtracting(_ other: NSPasteboardReadingOptions) -> NSPasteboardReadingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSPasteboardReadingOptions) -> Bool func isStrictSubset(of other: NSPasteboardReadingOptions) -> Bool } | OptionSet |
Modified NSPasteboardReadingOptions.asData
Declaration | |
---|---|
From | static var AsData: NSPasteboardReadingOptions { get } |
To | static var asData: NSPasteboardReadingOptions { get } |
Declaration | |
---|---|
From | static var AsKeyedArchive: NSPasteboardReadingOptions { get } |
To | static var asKeyedArchive: NSPasteboardReadingOptions { get } |
Declaration | |
---|---|
From | static var AsPropertyList: NSPasteboardReadingOptions { get } |
To | static var asPropertyList: NSPasteboardReadingOptions { get } |
Modified NSPasteboardReadingOptions.asString
Declaration | |
---|---|
From | static var AsString: NSPasteboardReadingOptions { get } |
To | static var asString: NSPasteboardReadingOptions { get } |
Modified NSPasteboardWriting
Declaration | |
---|---|
From | protocol NSPasteboardWriting : NSObjectProtocol { func writableTypesForPasteboard(_ pasteboard: NSPasteboard) -> [String] optional func writingOptionsForType(_ type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardWritingOptions func pasteboardPropertyListForType(_ type: String) -> AnyObject? } |
To | protocol NSPasteboardWriting : NSObjectProtocol { func writableTypes(for pasteboard: NSPasteboard) -> [String] optional func writingOptions(forType type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardWritingOptions func pasteboardPropertyList(forType type: String) -> Any? } |
Declaration | |
---|---|
From | func pasteboardPropertyListForType(_ type: String) -> AnyObject? |
To | func pasteboardPropertyList(forType type: String) -> Any? |
Declaration | |
---|---|
From | func writableTypesForPasteboard(_ pasteboard: NSPasteboard) -> [String] |
To | func writableTypes(for pasteboard: NSPasteboard) -> [String] |
Declaration | |
---|---|
From | optional func writingOptionsForType(_ type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardWritingOptions |
To | optional func writingOptions(forType type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardWritingOptions |
Modified NSPasteboardWritingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSPasteboardWritingOptions : OptionSetType { init(rawValue rawValue: UInt) static var Promised: NSPasteboardWritingOptions { get } } | OptionSetType |
To | struct NSPasteboardWritingOptions : OptionSet { init(rawValue rawValue: UInt) static var promised: NSPasteboardWritingOptions { get } func intersect(_ other: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions func exclusiveOr(_ other: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions mutating func unionInPlace(_ other: NSPasteboardWritingOptions) mutating func intersectInPlace(_ other: NSPasteboardWritingOptions) mutating func exclusiveOrInPlace(_ other: NSPasteboardWritingOptions) func isSubsetOf(_ other: NSPasteboardWritingOptions) -> Bool func isDisjointWith(_ other: NSPasteboardWritingOptions) -> Bool func isSupersetOf(_ other: NSPasteboardWritingOptions) -> Bool mutating func subtractInPlace(_ other: NSPasteboardWritingOptions) func isStrictSupersetOf(_ other: NSPasteboardWritingOptions) -> Bool func isStrictSubsetOf(_ other: NSPasteboardWritingOptions) -> Bool } extension NSPasteboardWritingOptions { func union(_ other: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions func intersection(_ other: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions func symmetricDifference(_ other: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions } extension NSPasteboardWritingOptions { func contains(_ member: NSPasteboardWritingOptions) -> Bool mutating func insert(_ newMember: NSPasteboardWritingOptions) -> (inserted: Bool, memberAfterInsert: NSPasteboardWritingOptions) mutating func remove(_ member: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions? mutating func update(with newMember: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions? } extension NSPasteboardWritingOptions { convenience init() mutating func formUnion(_ other: NSPasteboardWritingOptions) mutating func formIntersection(_ other: NSPasteboardWritingOptions) mutating func formSymmetricDifference(_ other: NSPasteboardWritingOptions) } extension NSPasteboardWritingOptions { convenience init<S : Sequence where S.Iterator.Element == NSPasteboardWritingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSPasteboardWritingOptions...) mutating func subtract(_ other: NSPasteboardWritingOptions) func isSubset(of other: NSPasteboardWritingOptions) -> Bool func isSuperset(of other: NSPasteboardWritingOptions) -> Bool func isDisjoint(with other: NSPasteboardWritingOptions) -> Bool func subtracting(_ other: NSPasteboardWritingOptions) -> NSPasteboardWritingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSPasteboardWritingOptions) -> Bool func isStrictSubset(of other: NSPasteboardWritingOptions) -> Bool } | OptionSet |
Modified NSPasteboardWritingOptions.promised
Declaration | |
---|---|
From | static var Promised: NSPasteboardWritingOptions { get } |
To | static var promised: NSPasteboardWritingOptions { get } |
Modified NSPathCell
Declaration | |
---|---|
From | class NSPathCell : NSActionCell, NSOpenSavePanelDelegate { var pathStyle: NSPathStyle @NSCopying var URL: NSURL? func setObjectValue(_ obj: NSCopying?) var allowedTypes: [String]? unowned(unsafe) var delegate: NSPathCellDelegate? class func pathComponentCellClass() -> AnyClass var pathComponentCells: [NSPathComponentCell] func rectOfPathComponentCell(_ cell: NSPathComponentCell, withFrame frame: NSRect, inView view: NSView) -> NSRect func pathComponentCellAtPoint(_ point: NSPoint, withFrame frame: NSRect, inView view: NSView) -> NSPathComponentCell? var clickedPathComponentCell: NSPathComponentCell? { get } func mouseEntered(_ event: NSEvent, withFrame frame: NSRect, inView view: NSView) func mouseExited(_ event: NSEvent, withFrame frame: NSRect, inView view: NSView) var doubleAction: Selector @NSCopying var backgroundColor: NSColor? var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? } |
To | class NSPathCell : NSActionCell, NSOpenSavePanelDelegate { var pathStyle: NSPathStyle var url: URL? func setObjectValue(_ obj: NSCopying?) var allowedTypes: [String]? unowned(unsafe) var delegate: NSPathCellDelegate? class func pathComponentCellClass() -> Swift.AnyClass var pathComponentCells: [NSPathComponentCell] func rect(of cell: NSPathComponentCell, withFrame frame: NSRect, in view: NSView) -> NSRect func pathComponentCell(at point: NSPoint, withFrame frame: NSRect, in view: NSView) -> NSPathComponentCell? var clickedPathComponentCell: NSPathComponentCell? { get } func mouseEntered(with event: NSEvent, frame frame: NSRect, in view: NSView) func mouseExited(with event: NSEvent, frame frame: NSRect, in view: NSView) var doubleAction: Selector? @NSCopying var backgroundColor: NSColor? var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? } |
Modified NSPathCell.doubleAction
Declaration | |
---|---|
From | var doubleAction: Selector |
To | var doubleAction: Selector? |
Declaration | |
---|---|
From | func mouseEntered(_ event: NSEvent, withFrame frame: NSRect, inView view: NSView) |
To | func mouseEntered(with event: NSEvent, frame frame: NSRect, in view: NSView) |
Declaration | |
---|---|
From | func mouseExited(_ event: NSEvent, withFrame frame: NSRect, inView view: NSView) |
To | func mouseExited(with event: NSEvent, frame frame: NSRect, in view: NSView) |
Modified NSPathCell.pathComponentCell(at: NSPoint, withFrame: NSRect, in: NSView) -> NSPathComponentCell?
Declaration | |
---|---|
From | func pathComponentCellAtPoint(_ point: NSPoint, withFrame frame: NSRect, inView view: NSView) -> NSPathComponentCell? |
To | func pathComponentCell(at point: NSPoint, withFrame frame: NSRect, in view: NSView) -> NSPathComponentCell? |
Declaration | |
---|---|
From | class func pathComponentCellClass() -> AnyClass |
To | class func pathComponentCellClass() -> Swift.AnyClass |
Declaration | |
---|---|
From | func rectOfPathComponentCell(_ cell: NSPathComponentCell, withFrame frame: NSRect, inView view: NSView) -> NSRect |
To | func rect(of cell: NSPathComponentCell, withFrame frame: NSRect, in view: NSView) -> NSRect |
Modified NSPathCell.url
Declaration | |
---|---|
From | @NSCopying var URL: NSURL? |
To | var url: URL? |
Modified NSPathCellDelegate
Declaration | |
---|---|
From | protocol NSPathCellDelegate : NSObjectProtocol { optional func pathCell(_ pathCell: NSPathCell, willDisplayOpenPanel openPanel: NSOpenPanel) optional func pathCell(_ pathCell: NSPathCell, willPopUpMenu menu: NSMenu) } |
To | protocol NSPathCellDelegate : NSObjectProtocol { optional func pathCell(_ pathCell: NSPathCell, willDisplay openPanel: NSOpenPanel) optional func pathCell(_ pathCell: NSPathCell, willPopUp menu: NSMenu) } |
Declaration | |
---|---|
From | optional func pathCell(_ pathCell: NSPathCell, willDisplayOpenPanel openPanel: NSOpenPanel) |
To | optional func pathCell(_ pathCell: NSPathCell, willDisplay openPanel: NSOpenPanel) |
Declaration | |
---|---|
From | optional func pathCell(_ pathCell: NSPathCell, willPopUpMenu menu: NSMenu) |
To | optional func pathCell(_ pathCell: NSPathCell, willPopUp menu: NSMenu) |
Modified NSPathComponentCell
Declaration | |
---|---|
From | class NSPathComponentCell : NSTextFieldCell { @NSCopying var image: NSImage? @NSCopying var URL: NSURL? } |
To | class NSPathComponentCell : NSTextFieldCell { @NSCopying var image: NSImage? var url: URL? } |
Modified NSPathComponentCell.url
Declaration | |
---|---|
From | @NSCopying var URL: NSURL? |
To | var url: URL? |
Modified NSPathControl
Declaration | Protocols | |
---|---|---|
From | class NSPathControl : NSControl { var editable: Bool var allowedTypes: [String]? var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? @NSCopying var URL: NSURL? var doubleAction: Selector var pathStyle: NSPathStyle var clickedPathItem: NSPathControlItem? { get } var pathItems: [NSPathControlItem] @NSCopying var backgroundColor: NSColor? weak var delegate: NSPathControlDelegate? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var menu: NSMenu? } extension NSPathControl { func clickedPathComponentCell() -> NSPathComponentCell? func pathComponentCells() -> [NSPathComponentCell] func setPathComponentCells(_ cells: [NSPathComponentCell]) } | -- |
To | class NSPathControl : NSControl { var isEditable: Bool var allowedTypes: [String]? var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? var url: URL? var doubleAction: Selector? var pathStyle: NSPathStyle var clickedPathItem: NSPathControlItem? { get } var pathItems: [NSPathControlItem] @NSCopying var backgroundColor: NSColor? weak var delegate: NSPathControlDelegate? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var menu: NSMenu? func clickedPathComponentCell() -> NSPathComponentCell? func pathComponentCells() -> [NSPathComponentCell] func setPathComponentCells(_ cells: [NSPathComponentCell]) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSPathControl : CVarArg { } extension NSPathControl : Equatable, Hashable { var hashValue: Int { get } } extension NSPathControl { func clickedPathComponentCell() -> NSPathComponentCell? func pathComponentCells() -> [NSPathComponentCell] func setPathComponentCells(_ cells: [NSPathComponentCell]) } | CVarArg, Equatable, Hashable |
Modified NSPathControl.doubleAction
Declaration | |
---|---|
From | var doubleAction: Selector |
To | var doubleAction: Selector? |
Modified NSPathControl.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Modified NSPathControl.url
Declaration | |
---|---|
From | @NSCopying var URL: NSURL? |
To | var url: URL? |
Modified NSPathControlDelegate
Declaration | |
---|---|
From | protocol NSPathControlDelegate : NSObjectProtocol { optional func pathControl(_ pathControl: NSPathControl, shouldDragItem pathItem: NSPathControlItem, withPasteboard pasteboard: NSPasteboard) -> Bool optional func pathControl(_ pathControl: NSPathControl, shouldDragPathComponentCell pathComponentCell: NSPathComponentCell, withPasteboard pasteboard: NSPasteboard) -> Bool optional func pathControl(_ pathControl: NSPathControl, validateDrop info: NSDraggingInfo) -> NSDragOperation optional func pathControl(_ pathControl: NSPathControl, acceptDrop info: NSDraggingInfo) -> Bool optional func pathControl(_ pathControl: NSPathControl, willDisplayOpenPanel openPanel: NSOpenPanel) optional func pathControl(_ pathControl: NSPathControl, willPopUpMenu menu: NSMenu) } |
To | protocol NSPathControlDelegate : NSObjectProtocol { optional func pathControl(_ pathControl: NSPathControl, shouldDrag pathItem: NSPathControlItem, with pasteboard: NSPasteboard) -> Bool optional func pathControl(_ pathControl: NSPathControl, shouldDrag pathComponentCell: NSPathComponentCell, with pasteboard: NSPasteboard) -> Bool optional func pathControl(_ pathControl: NSPathControl, validateDrop info: NSDraggingInfo) -> NSDragOperation optional func pathControl(_ pathControl: NSPathControl, acceptDrop info: NSDraggingInfo) -> Bool optional func pathControl(_ pathControl: NSPathControl, willDisplay openPanel: NSOpenPanel) optional func pathControl(_ pathControl: NSPathControl, willPopUp menu: NSMenu) } |
Declaration | |
---|---|
From | optional func pathControl(_ pathControl: NSPathControl, shouldDragItem pathItem: NSPathControlItem, withPasteboard pasteboard: NSPasteboard) -> Bool |
To | optional func pathControl(_ pathControl: NSPathControl, shouldDrag pathItem: NSPathControlItem, with pasteboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | optional func pathControl(_ pathControl: NSPathControl, shouldDragPathComponentCell pathComponentCell: NSPathComponentCell, withPasteboard pasteboard: NSPasteboard) -> Bool |
To | optional func pathControl(_ pathControl: NSPathControl, shouldDrag pathComponentCell: NSPathComponentCell, with pasteboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | optional func pathControl(_ pathControl: NSPathControl, willDisplayOpenPanel openPanel: NSOpenPanel) |
To | optional func pathControl(_ pathControl: NSPathControl, willDisplay openPanel: NSOpenPanel) |
Declaration | |
---|---|
From | optional func pathControl(_ pathControl: NSPathControl, willPopUpMenu menu: NSMenu) |
To | optional func pathControl(_ pathControl: NSPathControl, willPopUp menu: NSMenu) |
Modified NSPathControlItem
Declaration | Protocols | |
---|---|---|
From | class NSPathControlItem : NSObject { var title: String @NSCopying var attributedTitle: NSAttributedString var image: NSImage? var URL: NSURL? { get } } | -- |
To | class NSPathControlItem : NSObject { var title: String @NSCopying var attributedTitle: NSAttributedString var image: NSImage? var url: URL? { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPathControlItem : CVarArg { } extension NSPathControlItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSPathControlItem.url
Declaration | |
---|---|
From | var URL: NSURL? { get } |
To | var url: URL? { get } |
Modified NSPathStyle [enum]
Declaration | |
---|---|
From | enum NSPathStyle : Int { case Standard case PopUp case NavigationBar } |
To | enum NSPathStyle : Int { case standard case popUp case navigationBar } |
Modified NSPathStyle.popUp
Declaration | |
---|---|
From | case PopUp |
To | case popUp |
Modified NSPathStyle.standard
Declaration | |
---|---|
From | case Standard |
To | case standard |
Modified NSPDFImageRep
Declaration | |
---|---|
From | class NSPDFImageRep : NSImageRep { convenience init?(data pdfData: NSData) class func imageRepWithData(_ pdfData: NSData) -> Self? init?(data pdfData: NSData) var PDFRepresentation: NSData { get } var bounds: NSRect { get } var currentPage: Int var pageCount: Int { get } } |
To | class NSPDFImageRep : NSImageRep { convenience init?(data pdfData: Data) class func withData(_ pdfData: Data) -> Self? init?(data pdfData: Data) var pdfRepresentation: Data { get } var bounds: NSRect { get } var currentPage: Int var pageCount: Int { get } } |
Modified NSPDFImageRep.init(data: Data)
Declaration | |
---|---|
From | init?(data pdfData: NSData) |
To | init?(data pdfData: Data) |
Modified NSPDFImageRep.pdfRepresentation
Declaration | |
---|---|
From | var PDFRepresentation: NSData { get } |
To | var pdfRepresentation: Data { get } |
Modified NSPDFInfo
Declaration | Protocols | |
---|---|---|
From | class NSPDFInfo : NSObject, NSCopying, NSCoding { @NSCopying var URL: NSURL? var fileExtensionHidden: Bool var tagNames: [String] var orientation: NSPaperOrientation var paperSize: NSSize var attributes: NSMutableDictionary { get } } | NSCoding, NSCopying |
To | class NSPDFInfo : NSObject, NSCopying, NSCoding { var url: URL? var isFileExtensionHidden: Bool var tagNames: [String] var orientation: NSPaperOrientation var paperSize: NSSize var attributes: NSMutableDictionary { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPDFInfo : CVarArg { } extension NSPDFInfo : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSPDFInfo.isFileExtensionHidden
Declaration | |
---|---|
From | var fileExtensionHidden: Bool |
To | var isFileExtensionHidden: Bool |
Modified NSPDFInfo.url
Declaration | |
---|---|
From | @NSCopying var URL: NSURL? |
To | var url: URL? |
Modified NSPDFPanel
Declaration | Protocols | |
---|---|---|
From | class NSPDFPanel : NSObject { init() class func panel() -> NSPDFPanel var accessoryController: NSViewController? var options: NSPDFPanelOptions var defaultFileName: String func beginSheetWithPDFInfo(_ pdfInfo: NSPDFInfo, modalForWindow docWindow: NSWindow?, completionHandler completionHandler: (Int) -> Void) } | -- |
To | class NSPDFPanel : NSObject { init() class func panel() -> NSPDFPanel var accessoryController: NSViewController? var options: NSPDFPanelOptions var defaultFileName: String func beginSheet(with pdfInfo: NSPDFInfo, modalFor docWindow: NSWindow?, completionHandler completionHandler: @escaping (Int) -> Swift.Void) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPDFPanel : CVarArg { } extension NSPDFPanel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSPDFPanel.beginSheet(with: NSPDFInfo, modalFor: NSWindow?, completionHandler: (Int) -> Swift.Void)
Declaration | |
---|---|
From | func beginSheetWithPDFInfo(_ pdfInfo: NSPDFInfo, modalForWindow docWindow: NSWindow?, completionHandler completionHandler: (Int) -> Void) |
To | func beginSheet(with pdfInfo: NSPDFInfo, modalFor docWindow: NSWindow?, completionHandler completionHandler: @escaping (Int) -> Swift.Void) |
Modified NSPDFPanelOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSPDFPanelOptions : OptionSetType { init(rawValue rawValue: Int) static var ShowsPaperSize: NSPDFPanelOptions { get } static var ShowsOrientation: NSPDFPanelOptions { get } static var RequestsParentDirectory: NSPDFPanelOptions { get } } | OptionSetType |
To | struct NSPDFPanelOptions : OptionSet { init(rawValue rawValue: Int) static var showsPaperSize: NSPDFPanelOptions { get } static var showsOrientation: NSPDFPanelOptions { get } static var requestsParentDirectory: NSPDFPanelOptions { get } func intersect(_ other: NSPDFPanelOptions) -> NSPDFPanelOptions func exclusiveOr(_ other: NSPDFPanelOptions) -> NSPDFPanelOptions mutating func unionInPlace(_ other: NSPDFPanelOptions) mutating func intersectInPlace(_ other: NSPDFPanelOptions) mutating func exclusiveOrInPlace(_ other: NSPDFPanelOptions) func isSubsetOf(_ other: NSPDFPanelOptions) -> Bool func isDisjointWith(_ other: NSPDFPanelOptions) -> Bool func isSupersetOf(_ other: NSPDFPanelOptions) -> Bool mutating func subtractInPlace(_ other: NSPDFPanelOptions) func isStrictSupersetOf(_ other: NSPDFPanelOptions) -> Bool func isStrictSubsetOf(_ other: NSPDFPanelOptions) -> Bool } extension NSPDFPanelOptions { func union(_ other: NSPDFPanelOptions) -> NSPDFPanelOptions func intersection(_ other: NSPDFPanelOptions) -> NSPDFPanelOptions func symmetricDifference(_ other: NSPDFPanelOptions) -> NSPDFPanelOptions } extension NSPDFPanelOptions { func contains(_ member: NSPDFPanelOptions) -> Bool mutating func insert(_ newMember: NSPDFPanelOptions) -> (inserted: Bool, memberAfterInsert: NSPDFPanelOptions) mutating func remove(_ member: NSPDFPanelOptions) -> NSPDFPanelOptions? mutating func update(with newMember: NSPDFPanelOptions) -> NSPDFPanelOptions? } extension NSPDFPanelOptions { convenience init() mutating func formUnion(_ other: NSPDFPanelOptions) mutating func formIntersection(_ other: NSPDFPanelOptions) mutating func formSymmetricDifference(_ other: NSPDFPanelOptions) } extension NSPDFPanelOptions { convenience init<S : Sequence where S.Iterator.Element == NSPDFPanelOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSPDFPanelOptions...) mutating func subtract(_ other: NSPDFPanelOptions) func isSubset(of other: NSPDFPanelOptions) -> Bool func isSuperset(of other: NSPDFPanelOptions) -> Bool func isDisjoint(with other: NSPDFPanelOptions) -> Bool func subtracting(_ other: NSPDFPanelOptions) -> NSPDFPanelOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSPDFPanelOptions) -> Bool func isStrictSubset(of other: NSPDFPanelOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var RequestsParentDirectory: NSPDFPanelOptions { get } |
To | static var requestsParentDirectory: NSPDFPanelOptions { get } |
Modified NSPDFPanelOptions.showsOrientation
Declaration | |
---|---|
From | static var ShowsOrientation: NSPDFPanelOptions { get } |
To | static var showsOrientation: NSPDFPanelOptions { get } |
Modified NSPDFPanelOptions.showsPaperSize
Declaration | |
---|---|
From | static var ShowsPaperSize: NSPDFPanelOptions { get } |
To | static var showsPaperSize: NSPDFPanelOptions { get } |
Modified NSPersistentDocument
Declaration | Protocols | |
---|---|---|
From | class NSPersistentDocument : NSDocument { var managedObjectContext: NSManagedObjectContext? var managedObjectModel: NSManagedObjectModel? { get } func configurePersistentStoreCoordinatorForURL(_ url: NSURL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions storeOptions: [String : AnyObject]?) throws func persistentStoreTypeForFileType(_ fileType: String) -> String func writeToURL(_ absoluteURL: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws func readFromURL(_ absoluteURL: NSURL, ofType typeName: String) throws func revertToContentsOfURL(_ inAbsoluteURL: NSURL, ofType inTypeName: String) throws } extension NSPersistentDocument { func configurePersistentStoreCoordinatorForURL(_ url: NSURL!, ofType fileType: String!) throws } | -- |
To | class NSPersistentDocument : NSDocument { var managedObjectContext: NSManagedObjectContext? var managedObjectModel: NSManagedObjectModel? { get } func configurePersistentStoreCoordinator(for url: URL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions storeOptions: [String : Any]? = nil) throws func persistentStoreType(forFileType fileType: String) -> String func write(to absoluteURL: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws func read(from absoluteURL: URL, ofType typeName: String) throws func revert(toContentsOf inAbsoluteURL: URL, ofType inTypeName: String) throws func configurePersistentStoreCoordinator(for url: URL!, ofType fileType: String!) throws var lastComponentOfFileName: String func handleSave(_ command: NSScriptCommand) -> Any? func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? var objectSpecifier: NSScriptObjectSpecifier { get } var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func dataRepresentation(ofType type: String) -> Data? func fileAttributesToWrite(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [AnyHashable : Any]? func fileName() -> String? func fileWrapperRepresentation(ofType type: String) -> FileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) func loadDataRepresentation(_ data: Data, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: FileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func read(fromFile fileName: String, ofType type: String) -> Bool func read(from url: URL, ofType type: String) -> Bool func revertToSaved(fromFile fileName: String, ofType type: String) -> Bool func revertToSaved(from url: URL, ofType type: String) -> Bool func runModalPageLayout(with printInfo: NSPrintInfo) -> Int func save(toFile fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func setFileName(_ fileName: String?) func write(toFile fileName: String, ofType type: String) -> Bool func write(toFile fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func writeWithBackup(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Void) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func 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 } extension NSPersistentDocument : CVarArg { } extension NSPersistentDocument : Equatable, Hashable { var hashValue: Int { get } } extension NSPersistentDocument { func configurePersistentStoreCoordinator(for url: URL!, ofType fileType: String!) throws } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func configurePersistentStoreCoordinatorForURL(_ url: NSURL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions storeOptions: [String : AnyObject]?) throws |
To | func configurePersistentStoreCoordinator(for url: URL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions storeOptions: [String : Any]? = nil) throws |
Declaration | |
---|---|
From | func persistentStoreTypeForFileType(_ fileType: String) -> String |
To | func persistentStoreType(forFileType fileType: String) -> String |
Declaration | |
---|---|
From | func readFromURL(_ absoluteURL: NSURL, ofType typeName: String) throws |
To | func read(from absoluteURL: URL, ofType typeName: String) throws |
Declaration | |
---|---|
From | func revertToContentsOfURL(_ inAbsoluteURL: NSURL, ofType inTypeName: String) throws |
To | func revert(toContentsOf inAbsoluteURL: URL, ofType inTypeName: String) throws |
Declaration | |
---|---|
From | func writeToURL(_ absoluteURL: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws |
To | func write(to absoluteURL: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws |
Modified NSPICTImageRep
Declaration | |
---|---|
From | class NSPICTImageRep : NSImageRep { convenience init?(data pictData: NSData) class func imageRepWithData(_ pictData: NSData) -> Self? init?(data pictData: NSData) @NSCopying var PICTRepresentation: NSData { get } var boundingBox: NSRect { get } } |
To | class NSPICTImageRep : NSImageRep { convenience init?(data pictData: Data) class func withData(_ pictData: Data) -> Self? init?(data pictData: Data) var pictRepresentation: Data { get } var boundingBox: NSRect { get } } |
Modified NSPICTImageRep.init(data: Data)
Declaration | |
---|---|
From | init?(data pictData: NSData) |
To | init?(data pictData: Data) |
Modified NSPICTImageRep.pictRepresentation
Declaration | |
---|---|
From | @NSCopying var PICTRepresentation: NSData { get } |
To | var pictRepresentation: Data { get } |
Modified NSPointingDeviceType [enum]
Declaration | |
---|---|
From | enum NSPointingDeviceType : UInt { case UnknownPointingDevice case PenPointingDevice case CursorPointingDevice case EraserPointingDevice } |
To | enum NSPointingDeviceType : UInt { case unknown case pen case cursor case eraser } |
Modified NSPopover
Declaration | Protocols | |
---|---|---|
From | class NSPopover : NSResponder, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init() init?(coder coder: NSCoder) @IBOutlet unowned(unsafe) var delegate: NSPopoverDelegate? var appearance: NSAppearance? var effectiveAppearance: NSAppearance { get } var behavior: NSPopoverBehavior var animates: Bool @IBOutlet var contentViewController: NSViewController? var contentSize: NSSize var shown: Bool { get } var detached: Bool { get } var positioningRect: NSRect func showRelativeToRect(_ positioningRect: NSRect, ofView positioningView: NSView, preferredEdge preferredEdge: NSRectEdge) @IBAction func performClose(_ sender: AnyObject?) func close() } | NSAccessibility, NSAccessibilityElementProtocol, NSAppearanceCustomization |
To | class NSPopover : NSResponder, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init() init?(coder coder: NSCoder) @IBOutlet weak var delegate: NSPopoverDelegate? var appearance: NSAppearance? var effectiveAppearance: NSAppearance { get } var behavior: NSPopoverBehavior var animates: Bool @IBOutlet var contentViewController: NSViewController? var contentSize: NSSize var isShown: Bool { get } var isDetached: Bool { get } var positioningRect: NSRect func show(relativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge) @IBAction func performClose(_ sender: Any?) func close() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPopover : CVarArg { } extension NSPopover : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAppearanceCustomization |
Modified NSPopover.delegate
Declaration | |
---|---|
From | @IBOutlet unowned(unsafe) var delegate: NSPopoverDelegate? |
To | @IBOutlet weak var delegate: NSPopoverDelegate? |
Modified NSPopover.isDetached
Declaration | |
---|---|
From | var detached: Bool { get } |
To | var isDetached: Bool { get } |
Modified NSPopover.isShown
Declaration | |
---|---|
From | var shown: Bool { get } |
To | var isShown: Bool { get } |
Modified NSPopover.performClose(_: Any?)
Declaration | |
---|---|
From | @IBAction func performClose(_ sender: AnyObject?) |
To | @IBAction func performClose(_ sender: Any?) |
Declaration | |
---|---|
From | func showRelativeToRect(_ positioningRect: NSRect, ofView positioningView: NSView, preferredEdge preferredEdge: NSRectEdge) |
To | func show(relativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge) |
Modified NSPopoverAppearance [enum]
Declaration | |
---|---|
From | enum NSPopoverAppearance : Int { case Minimal case HUD } |
To | enum NSPopoverAppearance : Int { case minimal case HUD } |
Modified NSPopoverAppearance.minimal
Declaration | |
---|---|
From | case Minimal |
To | case minimal |
Modified NSPopoverBehavior [enum]
Declaration | |
---|---|
From | enum NSPopoverBehavior : Int { case ApplicationDefined case Transient case Semitransient } |
To | enum NSPopoverBehavior : Int { case applicationDefined case transient case semitransient } |
Modified NSPopoverBehavior.applicationDefined
Declaration | |
---|---|
From | case ApplicationDefined |
To | case applicationDefined |
Modified NSPopoverBehavior.semitransient
Declaration | |
---|---|
From | case Semitransient |
To | case semitransient |
Modified NSPopoverBehavior.transient
Declaration | |
---|---|
From | case Transient |
To | case transient |
Modified NSPopoverDelegate
Declaration | |
---|---|
From | protocol NSPopoverDelegate : NSObjectProtocol { optional func popoverShouldClose(_ popover: NSPopover) -> Bool optional func popoverShouldDetach(_ popover: NSPopover) -> Bool optional func popoverDidDetach(_ popover: NSPopover) optional func detachableWindowForPopover(_ popover: NSPopover) -> NSWindow? optional func popoverWillShow(_ notification: NSNotification) optional func popoverDidShow(_ notification: NSNotification) optional func popoverWillClose(_ notification: NSNotification) optional func popoverDidClose(_ notification: NSNotification) } |
To | protocol NSPopoverDelegate : NSObjectProtocol { optional func popoverShouldClose(_ popover: NSPopover) -> Bool optional func popoverShouldDetach(_ popover: NSPopover) -> Bool optional func popoverDidDetach(_ popover: NSPopover) optional func detachableWindow(for popover: NSPopover) -> NSWindow? optional func popoverWillShow(_ notification: Notification) optional func popoverDidShow(_ notification: Notification) optional func popoverWillClose(_ notification: Notification) optional func popoverDidClose(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func detachableWindowForPopover(_ popover: NSPopover) -> NSWindow? |
To | optional func detachableWindow(for popover: NSPopover) -> NSWindow? |
Declaration | |
---|---|
From | optional func popoverDidClose(_ notification: NSNotification) |
To | optional func popoverDidClose(_ notification: Notification) |
Declaration | |
---|---|
From | optional func popoverDidShow(_ notification: NSNotification) |
To | optional func popoverDidShow(_ notification: Notification) |
Declaration | |
---|---|
From | optional func popoverWillClose(_ notification: NSNotification) |
To | optional func popoverWillClose(_ notification: Notification) |
Declaration | |
---|---|
From | optional func popoverWillShow(_ notification: NSNotification) |
To | optional func popoverWillShow(_ notification: Notification) |
Modified NSPopUpArrowPosition [enum]
Declaration | |
---|---|
From | enum NSPopUpArrowPosition : UInt { case NoArrow case ArrowAtCenter case ArrowAtBottom } |
To | enum NSPopUpArrowPosition : UInt { case noArrow case arrowAtCenter case arrowAtBottom } |
Modified NSPopUpArrowPosition.arrowAtBottom
Declaration | |
---|---|
From | case ArrowAtBottom |
To | case arrowAtBottom |
Modified NSPopUpArrowPosition.arrowAtCenter
Declaration | |
---|---|
From | case ArrowAtCenter |
To | case arrowAtCenter |
Modified NSPopUpArrowPosition.noArrow
Declaration | |
---|---|
From | case NoArrow |
To | case noArrow |
Modified NSPopUpButton
Declaration | Protocols | |
---|---|---|
From | class NSPopUpButton : NSButton { init(frame buttonFrame: NSRect, pullsDown flag: Bool) var menu: NSMenu? var pullsDown: Bool var autoenablesItems: Bool var preferredEdge: NSRectEdge func addItemWithTitle(_ title: String) func addItemsWithTitles(_ itemTitles: [String]) func insertItemWithTitle(_ title: String, atIndex index: Int) func removeItemWithTitle(_ title: String) func removeItemAtIndex(_ index: Int) func removeAllItems() var itemArray: [NSMenuItem] { get } var numberOfItems: Int { get } func indexOfItem(_ item: NSMenuItem) -> Int func indexOfItemWithTitle(_ title: String) -> Int func indexOfItemWithTag(_ tag: Int) -> Int func indexOfItemWithRepresentedObject(_ obj: AnyObject?) -> Int func indexOfItemWithTarget(_ target: AnyObject?, andAction actionSelector: Selector) -> Int func itemAtIndex(_ index: Int) -> NSMenuItem? func itemWithTitle(_ title: String) -> NSMenuItem? var lastItem: NSMenuItem? { get } func selectItem(_ item: NSMenuItem?) func selectItemAtIndex(_ index: Int) func selectItemWithTitle(_ title: String) func selectItemWithTag(_ tag: Int) -> Bool func setTitle(_ aString: String) var selectedItem: NSMenuItem? { get } var indexOfSelectedItem: Int { get } func synchronizeTitleAndSelectedItem() func itemTitleAtIndex(_ index: Int) -> String var itemTitles: [String] { get } var titleOfSelectedItem: String? { get } func selectedTag() -> Int } | -- |
To | class NSPopUpButton : NSButton { init(frame buttonFrame: NSRect, pullsDown flag: Bool) var menu: NSMenu? var pullsDown: Bool var autoenablesItems: Bool var preferredEdge: NSRectEdge func addItem(withTitle title: String) func addItems(withTitles itemTitles: [String]) func insertItem(withTitle title: String, at index: Int) func removeItem(withTitle title: String) func removeItem(at index: Int) func removeAllItems() var itemArray: [NSMenuItem] { get } var numberOfItems: Int { get } func index(of item: NSMenuItem) -> Int func indexOfItem(withTitle title: String) -> Int func indexOfItem(withTag tag: Int) -> Int func indexOfItem(withRepresentedObject obj: Any?) -> Int func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int func item(at index: Int) -> NSMenuItem? func item(withTitle title: String) -> NSMenuItem? var lastItem: NSMenuItem? { get } func select(_ item: NSMenuItem?) func selectItem(at index: Int) func selectItem(withTitle title: String) func selectItem(withTag tag: Int) -> Bool func setTitle(_ string: String) var selectedItem: NSMenuItem? { get } var indexOfSelectedItem: Int { get } func synchronizeTitleAndSelectedItem() func itemTitle(at index: Int) -> String var itemTitles: [String] { get } var titleOfSelectedItem: String? { get } func selectedTag() -> Int func setTitleWithMnemonic(_ stringWithAmpersand: String!) var sound: NSSound? var showsBorderOnlyWhileMouseInside: Bool var allowsMixedState: Bool func setNextState() var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPopUpButton : CVarArg { } extension NSPopUpButton : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addItemWithTitle(_ title: String) |
To | func addItem(withTitle title: String) |
Declaration | |
---|---|
From | func addItemsWithTitles(_ itemTitles: [String]) |
To | func addItems(withTitles itemTitles: [String]) |
Declaration | |
---|---|
From | func indexOfItem(_ item: NSMenuItem) -> Int |
To | func index(of item: NSMenuItem) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithRepresentedObject(_ obj: AnyObject?) -> Int |
To | func indexOfItem(withRepresentedObject obj: Any?) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTag(_ tag: Int) -> Int |
To | func indexOfItem(withTag tag: Int) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTarget(_ target: AnyObject?, andAction actionSelector: Selector) -> Int |
To | func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTitle(_ title: String) -> Int |
To | func indexOfItem(withTitle title: String) -> Int |
Declaration | |
---|---|
From | func insertItemWithTitle(_ title: String, atIndex index: Int) |
To | func insertItem(withTitle title: String, at index: Int) |
Declaration | |
---|---|
From | func itemAtIndex(_ index: Int) -> NSMenuItem? |
To | func item(at index: Int) -> NSMenuItem? |
Declaration | |
---|---|
From | func itemWithTitle(_ title: String) -> NSMenuItem? |
To | func item(withTitle title: String) -> NSMenuItem? |
Declaration | |
---|---|
From | func itemTitleAtIndex(_ index: Int) -> String |
To | func itemTitle(at index: Int) -> String |
Modified NSPopUpButton.removeItem(at: Int)
Declaration | |
---|---|
From | func removeItemAtIndex(_ index: Int) |
To | func removeItem(at index: Int) |
Declaration | |
---|---|
From | func removeItemWithTitle(_ title: String) |
To | func removeItem(withTitle title: String) |
Modified NSPopUpButton.select(_: NSMenuItem?)
Declaration | |
---|---|
From | func selectItem(_ item: NSMenuItem?) |
To | func select(_ item: NSMenuItem?) |
Modified NSPopUpButton.selectItem(at: Int)
Declaration | |
---|---|
From | func selectItemAtIndex(_ index: Int) |
To | func selectItem(at index: Int) |
Declaration | |
---|---|
From | func selectItemWithTag(_ tag: Int) -> Bool |
To | func selectItem(withTag tag: Int) -> Bool |
Declaration | |
---|---|
From | func selectItemWithTitle(_ title: String) |
To | func selectItem(withTitle title: String) |
Modified NSPopUpButtonCell
Declaration | |
---|---|
From | class NSPopUpButtonCell : NSMenuItemCell { init(textCell stringValue: String, pullsDown pullDown: Bool) var menu: NSMenu? var pullsDown: Bool var autoenablesItems: Bool var preferredEdge: NSRectEdge var usesItemFromMenu: Bool var altersStateOfSelectedItem: Bool func addItemWithTitle(_ title: String) func addItemsWithTitles(_ itemTitles: [String]) func insertItemWithTitle(_ title: String, atIndex index: Int) func removeItemWithTitle(_ title: String) func removeItemAtIndex(_ index: Int) func removeAllItems() var itemArray: [NSMenuItem] { get } var numberOfItems: Int { get } func indexOfItem(_ item: NSMenuItem) -> Int func indexOfItemWithTitle(_ title: String) -> Int func indexOfItemWithTag(_ tag: Int) -> Int func indexOfItemWithRepresentedObject(_ obj: AnyObject?) -> Int func indexOfItemWithTarget(_ target: AnyObject?, andAction actionSelector: Selector) -> Int func itemAtIndex(_ index: Int) -> NSMenuItem? func itemWithTitle(_ title: String) -> NSMenuItem? var lastItem: NSMenuItem? { get } func selectItem(_ item: NSMenuItem?) func selectItemAtIndex(_ index: Int) func selectItemWithTitle(_ title: String) func selectItemWithTag(_ tag: Int) -> Bool func setTitle(_ aString: String?) var selectedItem: NSMenuItem? { get } var indexOfSelectedItem: Int { get } func synchronizeTitleAndSelectedItem() func itemTitleAtIndex(_ index: Int) -> String var itemTitles: [String] { get } var titleOfSelectedItem: String? { get } func attachPopUpWithFrame(_ cellFrame: NSRect, inView controlView: NSView) func dismissPopUp() func performClickWithFrame(_ frame: NSRect, inView controlView: NSView) var arrowPosition: NSPopUpArrowPosition } |
To | class NSPopUpButtonCell : NSMenuItemCell { init(textCell stringValue: String, pullsDown pullDown: Bool) init(coder coder: NSCoder) var menu: NSMenu? var pullsDown: Bool var autoenablesItems: Bool var preferredEdge: NSRectEdge var usesItemFromMenu: Bool var altersStateOfSelectedItem: Bool func addItem(withTitle title: String) func addItems(withTitles itemTitles: [String]) func insertItem(withTitle title: String, at index: Int) func removeItem(withTitle title: String) func removeItem(at index: Int) func removeAllItems() var itemArray: [NSMenuItem] { get } var numberOfItems: Int { get } func index(of item: NSMenuItem) -> Int func indexOfItem(withTitle title: String) -> Int func indexOfItem(withTag tag: Int) -> Int func indexOfItem(withRepresentedObject obj: Any?) -> Int func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int func item(at index: Int) -> NSMenuItem? func item(withTitle title: String) -> NSMenuItem? var lastItem: NSMenuItem? { get } func select(_ item: NSMenuItem?) func selectItem(at index: Int) func selectItem(withTitle title: String) func selectItem(withTag tag: Int) -> Bool func setTitle(_ string: String?) var selectedItem: NSMenuItem? { get } var indexOfSelectedItem: Int { get } func synchronizeTitleAndSelectedItem() func itemTitle(at index: Int) -> String var itemTitles: [String] { get } var titleOfSelectedItem: String? { get } func attachPopUp(withFrame cellFrame: NSRect, in controlView: NSView) func dismissPopUp() func performClick(withFrame frame: NSRect, in controlView: NSView) var arrowPosition: NSPopUpArrowPosition } |
Declaration | |
---|---|
From | func addItemWithTitle(_ title: String) |
To | func addItem(withTitle title: String) |
Declaration | |
---|---|
From | func addItemsWithTitles(_ itemTitles: [String]) |
To | func addItems(withTitles itemTitles: [String]) |
Declaration | |
---|---|
From | func attachPopUpWithFrame(_ cellFrame: NSRect, inView controlView: NSView) |
To | func attachPopUp(withFrame cellFrame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func indexOfItem(_ item: NSMenuItem) -> Int |
To | func index(of item: NSMenuItem) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithRepresentedObject(_ obj: AnyObject?) -> Int |
To | func indexOfItem(withRepresentedObject obj: Any?) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTag(_ tag: Int) -> Int |
To | func indexOfItem(withTag tag: Int) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTarget(_ target: AnyObject?, andAction actionSelector: Selector) -> Int |
To | func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int |
Declaration | |
---|---|
From | func indexOfItemWithTitle(_ title: String) -> Int |
To | func indexOfItem(withTitle title: String) -> Int |
Declaration | |
---|---|
From | func insertItemWithTitle(_ title: String, atIndex index: Int) |
To | func insertItem(withTitle title: String, at index: Int) |
Declaration | |
---|---|
From | func itemAtIndex(_ index: Int) -> NSMenuItem? |
To | func item(at index: Int) -> NSMenuItem? |
Declaration | |
---|---|
From | func itemWithTitle(_ title: String) -> NSMenuItem? |
To | func item(withTitle title: String) -> NSMenuItem? |
Declaration | |
---|---|
From | func itemTitleAtIndex(_ index: Int) -> String |
To | func itemTitle(at index: Int) -> String |
Declaration | |
---|---|
From | func performClickWithFrame(_ frame: NSRect, inView controlView: NSView) |
To | func performClick(withFrame frame: NSRect, in controlView: NSView) |
Declaration | |
---|---|
From | func removeItemAtIndex(_ index: Int) |
To | func removeItem(at index: Int) |
Declaration | |
---|---|
From | func removeItemWithTitle(_ title: String) |
To | func removeItem(withTitle title: String) |
Declaration | |
---|---|
From | func selectItem(_ item: NSMenuItem?) |
To | func select(_ item: NSMenuItem?) |
Declaration | |
---|---|
From | func selectItemAtIndex(_ index: Int) |
To | func selectItem(at index: Int) |
Declaration | |
---|---|
From | func selectItemWithTag(_ tag: Int) -> Bool |
To | func selectItem(withTag tag: Int) -> Bool |
Declaration | |
---|---|
From | func selectItemWithTitle(_ title: String) |
To | func selectItem(withTitle title: String) |
Modified NSPredicateEditorRowTemplate
Declaration | Protocols | |
---|---|---|
From | class NSPredicateEditorRowTemplate : NSObject, NSCoding, NSCopying { func matchForPredicate(_ predicate: NSPredicate) -> Double var templateViews: [NSView] { get } func setPredicate(_ predicate: NSPredicate) func predicateWithSubpredicates(_ subpredicates: [NSPredicate]?) -> NSPredicate func displayableSubpredicatesOfPredicate(_ predicate: NSPredicate) -> [NSPredicate]? init(leftExpressions leftExpressions: [NSExpression], rightExpressions rightExpressions: [NSExpression], modifier modifier: NSComparisonPredicateModifier, operators operators: [NSNumber], options options: Int) init(leftExpressions leftExpressions: [NSExpression], rightExpressionAttributeType attributeType: NSAttributeType, modifier modifier: NSComparisonPredicateModifier, operators operators: [NSNumber], options options: Int) init(compoundTypes compoundTypes: [NSNumber]) var leftExpressions: [NSExpression]? { get } var rightExpressions: [NSExpression]? { get } var rightExpressionAttributeType: NSAttributeType { get } var modifier: NSComparisonPredicateModifier { get } var operators: [NSNumber]? { get } var options: Int { get } var compoundTypes: [NSNumber]? { get } class func templatesWithAttributeKeyPaths(_ keyPaths: [String], inEntityDescription entityDescription: NSEntityDescription) -> [NSPredicateEditorRowTemplate] } | NSCoding, NSCopying |
To | class NSPredicateEditorRowTemplate : NSObject, NSCoding, NSCopying { func match(for predicate: NSPredicate) -> Double var templateViews: [NSView] { get } func setPredicate(_ predicate: NSPredicate) func predicate(withSubpredicates subpredicates: [NSPredicate]?) -> NSPredicate func displayableSubpredicates(of predicate: NSPredicate) -> [NSPredicate]? init(leftExpressions leftExpressions: [NSExpression], rightExpressions rightExpressions: [NSExpression], modifier modifier: NSComparisonPredicate.Modifier, operators operators: [NSNumber], options options: Int) init(leftExpressions leftExpressions: [NSExpression], rightExpressionAttributeType attributeType: NSAttributeType, modifier modifier: NSComparisonPredicate.Modifier, operators operators: [NSNumber], options options: Int) init(compoundTypes compoundTypes: [NSNumber]) var leftExpressions: [NSExpression]? { get } var rightExpressions: [NSExpression]? { get } var rightExpressionAttributeType: NSAttributeType { get } var modifier: NSComparisonPredicate.Modifier { get } var operators: [NSNumber]? { get } var options: Int { get } var compoundTypes: [NSNumber]? { get } class func templates(withAttributeKeyPaths keyPaths: [String], in entityDescription: NSEntityDescription) -> [NSPredicateEditorRowTemplate] func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPredicateEditorRowTemplate : CVarArg { } extension NSPredicateEditorRowTemplate : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func displayableSubpredicatesOfPredicate(_ predicate: NSPredicate) -> [NSPredicate]? |
To | func displayableSubpredicates(of predicate: NSPredicate) -> [NSPredicate]? |
Declaration | |
---|---|
From | init(leftExpressions leftExpressions: [NSExpression], rightExpressionAttributeType attributeType: NSAttributeType, modifier modifier: NSComparisonPredicateModifier, operators operators: [NSNumber], options options: Int) |
To | init(leftExpressions leftExpressions: [NSExpression], rightExpressionAttributeType attributeType: NSAttributeType, modifier modifier: NSComparisonPredicate.Modifier, operators operators: [NSNumber], options options: Int) |
Declaration | |
---|---|
From | init(leftExpressions leftExpressions: [NSExpression], rightExpressions rightExpressions: [NSExpression], modifier modifier: NSComparisonPredicateModifier, operators operators: [NSNumber], options options: Int) |
To | init(leftExpressions leftExpressions: [NSExpression], rightExpressions rightExpressions: [NSExpression], modifier modifier: NSComparisonPredicate.Modifier, operators operators: [NSNumber], options options: Int) |
Declaration | |
---|---|
From | func matchForPredicate(_ predicate: NSPredicate) -> Double |
To | func match(for predicate: NSPredicate) -> Double |
Declaration | |
---|---|
From | var modifier: NSComparisonPredicateModifier { get } |
To | var modifier: NSComparisonPredicate.Modifier { get } |
Declaration | |
---|---|
From | func predicateWithSubpredicates(_ subpredicates: [NSPredicate]?) -> NSPredicate |
To | func predicate(withSubpredicates subpredicates: [NSPredicate]?) -> NSPredicate |
Declaration | |
---|---|
From | class func templatesWithAttributeKeyPaths(_ keyPaths: [String], inEntityDescription entityDescription: NSEntityDescription) -> [NSPredicateEditorRowTemplate] |
To | class func templates(withAttributeKeyPaths keyPaths: [String], in entityDescription: NSEntityDescription) -> [NSPredicateEditorRowTemplate] |
Modified NSPressGestureRecognizer
Declaration | Protocols | |
---|---|---|
From | class NSPressGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var minimumPressDuration: NSTimeInterval var allowableMovement: CGFloat } | NSCoding |
To | class NSPressGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var minimumPressDuration: TimeInterval var allowableMovement: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPressGestureRecognizer : CVarArg { } extension NSPressGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | var minimumPressDuration: NSTimeInterval |
To | var minimumPressDuration: TimeInterval |
Modified NSPressureBehavior [enum]
Declaration | |
---|---|
From | enum NSPressureBehavior : Int { case Unknown case PrimaryDefault case PrimaryClick case PrimaryGeneric case PrimaryAccelerator case PrimaryDeepClick case PrimaryDeepDrag } |
To | enum NSPressureBehavior : Int { case unknown case primaryDefault case primaryClick case primaryGeneric case primaryAccelerator case primaryDeepClick case primaryDeepDrag } |
Declaration | |
---|---|
From | case PrimaryAccelerator |
To | case primaryAccelerator |
Modified NSPressureBehavior.primaryClick
Declaration | |
---|---|
From | case PrimaryClick |
To | case primaryClick |
Modified NSPressureBehavior.primaryDeepClick
Declaration | |
---|---|
From | case PrimaryDeepClick |
To | case primaryDeepClick |
Modified NSPressureBehavior.primaryDeepDrag
Declaration | |
---|---|
From | case PrimaryDeepDrag |
To | case primaryDeepDrag |
Modified NSPressureBehavior.primaryDefault
Declaration | |
---|---|
From | case PrimaryDefault |
To | case primaryDefault |
Modified NSPressureBehavior.primaryGeneric
Declaration | |
---|---|
From | case PrimaryGeneric |
To | case primaryGeneric |
Modified NSPressureBehavior.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified NSPressureConfiguration
Declaration | Protocols | |
---|---|---|
From | class NSPressureConfiguration : NSObject { var pressureBehavior: NSPressureBehavior { get } init(pressureBehavior pressureBehavior: NSPressureBehavior) func set() } | -- |
To | class NSPressureConfiguration : NSObject { var pressureBehavior: NSPressureBehavior { get } init(pressureBehavior pressureBehavior: NSPressureBehavior) func set() func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPressureConfiguration : CVarArg { } extension NSPressureConfiguration : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSPrinter
Declaration | Protocols | |
---|---|---|
From | class NSPrinter : NSObject, NSCopying, NSCoding { class func printerNames() -> [String] class func printerTypes() -> [String] init?(name name: String) class func printerWithName(_ name: String) -> NSPrinter? init?(type type: String) class func printerWithType(_ type: String) -> NSPrinter? var name: String { get } var type: String { get } var languageLevel: Int { get } func pageSizeForPaper(_ paperName: String) -> NSSize var deviceDescription: [String : AnyObject] { get } } extension NSPrinter { func statusForTable(_ tableName: String) -> NSPrinterTableStatus func isKey(_ key: String?, inTable table: String) -> Bool func booleanForKey(_ key: String?, inTable table: String) -> Bool func floatForKey(_ key: String?, inTable table: String) -> Float func intForKey(_ key: String?, inTable table: String) -> Int32 func rectForKey(_ key: String?, inTable table: String) -> NSRect func sizeForKey(_ key: String?, inTable table: String) -> NSSize func stringForKey(_ key: String?, inTable table: String) -> String? func stringListForKey(_ key: String?, inTable table: String) -> [AnyObject]? func imageRectForPaper(_ paperName: String?) -> NSRect func acceptsBinary() -> Bool func isColor() -> Bool func isFontAvailable(_ faceName: String?) -> Bool func isOutputStackInReverseOrder() -> Bool init?(name name: String, domain domain: String?, includeUnavailable flag: Bool) class func printerWithName(_ name: String, domain domain: String?, includeUnavailable flag: Bool) -> NSPrinter? func domain() -> String func host() -> String func note() -> String } | NSCoding, NSCopying |
To | class NSPrinter : NSObject, NSCopying, NSCoding { class func printerNames() -> [String] class func printerTypes() -> [String] init?(name name: String) class func withName(_ name: String) -> NSPrinter? init?(type type: String) class func withType(_ type: String) -> NSPrinter? var name: String { get } var type: String { get } var languageLevel: Int { get } func pageSize(forPaper paperName: String) -> NSSize var deviceDescription: [String : Any] { get } func status(forTable tableName: String) -> NSPrinterTableStatus func isKey(_ key: String?, inTable table: String) -> Bool func boolean(forKey key: String?, inTable table: String) -> Bool func float(forKey key: String?, inTable table: String) -> Float func int(forKey key: String?, inTable table: String) -> Int32 func rect(forKey key: String?, inTable table: String) -> NSRect func size(forKey key: String?, inTable table: String) -> NSSize func string(forKey key: String?, inTable table: String) -> String? func stringList(forKey key: String?, inTable table: String) -> [Any]? func imageRect(forPaper paperName: String?) -> NSRect func acceptsBinary() -> Bool func isColor() -> Bool func isFontAvailable(_ faceName: String?) -> Bool func isOutputStackInReverseOrder() -> Bool init?(name name: String, domain domain: String?, includeUnavailable flag: Bool) class func withName(_ name: String, domain domain: String?, includeUnavailable flag: Bool) -> NSPrinter? func domain() -> String func host() -> String func note() -> String func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSPrinter : CVarArg { } extension NSPrinter : Equatable, Hashable { var hashValue: Int { get } } extension NSPrinter { func status(forTable tableName: String) -> NSPrinterTableStatus func isKey(_ key: String?, inTable table: String) -> Bool func boolean(forKey key: String?, inTable table: String) -> Bool func float(forKey key: String?, inTable table: String) -> Float func int(forKey key: String?, inTable table: String) -> Int32 func rect(forKey key: String?, inTable table: String) -> NSRect func size(forKey key: String?, inTable table: String) -> NSSize func string(forKey key: String?, inTable table: String) -> String? func stringList(forKey key: String?, inTable table: String) -> [Any]? func imageRect(forPaper paperName: String?) -> NSRect func acceptsBinary() -> Bool func isColor() -> Bool func isFontAvailable(_ faceName: String?) -> Bool func isOutputStackInReverseOrder() -> Bool init?(name name: String, domain domain: String?, includeUnavailable flag: Bool) class func withName(_ name: String, domain domain: String?, includeUnavailable flag: Bool) -> NSPrinter? func domain() -> String func host() -> String func note() -> String } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSPrinter.deviceDescription
Declaration | |
---|---|
From | var deviceDescription: [String : AnyObject] { get } |
To | var deviceDescription: [String : Any] { get } |
Declaration | |
---|---|
From | func pageSizeForPaper(_ paperName: String) -> NSSize |
To | func pageSize(forPaper paperName: String) -> NSSize |
Modified NSPrinterTableStatus [enum]
Declaration | |
---|---|
From | enum NSPrinterTableStatus : UInt { case OK case NotFound case Error } |
To | enum NSPrinterTableStatus : UInt { case OK case notFound case error } |
Modified NSPrinterTableStatus.error
Declaration | |
---|---|
From | case Error |
To | case error |
Modified NSPrinterTableStatus.notFound
Declaration | |
---|---|
From | case NotFound |
To | case notFound |
Modified NSPrintInfo
Declaration | Protocols | |
---|---|---|
From | class NSPrintInfo : NSObject, NSCopying, NSCoding { class func setSharedPrintInfo(_ printInfo: NSPrintInfo) class func sharedPrintInfo() -> NSPrintInfo init(dictionary attributes: [String : AnyObject]) func dictionary() -> NSMutableDictionary var paperName: String? var paperSize: NSSize var orientation: NSPaperOrientation var scalingFactor: CGFloat var leftMargin: CGFloat var rightMargin: CGFloat var topMargin: CGFloat var bottomMargin: CGFloat var horizontallyCentered: Bool var verticallyCentered: Bool var horizontalPagination: NSPrintingPaginationMode var verticalPagination: NSPrintingPaginationMode var jobDisposition: String @NSCopying var printer: NSPrinter func setUpPrintOperationDefaultValues() var imageablePageBounds: NSRect { get } var localizedPaperName: String? { get } class func defaultPrinter() -> NSPrinter? var printSettings: NSMutableDictionary { get } func PMPrintSession() -> UnsafeMutablePointer<Void> func PMPageFormat() -> UnsafeMutablePointer<Void> func PMPrintSettings() -> UnsafeMutablePointer<Void> func updateFromPMPageFormat() func updateFromPMPrintSettings() var selectionOnly: Bool func takeSettingsFromPDFInfo(_ inPDFInfo: NSPDFInfo) } extension NSPrintInfo { class func setDefaultPrinter(_ printer: NSPrinter?) class func sizeForPaperName(_ name: String?) -> NSSize } | NSCoding, NSCopying |
To | class NSPrintInfo : NSObject, NSCopying, NSCoding { class func setShared(_ printInfo: NSPrintInfo) class func shared() -> NSPrintInfo init(dictionary attributes: [String : Any]) init(coder inDecoder: NSCoder) convenience init() func dictionary() -> NSMutableDictionary var paperName: String? var paperSize: NSSize var orientation: NSPaperOrientation var scalingFactor: CGFloat var leftMargin: CGFloat var rightMargin: CGFloat var topMargin: CGFloat var bottomMargin: CGFloat var isHorizontallyCentered: Bool var isVerticallyCentered: Bool var horizontalPagination: NSPrintingPaginationMode var verticalPagination: NSPrintingPaginationMode var jobDisposition: String @NSCopying var printer: NSPrinter func setUpPrintOperationDefaultValues() var imageablePageBounds: NSRect { get } var localizedPaperName: String? { get } class func defaultPrinter() -> NSPrinter? var printSettings: NSMutableDictionary { get } func pmPrintSession() -> UnsafeMutableRawPointer func pmPageFormat() -> UnsafeMutableRawPointer func pmPrintSettings() -> UnsafeMutableRawPointer func updateFromPMPageFormat() func updateFromPMPrintSettings() var isSelectionOnly: Bool func takeSettings(from inPDFInfo: NSPDFInfo) class func setDefaultPrinter(_ printer: NSPrinter?) class func size(forPaperName name: String?) -> NSSize func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSPrintInfo : CVarArg { } extension NSPrintInfo : Equatable, Hashable { var hashValue: Int { get } } extension NSPrintInfo { class func setDefaultPrinter(_ printer: NSPrinter?) class func size(forPaperName name: String?) -> NSSize } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | init(dictionary attributes: [String : AnyObject]) |
To | init(dictionary attributes: [String : Any]) |
Modified NSPrintInfo.isHorizontallyCentered
Declaration | |
---|---|
From | var horizontallyCentered: Bool |
To | var isHorizontallyCentered: Bool |
Modified NSPrintInfo.isSelectionOnly
Declaration | |
---|---|
From | var selectionOnly: Bool |
To | var isSelectionOnly: Bool |
Modified NSPrintInfo.isVerticallyCentered
Declaration | |
---|---|
From | var verticallyCentered: Bool |
To | var isVerticallyCentered: Bool |
Declaration | |
---|---|
From | func PMPageFormat() -> UnsafeMutablePointer<Void> |
To | func pmPageFormat() -> UnsafeMutableRawPointer |
Declaration | |
---|---|
From | func PMPrintSession() -> UnsafeMutablePointer<Void> |
To | func pmPrintSession() -> UnsafeMutableRawPointer |
Declaration | |
---|---|
From | func PMPrintSettings() -> UnsafeMutablePointer<Void> |
To | func pmPrintSettings() -> UnsafeMutableRawPointer |
Modified NSPrintInfo.setShared(_: NSPrintInfo) [class]
Declaration | |
---|---|
From | class func setSharedPrintInfo(_ printInfo: NSPrintInfo) |
To | class func setShared(_ printInfo: NSPrintInfo) |
Declaration | |
---|---|
From | class func sharedPrintInfo() -> NSPrintInfo |
To | class func shared() -> NSPrintInfo |
Declaration | |
---|---|
From | func takeSettingsFromPDFInfo(_ inPDFInfo: NSPDFInfo) |
To | func takeSettings(from inPDFInfo: NSPDFInfo) |
Modified NSPrintingOrientation [enum]
Declaration | |
---|---|
From | enum NSPrintingOrientation : UInt { case PortraitOrientation case LandscapeOrientation } |
To | enum NSPrintingOrientation : UInt { case portraitOrientation case landscapeOrientation } |
Declaration | |
---|---|
From | case LandscapeOrientation |
To | case landscapeOrientation |
Declaration | |
---|---|
From | case PortraitOrientation |
To | case portraitOrientation |
Modified NSPrintingPageOrder [enum]
Declaration | |
---|---|
From | enum NSPrintingPageOrder : Int { case DescendingPageOrder case SpecialPageOrder case AscendingPageOrder case UnknownPageOrder } |
To | enum NSPrintingPageOrder : Int { case descendingPageOrder case specialPageOrder case ascendingPageOrder case unknownPageOrder } |
Declaration | |
---|---|
From | case AscendingPageOrder |
To | case ascendingPageOrder |
Declaration | |
---|---|
From | case DescendingPageOrder |
To | case descendingPageOrder |
Modified NSPrintingPageOrder.specialPageOrder
Declaration | |
---|---|
From | case SpecialPageOrder |
To | case specialPageOrder |
Modified NSPrintingPageOrder.unknownPageOrder
Declaration | |
---|---|
From | case UnknownPageOrder |
To | case unknownPageOrder |
Modified NSPrintingPaginationMode [enum]
Declaration | |
---|---|
From | enum NSPrintingPaginationMode : UInt { case AutoPagination case FitPagination case ClipPagination } |
To | enum NSPrintingPaginationMode : UInt { case autoPagination case fitPagination case clipPagination } |
Declaration | |
---|---|
From | case AutoPagination |
To | case autoPagination |
Declaration | |
---|---|
From | case ClipPagination |
To | case clipPagination |
Declaration | |
---|---|
From | case FitPagination |
To | case fitPagination |
Modified NSPrintOperation
Declaration | Protocols | |
---|---|---|
From | class NSPrintOperation : NSObject { init(view view: NSView, printInfo printInfo: NSPrintInfo) class func printOperationWithView(_ view: NSView, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func PDFOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func PDFOperationWithView(_ view: NSView, insideRect rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func EPSOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func EPSOperationWithView(_ view: NSView, insideRect rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation init(view view: NSView) class func printOperationWithView(_ view: NSView) -> NSPrintOperation class func PDFOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData) -> NSPrintOperation class func EPSOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData?) -> NSPrintOperation class func currentOperation() -> NSPrintOperation? class func setCurrentOperation(_ operation: NSPrintOperation?) var copyingOperation: Bool { get } var preferredRenderingQuality: NSPrintRenderingQuality { get } var jobTitle: String? var showsPrintPanel: Bool var showsProgressPanel: Bool var printPanel: NSPrintPanel var PDFPanel: NSPDFPanel var canSpawnSeparateThread: Bool var pageOrder: NSPrintingPageOrder func runOperationModalForWindow(_ docWindow: NSWindow, delegate delegate: AnyObject?, didRunSelector didRunSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func runOperation() -> Bool var view: NSView? { get } @NSCopying var printInfo: NSPrintInfo var context: NSGraphicsContext? { get } var pageRange: NSRange { get } var currentPage: Int { get } func createContext() -> NSGraphicsContext? func destroyContext() func deliverResult() -> Bool func cleanUpOperation() } extension NSPrintOperation { func setAccessoryView(_ view: NSView?) func accessoryView() -> NSView? func setJobStyleHint(_ hint: String?) func jobStyleHint() -> String? func setShowPanels(_ flag: Bool) func showPanels() -> Bool } | -- |
To | class NSPrintOperation : NSObject { init(view view: NSView, printInfo printInfo: NSPrintInfo) class func withView(_ view: NSView, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func pdfOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func pdfOperation(with view: NSView, inside rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func epsOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation class func epsOperation(with view: NSView, inside rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation init(view view: NSView) class func withView(_ view: NSView) -> NSPrintOperation class func pdfOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData) -> NSPrintOperation class func epsOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData?) -> NSPrintOperation class func current() -> NSPrintOperation? class func setCurrent(_ operation: NSPrintOperation?) var isCopyingOperation: Bool { get } var preferredRenderingQuality: NSPrintRenderingQuality { get } var jobTitle: String? var showsPrintPanel: Bool var showsProgressPanel: Bool var printPanel: NSPrintPanel var pdfPanel: NSPDFPanel var canSpawnSeparateThread: Bool var pageOrder: NSPrintingPageOrder func runModal(for docWindow: NSWindow, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func run() -> Bool var view: NSView? { get } @NSCopying var printInfo: NSPrintInfo var context: NSGraphicsContext? { get } var pageRange: NSRange { get } var currentPage: Int { get } func createContext() -> NSGraphicsContext? func destroyContext() func deliverResult() -> Bool func cleanUp() func setAccessoryView(_ view: NSView?) func accessoryView() -> NSView? func setJobStyleHint(_ hint: String?) func jobStyleHint() -> String? func setShowPanels(_ flag: Bool) func showPanels() -> Bool func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSPrintOperation : CVarArg { } extension NSPrintOperation : Equatable, Hashable { var hashValue: Int { get } } extension NSPrintOperation { func setAccessoryView(_ view: NSView?) func accessoryView() -> NSView? func setJobStyleHint(_ hint: String?) func jobStyleHint() -> String? func setShowPanels(_ flag: Bool) func showPanels() -> Bool } | CVarArg, Equatable, Hashable |
Modified NSPrintOperation.cleanUp()
Declaration | |
---|---|
From | func cleanUpOperation() |
To | func cleanUp() |
Declaration | |
---|---|
From | class func currentOperation() -> NSPrintOperation? |
To | class func current() -> NSPrintOperation? |
Declaration | |
---|---|
From | class func EPSOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData?) -> NSPrintOperation |
To | class func epsOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData?) -> NSPrintOperation |
Declaration | |
---|---|
From | class func EPSOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
To | class func epsOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
Declaration | |
---|---|
From | class func EPSOperationWithView(_ view: NSView, insideRect rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
To | class func epsOperation(with view: NSView, inside rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
Modified NSPrintOperation.isCopyingOperation
Declaration | |
---|---|
From | var copyingOperation: Bool { get } |
To | var isCopyingOperation: Bool { get } |
Declaration | |
---|---|
From | class func PDFOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData) -> NSPrintOperation |
To | class func pdfOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData) -> NSPrintOperation |
Declaration | |
---|---|
From | class func PDFOperationWithView(_ view: NSView, insideRect rect: NSRect, toData data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
To | class func pdfOperation(with view: NSView, inside rect: NSRect, to data: NSMutableData, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
Declaration | |
---|---|
From | class func PDFOperationWithView(_ view: NSView, insideRect rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
To | class func pdfOperation(with view: NSView, inside rect: NSRect, toPath path: String, printInfo printInfo: NSPrintInfo) -> NSPrintOperation |
Modified NSPrintOperation.pdfPanel
Declaration | |
---|---|
From | var PDFPanel: NSPDFPanel |
To | var pdfPanel: NSPDFPanel |
Modified NSPrintOperation.run() -> Bool
Declaration | |
---|---|
From | func runOperation() -> Bool |
To | func run() -> Bool |
Declaration | |
---|---|
From | func runOperationModalForWindow(_ docWindow: NSWindow, delegate delegate: AnyObject?, didRunSelector didRunSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func runModal(for docWindow: NSWindow, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSPrintOperation.setCurrent(_: NSPrintOperation?) [class]
Declaration | |
---|---|
From | class func setCurrentOperation(_ operation: NSPrintOperation?) |
To | class func setCurrent(_ operation: NSPrintOperation?) |
Modified NSPrintPanel
Declaration | Protocols | |
---|---|---|
From | class NSPrintPanel : NSObject { init() class func printPanel() -> NSPrintPanel func addAccessoryController(_ accessoryController: NSViewController) func removeAccessoryController(_ accessoryController: NSViewController) var accessoryControllers: [NSViewController] { get } var options: NSPrintPanelOptions func setDefaultButtonTitle(_ defaultButtonTitle: String?) func defaultButtonTitle() -> String? var helpAnchor: String? var jobStyleHint: String? func beginSheetWithPrintInfo(_ printInfo: NSPrintInfo, modalForWindow docWindow: NSWindow, delegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func runModalWithPrintInfo(_ printInfo: NSPrintInfo) -> Int func runModal() -> Int var printInfo: NSPrintInfo { get } } extension NSPrintPanel { func setAccessoryView(_ accessoryView: NSView?) func accessoryView() -> NSView? func updateFromPrintInfo() func finalWritePrintInfo() } | -- |
To | class NSPrintPanel : NSObject { init() class func printPanel() -> NSPrintPanel func addAccessoryController(_ accessoryController: NSViewController) func removeAccessoryController(_ accessoryController: NSViewController) var accessoryControllers: [NSViewController] { get } var options: NSPrintPanelOptions func setDefaultButtonTitle(_ defaultButtonTitle: String?) func defaultButtonTitle() -> String? var helpAnchor: String? var jobStyleHint: String? func beginSheet(with printInfo: NSPrintInfo, modalFor docWindow: NSWindow, delegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(with printInfo: NSPrintInfo) -> Int func runModal() -> Int var printInfo: NSPrintInfo { get } func setAccessoryView(_ accessoryView: NSView?) func accessoryView() -> NSView? func updateFromPrintInfo() func finalWritePrintInfo() func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSPrintPanel : CVarArg { } extension NSPrintPanel : Equatable, Hashable { var hashValue: Int { get } } extension NSPrintPanel { func setAccessoryView(_ accessoryView: NSView?) func accessoryView() -> NSView? func updateFromPrintInfo() func finalWritePrintInfo() } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func beginSheetWithPrintInfo(_ printInfo: NSPrintInfo, modalForWindow docWindow: NSWindow, delegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func beginSheet(with printInfo: NSPrintInfo, modalFor docWindow: NSWindow, delegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func runModalWithPrintInfo(_ printInfo: NSPrintInfo) -> Int |
To | func runModal(with printInfo: NSPrintInfo) -> Int |
Modified NSPrintPanelOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSPrintPanelOptions : OptionSetType { init(rawValue rawValue: UInt) static var ShowsCopies: NSPrintPanelOptions { get } static var ShowsPageRange: NSPrintPanelOptions { get } static var ShowsPaperSize: NSPrintPanelOptions { get } static var ShowsOrientation: NSPrintPanelOptions { get } static var ShowsScaling: NSPrintPanelOptions { get } static var ShowsPrintSelection: NSPrintPanelOptions { get } static var ShowsPageSetupAccessory: NSPrintPanelOptions { get } static var ShowsPreview: NSPrintPanelOptions { get } } | OptionSetType |
To | struct NSPrintPanelOptions : OptionSet { init(rawValue rawValue: UInt) static var showsCopies: NSPrintPanelOptions { get } static var showsPageRange: NSPrintPanelOptions { get } static var showsPaperSize: NSPrintPanelOptions { get } static var showsOrientation: NSPrintPanelOptions { get } static var showsScaling: NSPrintPanelOptions { get } static var showsPrintSelection: NSPrintPanelOptions { get } static var showsPageSetupAccessory: NSPrintPanelOptions { get } static var showsPreview: NSPrintPanelOptions { get } func intersect(_ other: NSPrintPanelOptions) -> NSPrintPanelOptions func exclusiveOr(_ other: NSPrintPanelOptions) -> NSPrintPanelOptions mutating func unionInPlace(_ other: NSPrintPanelOptions) mutating func intersectInPlace(_ other: NSPrintPanelOptions) mutating func exclusiveOrInPlace(_ other: NSPrintPanelOptions) func isSubsetOf(_ other: NSPrintPanelOptions) -> Bool func isDisjointWith(_ other: NSPrintPanelOptions) -> Bool func isSupersetOf(_ other: NSPrintPanelOptions) -> Bool mutating func subtractInPlace(_ other: NSPrintPanelOptions) func isStrictSupersetOf(_ other: NSPrintPanelOptions) -> Bool func isStrictSubsetOf(_ other: NSPrintPanelOptions) -> Bool } extension NSPrintPanelOptions { func union(_ other: NSPrintPanelOptions) -> NSPrintPanelOptions func intersection(_ other: NSPrintPanelOptions) -> NSPrintPanelOptions func symmetricDifference(_ other: NSPrintPanelOptions) -> NSPrintPanelOptions } extension NSPrintPanelOptions { func contains(_ member: NSPrintPanelOptions) -> Bool mutating func insert(_ newMember: NSPrintPanelOptions) -> (inserted: Bool, memberAfterInsert: NSPrintPanelOptions) mutating func remove(_ member: NSPrintPanelOptions) -> NSPrintPanelOptions? mutating func update(with newMember: NSPrintPanelOptions) -> NSPrintPanelOptions? } extension NSPrintPanelOptions { convenience init() mutating func formUnion(_ other: NSPrintPanelOptions) mutating func formIntersection(_ other: NSPrintPanelOptions) mutating func formSymmetricDifference(_ other: NSPrintPanelOptions) } extension NSPrintPanelOptions { convenience init<S : Sequence where S.Iterator.Element == NSPrintPanelOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSPrintPanelOptions...) mutating func subtract(_ other: NSPrintPanelOptions) func isSubset(of other: NSPrintPanelOptions) -> Bool func isSuperset(of other: NSPrintPanelOptions) -> Bool func isDisjoint(with other: NSPrintPanelOptions) -> Bool func subtracting(_ other: NSPrintPanelOptions) -> NSPrintPanelOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSPrintPanelOptions) -> Bool func isStrictSubset(of other: NSPrintPanelOptions) -> Bool } | OptionSet |
Modified NSPrintPanelOptions.showsCopies
Declaration | |
---|---|
From | static var ShowsCopies: NSPrintPanelOptions { get } |
To | static var showsCopies: NSPrintPanelOptions { get } |
Modified NSPrintPanelOptions.showsOrientation
Declaration | |
---|---|
From | static var ShowsOrientation: NSPrintPanelOptions { get } |
To | static var showsOrientation: NSPrintPanelOptions { get } |
Modified NSPrintPanelOptions.showsPageRange
Declaration | |
---|---|
From | static var ShowsPageRange: NSPrintPanelOptions { get } |
To | static var showsPageRange: NSPrintPanelOptions { get } |
Declaration | |
---|---|
From | static var ShowsPageSetupAccessory: NSPrintPanelOptions { get } |
To | static var showsPageSetupAccessory: NSPrintPanelOptions { get } |
Modified NSPrintPanelOptions.showsPaperSize
Declaration | |
---|---|
From | static var ShowsPaperSize: NSPrintPanelOptions { get } |
To | static var showsPaperSize: NSPrintPanelOptions { get } |
Modified NSPrintPanelOptions.showsPreview
Declaration | |
---|---|
From | static var ShowsPreview: NSPrintPanelOptions { get } |
To | static var showsPreview: NSPrintPanelOptions { get } |
Declaration | |
---|---|
From | static var ShowsPrintSelection: NSPrintPanelOptions { get } |
To | static var showsPrintSelection: NSPrintPanelOptions { get } |
Modified NSPrintPanelOptions.showsScaling
Declaration | |
---|---|
From | static var ShowsScaling: NSPrintPanelOptions { get } |
To | static var showsScaling: NSPrintPanelOptions { get } |
Modified NSPrintRenderingQuality [enum]
Declaration | |
---|---|
From | enum NSPrintRenderingQuality : Int { case Best case Responsive } |
To | enum NSPrintRenderingQuality : Int { case best case responsive } |
Modified NSPrintRenderingQuality.best
Declaration | |
---|---|
From | case Best |
To | case best |
Modified NSPrintRenderingQuality.responsive
Declaration | |
---|---|
From | case Responsive |
To | case responsive |
Modified NSProgressIndicator
Declaration | Protocols | |
---|---|---|
From | class NSProgressIndicator : NSView, NSAccessibilityProgressIndicator { var indeterminate: Bool var bezeled: Bool var controlTint: NSControlTint var controlSize: NSControlSize var doubleValue: Double func incrementBy(_ delta: Double) var minValue: Double var maxValue: Double var usesThreadedAnimation: Bool func startAnimation(_ sender: AnyObject?) func stopAnimation(_ sender: AnyObject?) var style: NSProgressIndicatorStyle func sizeToFit() var displayedWhenStopped: Bool } extension NSProgressIndicator { func animationDelay() -> NSTimeInterval func setAnimationDelay(_ delay: NSTimeInterval) func animate(_ sender: AnyObject?) } | NSAccessibilityProgressIndicator |
To | class NSProgressIndicator : NSView, NSAccessibilityProgressIndicator { var isIndeterminate: Bool var isBezeled: Bool var controlTint: NSControlTint var controlSize: NSControlSize var doubleValue: Double func increment(by delta: Double) var minValue: Double var maxValue: Double var usesThreadedAnimation: Bool func startAnimation(_ sender: Any?) func stopAnimation(_ sender: Any?) var style: NSProgressIndicatorStyle func sizeToFit() var isDisplayedWhenStopped: Bool func animationDelay() -> TimeInterval func setAnimationDelay(_ delay: TimeInterval) func animate(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSProgressIndicator : CVarArg { } extension NSProgressIndicator : Equatable, Hashable { var hashValue: Int { get } } extension NSProgressIndicator { func animationDelay() -> TimeInterval func setAnimationDelay(_ delay: TimeInterval) func animate(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSAccessibilityProgressIndicator |
Declaration | |
---|---|
From | func incrementBy(_ delta: Double) |
To | func increment(by delta: Double) |
Modified NSProgressIndicator.isBezeled
Declaration | |
---|---|
From | var bezeled: Bool |
To | var isBezeled: Bool |
Declaration | |
---|---|
From | var displayedWhenStopped: Bool |
To | var isDisplayedWhenStopped: Bool |
Modified NSProgressIndicator.isIndeterminate
Declaration | |
---|---|
From | var indeterminate: Bool |
To | var isIndeterminate: Bool |
Declaration | |
---|---|
From | func startAnimation(_ sender: AnyObject?) |
To | func startAnimation(_ sender: Any?) |
Declaration | |
---|---|
From | func stopAnimation(_ sender: AnyObject?) |
To | func stopAnimation(_ sender: Any?) |
Modified NSProgressIndicatorStyle [enum]
Declaration | |
---|---|
From | enum NSProgressIndicatorStyle : UInt { case BarStyle case SpinningStyle } |
To | enum NSProgressIndicatorStyle : UInt { case barStyle case spinningStyle } |
Modified NSProgressIndicatorStyle.barStyle
Declaration | |
---|---|
From | case BarStyle |
To | case barStyle |
Declaration | |
---|---|
From | case SpinningStyle |
To | case spinningStyle |
Modified NSProgressIndicatorThickness [enum]
Declaration | |
---|---|
From | enum NSProgressIndicatorThickness : UInt { case PreferredThickness case PreferredSmallThickness case PreferredLargeThickness case PreferredAquaThickness } |
To | enum NSProgressIndicatorThickness : UInt { case preferredThickness case preferredSmallThickness case preferredLargeThickness case preferredAquaThickness } |
Declaration | |
---|---|
From | case PreferredAquaThickness |
To | case preferredAquaThickness |
Declaration | |
---|---|
From | case PreferredLargeThickness |
To | case preferredLargeThickness |
Declaration | |
---|---|
From | case PreferredSmallThickness |
To | case preferredSmallThickness |
Declaration | |
---|---|
From | case PreferredThickness |
To | case preferredThickness |
Modified NSRemoteNotificationType [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSRemoteNotificationType : OptionSetType { init(rawValue rawValue: UInt) static var None: NSRemoteNotificationType { get } static var Badge: NSRemoteNotificationType { get } static var Sound: NSRemoteNotificationType { get } static var Alert: NSRemoteNotificationType { get } } | OptionSetType |
To | struct NSRemoteNotificationType : OptionSet { init(rawValue rawValue: UInt) static var none: NSRemoteNotificationType { get } static var badge: NSRemoteNotificationType { get } static var sound: NSRemoteNotificationType { get } static var alert: NSRemoteNotificationType { get } func intersect(_ other: NSRemoteNotificationType) -> NSRemoteNotificationType func exclusiveOr(_ other: NSRemoteNotificationType) -> NSRemoteNotificationType mutating func unionInPlace(_ other: NSRemoteNotificationType) mutating func intersectInPlace(_ other: NSRemoteNotificationType) mutating func exclusiveOrInPlace(_ other: NSRemoteNotificationType) func isSubsetOf(_ other: NSRemoteNotificationType) -> Bool func isDisjointWith(_ other: NSRemoteNotificationType) -> Bool func isSupersetOf(_ other: NSRemoteNotificationType) -> Bool mutating func subtractInPlace(_ other: NSRemoteNotificationType) func isStrictSupersetOf(_ other: NSRemoteNotificationType) -> Bool func isStrictSubsetOf(_ other: NSRemoteNotificationType) -> Bool } extension NSRemoteNotificationType { func union(_ other: NSRemoteNotificationType) -> NSRemoteNotificationType func intersection(_ other: NSRemoteNotificationType) -> NSRemoteNotificationType func symmetricDifference(_ other: NSRemoteNotificationType) -> NSRemoteNotificationType } extension NSRemoteNotificationType { func contains(_ member: NSRemoteNotificationType) -> Bool mutating func insert(_ newMember: NSRemoteNotificationType) -> (inserted: Bool, memberAfterInsert: NSRemoteNotificationType) mutating func remove(_ member: NSRemoteNotificationType) -> NSRemoteNotificationType? mutating func update(with newMember: NSRemoteNotificationType) -> NSRemoteNotificationType? } extension NSRemoteNotificationType { convenience init() mutating func formUnion(_ other: NSRemoteNotificationType) mutating func formIntersection(_ other: NSRemoteNotificationType) mutating func formSymmetricDifference(_ other: NSRemoteNotificationType) } extension NSRemoteNotificationType { convenience init<S : Sequence where S.Iterator.Element == NSRemoteNotificationType>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSRemoteNotificationType...) mutating func subtract(_ other: NSRemoteNotificationType) func isSubset(of other: NSRemoteNotificationType) -> Bool func isSuperset(of other: NSRemoteNotificationType) -> Bool func isDisjoint(with other: NSRemoteNotificationType) -> Bool func subtracting(_ other: NSRemoteNotificationType) -> NSRemoteNotificationType var isEmpty: Bool { get } func isStrictSuperset(of other: NSRemoteNotificationType) -> Bool func isStrictSubset(of other: NSRemoteNotificationType) -> Bool } | OptionSet |
Modified NSRemoteNotificationType.alert
Declaration | |
---|---|
From | static var Alert: NSRemoteNotificationType { get } |
To | static var alert: NSRemoteNotificationType { get } |
Modified NSRemoteNotificationType.badge
Declaration | |
---|---|
From | static var Badge: NSRemoteNotificationType { get } |
To | static var badge: NSRemoteNotificationType { get } |
Modified NSRemoteNotificationType.sound
Declaration | |
---|---|
From | static var Sound: NSRemoteNotificationType { get } |
To | static var sound: NSRemoteNotificationType { get } |
Modified NSRequestUserAttentionType [enum]
Declaration | |
---|---|
From | enum NSRequestUserAttentionType : UInt { case CriticalRequest case InformationalRequest } |
To | enum NSRequestUserAttentionType : UInt { case criticalRequest case informationalRequest } |
Declaration | |
---|---|
From | case CriticalRequest |
To | case criticalRequest |
Declaration | |
---|---|
From | case InformationalRequest |
To | case informationalRequest |
Modified NSResponder
Declaration | Protocols | |
---|---|---|
From | class NSResponder : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var nextResponder: NSResponder? func tryToPerform(_ anAction: Selector, with anObject: AnyObject?) -> Bool func performKeyEquivalent(_ theEvent: NSEvent) -> Bool func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? func mouseDown(_ theEvent: NSEvent) func rightMouseDown(_ theEvent: NSEvent) func otherMouseDown(_ theEvent: NSEvent) func mouseUp(_ theEvent: NSEvent) func rightMouseUp(_ theEvent: NSEvent) func otherMouseUp(_ theEvent: NSEvent) func mouseMoved(_ theEvent: NSEvent) func mouseDragged(_ theEvent: NSEvent) func scrollWheel(_ theEvent: NSEvent) func rightMouseDragged(_ theEvent: NSEvent) func otherMouseDragged(_ theEvent: NSEvent) func mouseEntered(_ theEvent: NSEvent) func mouseExited(_ theEvent: NSEvent) func keyDown(_ theEvent: NSEvent) func keyUp(_ theEvent: NSEvent) func flagsChanged(_ theEvent: NSEvent) func tabletPoint(_ theEvent: NSEvent) func tabletProximity(_ theEvent: NSEvent) func cursorUpdate(_ event: NSEvent) func magnifyWithEvent(_ event: NSEvent) func rotateWithEvent(_ event: NSEvent) func swipeWithEvent(_ event: NSEvent) func beginGestureWithEvent(_ event: NSEvent) func endGestureWithEvent(_ event: NSEvent) func smartMagnifyWithEvent(_ event: NSEvent) func touchesBeganWithEvent(_ event: NSEvent) func touchesMovedWithEvent(_ event: NSEvent) func touchesEndedWithEvent(_ event: NSEvent) func touchesCancelledWithEvent(_ event: NSEvent) func quickLookWithEvent(_ event: NSEvent) func pressureChangeWithEvent(_ event: NSEvent) func noResponderFor(_ eventSelector: Selector) var acceptsFirstResponder: Bool { get } func becomeFirstResponder() -> Bool func resignFirstResponder() -> Bool func interpretKeyEvents(_ eventArray: [NSEvent]) func flushBufferedKeyEvents() var menu: NSMenu? func showContextHelp(_ sender: AnyObject?) func helpRequested(_ eventPtr: NSEvent) func shouldBeTreatedAsInkEvent(_ theEvent: NSEvent) -> Bool func wantsScrollEventsForSwipeTrackingOnAxis(_ axis: NSEventGestureAxis) -> Bool func wantsForwardedScrollEventsForAxis(_ axis: NSEventGestureAxis) -> Bool func supplementalTargetForAction(_ action: Selector, sender sender: AnyObject?) -> AnyObject? } extension NSResponder { func interfaceStyle() -> NSInterfaceStyle func setInterfaceStyle(_ interfaceStyle: NSInterfaceStyle) } extension NSResponder { func insertText(_ insertString: AnyObject) func doCommandBySelector(_ aSelector: Selector) func moveForward(_ sender: AnyObject?) func moveRight(_ sender: AnyObject?) func moveBackward(_ sender: AnyObject?) func moveLeft(_ sender: AnyObject?) func moveUp(_ sender: AnyObject?) func moveDown(_ sender: AnyObject?) func moveWordForward(_ sender: AnyObject?) func moveWordBackward(_ sender: AnyObject?) func moveToBeginningOfLine(_ sender: AnyObject?) func moveToEndOfLine(_ sender: AnyObject?) func moveToBeginningOfParagraph(_ sender: AnyObject?) func moveToEndOfParagraph(_ sender: AnyObject?) func moveToEndOfDocument(_ sender: AnyObject?) func moveToBeginningOfDocument(_ sender: AnyObject?) func pageDown(_ sender: AnyObject?) func pageUp(_ sender: AnyObject?) func centerSelectionInVisibleArea(_ sender: AnyObject?) func moveBackwardAndModifySelection(_ sender: AnyObject?) func moveForwardAndModifySelection(_ sender: AnyObject?) func moveWordForwardAndModifySelection(_ sender: AnyObject?) func moveWordBackwardAndModifySelection(_ sender: AnyObject?) func moveUpAndModifySelection(_ sender: AnyObject?) func moveDownAndModifySelection(_ sender: AnyObject?) func moveToBeginningOfLineAndModifySelection(_ sender: AnyObject?) func moveToEndOfLineAndModifySelection(_ sender: AnyObject?) func moveToBeginningOfParagraphAndModifySelection(_ sender: AnyObject?) func moveToEndOfParagraphAndModifySelection(_ sender: AnyObject?) func moveToEndOfDocumentAndModifySelection(_ sender: AnyObject?) func moveToBeginningOfDocumentAndModifySelection(_ sender: AnyObject?) func pageDownAndModifySelection(_ sender: AnyObject?) func pageUpAndModifySelection(_ sender: AnyObject?) func moveParagraphForwardAndModifySelection(_ sender: AnyObject?) func moveParagraphBackwardAndModifySelection(_ sender: AnyObject?) func moveWordRight(_ sender: AnyObject?) func moveWordLeft(_ sender: AnyObject?) func moveRightAndModifySelection(_ sender: AnyObject?) func moveLeftAndModifySelection(_ sender: AnyObject?) func moveWordRightAndModifySelection(_ sender: AnyObject?) func moveWordLeftAndModifySelection(_ sender: AnyObject?) func moveToLeftEndOfLine(_ sender: AnyObject?) func moveToRightEndOfLine(_ sender: AnyObject?) func moveToLeftEndOfLineAndModifySelection(_ sender: AnyObject?) func moveToRightEndOfLineAndModifySelection(_ sender: AnyObject?) func scrollPageUp(_ sender: AnyObject?) func scrollPageDown(_ sender: AnyObject?) func scrollLineUp(_ sender: AnyObject?) func scrollLineDown(_ sender: AnyObject?) func scrollToBeginningOfDocument(_ sender: AnyObject?) func scrollToEndOfDocument(_ sender: AnyObject?) func transpose(_ sender: AnyObject?) func transposeWords(_ sender: AnyObject?) func selectAll(_ sender: AnyObject?) func selectParagraph(_ sender: AnyObject?) func selectLine(_ sender: AnyObject?) func selectWord(_ sender: AnyObject?) func indent(_ sender: AnyObject?) func insertTab(_ sender: AnyObject?) func insertBacktab(_ sender: AnyObject?) func insertNewline(_ sender: AnyObject?) func insertParagraphSeparator(_ sender: AnyObject?) func insertNewlineIgnoringFieldEditor(_ sender: AnyObject?) func insertTabIgnoringFieldEditor(_ sender: AnyObject?) func insertLineBreak(_ sender: AnyObject?) func insertContainerBreak(_ sender: AnyObject?) func insertSingleQuoteIgnoringSubstitution(_ sender: AnyObject?) func insertDoubleQuoteIgnoringSubstitution(_ sender: AnyObject?) func changeCaseOfLetter(_ sender: AnyObject?) func uppercaseWord(_ sender: AnyObject?) func lowercaseWord(_ sender: AnyObject?) func capitalizeWord(_ sender: AnyObject?) func deleteForward(_ sender: AnyObject?) func deleteBackward(_ sender: AnyObject?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: AnyObject?) func deleteWordForward(_ sender: AnyObject?) func deleteWordBackward(_ sender: AnyObject?) func deleteToBeginningOfLine(_ sender: AnyObject?) func deleteToEndOfLine(_ sender: AnyObject?) func deleteToBeginningOfParagraph(_ sender: AnyObject?) func deleteToEndOfParagraph(_ sender: AnyObject?) func yank(_ sender: AnyObject?) func complete(_ sender: AnyObject?) func setMark(_ sender: AnyObject?) func deleteToMark(_ sender: AnyObject?) func selectToMark(_ sender: AnyObject?) func swapWithMark(_ sender: AnyObject?) func cancelOperation(_ sender: AnyObject?) func makeBaseWritingDirectionNatural(_ sender: AnyObject?) func makeBaseWritingDirectionLeftToRight(_ sender: AnyObject?) func makeBaseWritingDirectionRightToLeft(_ sender: AnyObject?) func makeTextWritingDirectionNatural(_ sender: AnyObject?) func makeTextWritingDirectionLeftToRight(_ sender: AnyObject?) func makeTextWritingDirectionRightToLeft(_ sender: AnyObject?) func quickLookPreviewItems(_ sender: AnyObject?) } extension NSResponder { var undoManager: NSUndoManager? { get } } extension NSResponder { func validateProposedFirstResponder(_ responder: NSResponder, forEvent event: NSEvent?) -> Bool } extension NSResponder { func presentError(_ error: NSError, modalForWindow window: NSWindow, delegate delegate: AnyObject?, didPresentSelector didPresentSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func presentError(_ error: NSError) -> Bool func willPresentError(_ error: NSError) -> NSError } extension NSResponder { func performTextFinderAction(_ sender: AnyObject?) } extension NSResponder { func performMnemonic(_ theString: String) -> Bool } extension NSResponder { var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) } extension NSResponder { func encodeRestorableStateWithCoder(_ coder: NSCoder) func restoreStateWithCoder(_ coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } | NSCoding |
To | class NSResponder : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var nextResponder: NSResponder? func `try`(toPerform action: Selector, with object: Any?) -> Bool func performKeyEquivalent(with event: NSEvent) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseMoved(with event: NSEvent) func mouseDragged(with event: NSEvent) func scrollWheel(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func mouseEntered(with event: NSEvent) func mouseExited(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func tabletProximity(with event: NSEvent) func cursorUpdate(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func swipe(with event: NSEvent) func beginGesture(with event: NSEvent) func endGesture(with event: NSEvent) func smartMagnify(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) func quickLook(with event: NSEvent) func pressureChange(with event: NSEvent) func noResponder(for eventSelector: Selector) var acceptsFirstResponder: Bool { get } func becomeFirstResponder() -> Bool func resignFirstResponder() -> Bool func interpretKeyEvents(_ eventArray: [NSEvent]) func flushBufferedKeyEvents() var menu: NSMenu? func showContextHelp(_ sender: Any?) func helpRequested(_ eventPtr: NSEvent) func shouldBeTreatedAsInkEvent(_ event: NSEvent) -> Bool func wantsScrollEventsForSwipeTracking(on axis: NSEventGestureAxis) -> Bool func wantsForwardedScrollEvents(for axis: NSEventGestureAxis) -> Bool func supplementalTarget(forAction action: Selector, sender sender: Any?) -> Any? func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? } extension NSResponder { func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) } extension NSResponder : CVarArg { } extension NSResponder : Equatable, Hashable { var hashValue: Int { get } } extension NSResponder { func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) } extension NSResponder { var undoManager: UndoManager? { get } } extension NSResponder { func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool } extension NSResponder { func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error } extension NSResponder { func performTextFinderAction(_ sender: Any?) } extension NSResponder { @IBAction func newWindowForTab(_ sender: Any?) } extension NSResponder { func performMnemonic(_ string: String) -> Bool } extension NSResponder { var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) } extension NSResponder { func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func beginGestureWithEvent(_ event: NSEvent) |
To | func beginGesture(with event: NSEvent) |
Modified NSResponder.cancelOperation(_: Any?)
Declaration | |
---|---|
From | func cancelOperation(_ sender: AnyObject?) |
To | func cancelOperation(_ sender: Any?) |
Modified NSResponder.capitalizeWord(_: Any?)
Declaration | |
---|---|
From | func capitalizeWord(_ sender: AnyObject?) |
To | func capitalizeWord(_ sender: Any?) |
Modified NSResponder.centerSelectionInVisibleArea(_: Any?)
Declaration | |
---|---|
From | func centerSelectionInVisibleArea(_ sender: AnyObject?) |
To | func centerSelectionInVisibleArea(_ sender: Any?) |
Modified NSResponder.changeCaseOfLetter(_: Any?)
Declaration | |
---|---|
From | func changeCaseOfLetter(_ sender: AnyObject?) |
To | func changeCaseOfLetter(_ sender: Any?) |
Modified NSResponder.complete(_: Any?)
Declaration | |
---|---|
From | func complete(_ sender: AnyObject?) |
To | func complete(_ sender: Any?) |
Declaration | |
---|---|
From | func cursorUpdate(_ event: NSEvent) |
To | func cursorUpdate(with event: NSEvent) |
Modified NSResponder.deleteBackward(_: Any?)
Declaration | |
---|---|
From | func deleteBackward(_ sender: AnyObject?) |
To | func deleteBackward(_ sender: Any?) |
Modified NSResponder.deleteBackwardByDecomposingPreviousCharacter(_: Any?)
Declaration | |
---|---|
From | func deleteBackwardByDecomposingPreviousCharacter(_ sender: AnyObject?) |
To | func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) |
Modified NSResponder.deleteForward(_: Any?)
Declaration | |
---|---|
From | func deleteForward(_ sender: AnyObject?) |
To | func deleteForward(_ sender: Any?) |
Modified NSResponder.deleteToBeginningOfLine(_: Any?)
Declaration | |
---|---|
From | func deleteToBeginningOfLine(_ sender: AnyObject?) |
To | func deleteToBeginningOfLine(_ sender: Any?) |
Modified NSResponder.deleteToBeginningOfParagraph(_: Any?)
Declaration | |
---|---|
From | func deleteToBeginningOfParagraph(_ sender: AnyObject?) |
To | func deleteToBeginningOfParagraph(_ sender: Any?) |
Modified NSResponder.deleteToEndOfLine(_: Any?)
Declaration | |
---|---|
From | func deleteToEndOfLine(_ sender: AnyObject?) |
To | func deleteToEndOfLine(_ sender: Any?) |
Modified NSResponder.deleteToEndOfParagraph(_: Any?)
Declaration | |
---|---|
From | func deleteToEndOfParagraph(_ sender: AnyObject?) |
To | func deleteToEndOfParagraph(_ sender: Any?) |
Modified NSResponder.deleteToMark(_: Any?)
Declaration | |
---|---|
From | func deleteToMark(_ sender: AnyObject?) |
To | func deleteToMark(_ sender: Any?) |
Modified NSResponder.deleteWordBackward(_: Any?)
Declaration | |
---|---|
From | func deleteWordBackward(_ sender: AnyObject?) |
To | func deleteWordBackward(_ sender: Any?) |
Modified NSResponder.deleteWordForward(_: Any?)
Declaration | |
---|---|
From | func deleteWordForward(_ sender: AnyObject?) |
To | func deleteWordForward(_ sender: Any?) |
Modified NSResponder.doCommand(by: Selector)
Declaration | |
---|---|
From | func doCommandBySelector(_ aSelector: Selector) |
To | func doCommand(by selector: Selector) |
Declaration | |
---|---|
From | func encodeRestorableStateWithCoder(_ coder: NSCoder) |
To | func encodeRestorableState(with coder: NSCoder) |
Declaration | |
---|---|
From | func endGestureWithEvent(_ event: NSEvent) |
To | func endGesture(with event: NSEvent) |
Declaration | |
---|---|
From | func flagsChanged(_ theEvent: NSEvent) |
To | func flagsChanged(with event: NSEvent) |
Modified NSResponder.indent(_: Any?)
Declaration | |
---|---|
From | func indent(_ sender: AnyObject?) |
To | func indent(_ sender: Any?) |
Modified NSResponder.insertBacktab(_: Any?)
Declaration | |
---|---|
From | func insertBacktab(_ sender: AnyObject?) |
To | func insertBacktab(_ sender: Any?) |
Modified NSResponder.insertContainerBreak(_: Any?)
Declaration | |
---|---|
From | func insertContainerBreak(_ sender: AnyObject?) |
To | func insertContainerBreak(_ sender: Any?) |
Modified NSResponder.insertDoubleQuoteIgnoringSubstitution(_: Any?)
Declaration | |
---|---|
From | func insertDoubleQuoteIgnoringSubstitution(_ sender: AnyObject?) |
To | func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) |
Modified NSResponder.insertLineBreak(_: Any?)
Declaration | |
---|---|
From | func insertLineBreak(_ sender: AnyObject?) |
To | func insertLineBreak(_ sender: Any?) |
Modified NSResponder.insertNewline(_: Any?)
Declaration | |
---|---|
From | func insertNewline(_ sender: AnyObject?) |
To | func insertNewline(_ sender: Any?) |
Modified NSResponder.insertNewlineIgnoringFieldEditor(_: Any?)
Declaration | |
---|---|
From | func insertNewlineIgnoringFieldEditor(_ sender: AnyObject?) |
To | func insertNewlineIgnoringFieldEditor(_ sender: Any?) |
Modified NSResponder.insertParagraphSeparator(_: Any?)
Declaration | |
---|---|
From | func insertParagraphSeparator(_ sender: AnyObject?) |
To | func insertParagraphSeparator(_ sender: Any?) |
Modified NSResponder.insertSingleQuoteIgnoringSubstitution(_: Any?)
Declaration | |
---|---|
From | func insertSingleQuoteIgnoringSubstitution(_ sender: AnyObject?) |
To | func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) |
Modified NSResponder.insertTab(_: Any?)
Declaration | |
---|---|
From | func insertTab(_ sender: AnyObject?) |
To | func insertTab(_ sender: Any?) |
Modified NSResponder.insertTabIgnoringFieldEditor(_: Any?)
Declaration | |
---|---|
From | func insertTabIgnoringFieldEditor(_ sender: AnyObject?) |
To | func insertTabIgnoringFieldEditor(_ sender: Any?) |
Modified NSResponder.insertText(_: Any)
Declaration | |
---|---|
From | func insertText(_ insertString: AnyObject) |
To | func insertText(_ insertString: Any) |
Modified NSResponder.keyDown(with: NSEvent)
Declaration | |
---|---|
From | func keyDown(_ theEvent: NSEvent) |
To | func keyDown(with event: NSEvent) |
Modified NSResponder.keyUp(with: NSEvent)
Declaration | |
---|---|
From | func keyUp(_ theEvent: NSEvent) |
To | func keyUp(with event: NSEvent) |
Modified NSResponder.lowercaseWord(_: Any?)
Declaration | |
---|---|
From | func lowercaseWord(_ sender: AnyObject?) |
To | func lowercaseWord(_ sender: Any?) |
Modified NSResponder.magnify(with: NSEvent)
Declaration | |
---|---|
From | func magnifyWithEvent(_ event: NSEvent) |
To | func magnify(with event: NSEvent) |
Modified NSResponder.makeBaseWritingDirectionLeftToRight(_: Any?)
Declaration | |
---|---|
From | func makeBaseWritingDirectionLeftToRight(_ sender: AnyObject?) |
To | func makeBaseWritingDirectionLeftToRight(_ sender: Any?) |
Modified NSResponder.makeBaseWritingDirectionNatural(_: Any?)
Declaration | |
---|---|
From | func makeBaseWritingDirectionNatural(_ sender: AnyObject?) |
To | func makeBaseWritingDirectionNatural(_ sender: Any?) |
Modified NSResponder.makeBaseWritingDirectionRightToLeft(_: Any?)
Declaration | |
---|---|
From | func makeBaseWritingDirectionRightToLeft(_ sender: AnyObject?) |
To | func makeBaseWritingDirectionRightToLeft(_ sender: Any?) |
Modified NSResponder.makeTextWritingDirectionLeftToRight(_: Any?)
Declaration | |
---|---|
From | func makeTextWritingDirectionLeftToRight(_ sender: AnyObject?) |
To | func makeTextWritingDirectionLeftToRight(_ sender: Any?) |
Modified NSResponder.makeTextWritingDirectionNatural(_: Any?)
Declaration | |
---|---|
From | func makeTextWritingDirectionNatural(_ sender: AnyObject?) |
To | func makeTextWritingDirectionNatural(_ sender: Any?) |
Modified NSResponder.makeTextWritingDirectionRightToLeft(_: Any?)
Declaration | |
---|---|
From | func makeTextWritingDirectionRightToLeft(_ sender: AnyObject?) |
To | func makeTextWritingDirectionRightToLeft(_ sender: Any?) |
Modified NSResponder.mouseDown(with: NSEvent)
Declaration | |
---|---|
From | func mouseDown(_ theEvent: NSEvent) |
To | func mouseDown(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseDragged(_ theEvent: NSEvent) |
To | func mouseDragged(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseEntered(_ theEvent: NSEvent) |
To | func mouseEntered(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseExited(_ theEvent: NSEvent) |
To | func mouseExited(with event: NSEvent) |
Declaration | |
---|---|
From | func mouseMoved(_ theEvent: NSEvent) |
To | func mouseMoved(with event: NSEvent) |
Modified NSResponder.mouseUp(with: NSEvent)
Declaration | |
---|---|
From | func mouseUp(_ theEvent: NSEvent) |
To | func mouseUp(with event: NSEvent) |
Modified NSResponder.moveBackward(_: Any?)
Declaration | |
---|---|
From | func moveBackward(_ sender: AnyObject?) |
To | func moveBackward(_ sender: Any?) |
Modified NSResponder.moveBackwardAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveBackwardAndModifySelection(_ sender: AnyObject?) |
To | func moveBackwardAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveDown(_: Any?)
Declaration | |
---|---|
From | func moveDown(_ sender: AnyObject?) |
To | func moveDown(_ sender: Any?) |
Modified NSResponder.moveDownAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveDownAndModifySelection(_ sender: AnyObject?) |
To | func moveDownAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveForward(_: Any?)
Declaration | |
---|---|
From | func moveForward(_ sender: AnyObject?) |
To | func moveForward(_ sender: Any?) |
Modified NSResponder.moveForwardAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveForwardAndModifySelection(_ sender: AnyObject?) |
To | func moveForwardAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveLeft(_: Any?)
Declaration | |
---|---|
From | func moveLeft(_ sender: AnyObject?) |
To | func moveLeft(_ sender: Any?) |
Modified NSResponder.moveLeftAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveLeftAndModifySelection(_ sender: AnyObject?) |
To | func moveLeftAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveParagraphBackwardAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveParagraphBackwardAndModifySelection(_ sender: AnyObject?) |
To | func moveParagraphBackwardAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveParagraphForwardAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveParagraphForwardAndModifySelection(_ sender: AnyObject?) |
To | func moveParagraphForwardAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveRight(_: Any?)
Declaration | |
---|---|
From | func moveRight(_ sender: AnyObject?) |
To | func moveRight(_ sender: Any?) |
Modified NSResponder.moveRightAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveRightAndModifySelection(_ sender: AnyObject?) |
To | func moveRightAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToBeginningOfDocument(_: Any?)
Declaration | |
---|---|
From | func moveToBeginningOfDocument(_ sender: AnyObject?) |
To | func moveToBeginningOfDocument(_ sender: Any?) |
Modified NSResponder.moveToBeginningOfDocumentAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToBeginningOfDocumentAndModifySelection(_ sender: AnyObject?) |
To | func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToBeginningOfLine(_: Any?)
Declaration | |
---|---|
From | func moveToBeginningOfLine(_ sender: AnyObject?) |
To | func moveToBeginningOfLine(_ sender: Any?) |
Modified NSResponder.moveToBeginningOfLineAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToBeginningOfLineAndModifySelection(_ sender: AnyObject?) |
To | func moveToBeginningOfLineAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToBeginningOfParagraph(_: Any?)
Declaration | |
---|---|
From | func moveToBeginningOfParagraph(_ sender: AnyObject?) |
To | func moveToBeginningOfParagraph(_ sender: Any?) |
Modified NSResponder.moveToBeginningOfParagraphAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToBeginningOfParagraphAndModifySelection(_ sender: AnyObject?) |
To | func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToEndOfDocument(_: Any?)
Declaration | |
---|---|
From | func moveToEndOfDocument(_ sender: AnyObject?) |
To | func moveToEndOfDocument(_ sender: Any?) |
Modified NSResponder.moveToEndOfDocumentAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToEndOfDocumentAndModifySelection(_ sender: AnyObject?) |
To | func moveToEndOfDocumentAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToEndOfLine(_: Any?)
Declaration | |
---|---|
From | func moveToEndOfLine(_ sender: AnyObject?) |
To | func moveToEndOfLine(_ sender: Any?) |
Modified NSResponder.moveToEndOfLineAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToEndOfLineAndModifySelection(_ sender: AnyObject?) |
To | func moveToEndOfLineAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToEndOfParagraph(_: Any?)
Declaration | |
---|---|
From | func moveToEndOfParagraph(_ sender: AnyObject?) |
To | func moveToEndOfParagraph(_ sender: Any?) |
Modified NSResponder.moveToEndOfParagraphAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToEndOfParagraphAndModifySelection(_ sender: AnyObject?) |
To | func moveToEndOfParagraphAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToLeftEndOfLine(_: Any?)
Declaration | |
---|---|
From | func moveToLeftEndOfLine(_ sender: AnyObject?) |
To | func moveToLeftEndOfLine(_ sender: Any?) |
Modified NSResponder.moveToLeftEndOfLineAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToLeftEndOfLineAndModifySelection(_ sender: AnyObject?) |
To | func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveToRightEndOfLine(_: Any?)
Declaration | |
---|---|
From | func moveToRightEndOfLine(_ sender: AnyObject?) |
To | func moveToRightEndOfLine(_ sender: Any?) |
Modified NSResponder.moveToRightEndOfLineAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveToRightEndOfLineAndModifySelection(_ sender: AnyObject?) |
To | func moveToRightEndOfLineAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveUp(_: Any?)
Declaration | |
---|---|
From | func moveUp(_ sender: AnyObject?) |
To | func moveUp(_ sender: Any?) |
Modified NSResponder.moveUpAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveUpAndModifySelection(_ sender: AnyObject?) |
To | func moveUpAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveWordBackward(_: Any?)
Declaration | |
---|---|
From | func moveWordBackward(_ sender: AnyObject?) |
To | func moveWordBackward(_ sender: Any?) |
Modified NSResponder.moveWordBackwardAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveWordBackwardAndModifySelection(_ sender: AnyObject?) |
To | func moveWordBackwardAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveWordForward(_: Any?)
Declaration | |
---|---|
From | func moveWordForward(_ sender: AnyObject?) |
To | func moveWordForward(_ sender: Any?) |
Modified NSResponder.moveWordForwardAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveWordForwardAndModifySelection(_ sender: AnyObject?) |
To | func moveWordForwardAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveWordLeft(_: Any?)
Declaration | |
---|---|
From | func moveWordLeft(_ sender: AnyObject?) |
To | func moveWordLeft(_ sender: Any?) |
Modified NSResponder.moveWordLeftAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveWordLeftAndModifySelection(_ sender: AnyObject?) |
To | func moveWordLeftAndModifySelection(_ sender: Any?) |
Modified NSResponder.moveWordRight(_: Any?)
Declaration | |
---|---|
From | func moveWordRight(_ sender: AnyObject?) |
To | func moveWordRight(_ sender: Any?) |
Modified NSResponder.moveWordRightAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func moveWordRightAndModifySelection(_ sender: AnyObject?) |
To | func moveWordRightAndModifySelection(_ sender: Any?) |
Declaration | |
---|---|
From | func noResponderFor(_ eventSelector: Selector) |
To | func noResponder(for eventSelector: Selector) |
Declaration | |
---|---|
From | func otherMouseDown(_ theEvent: NSEvent) |
To | func otherMouseDown(with event: NSEvent) |
Declaration | |
---|---|
From | func otherMouseDragged(_ theEvent: NSEvent) |
To | func otherMouseDragged(with event: NSEvent) |
Declaration | |
---|---|
From | func otherMouseUp(_ theEvent: NSEvent) |
To | func otherMouseUp(with event: NSEvent) |
Modified NSResponder.pageDown(_: Any?)
Declaration | |
---|---|
From | func pageDown(_ sender: AnyObject?) |
To | func pageDown(_ sender: Any?) |
Modified NSResponder.pageDownAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func pageDownAndModifySelection(_ sender: AnyObject?) |
To | func pageDownAndModifySelection(_ sender: Any?) |
Modified NSResponder.pageUp(_: Any?)
Declaration | |
---|---|
From | func pageUp(_ sender: AnyObject?) |
To | func pageUp(_ sender: Any?) |
Modified NSResponder.pageUpAndModifySelection(_: Any?)
Declaration | |
---|---|
From | func pageUpAndModifySelection(_ sender: AnyObject?) |
To | func pageUpAndModifySelection(_ sender: Any?) |
Declaration | |
---|---|
From | func performKeyEquivalent(_ theEvent: NSEvent) -> Bool |
To | func performKeyEquivalent(with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | func performTextFinderAction(_ sender: AnyObject?) |
To | func performTextFinderAction(_ sender: Any?) |
Declaration | |
---|---|
From | func presentError(_ error: NSError) -> Bool |
To | func presentError(_ error: Error) -> Bool |
Declaration | |
---|---|
From | func presentError(_ error: NSError, modalForWindow window: NSWindow, delegate delegate: AnyObject?, didPresentSelector didPresentSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func pressureChangeWithEvent(_ event: NSEvent) |
To | func pressureChange(with event: NSEvent) |
Modified NSResponder.quickLook(with: NSEvent)
Declaration | |
---|---|
From | func quickLookWithEvent(_ event: NSEvent) |
To | func quickLook(with event: NSEvent) |
Modified NSResponder.quickLookPreviewItems(_: Any?)
Declaration | |
---|---|
From | func quickLookPreviewItems(_ sender: AnyObject?) |
To | func quickLookPreviewItems(_ sender: Any?) |
Declaration | |
---|---|
From | func restoreStateWithCoder(_ coder: NSCoder) |
To | func restoreState(with coder: NSCoder) |
Declaration | |
---|---|
From | func rightMouseDown(_ theEvent: NSEvent) |
To | func rightMouseDown(with event: NSEvent) |
Declaration | |
---|---|
From | func rightMouseDragged(_ theEvent: NSEvent) |
To | func rightMouseDragged(with event: NSEvent) |
Declaration | |
---|---|
From | func rightMouseUp(_ theEvent: NSEvent) |
To | func rightMouseUp(with event: NSEvent) |
Modified NSResponder.rotate(with: NSEvent)
Declaration | |
---|---|
From | func rotateWithEvent(_ event: NSEvent) |
To | func rotate(with event: NSEvent) |
Modified NSResponder.scrollLineDown(_: Any?)
Declaration | |
---|---|
From | func scrollLineDown(_ sender: AnyObject?) |
To | func scrollLineDown(_ sender: Any?) |
Modified NSResponder.scrollLineUp(_: Any?)
Declaration | |
---|---|
From | func scrollLineUp(_ sender: AnyObject?) |
To | func scrollLineUp(_ sender: Any?) |
Modified NSResponder.scrollPageDown(_: Any?)
Declaration | |
---|---|
From | func scrollPageDown(_ sender: AnyObject?) |
To | func scrollPageDown(_ sender: Any?) |
Modified NSResponder.scrollPageUp(_: Any?)
Declaration | |
---|---|
From | func scrollPageUp(_ sender: AnyObject?) |
To | func scrollPageUp(_ sender: Any?) |
Modified NSResponder.scrollToBeginningOfDocument(_: Any?)
Declaration | |
---|---|
From | func scrollToBeginningOfDocument(_ sender: AnyObject?) |
To | func scrollToBeginningOfDocument(_ sender: Any?) |
Modified NSResponder.scrollToEndOfDocument(_: Any?)
Declaration | |
---|---|
From | func scrollToEndOfDocument(_ sender: AnyObject?) |
To | func scrollToEndOfDocument(_ sender: Any?) |
Declaration | |
---|---|
From | func scrollWheel(_ theEvent: NSEvent) |
To | func scrollWheel(with event: NSEvent) |
Modified NSResponder.selectAll(_: Any?)
Declaration | |
---|---|
From | func selectAll(_ sender: AnyObject?) |
To | func selectAll(_ sender: Any?) |
Modified NSResponder.selectLine(_: Any?)
Declaration | |
---|---|
From | func selectLine(_ sender: AnyObject?) |
To | func selectLine(_ sender: Any?) |
Modified NSResponder.selectParagraph(_: Any?)
Declaration | |
---|---|
From | func selectParagraph(_ sender: AnyObject?) |
To | func selectParagraph(_ sender: Any?) |
Modified NSResponder.selectToMark(_: Any?)
Declaration | |
---|---|
From | func selectToMark(_ sender: AnyObject?) |
To | func selectToMark(_ sender: Any?) |
Modified NSResponder.selectWord(_: Any?)
Declaration | |
---|---|
From | func selectWord(_ sender: AnyObject?) |
To | func selectWord(_ sender: Any?) |
Modified NSResponder.setMark(_: Any?)
Declaration | |
---|---|
From | func setMark(_ sender: AnyObject?) |
To | func setMark(_ sender: Any?) |
Modified NSResponder.showContextHelp(_: Any?)
Declaration | |
---|---|
From | func showContextHelp(_ sender: AnyObject?) |
To | func showContextHelp(_ sender: Any?) |
Declaration | |
---|---|
From | func smartMagnifyWithEvent(_ event: NSEvent) |
To | func smartMagnify(with event: NSEvent) |
Declaration | |
---|---|
From | func supplementalTargetForAction(_ action: Selector, sender sender: AnyObject?) -> AnyObject? |
To | func supplementalTarget(forAction action: Selector, sender sender: Any?) -> Any? |
Modified NSResponder.swapWithMark(_: Any?)
Declaration | |
---|---|
From | func swapWithMark(_ sender: AnyObject?) |
To | func swapWithMark(_ sender: Any?) |
Modified NSResponder.swipe(with: NSEvent)
Declaration | |
---|---|
From | func swipeWithEvent(_ event: NSEvent) |
To | func swipe(with event: NSEvent) |
Declaration | |
---|---|
From | func tabletPoint(_ theEvent: NSEvent) |
To | func tabletPoint(with event: NSEvent) |
Declaration | |
---|---|
From | func tabletProximity(_ theEvent: NSEvent) |
To | func tabletProximity(with event: NSEvent) |
Declaration | |
---|---|
From | func touchesBeganWithEvent(_ event: NSEvent) |
To | func touchesBegan(with event: NSEvent) |
Declaration | |
---|---|
From | func touchesCancelledWithEvent(_ event: NSEvent) |
To | func touchesCancelled(with event: NSEvent) |
Declaration | |
---|---|
From | func touchesEndedWithEvent(_ event: NSEvent) |
To | func touchesEnded(with event: NSEvent) |
Declaration | |
---|---|
From | func touchesMovedWithEvent(_ event: NSEvent) |
To | func touchesMoved(with event: NSEvent) |
Modified NSResponder.transpose(_: Any?)
Declaration | |
---|---|
From | func transpose(_ sender: AnyObject?) |
To | func transpose(_ sender: Any?) |
Modified NSResponder.transposeWords(_: Any?)
Declaration | |
---|---|
From | func transposeWords(_ sender: AnyObject?) |
To | func transposeWords(_ sender: Any?) |
Declaration | |
---|---|
From | func tryToPerform(_ anAction: Selector, with anObject: AnyObject?) -> Bool |
To | func `try`(toPerform action: Selector, with object: Any?) -> Bool |
Modified NSResponder.undoManager
Declaration | |
---|---|
From | var undoManager: NSUndoManager? { get } |
To | var undoManager: UndoManager? { get } |
Modified NSResponder.uppercaseWord(_: Any?)
Declaration | |
---|---|
From | func uppercaseWord(_ sender: AnyObject?) |
To | func uppercaseWord(_ sender: Any?) |
Declaration | |
---|---|
From | func validateProposedFirstResponder(_ responder: NSResponder, forEvent event: NSEvent?) -> Bool |
To | func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool |
Declaration | |
---|---|
From | func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? |
To | func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? |
Declaration | |
---|---|
From | func wantsForwardedScrollEventsForAxis(_ axis: NSEventGestureAxis) -> Bool |
To | func wantsForwardedScrollEvents(for axis: NSEventGestureAxis) -> Bool |
Declaration | |
---|---|
From | func wantsScrollEventsForSwipeTrackingOnAxis(_ axis: NSEventGestureAxis) -> Bool |
To | func wantsScrollEventsForSwipeTracking(on axis: NSEventGestureAxis) -> Bool |
Declaration | |
---|---|
From | func willPresentError(_ error: NSError) -> NSError |
To | func willPresentError(_ error: Error) -> Error |
Modified NSResponder.yank(_: Any?)
Declaration | |
---|---|
From | func yank(_ sender: AnyObject?) |
To | func yank(_ sender: Any?) |
Modified NSRotationGestureRecognizer
Declaration | Protocols | |
---|---|---|
From | class NSRotationGestureRecognizer : NSGestureRecognizer { var rotation: CGFloat var rotationInDegrees: CGFloat } | -- |
To | class NSRotationGestureRecognizer : NSGestureRecognizer { var rotation: CGFloat var rotationInDegrees: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRotationGestureRecognizer : CVarArg { } extension NSRotationGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSRuleEditor
Declaration | Protocols | |
---|---|---|
From | class NSRuleEditor : NSControl { unowned(unsafe) var delegate: NSRuleEditorDelegate? var formattingStringsFilename: String? var formattingDictionary: [String : String]? func reloadCriteria() var nestingMode: NSRuleEditorNestingMode var rowHeight: CGFloat var editable: Bool var canRemoveAllRows: Bool var predicate: NSPredicate? { get } func reloadPredicate() func predicateForRow(_ row: Int) -> NSPredicate? var numberOfRows: Int { get } func subrowIndexesForRow(_ rowIndex: Int) -> NSIndexSet func criteriaForRow(_ row: Int) -> [AnyObject] func displayValuesForRow(_ row: Int) -> [AnyObject] func rowForDisplayValue(_ displayValue: AnyObject) -> Int func rowTypeForRow(_ rowIndex: Int) -> NSRuleEditorRowType func parentRowForRow(_ rowIndex: Int) -> Int func addRow(_ sender: AnyObject?) func insertRowAtIndex(_ rowIndex: Int, withType rowType: NSRuleEditorRowType, asSubrowOfRow parentRow: Int, animate shouldAnimate: Bool) func setCriteria(_ criteria: [AnyObject], andDisplayValues values: [AnyObject], forRowAtIndex rowIndex: Int) func removeRowAtIndex(_ rowIndex: Int) func removeRowsAtIndexes(_ rowIndexes: NSIndexSet, includeSubrows includeSubrows: Bool) @NSCopying var selectedRowIndexes: NSIndexSet { get } func selectRowIndexes(_ indexes: NSIndexSet, byExtendingSelection extend: Bool) var rowClass: AnyClass var rowTypeKeyPath: String var subrowsKeyPath: String var criteriaKeyPath: String var displayValuesKeyPath: String } | -- |
To | class NSRuleEditor : NSControl { unowned(unsafe) var delegate: NSRuleEditorDelegate? var formattingStringsFilename: String? var formattingDictionary: [String : String]? func reloadCriteria() var nestingMode: NSRuleEditorNestingMode var rowHeight: CGFloat var isEditable: Bool var canRemoveAllRows: Bool var predicate: NSPredicate? { get } func reloadPredicate() func predicate(forRow row: Int) -> NSPredicate? var numberOfRows: Int { get } func subrowIndexes(forRow rowIndex: Int) -> IndexSet func criteria(forRow row: Int) -> [Any] func displayValues(forRow row: Int) -> [Any] func row(forDisplayValue displayValue: Any) -> Int func rowType(forRow rowIndex: Int) -> NSRuleEditorRowType func parentRow(forRow rowIndex: Int) -> Int func addRow(_ sender: Any?) func insertRow(at rowIndex: Int, with rowType: NSRuleEditorRowType, asSubrowOfRow parentRow: Int, animate shouldAnimate: Bool) func setCriteria(_ criteria: [Any], andDisplayValues values: [Any], forRowAt rowIndex: Int) func removeRow(at rowIndex: Int) func removeRows(at rowIndexes: IndexSet, includeSubrows includeSubrows: Bool) var selectedRowIndexes: IndexSet { get } func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) var rowClass: Swift.AnyClass var rowTypeKeyPath: String var subrowsKeyPath: String var criteriaKeyPath: String var displayValuesKeyPath: String func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRuleEditor : CVarArg { } extension NSRuleEditor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSRuleEditor.addRow(_: Any?)
Declaration | |
---|---|
From | func addRow(_ sender: AnyObject?) |
To | func addRow(_ sender: Any?) |
Declaration | |
---|---|
From | func criteriaForRow(_ row: Int) -> [AnyObject] |
To | func criteria(forRow row: Int) -> [Any] |
Declaration | |
---|---|
From | func displayValuesForRow(_ row: Int) -> [AnyObject] |
To | func displayValues(forRow row: Int) -> [Any] |
Modified NSRuleEditor.insertRow(at: Int, with: NSRuleEditorRowType, asSubrowOfRow: Int, animate: Bool)
Declaration | |
---|---|
From | func insertRowAtIndex(_ rowIndex: Int, withType rowType: NSRuleEditorRowType, asSubrowOfRow parentRow: Int, animate shouldAnimate: Bool) |
To | func insertRow(at rowIndex: Int, with rowType: NSRuleEditorRowType, asSubrowOfRow parentRow: Int, animate shouldAnimate: Bool) |
Modified NSRuleEditor.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Declaration | |
---|---|
From | func parentRowForRow(_ rowIndex: Int) -> Int |
To | func parentRow(forRow rowIndex: Int) -> Int |
Declaration | |
---|---|
From | func predicateForRow(_ row: Int) -> NSPredicate? |
To | func predicate(forRow row: Int) -> NSPredicate? |
Modified NSRuleEditor.removeRow(at: Int)
Declaration | |
---|---|
From | func removeRowAtIndex(_ rowIndex: Int) |
To | func removeRow(at rowIndex: Int) |
Declaration | |
---|---|
From | func removeRowsAtIndexes(_ rowIndexes: NSIndexSet, includeSubrows includeSubrows: Bool) |
To | func removeRows(at rowIndexes: IndexSet, includeSubrows includeSubrows: Bool) |
Declaration | |
---|---|
From | func rowForDisplayValue(_ displayValue: AnyObject) -> Int |
To | func row(forDisplayValue displayValue: Any) -> Int |
Modified NSRuleEditor.rowClass
Declaration | |
---|---|
From | var rowClass: AnyClass |
To | var rowClass: Swift.AnyClass |
Declaration | |
---|---|
From | func rowTypeForRow(_ rowIndex: Int) -> NSRuleEditorRowType |
To | func rowType(forRow rowIndex: Int) -> NSRuleEditorRowType |
Modified NSRuleEditor.selectedRowIndexes
Declaration | |
---|---|
From | @NSCopying var selectedRowIndexes: NSIndexSet { get } |
To | var selectedRowIndexes: IndexSet { get } |
Declaration | |
---|---|
From | func selectRowIndexes(_ indexes: NSIndexSet, byExtendingSelection extend: Bool) |
To | func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) |
Declaration | |
---|---|
From | func setCriteria(_ criteria: [AnyObject], andDisplayValues values: [AnyObject], forRowAtIndex rowIndex: Int) |
To | func setCriteria(_ criteria: [Any], andDisplayValues values: [Any], forRowAt rowIndex: Int) |
Declaration | |
---|---|
From | func subrowIndexesForRow(_ rowIndex: Int) -> NSIndexSet |
To | func subrowIndexes(forRow rowIndex: Int) -> IndexSet |
Modified NSRuleEditorDelegate
Declaration | |
---|---|
From | protocol NSRuleEditorDelegate : NSObjectProtocol { func ruleEditor(_ editor: NSRuleEditor, numberOfChildrenForCriterion criterion: AnyObject?, withRowType rowType: NSRuleEditorRowType) -> Int func ruleEditor(_ editor: NSRuleEditor, child index: Int, forCriterion criterion: AnyObject?, withRowType rowType: NSRuleEditorRowType) -> AnyObject func ruleEditor(_ editor: NSRuleEditor, displayValueForCriterion criterion: AnyObject, inRow row: Int) -> AnyObject optional func ruleEditor(_ editor: NSRuleEditor, predicatePartsForCriterion criterion: AnyObject, withDisplayValue value: AnyObject, inRow row: Int) -> [String : AnyObject]? optional func ruleEditorRowsDidChange(_ notification: NSNotification) } |
To | protocol NSRuleEditorDelegate : NSObjectProtocol { func ruleEditor(_ editor: NSRuleEditor, numberOfChildrenForCriterion criterion: Any?, with rowType: NSRuleEditorRowType) -> Int func ruleEditor(_ editor: NSRuleEditor, child index: Int, forCriterion criterion: Any?, with rowType: NSRuleEditorRowType) -> Any func ruleEditor(_ editor: NSRuleEditor, displayValueForCriterion criterion: Any, inRow row: Int) -> Any optional func ruleEditor(_ editor: NSRuleEditor, predicatePartsForCriterion criterion: Any, withDisplayValue value: Any, inRow row: Int) -> [String : Any]? optional func ruleEditorRowsDidChange(_ notification: Notification) } |
Declaration | |
---|---|
From | func ruleEditor(_ editor: NSRuleEditor, child index: Int, forCriterion criterion: AnyObject?, withRowType rowType: NSRuleEditorRowType) -> AnyObject |
To | func ruleEditor(_ editor: NSRuleEditor, child index: Int, forCriterion criterion: Any?, with rowType: NSRuleEditorRowType) -> Any |
Modified NSRuleEditorDelegate.ruleEditor(_: NSRuleEditor, displayValueForCriterion: Any, inRow: Int) -> Any
Declaration | |
---|---|
From | func ruleEditor(_ editor: NSRuleEditor, displayValueForCriterion criterion: AnyObject, inRow row: Int) -> AnyObject |
To | func ruleEditor(_ editor: NSRuleEditor, displayValueForCriterion criterion: Any, inRow row: Int) -> Any |
Declaration | |
---|---|
From | func ruleEditor(_ editor: NSRuleEditor, numberOfChildrenForCriterion criterion: AnyObject?, withRowType rowType: NSRuleEditorRowType) -> Int |
To | func ruleEditor(_ editor: NSRuleEditor, numberOfChildrenForCriterion criterion: Any?, with rowType: NSRuleEditorRowType) -> Int |
Declaration | |
---|---|
From | optional func ruleEditor(_ editor: NSRuleEditor, predicatePartsForCriterion criterion: AnyObject, withDisplayValue value: AnyObject, inRow row: Int) -> [String : AnyObject]? |
To | optional func ruleEditor(_ editor: NSRuleEditor, predicatePartsForCriterion criterion: Any, withDisplayValue value: Any, inRow row: Int) -> [String : Any]? |
Declaration | |
---|---|
From | optional func ruleEditorRowsDidChange(_ notification: NSNotification) |
To | optional func ruleEditorRowsDidChange(_ notification: Notification) |
Modified NSRuleEditorNestingMode [enum]
Declaration | |
---|---|
From | enum NSRuleEditorNestingMode : UInt { case Single case List case Compound case Simple } |
To | enum NSRuleEditorNestingMode : UInt { case single case list case compound case simple } |
Modified NSRuleEditorNestingMode.compound
Declaration | |
---|---|
From | case Compound |
To | case compound |
Modified NSRuleEditorNestingMode.list
Declaration | |
---|---|
From | case List |
To | case list |
Modified NSRuleEditorNestingMode.simple
Declaration | |
---|---|
From | case Simple |
To | case simple |
Modified NSRuleEditorNestingMode.single
Declaration | |
---|---|
From | case Single |
To | case single |
Modified NSRuleEditorRowType [enum]
Declaration | |
---|---|
From | enum NSRuleEditorRowType : UInt { case Simple case Compound } |
To | enum NSRuleEditorRowType : UInt { case simple case compound } |
Modified NSRuleEditorRowType.compound
Declaration | |
---|---|
From | case Compound |
To | case compound |
Modified NSRuleEditorRowType.simple
Declaration | |
---|---|
From | case Simple |
To | case simple |
Modified NSRulerMarker
Declaration | Protocols | |
---|---|---|
From | class NSRulerMarker : NSObject, NSCopying, NSCoding { init(rulerView ruler: NSRulerView, markerLocation location: CGFloat, image image: NSImage, imageOrigin imageOrigin: NSPoint) unowned(unsafe) var ruler: NSRulerView { get } var markerLocation: CGFloat var image: NSImage var imageOrigin: NSPoint var movable: Bool var removable: Bool var dragging: Bool { get } var representedObject: NSCopying? var imageRectInRuler: NSRect { get } var thicknessRequiredInRuler: CGFloat { get } func drawRect(_ rect: NSRect) func trackMouse(_ mouseDownEvent: NSEvent, adding isAdding: Bool) -> Bool } | NSCoding, NSCopying |
To | class NSRulerMarker : NSObject, NSCopying, NSCoding { init(rulerView ruler: NSRulerView, markerLocation location: CGFloat, image image: NSImage, imageOrigin imageOrigin: NSPoint) init(coder coder: NSCoder) convenience init() unowned(unsafe) var ruler: NSRulerView { get } var markerLocation: CGFloat var image: NSImage var imageOrigin: NSPoint var isMovable: Bool var isRemovable: Bool var isDragging: Bool { get } var representedObject: NSCopying? var imageRectInRuler: NSRect { get } var thicknessRequiredInRuler: CGFloat { get } func draw(_ rect: NSRect) func trackMouse(with mouseDownEvent: NSEvent, adding isAdding: Bool) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRulerMarker : CVarArg { } extension NSRulerMarker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSRulerMarker.draw(_: NSRect)
Declaration | |
---|---|
From | func drawRect(_ rect: NSRect) |
To | func draw(_ rect: NSRect) |
Modified NSRulerMarker.isDragging
Declaration | |
---|---|
From | var dragging: Bool { get } |
To | var isDragging: Bool { get } |
Modified NSRulerMarker.isMovable
Declaration | |
---|---|
From | var movable: Bool |
To | var isMovable: Bool |
Modified NSRulerMarker.isRemovable
Declaration | |
---|---|
From | var removable: Bool |
To | var isRemovable: Bool |
Declaration | |
---|---|
From | func trackMouse(_ mouseDownEvent: NSEvent, adding isAdding: Bool) -> Bool |
To | func trackMouse(with mouseDownEvent: NSEvent, adding isAdding: Bool) -> Bool |
Modified NSRulerOrientation [enum]
Declaration | |
---|---|
From | enum NSRulerOrientation : UInt { case HorizontalRuler case VerticalRuler } |
To | enum NSRulerOrientation : UInt { case horizontalRuler case verticalRuler } |
Modified NSRulerOrientation.horizontalRuler
Declaration | |
---|---|
From | case HorizontalRuler |
To | case horizontalRuler |
Modified NSRulerOrientation.verticalRuler
Declaration | |
---|---|
From | case VerticalRuler |
To | case verticalRuler |
Modified NSRulerView
Declaration | Protocols | |
---|---|---|
From | class NSRulerView : NSView { class func registerUnitWithName(_ unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [NSNumber], stepDownCycle stepDownCycle: [NSNumber]) init(scrollView scrollView: NSScrollView?, orientation orientation: NSRulerOrientation) unowned(unsafe) var scrollView: NSScrollView? var orientation: NSRulerOrientation var baselineLocation: CGFloat { get } var requiredThickness: CGFloat { get } var ruleThickness: CGFloat var reservedThicknessForMarkers: CGFloat var reservedThicknessForAccessoryView: CGFloat var measurementUnits: String var originOffset: CGFloat unowned(unsafe) var clientView: NSView? func addMarker(_ marker: NSRulerMarker) func removeMarker(_ marker: NSRulerMarker) var markers: [NSRulerMarker]? func trackMarker(_ marker: NSRulerMarker, withMouseEvent event: NSEvent) -> Bool var accessoryView: NSView? func moveRulerlineFromLocation(_ oldLocation: CGFloat, toLocation newLocation: CGFloat) func invalidateHashMarks() func drawHashMarksAndLabelsInRect(_ rect: NSRect) func drawMarkersInRect(_ rect: NSRect) var flipped: Bool { get } } | -- |
To | class NSRulerView : NSView { class func registerUnit(withName unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [NSNumber], stepDownCycle stepDownCycle: [NSNumber]) init(coder coder: NSCoder) init(scrollView scrollView: NSScrollView?, orientation orientation: NSRulerOrientation) unowned(unsafe) var scrollView: NSScrollView? var orientation: NSRulerOrientation var baselineLocation: CGFloat { get } var requiredThickness: CGFloat { get } var ruleThickness: CGFloat var reservedThicknessForMarkers: CGFloat var reservedThicknessForAccessoryView: CGFloat var measurementUnits: String var originOffset: CGFloat unowned(unsafe) var clientView: NSView? func addMarker(_ marker: NSRulerMarker) func removeMarker(_ marker: NSRulerMarker) var markers: [NSRulerMarker]? func trackMarker(_ marker: NSRulerMarker, withMouseEvent event: NSEvent) -> Bool var accessoryView: NSView? func moveRulerline(fromLocation oldLocation: CGFloat, toLocation newLocation: CGFloat) func invalidateHashMarks() func drawHashMarksAndLabels(in rect: NSRect) func drawMarkers(in rect: NSRect) var isFlipped: Bool { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRulerView : CVarArg { } extension NSRulerView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func drawHashMarksAndLabelsInRect(_ rect: NSRect) |
To | func drawHashMarksAndLabels(in rect: NSRect) |
Modified NSRulerView.drawMarkers(in: NSRect)
Declaration | |
---|---|
From | func drawMarkersInRect(_ rect: NSRect) |
To | func drawMarkers(in rect: NSRect) |
Modified NSRulerView.isFlipped
Declaration | |
---|---|
From | var flipped: Bool { get } |
To | var isFlipped: Bool { get } |
Declaration | |
---|---|
From | func moveRulerlineFromLocation(_ oldLocation: CGFloat, toLocation newLocation: CGFloat) |
To | func moveRulerline(fromLocation oldLocation: CGFloat, toLocation newLocation: CGFloat) |
Declaration | |
---|---|
From | class func registerUnitWithName(_ unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [NSNumber], stepDownCycle stepDownCycle: [NSNumber]) |
To | class func registerUnit(withName unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [NSNumber], stepDownCycle stepDownCycle: [NSNumber]) |
Modified NSRunningApplication
Declaration | Protocols | |
---|---|---|
From | class NSRunningApplication : NSObject { var terminated: Bool { get } var finishedLaunching: Bool { get } var hidden: Bool { get } var active: Bool { get } var ownsMenuBar: Bool { get } var activationPolicy: NSApplicationActivationPolicy { get } var localizedName: String? { get } var bundleIdentifier: String? { get } @NSCopying var bundleURL: NSURL? { get } @NSCopying var executableURL: NSURL? { get } var processIdentifier: pid_t { get } @NSCopying var launchDate: NSDate? { get } var icon: NSImage? { get } var executableArchitecture: Int { get } func hide() -> Bool func unhide() -> Bool func activateWithOptions(_ options: NSApplicationActivationOptions) -> Bool func terminate() -> Bool func forceTerminate() -> Bool class func runningApplicationsWithBundleIdentifier(_ bundleIdentifier: String) -> [NSRunningApplication] convenience init?(processIdentifier pid: pid_t) class func runningApplicationWithProcessIdentifier(_ pid: pid_t) -> Self? class func currentApplication() -> Self class func terminateAutomaticallyTerminableApplications() } | -- |
To | class NSRunningApplication : NSObject { var isTerminated: Bool { get } var isFinishedLaunching: Bool { get } var isHidden: Bool { get } var isActive: Bool { get } var ownsMenuBar: Bool { get } var activationPolicy: NSApplicationActivationPolicy { get } var localizedName: String? { get } var bundleIdentifier: String? { get } var bundleURL: URL? { get } var executableURL: URL? { get } var processIdentifier: pid_t { get } var launchDate: Date? { get } var icon: NSImage? { get } var executableArchitecture: Int { get } func hide() -> Bool func unhide() -> Bool func activate(options options: NSApplicationActivationOptions = []) -> Bool func terminate() -> Bool func forceTerminate() -> Bool class func runningApplications(withBundleIdentifier bundleIdentifier: String) -> [NSRunningApplication] convenience init?(processIdentifier pid: pid_t) class func withProcessIdentifier(_ pid: pid_t) -> Self? class func current() -> Self class func terminateAutomaticallyTerminableApplications() func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRunningApplication : CVarArg { } extension NSRunningApplication : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func activateWithOptions(_ options: NSApplicationActivationOptions) -> Bool |
To | func activate(options options: NSApplicationActivationOptions = []) -> Bool |
Modified NSRunningApplication.bundleURL
Declaration | |
---|---|
From | @NSCopying var bundleURL: NSURL? { get } |
To | var bundleURL: URL? { get } |
Declaration | |
---|---|
From | class func currentApplication() -> Self |
To | class func current() -> Self |
Modified NSRunningApplication.executableURL
Declaration | |
---|---|
From | @NSCopying var executableURL: NSURL? { get } |
To | var executableURL: URL? { get } |
Modified NSRunningApplication.isActive
Declaration | |
---|---|
From | var active: Bool { get } |
To | var isActive: Bool { get } |
Declaration | |
---|---|
From | var finishedLaunching: Bool { get } |
To | var isFinishedLaunching: Bool { get } |
Modified NSRunningApplication.isHidden
Declaration | |
---|---|
From | var hidden: Bool { get } |
To | var isHidden: Bool { get } |
Modified NSRunningApplication.isTerminated
Declaration | |
---|---|
From | var terminated: Bool { get } |
To | var isTerminated: Bool { get } |
Modified NSRunningApplication.launchDate
Declaration | |
---|---|
From | @NSCopying var launchDate: NSDate? { get } |
To | var launchDate: Date? { get } |
Declaration | |
---|---|
From | class func runningApplicationsWithBundleIdentifier(_ bundleIdentifier: String) -> [NSRunningApplication] |
To | class func runningApplications(withBundleIdentifier bundleIdentifier: String) -> [NSRunningApplication] |
Modified NSSaveOperationType [enum]
Declaration | |
---|---|
From | enum NSSaveOperationType : UInt { case SaveOperation case SaveAsOperation case SaveToOperation case AutosaveInPlaceOperation case AutosaveElsewhereOperation case AutosaveAsOperation static var AutosaveOperation: NSSaveOperationType { get } } |
To | enum NSSaveOperationType : UInt { case saveOperation case saveAsOperation case saveToOperation case autosaveInPlaceOperation case autosaveElsewhereOperation case autosaveAsOperation static var autosaveOperation: NSSaveOperationType { get } } |
Declaration | |
---|---|
From | case AutosaveAsOperation |
To | case autosaveAsOperation |
Declaration | |
---|---|
From | case AutosaveElsewhereOperation |
To | case autosaveElsewhereOperation |
Declaration | |
---|---|
From | case AutosaveInPlaceOperation |
To | case autosaveInPlaceOperation |
Modified NSSaveOperationType.saveAsOperation
Declaration | |
---|---|
From | case SaveAsOperation |
To | case saveAsOperation |
Modified NSSaveOperationType.saveOperation
Declaration | |
---|---|
From | case SaveOperation |
To | case saveOperation |
Modified NSSaveOperationType.saveToOperation
Declaration | |
---|---|
From | case SaveToOperation |
To | case saveToOperation |
Modified NSSavePanel
Declaration | |
---|---|
From | class NSSavePanel : NSPanel { init() class func savePanel() -> NSSavePanel @NSCopying var URL: NSURL? { get } @NSCopying var directoryURL: NSURL? var allowedFileTypes: [String]? var allowsOtherFileTypes: Bool var accessoryView: NSView? unowned(unsafe) var delegate: NSOpenSavePanelDelegate? var expanded: Bool { get } var canCreateDirectories: Bool var canSelectHiddenExtension: Bool var extensionHidden: Bool var treatsFilePackagesAsDirectories: Bool var prompt: String! var title: String! var nameFieldLabel: String! var nameFieldStringValue: String var message: String! func validateVisibleColumns() var showsHiddenFiles: Bool var showsTagField: Bool var tagNames: [String]? @IBAction func ok(_ sender: AnyObject?) @IBAction func cancel(_ sender: AnyObject?) func beginSheetModalForWindow(_ window: NSWindow, completionHandler handler: (Int) -> Void) func beginWithCompletionHandler(_ handler: (Int) -> Void) func runModal() -> Int } extension NSSavePanel { func filename() -> String func directory() -> String func setDirectory(_ path: String?) func requiredFileType() -> String? func setRequiredFileType(_ type: String?) func beginSheetForDirectory(_ path: String, file name: String?, modalForWindow docWindow: NSWindow?, modalDelegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func runModalForDirectory(_ path: String?, file name: String?) -> Int @IBAction func selectText(_ sender: AnyObject?) } |
To | class NSSavePanel : NSPanel { init() class func savePanel() -> NSSavePanel var url: URL? { get } var directoryURL: URL? var allowedFileTypes: [String]? var allowsOtherFileTypes: Bool var accessoryView: NSView? unowned(unsafe) var delegate: NSOpenSavePanelDelegate? var isExpanded: Bool { get } var canCreateDirectories: Bool var canSelectHiddenExtension: Bool var isExtensionHidden: Bool var treatsFilePackagesAsDirectories: Bool var prompt: String! var title: String! var nameFieldLabel: String! var nameFieldStringValue: String var message: String! func validateVisibleColumns() var showsHiddenFiles: Bool var showsTagField: Bool var tagNames: [String]? @IBAction func ok(_ sender: Any?) @IBAction func cancel(_ sender: Any?) func beginSheetModal(for window: NSWindow, completionHandler handler: @escaping (Int) -> Swift.Void) func begin(completionHandler handler: @escaping (Int) -> Swift.Void) func runModal() -> Int func filename() -> String func directory() -> String func setDirectory(_ path: String?) func requiredFileType() -> String? func setRequiredFileType(_ type: String?) func beginSheet(forDirectory path: String, file name: String?, modalFor docWindow: NSWindow?, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(forDirectory path: String?, file name: String?) -> Int @IBAction func selectText(_ sender: Any?) } extension NSSavePanel { func filename() -> String func directory() -> String func setDirectory(_ path: String?) func requiredFileType() -> String? func setRequiredFileType(_ type: String?) func beginSheet(forDirectory path: String, file name: String?, modalFor docWindow: NSWindow?, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(forDirectory path: String?, file name: String?) -> Int @IBAction func selectText(_ sender: Any?) } |
Declaration | |
---|---|
From | func beginWithCompletionHandler(_ handler: (Int) -> Void) |
To | func begin(completionHandler handler: @escaping (Int) -> Swift.Void) |
Declaration | |
---|---|
From | func beginSheetModalForWindow(_ window: NSWindow, completionHandler handler: (Int) -> Void) |
To | func beginSheetModal(for window: NSWindow, completionHandler handler: @escaping (Int) -> Swift.Void) |
Modified NSSavePanel.cancel(_: Any?)
Declaration | |
---|---|
From | @IBAction func cancel(_ sender: AnyObject?) |
To | @IBAction func cancel(_ sender: Any?) |
Modified NSSavePanel.directoryURL
Declaration | |
---|---|
From | @NSCopying var directoryURL: NSURL? |
To | var directoryURL: URL? |
Modified NSSavePanel.isExpanded
Declaration | |
---|---|
From | var expanded: Bool { get } |
To | var isExpanded: Bool { get } |
Modified NSSavePanel.isExtensionHidden
Declaration | |
---|---|
From | var extensionHidden: Bool |
To | var isExtensionHidden: Bool |
Modified NSSavePanel.ok(_: Any?)
Declaration | |
---|---|
From | @IBAction func ok(_ sender: AnyObject?) |
To | @IBAction func ok(_ sender: Any?) |
Modified NSSavePanel.url
Declaration | |
---|---|
From | @NSCopying var URL: NSURL? { get } |
To | var url: URL? { get } |
Modified NSScreen
Declaration | Protocols | |
---|---|---|
From | class NSScreen : NSObject { class func screens() -> [NSScreen]? class func mainScreen() -> NSScreen? class func deepestScreen() -> NSScreen? class func screensHaveSeparateSpaces() -> Bool var depth: NSWindowDepth { get } var frame: NSRect { get } var visibleFrame: NSRect { get } var deviceDescription: [String : AnyObject] { get } var colorSpace: NSColorSpace? { get } var supportedWindowDepths: UnsafePointer<NSWindowDepth> { get } func convertRectToBacking(_ aRect: NSRect) -> NSRect func convertRectFromBacking(_ aRect: NSRect) -> NSRect func backingAlignedRect(_ aRect: NSRect, options options: NSAlignmentOptions) -> NSRect var backingScaleFactor: CGFloat { get } } extension NSScreen { var maximumExtendedDynamicRangeColorComponentValue: CGFloat { get } } extension NSScreen { func userSpaceScaleFactor() -> CGFloat } | -- |
To | class NSScreen : NSObject { class func screens() -> [NSScreen]? class func main() -> NSScreen? class func deepest() -> NSScreen? class func screensHaveSeparateSpaces() -> Bool var depth: NSWindowDepth { get } var frame: NSRect { get } var visibleFrame: NSRect { get } var deviceDescription: [String : Any] { get } var colorSpace: NSColorSpace? { get } var supportedWindowDepths: UnsafePointer<NSWindowDepth> { get } func canRepresent(_ displayGamut: NSDisplayGamut) -> Bool func convertRectToBacking(_ rect: NSRect) -> NSRect func convertRectFromBacking(_ rect: NSRect) -> NSRect func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect var backingScaleFactor: CGFloat { get } var maximumExtendedDynamicRangeColorComponentValue: CGFloat { get } func userSpaceScaleFactor() -> CGFloat class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSScreen : CVarArg { } extension NSScreen : Equatable, Hashable { var hashValue: Int { get } } extension NSScreen { var maximumExtendedDynamicRangeColorComponentValue: CGFloat { get } } extension NSScreen { func userSpaceScaleFactor() -> CGFloat } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func backingAlignedRect(_ aRect: NSRect, options options: NSAlignmentOptions) -> NSRect |
To | func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect |
Declaration | |
---|---|
From | class func deepestScreen() -> NSScreen? |
To | class func deepest() -> NSScreen? |
Modified NSScreen.deviceDescription
Declaration | |
---|---|
From | var deviceDescription: [String : AnyObject] { get } |
To | var deviceDescription: [String : Any] { get } |
Modified NSScreen.main() -> NSScreen? [class]
Declaration | |
---|---|
From | class func mainScreen() -> NSScreen? |
To | class func main() -> NSScreen? |
Modified NSScrollArrowPosition [enum]
Declaration | |
---|---|
From | enum NSScrollArrowPosition : UInt { case ScrollerArrowsMaxEnd case ScrollerArrowsMinEnd static var ScrollerArrowsDefaultSetting: NSScrollArrowPosition { get } case ScrollerArrowsNone } |
To | enum NSScrollArrowPosition : UInt { case scrollerArrowsMaxEnd case scrollerArrowsMinEnd static var scrollerArrowsDefaultSetting: NSScrollArrowPosition { get } case scrollerArrowsNone } |
Declaration | |
---|---|
From | static var ScrollerArrowsDefaultSetting: NSScrollArrowPosition { get } |
To | static var scrollerArrowsDefaultSetting: NSScrollArrowPosition { get } |
Declaration | |
---|---|
From | case ScrollerArrowsMaxEnd |
To | case scrollerArrowsMaxEnd |
Declaration | |
---|---|
From | case ScrollerArrowsMinEnd |
To | case scrollerArrowsMinEnd |
Declaration | |
---|---|
From | case ScrollerArrowsNone |
To | case scrollerArrowsNone |
Modified NSScrollElasticity [enum]
Declaration | |
---|---|
From | enum NSScrollElasticity : Int { case Automatic case None case Allowed } |
To | enum NSScrollElasticity : Int { case automatic case none case allowed } |
Modified NSScrollElasticity.allowed
Declaration | |
---|---|
From | case Allowed |
To | case allowed |
Modified NSScrollElasticity.automatic
Declaration | |
---|---|
From | case Automatic |
To | case automatic |
Modified NSScrollElasticity.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSScroller
Declaration | Protocols | |
---|---|---|
From | class NSScroller : NSControl { class func isCompatibleWithOverlayScrollers() -> Bool class func scrollerWidthForControlSize(_ controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> CGFloat class func scrollerWidthForControlSize(_ controlSize: NSControlSize) -> CGFloat class func scrollerWidth() -> CGFloat class func preferredScrollerStyle() -> NSScrollerStyle var scrollerStyle: NSScrollerStyle var knobStyle: NSScrollerKnobStyle func drawParts() func rectForPart(_ partCode: NSScrollerPart) -> NSRect func checkSpaceForParts() var usableParts: NSUsableScrollerParts { get } var arrowsPosition: NSScrollArrowPosition var controlTint: NSControlTint var controlSize: NSControlSize func drawArrow(_ whichArrow: NSScrollerArrow, highlight flag: Bool) func drawKnob() func drawKnobSlotInRect(_ slotRect: NSRect, highlight flag: Bool) func highlight(_ flag: Bool) func testPart(_ thePoint: NSPoint) -> NSScrollerPart func trackKnob(_ theEvent: NSEvent) func trackScrollButtons(_ theEvent: NSEvent) var hitPart: NSScrollerPart { get } var knobProportion: CGFloat } extension NSScroller { func setFloatValue(_ aFloat: Float, knobProportion proportion: CGFloat) } | -- |
To | class NSScroller : NSControl { class func isCompatibleWithOverlayScrollers() -> Bool class func scrollerWidth(for controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> CGFloat class func scrollerWidth(for controlSize: NSControlSize) -> CGFloat class func scrollerWidth() -> CGFloat class func preferredScrollerStyle() -> NSScrollerStyle var scrollerStyle: NSScrollerStyle var knobStyle: NSScrollerKnobStyle func drawParts() func rect(for partCode: NSScrollerPart) -> NSRect func checkSpaceForParts() var usableParts: NSUsableScrollerParts { get } var arrowsPosition: NSScrollArrowPosition var controlTint: NSControlTint var controlSize: NSControlSize func drawArrow(_ whichArrow: NSScrollerArrow, highlight flag: Bool) func drawKnob() func drawKnobSlot(in slotRect: NSRect, highlight flag: Bool) func highlight(_ flag: Bool) func testPart(_ point: NSPoint) -> NSScrollerPart func trackKnob(with event: NSEvent) func trackScrollButtons(with event: NSEvent) var hitPart: NSScrollerPart { get } var knobProportion: CGFloat func setFloatValue(_ value: Float, knobProportion proportion: CGFloat) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSScroller : CVarArg { } extension NSScroller : Equatable, Hashable { var hashValue: Int { get } } extension NSScroller { func setFloatValue(_ value: Float, knobProportion proportion: CGFloat) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func drawKnobSlotInRect(_ slotRect: NSRect, highlight flag: Bool) |
To | func drawKnobSlot(in slotRect: NSRect, highlight flag: Bool) |
Declaration | |
---|---|
From | func rectForPart(_ partCode: NSScrollerPart) -> NSRect |
To | func rect(for partCode: NSScrollerPart) -> NSRect |
Modified NSScroller.scrollerWidth(for: NSControlSize, scrollerStyle: NSScrollerStyle) -> CGFloat [class]
Declaration | |
---|---|
From | class func scrollerWidthForControlSize(_ controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> CGFloat |
To | class func scrollerWidth(for controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> CGFloat |
Modified NSScroller.trackKnob(with: NSEvent)
Declaration | |
---|---|
From | func trackKnob(_ theEvent: NSEvent) |
To | func trackKnob(with event: NSEvent) |
Declaration | |
---|---|
From | func trackScrollButtons(_ theEvent: NSEvent) |
To | func trackScrollButtons(with event: NSEvent) |
Modified NSScrollerArrow [enum]
Declaration | |
---|---|
From | enum NSScrollerArrow : UInt { case IncrementArrow case DecrementArrow } |
To | enum NSScrollerArrow : UInt { case incrementArrow case decrementArrow } |
Modified NSScrollerArrow.decrementArrow
Declaration | |
---|---|
From | case DecrementArrow |
To | case decrementArrow |
Modified NSScrollerArrow.incrementArrow
Declaration | |
---|---|
From | case IncrementArrow |
To | case incrementArrow |
Modified NSScrollerKnobStyle [enum]
Declaration | |
---|---|
From | enum NSScrollerKnobStyle : Int { case Default case Dark case Light } |
To | enum NSScrollerKnobStyle : Int { case `default` case dark case light } |
Modified NSScrollerKnobStyle.dark
Declaration | |
---|---|
From | case Dark |
To | case dark |
Modified NSScrollerKnobStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSScrollerKnobStyle.light
Declaration | |
---|---|
From | case Light |
To | case light |
Modified NSScrollerPart [enum]
Declaration | |
---|---|
From | enum NSScrollerPart : UInt { case NoPart case DecrementPage case Knob case IncrementPage case DecrementLine case IncrementLine case KnobSlot } |
To | enum NSScrollerPart : UInt { case noPart case decrementPage case knob case incrementPage case decrementLine case incrementLine case knobSlot } |
Modified NSScrollerPart.decrementLine
Declaration | |
---|---|
From | case DecrementLine |
To | case decrementLine |
Modified NSScrollerPart.decrementPage
Declaration | |
---|---|
From | case DecrementPage |
To | case decrementPage |
Modified NSScrollerPart.incrementLine
Declaration | |
---|---|
From | case IncrementLine |
To | case incrementLine |
Modified NSScrollerPart.incrementPage
Declaration | |
---|---|
From | case IncrementPage |
To | case incrementPage |
Modified NSScrollerPart.knob
Declaration | |
---|---|
From | case Knob |
To | case knob |
Modified NSScrollerPart.knobSlot
Declaration | |
---|---|
From | case KnobSlot |
To | case knobSlot |
Modified NSScrollerPart.noPart
Declaration | |
---|---|
From | case NoPart |
To | case noPart |
Modified NSScrollerStyle [enum]
Declaration | |
---|---|
From | enum NSScrollerStyle : Int { case Legacy case Overlay } |
To | enum NSScrollerStyle : Int { case legacy case overlay } |
Modified NSScrollerStyle.legacy
Declaration | |
---|---|
From | case Legacy |
To | case legacy |
Modified NSScrollerStyle.overlay
Declaration | |
---|---|
From | case Overlay |
To | case overlay |
Modified NSScrollView
Declaration | Protocols | |
---|---|---|
From | class NSScrollView : NSView, NSTextFinderBarContainer { init(frame frameRect: NSRect) init?(coder coder: NSCoder) class func frameSizeForContentSize(_ cSize: NSSize, horizontalScrollerClass horizontalScrollerClass: AnyClass?, verticalScrollerClass verticalScrollerClass: AnyClass?, borderType aType: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func contentSizeForFrameSize(_ fSize: NSSize, horizontalScrollerClass horizontalScrollerClass: AnyClass?, verticalScrollerClass verticalScrollerClass: AnyClass?, borderType aType: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func frameSizeForContentSize(_ cSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType aType: NSBorderType) -> NSSize class func contentSizeForFrameSize(_ fSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType aType: NSBorderType) -> NSSize var documentVisibleRect: NSRect { get } var contentSize: NSSize { get } unowned(unsafe) var documentView: AnyObject? var contentView: NSClipView var documentCursor: NSCursor? var borderType: NSBorderType @NSCopying var backgroundColor: NSColor var drawsBackground: Bool var hasVerticalScroller: Bool var hasHorizontalScroller: Bool var verticalScroller: NSScroller? var horizontalScroller: NSScroller? var autohidesScrollers: Bool var horizontalLineScroll: CGFloat var verticalLineScroll: CGFloat var lineScroll: CGFloat var horizontalPageScroll: CGFloat var verticalPageScroll: CGFloat var pageScroll: CGFloat var scrollsDynamically: Bool func tile() func reflectScrolledClipView(_ cView: NSClipView) func scrollWheel(_ theEvent: NSEvent) var scrollerStyle: NSScrollerStyle var scrollerKnobStyle: NSScrollerKnobStyle func flashScrollers() var horizontalScrollElasticity: NSScrollElasticity var verticalScrollElasticity: NSScrollElasticity var usesPredominantAxisScrolling: Bool var allowsMagnification: Bool var magnification: CGFloat var maxMagnification: CGFloat var minMagnification: CGFloat func magnifyToFitRect(_ rect: NSRect) func setMagnification(_ magnification: CGFloat, centeredAtPoint point: NSPoint) func addFloatingSubview(_ view: NSView, forAxis axis: NSEventGestureAxis) var automaticallyAdjustsContentInsets: Bool var contentInsets: NSEdgeInsets var scrollerInsets: NSEdgeInsets } extension NSScrollView { class func setRulerViewClass(_ rulerViewClass: AnyClass?) class func rulerViewClass() -> AnyClass var rulersVisible: Bool var hasHorizontalRuler: Bool var hasVerticalRuler: Bool var horizontalRulerView: NSRulerView? var verticalRulerView: NSRulerView? } extension NSScrollView { var findBarPosition: NSScrollViewFindBarPosition } | NSTextFinderBarContainer |
To | class NSScrollView : NSView, NSTextFinderBarContainer { init(frame frameRect: NSRect) init?(coder coder: NSCoder) class func frameSize(forContentSize cSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func contentSize(forFrameSize fSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func frameSize(forContentSize cSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType type: NSBorderType) -> NSSize class func contentSize(forFrameSize fSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType type: NSBorderType) -> NSSize var documentVisibleRect: NSRect { get } var contentSize: NSSize { get } unowned(unsafe) var documentView: NSView? var contentView: NSClipView var documentCursor: NSCursor? var borderType: NSBorderType @NSCopying var backgroundColor: NSColor var drawsBackground: Bool var hasVerticalScroller: Bool var hasHorizontalScroller: Bool var verticalScroller: NSScroller? var horizontalScroller: NSScroller? var autohidesScrollers: Bool var horizontalLineScroll: CGFloat var verticalLineScroll: CGFloat var lineScroll: CGFloat var horizontalPageScroll: CGFloat var verticalPageScroll: CGFloat var pageScroll: CGFloat var scrollsDynamically: Bool func tile() func reflectScrolledClipView(_ cView: NSClipView) func scrollWheel(with event: NSEvent) var scrollerStyle: NSScrollerStyle var scrollerKnobStyle: NSScrollerKnobStyle func flashScrollers() var horizontalScrollElasticity: NSScrollElasticity var verticalScrollElasticity: NSScrollElasticity var usesPredominantAxisScrolling: Bool var allowsMagnification: Bool var magnification: CGFloat var maxMagnification: CGFloat var minMagnification: CGFloat func magnify(toFit rect: NSRect) func setMagnification(_ magnification: CGFloat, centeredAt point: NSPoint) func addFloatingSubview(_ view: NSView, for axis: NSEventGestureAxis) var automaticallyAdjustsContentInsets: Bool var contentInsets: EdgeInsets var scrollerInsets: EdgeInsets class func setRulerViewClass(_ rulerViewClass: Swift.AnyClass?) class func rulerViewClass() -> Swift.AnyClass var rulersVisible: Bool var hasHorizontalRuler: Bool var hasVerticalRuler: Bool var horizontalRulerView: NSRulerView? var verticalRulerView: NSRulerView? var findBarPosition: NSScrollViewFindBarPosition var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func awakeFromNib() func prepareForInterfaceBuilder() } extension NSScrollView : CVarArg { } extension NSScrollView : Equatable, Hashable { var hashValue: Int { get } } extension NSScrollView { class func setRulerViewClass(_ rulerViewClass: Swift.AnyClass?) class func rulerViewClass() -> Swift.AnyClass var rulersVisible: Bool var hasHorizontalRuler: Bool var hasVerticalRuler: Bool var horizontalRulerView: NSRulerView? var verticalRulerView: NSRulerView? } extension NSScrollView { var findBarPosition: NSScrollViewFindBarPosition } | CVarArg, Equatable, Hashable, NSTextFinderBarContainer |
Declaration | |
---|---|
From | func addFloatingSubview(_ view: NSView, forAxis axis: NSEventGestureAxis) |
To | func addFloatingSubview(_ view: NSView, for axis: NSEventGestureAxis) |
Modified NSScrollView.contentInsets
Declaration | |
---|---|
From | var contentInsets: NSEdgeInsets |
To | var contentInsets: EdgeInsets |
Declaration | |
---|---|
From | class func contentSizeForFrameSize(_ fSize: NSSize, horizontalScrollerClass horizontalScrollerClass: AnyClass?, verticalScrollerClass verticalScrollerClass: AnyClass?, borderType aType: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize |
To | class func contentSize(forFrameSize fSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize |
Modified NSScrollView.documentView
Declaration | |
---|---|
From | unowned(unsafe) var documentView: AnyObject? |
To | unowned(unsafe) var documentView: NSView? |
Declaration | |
---|---|
From | class func frameSizeForContentSize(_ cSize: NSSize, horizontalScrollerClass horizontalScrollerClass: AnyClass?, verticalScrollerClass verticalScrollerClass: AnyClass?, borderType aType: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize |
To | class func frameSize(forContentSize cSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize |
Modified NSScrollView.magnify(toFit: NSRect)
Declaration | |
---|---|
From | func magnifyToFitRect(_ rect: NSRect) |
To | func magnify(toFit rect: NSRect) |
Declaration | |
---|---|
From | class func rulerViewClass() -> AnyClass |
To | class func rulerViewClass() -> Swift.AnyClass |
Modified NSScrollView.scrollerInsets
Declaration | |
---|---|
From | var scrollerInsets: NSEdgeInsets |
To | var scrollerInsets: EdgeInsets |
Declaration | |
---|---|
From | func scrollWheel(_ theEvent: NSEvent) |
To | func scrollWheel(with event: NSEvent) |
Declaration | |
---|---|
From | func setMagnification(_ magnification: CGFloat, centeredAtPoint point: NSPoint) |
To | func setMagnification(_ magnification: CGFloat, centeredAt point: NSPoint) |
Modified NSScrollView.setRulerViewClass(_: Swift.AnyClass?) [class]
Declaration | |
---|---|
From | class func setRulerViewClass(_ rulerViewClass: AnyClass?) |
To | class func setRulerViewClass(_ rulerViewClass: Swift.AnyClass?) |
Modified NSScrollViewFindBarPosition [enum]
Declaration | |
---|---|
From | enum NSScrollViewFindBarPosition : Int { case AboveHorizontalRuler case AboveContent case BelowContent } |
To | enum NSScrollViewFindBarPosition : Int { case aboveHorizontalRuler case aboveContent case belowContent } |
Declaration | |
---|---|
From | case AboveContent |
To | case aboveContent |
Declaration | |
---|---|
From | case AboveHorizontalRuler |
To | case aboveHorizontalRuler |
Declaration | |
---|---|
From | case BelowContent |
To | case belowContent |
Modified NSSearchField
Declaration | Protocols | |
---|---|---|
From | class NSSearchField : NSTextField { func rectForSearchTextWhenCentered(_ isCentered: Bool) -> NSRect func rectForSearchButtonWhenCentered(_ isCentered: Bool) -> NSRect func rectForCancelButtonWhenCentered(_ isCentered: Bool) -> NSRect var recentSearches: [String] var recentsAutosaveName: String? var searchMenuTemplate: NSMenu? var sendsWholeSearchString: Bool var maximumRecents: Int var sendsSearchStringImmediately: Bool unowned(unsafe) var delegate: NSSearchFieldDelegate? var centersPlaceholder: Bool } | -- |
To | class NSSearchField : NSTextField { func rectForSearchText(whenCentered isCentered: Bool) -> NSRect func rectForSearchButton(whenCentered isCentered: Bool) -> NSRect func rectForCancelButton(whenCentered isCentered: Bool) -> NSRect var recentSearches: [String] var recentsAutosaveName: String? var searchMenuTemplate: NSMenu? var sendsWholeSearchString: Bool var maximumRecents: Int var sendsSearchStringImmediately: Bool unowned(unsafe) var delegate: NSSearchFieldDelegate? var centersPlaceholder: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSearchField : CVarArg { } extension NSSearchField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func rectForCancelButtonWhenCentered(_ isCentered: Bool) -> NSRect |
To | func rectForCancelButton(whenCentered isCentered: Bool) -> NSRect |
Declaration | |
---|---|
From | func rectForSearchButtonWhenCentered(_ isCentered: Bool) -> NSRect |
To | func rectForSearchButton(whenCentered isCentered: Bool) -> NSRect |
Declaration | |
---|---|
From | func rectForSearchTextWhenCentered(_ isCentered: Bool) -> NSRect |
To | func rectForSearchText(whenCentered isCentered: Bool) -> NSRect |
Modified NSSearchFieldCell
Declaration | |
---|---|
From | class NSSearchFieldCell : NSTextFieldCell { var searchButtonCell: NSButtonCell? var cancelButtonCell: NSButtonCell? func resetSearchButtonCell() func resetCancelButtonCell() func searchTextRectForBounds(_ rect: NSRect) -> NSRect func searchButtonRectForBounds(_ rect: NSRect) -> NSRect func cancelButtonRectForBounds(_ rect: NSRect) -> NSRect var searchMenuTemplate: NSMenu? var sendsWholeSearchString: Bool var maximumRecents: Int var recentSearches: [String]! var recentsAutosaveName: String? var sendsSearchStringImmediately: Bool } |
To | class NSSearchFieldCell : NSTextFieldCell { init(textCell string: String) init(coder coder: NSCoder) convenience init(imageCell image: NSImage?) var searchButtonCell: NSButtonCell? var cancelButtonCell: NSButtonCell? func resetSearchButtonCell() func resetCancelButtonCell() func searchTextRect(forBounds rect: NSRect) -> NSRect func searchButtonRect(forBounds rect: NSRect) -> NSRect func cancelButtonRect(forBounds rect: NSRect) -> NSRect var searchMenuTemplate: NSMenu? var sendsWholeSearchString: Bool var maximumRecents: Int var recentSearches: [String]! var recentsAutosaveName: String? var sendsSearchStringImmediately: Bool } |
Declaration | |
---|---|
From | func cancelButtonRectForBounds(_ rect: NSRect) -> NSRect |
To | func cancelButtonRect(forBounds rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func searchButtonRectForBounds(_ rect: NSRect) -> NSRect |
To | func searchButtonRect(forBounds rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func searchTextRectForBounds(_ rect: NSRect) -> NSRect |
To | func searchTextRect(forBounds rect: NSRect) -> NSRect |
Modified NSSecureTextField
Declaration | Protocols | |
---|---|---|
From | class NSSecureTextField : NSTextField { } | -- |
To | class NSSecureTextField : NSTextField { func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSecureTextField : CVarArg { } extension NSSecureTextField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSSegmentedCell
Declaration | |
---|---|
From | class NSSegmentedCell : NSActionCell { var segmentCount: Int var selectedSegment: Int func selectSegmentWithTag(_ tag: Int) -> Bool func makeNextSegmentKey() func makePreviousSegmentKey() var trackingMode: NSSegmentSwitchTracking func setWidth(_ width: CGFloat, forSegment segment: Int) func widthForSegment(_ segment: Int) -> CGFloat func setImage(_ image: NSImage?, forSegment segment: Int) func imageForSegment(_ segment: Int) -> NSImage? func setImageScaling(_ scaling: NSImageScaling, forSegment segment: Int) func imageScalingForSegment(_ segment: Int) -> NSImageScaling func setLabel(_ label: String, forSegment segment: Int) func labelForSegment(_ segment: Int) -> String? func setSelected(_ selected: Bool, forSegment segment: Int) func isSelectedForSegment(_ segment: Int) -> Bool func setEnabled(_ enabled: Bool, forSegment segment: Int) func isEnabledForSegment(_ segment: Int) -> Bool func setMenu(_ menu: NSMenu?, forSegment segment: Int) func menuForSegment(_ segment: Int) -> NSMenu? func setToolTip(_ toolTip: String?, forSegment segment: Int) func toolTipForSegment(_ segment: Int) -> String? func setTag(_ tag: Int, forSegment segment: Int) func tagForSegment(_ segment: Int) -> Int var segmentStyle: NSSegmentStyle func drawSegment(_ segment: Int, inFrame frame: NSRect, withView controlView: NSView) } extension NSSegmentedCell { func interiorBackgroundStyleForSegment(_ segment: Int) -> NSBackgroundStyle } |
To | class NSSegmentedCell : NSActionCell { var segmentCount: Int var selectedSegment: Int func selectSegment(withTag tag: Int) -> Bool func makeNextSegmentKey() func makePreviousSegmentKey() var trackingMode: NSSegmentSwitchTracking func setWidth(_ width: CGFloat, forSegment segment: Int) func width(forSegment segment: Int) -> CGFloat func setImage(_ image: NSImage?, forSegment segment: Int) func image(forSegment segment: Int) -> NSImage? func setImageScaling(_ scaling: NSImageScaling, forSegment segment: Int) func imageScaling(forSegment segment: Int) -> NSImageScaling func setLabel(_ label: String, forSegment segment: Int) func label(forSegment segment: Int) -> String? func setSelected(_ selected: Bool, forSegment segment: Int) func isSelected(forSegment segment: Int) -> Bool func setEnabled(_ enabled: Bool, forSegment segment: Int) func isEnabled(forSegment segment: Int) -> Bool func setMenu(_ menu: NSMenu?, forSegment segment: Int) func menu(forSegment segment: Int) -> NSMenu? func setToolTip(_ toolTip: String?, forSegment segment: Int) func toolTip(forSegment segment: Int) -> String? func setTag(_ tag: Int, forSegment segment: Int) func tag(forSegment segment: Int) -> Int var segmentStyle: NSSegmentStyle func drawSegment(_ segment: Int, inFrame frame: NSRect, with controlView: NSView) func interiorBackgroundStyle(forSegment segment: Int) -> NSBackgroundStyle } extension NSSegmentedCell { func interiorBackgroundStyle(forSegment segment: Int) -> NSBackgroundStyle } |
Declaration | |
---|---|
From | func drawSegment(_ segment: Int, inFrame frame: NSRect, withView controlView: NSView) |
To | func drawSegment(_ segment: Int, inFrame frame: NSRect, with controlView: NSView) |
Declaration | |
---|---|
From | func imageForSegment(_ segment: Int) -> NSImage? |
To | func image(forSegment segment: Int) -> NSImage? |
Declaration | |
---|---|
From | func imageScalingForSegment(_ segment: Int) -> NSImageScaling |
To | func imageScaling(forSegment segment: Int) -> NSImageScaling |
Declaration | |
---|---|
From | func interiorBackgroundStyleForSegment(_ segment: Int) -> NSBackgroundStyle |
To | func interiorBackgroundStyle(forSegment segment: Int) -> NSBackgroundStyle |
Declaration | |
---|---|
From | func isEnabledForSegment(_ segment: Int) -> Bool |
To | func isEnabled(forSegment segment: Int) -> Bool |
Declaration | |
---|---|
From | func isSelectedForSegment(_ segment: Int) -> Bool |
To | func isSelected(forSegment segment: Int) -> Bool |
Declaration | |
---|---|
From | func labelForSegment(_ segment: Int) -> String? |
To | func label(forSegment segment: Int) -> String? |
Declaration | |
---|---|
From | func menuForSegment(_ segment: Int) -> NSMenu? |
To | func menu(forSegment segment: Int) -> NSMenu? |
Declaration | |
---|---|
From | func selectSegmentWithTag(_ tag: Int) -> Bool |
To | func selectSegment(withTag tag: Int) -> Bool |
Declaration | |
---|---|
From | func tagForSegment(_ segment: Int) -> Int |
To | func tag(forSegment segment: Int) -> Int |
Declaration | |
---|---|
From | func toolTipForSegment(_ segment: Int) -> String? |
To | func toolTip(forSegment segment: Int) -> String? |
Declaration | |
---|---|
From | func widthForSegment(_ segment: Int) -> CGFloat |
To | func width(forSegment segment: Int) -> CGFloat |
Modified NSSegmentedControl
Declaration | Protocols | |
---|---|---|
From | class NSSegmentedControl : NSControl { var segmentCount: Int var selectedSegment: Int func selectSegmentWithTag(_ tag: Int) -> Bool func setWidth(_ width: CGFloat, forSegment segment: Int) func widthForSegment(_ segment: Int) -> CGFloat func setImage(_ image: NSImage?, forSegment segment: Int) func imageForSegment(_ segment: Int) -> NSImage? func setImageScaling(_ scaling: NSImageScaling, forSegment segment: Int) func imageScalingForSegment(_ segment: Int) -> NSImageScaling func setLabel(_ label: String, forSegment segment: Int) func labelForSegment(_ segment: Int) -> String? func setMenu(_ menu: NSMenu?, forSegment segment: Int) func menuForSegment(_ segment: Int) -> NSMenu? func setSelected(_ selected: Bool, forSegment segment: Int) func isSelectedForSegment(_ segment: Int) -> Bool func setEnabled(_ enabled: Bool, forSegment segment: Int) func isEnabledForSegment(_ segment: Int) -> Bool var segmentStyle: NSSegmentStyle var springLoaded: Bool var trackingMode: NSSegmentSwitchTracking var doubleValueForSelectedSegment: Double { get } } | -- |
To | class NSSegmentedControl : NSControl { var segmentCount: Int var selectedSegment: Int func selectSegment(withTag tag: Int) -> Bool func setWidth(_ width: CGFloat, forSegment segment: Int) func width(forSegment segment: Int) -> CGFloat func setImage(_ image: NSImage?, forSegment segment: Int) func image(forSegment segment: Int) -> NSImage? func setImageScaling(_ scaling: NSImageScaling, forSegment segment: Int) func imageScaling(forSegment segment: Int) -> NSImageScaling func setLabel(_ label: String, forSegment segment: Int) func label(forSegment segment: Int) -> String? func setMenu(_ menu: NSMenu?, forSegment segment: Int) func menu(forSegment segment: Int) -> NSMenu? func setSelected(_ selected: Bool, forSegment segment: Int) func isSelected(forSegment segment: Int) -> Bool func setEnabled(_ enabled: Bool, forSegment segment: Int) func isEnabled(forSegment segment: Int) -> Bool var segmentStyle: NSSegmentStyle var isSpringLoaded: Bool var trackingMode: NSSegmentSwitchTracking var doubleValueForSelectedSegment: Double { get } convenience init(labels labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withLabels(_ labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self convenience init(images images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withImages(_ images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSSegmentedControl : CVarArg { } extension NSSegmentedControl : Equatable, Hashable { var hashValue: Int { get } } extension NSSegmentedControl { convenience init(labels labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withLabels(_ labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self convenience init(images images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withImages(_ images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func imageForSegment(_ segment: Int) -> NSImage? |
To | func image(forSegment segment: Int) -> NSImage? |
Declaration | |
---|---|
From | func imageScalingForSegment(_ segment: Int) -> NSImageScaling |
To | func imageScaling(forSegment segment: Int) -> NSImageScaling |
Declaration | |
---|---|
From | func isEnabledForSegment(_ segment: Int) -> Bool |
To | func isEnabled(forSegment segment: Int) -> Bool |
Declaration | |
---|---|
From | func isSelectedForSegment(_ segment: Int) -> Bool |
To | func isSelected(forSegment segment: Int) -> Bool |
Modified NSSegmentedControl.isSpringLoaded
Declaration | |
---|---|
From | var springLoaded: Bool |
To | var isSpringLoaded: Bool |
Declaration | |
---|---|
From | func labelForSegment(_ segment: Int) -> String? |
To | func label(forSegment segment: Int) -> String? |
Declaration | |
---|---|
From | func menuForSegment(_ segment: Int) -> NSMenu? |
To | func menu(forSegment segment: Int) -> NSMenu? |
Declaration | |
---|---|
From | func selectSegmentWithTag(_ tag: Int) -> Bool |
To | func selectSegment(withTag tag: Int) -> Bool |
Declaration | |
---|---|
From | func widthForSegment(_ segment: Int) -> CGFloat |
To | func width(forSegment segment: Int) -> CGFloat |
Modified NSSegmentStyle [enum]
Declaration | |
---|---|
From | enum NSSegmentStyle : Int { case Automatic case Rounded case RoundRect case TexturedSquare case SmallSquare case Separated case TexturedRounded case Capsule } |
To | enum NSSegmentStyle : Int { case automatic case rounded case roundRect case texturedSquare case smallSquare case separated case texturedRounded case capsule } |
Modified NSSegmentStyle.automatic
Declaration | |
---|---|
From | case Automatic |
To | case automatic |
Modified NSSegmentStyle.capsule
Declaration | |
---|---|
From | case Capsule |
To | case capsule |
Modified NSSegmentStyle.rounded
Declaration | |
---|---|
From | case Rounded |
To | case rounded |
Modified NSSegmentStyle.roundRect
Declaration | |
---|---|
From | case RoundRect |
To | case roundRect |
Modified NSSegmentStyle.separated
Declaration | |
---|---|
From | case Separated |
To | case separated |
Modified NSSegmentStyle.smallSquare
Declaration | |
---|---|
From | case SmallSquare |
To | case smallSquare |
Modified NSSegmentStyle.texturedRounded
Declaration | |
---|---|
From | case TexturedRounded |
To | case texturedRounded |
Modified NSSegmentStyle.texturedSquare
Declaration | |
---|---|
From | case TexturedSquare |
To | case texturedSquare |
Modified NSSegmentSwitchTracking [enum]
Declaration | |
---|---|
From | enum NSSegmentSwitchTracking : UInt { case SelectOne case SelectAny case Momentary case MomentaryAccelerator } |
To | enum NSSegmentSwitchTracking : UInt { case selectOne case selectAny case momentary case momentaryAccelerator } |
Modified NSSegmentSwitchTracking.momentary
Declaration | |
---|---|
From | case Momentary |
To | case momentary |
Declaration | |
---|---|
From | case MomentaryAccelerator |
To | case momentaryAccelerator |
Modified NSSegmentSwitchTracking.selectAny
Declaration | |
---|---|
From | case SelectAny |
To | case selectAny |
Modified NSSegmentSwitchTracking.selectOne
Declaration | |
---|---|
From | case SelectOne |
To | case selectOne |
Modified NSSeguePerforming
Declaration | |
---|---|
From | protocol NSSeguePerforming : NSObjectProtocol { optional func prepareForSegue(_ segue: NSStoryboardSegue, sender sender: AnyObject?) optional func performSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) optional func shouldPerformSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) -> Bool } |
To | protocol NSSeguePerforming : NSObjectProtocol { optional func prepare(for segue: NSStoryboardSegue, sender sender: Any?) optional func performSegue(withIdentifier identifier: String, sender sender: Any?) optional func shouldPerformSegue(withIdentifier identifier: String, sender sender: Any?) -> Bool } |
Declaration | |
---|---|
From | optional func performSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) |
To | optional func performSegue(withIdentifier identifier: String, sender sender: Any?) |
Declaration | |
---|---|
From | optional func prepareForSegue(_ segue: NSStoryboardSegue, sender sender: AnyObject?) |
To | optional func prepare(for segue: NSStoryboardSegue, sender sender: Any?) |
Declaration | |
---|---|
From | optional func shouldPerformSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) -> Bool |
To | optional func shouldPerformSegue(withIdentifier identifier: String, sender sender: Any?) -> Bool |
Modified NSSelectionAffinity [enum]
Declaration | |
---|---|
From | enum NSSelectionAffinity : UInt { case Upstream case Downstream } |
To | enum NSSelectionAffinity : UInt { case upstream case downstream } |
Modified NSSelectionAffinity.downstream
Declaration | |
---|---|
From | case Downstream |
To | case downstream |
Modified NSSelectionAffinity.upstream
Declaration | |
---|---|
From | case Upstream |
To | case upstream |
Modified NSSelectionDirection [enum]
Declaration | |
---|---|
From | enum NSSelectionDirection : UInt { case DirectSelection case SelectingNext case SelectingPrevious } |
To | enum NSSelectionDirection : UInt { case directSelection case selectingNext case selectingPrevious } |
Modified NSSelectionDirection.directSelection
Declaration | |
---|---|
From | case DirectSelection |
To | case directSelection |
Modified NSSelectionDirection.selectingNext
Declaration | |
---|---|
From | case SelectingNext |
To | case selectingNext |
Declaration | |
---|---|
From | case SelectingPrevious |
To | case selectingPrevious |
Modified NSSelectionGranularity [enum]
Declaration | |
---|---|
From | enum NSSelectionGranularity : UInt { case SelectByCharacter case SelectByWord case SelectByParagraph } |
To | enum NSSelectionGranularity : UInt { case selectByCharacter case selectByWord case selectByParagraph } |
Declaration | |
---|---|
From | case SelectByCharacter |
To | case selectByCharacter |
Declaration | |
---|---|
From | case SelectByParagraph |
To | case selectByParagraph |
Modified NSSelectionGranularity.selectByWord
Declaration | |
---|---|
From | case SelectByWord |
To | case selectByWord |
Modified NSServicesMenuRequestor
Declaration | |
---|---|
From | protocol NSServicesMenuRequestor : NSObjectProtocol { optional func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [String]) -> Bool optional func readSelectionFromPasteboard(_ pboard: NSPasteboard) -> Bool } |
To | protocol NSServicesMenuRequestor : NSObjectProtocol { optional func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool optional func readSelection(from pboard: NSPasteboard) -> Bool } |
Declaration | |
---|---|
From | optional func readSelectionFromPasteboard(_ pboard: NSPasteboard) -> Bool |
To | optional func readSelection(from pboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | optional func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [String]) -> Bool |
To | optional func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool |
Declaration | |
---|---|
From | func enumerateIndexPathsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (NSIndexPath, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateIndexPaths(options opts: NSEnumerationOptions = [], using block: (IndexPath, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | convenience init(collectionViewIndexPath indexPath: NSIndexPath) |
To | convenience init(collectionViewIndexPath indexPath: IndexPath) |
Declaration | |
---|---|
From | convenience init(collectionViewIndexPaths indexPaths: [NSIndexPath]) |
To | convenience init(collectionViewIndexPaths indexPaths: [IndexPath]) |
Modified NSShadow
Declaration | Protocols | |
---|---|---|
From | class NSShadow : NSObject, NSCopying, NSCoding { init() var shadowOffset: NSSize var shadowBlurRadius: CGFloat @NSCopying var shadowColor: NSColor? func set() } | NSCoding, NSCopying |
To | class NSShadow : NSObject, NSCopying, NSCoding { init() var shadowOffset: NSSize var shadowBlurRadius: CGFloat @NSCopying var shadowColor: NSColor? func set() func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSShadow : CVarArg { } extension NSShadow : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSSharingContentScope [enum]
Declaration | |
---|---|
From | enum NSSharingContentScope : Int { case Item case Partial case Full } |
To | enum NSSharingContentScope : Int { case item case partial case full } |
Modified NSSharingContentScope.full
Declaration | |
---|---|
From | case Full |
To | case full |
Modified NSSharingContentScope.item
Declaration | |
---|---|
From | case Item |
To | case item |
Modified NSSharingContentScope.partial
Declaration | |
---|---|
From | case Partial |
To | case partial |
Modified NSSharingService
Declaration | Protocols | |
---|---|---|
From | class NSSharingService : NSObject { unowned(unsafe) var delegate: NSSharingServiceDelegate? var title: String { get } var image: NSImage { get } var alternateImage: NSImage? { get } var menuItemTitle: String var recipients: [String]? var subject: String? var messageBody: String? { get } @NSCopying var permanentLink: NSURL? { get } var accountName: String? { get } var attachmentFileURLs: [NSURL]? { get } class func sharingServicesForItems(_ items: [AnyObject]) -> [NSSharingService] init?(named serviceName: String) class func sharingServiceNamed(_ serviceName: String) -> NSSharingService? init(title title: String, image image: NSImage, alternateImage alternateImage: NSImage?, handler block: () -> Void) convenience init() func canPerformWithItems(_ items: [AnyObject]?) -> Bool func performWithItems(_ items: [AnyObject]) } | -- |
To | class NSSharingService : NSObject { unowned(unsafe) var delegate: NSSharingServiceDelegate? var title: String { get } var image: NSImage { get } var alternateImage: NSImage? { get } var menuItemTitle: String var recipients: [String]? var subject: String? var messageBody: String? { get } var permanentLink: URL? { get } var accountName: String? { get } var attachmentFileURLs: [URL]? { get } class func sharingServices(forItems items: [Any]) -> [NSSharingService] init?(named serviceName: String) class func sharingServiceNamed(_ serviceName: String) -> NSSharingService? init(title title: String, image image: NSImage, alternateImage alternateImage: NSImage?, handler block: @escaping () -> Swift.Void) convenience init() func canPerform(withItems items: [Any]?) -> Bool func perform(withItems items: [Any]) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSharingService : CVarArg { } extension NSSharingService : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSSharingService.attachmentFileURLs
Declaration | |
---|---|
From | var attachmentFileURLs: [NSURL]? { get } |
To | var attachmentFileURLs: [URL]? { get } |
Declaration | |
---|---|
From | func canPerformWithItems(_ items: [AnyObject]?) -> Bool |
To | func canPerform(withItems items: [Any]?) -> Bool |
Declaration | |
---|---|
From | init(title title: String, image image: NSImage, alternateImage alternateImage: NSImage?, handler block: () -> Void) |
To | init(title title: String, image image: NSImage, alternateImage alternateImage: NSImage?, handler block: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func performWithItems(_ items: [AnyObject]) |
To | func perform(withItems items: [Any]) |
Modified NSSharingService.permanentLink
Declaration | |
---|---|
From | @NSCopying var permanentLink: NSURL? { get } |
To | var permanentLink: URL? { get } |
Declaration | |
---|---|
From | class func sharingServicesForItems(_ items: [AnyObject]) -> [NSSharingService] |
To | class func sharingServices(forItems items: [Any]) -> [NSSharingService] |
Modified NSSharingServiceDelegate
Declaration | |
---|---|
From | protocol NSSharingServiceDelegate : NSObjectProtocol { optional func sharingService(_ sharingService: NSSharingService, willShareItems items: [AnyObject]) optional func sharingService(_ sharingService: NSSharingService, didFailToShareItems items: [AnyObject], error error: NSError) optional func sharingService(_ sharingService: NSSharingService, didShareItems items: [AnyObject]) optional func sharingService(_ sharingService: NSSharingService, sourceFrameOnScreenForShareItem item: AnyObject) -> NSRect optional func sharingService(_ sharingService: NSSharingService, transitionImageForShareItem item: AnyObject, contentRect contentRect: UnsafeMutablePointer<NSRect>) -> NSImage optional func sharingService(_ sharingService: NSSharingService, sourceWindowForShareItems items: [AnyObject], sharingContentScope sharingContentScope: UnsafeMutablePointer<NSSharingContentScope>) -> NSWindow? } |
To | protocol NSSharingServiceDelegate : NSObjectProtocol { optional func sharingService(_ sharingService: NSSharingService, willShareItems items: [Any]) optional func sharingService(_ sharingService: NSSharingService, didFailToShareItems items: [Any], error error: Error) optional func sharingService(_ sharingService: NSSharingService, didShareItems items: [Any]) optional func sharingService(_ sharingService: NSSharingService, sourceFrameOnScreenForShareItem item: Any) -> NSRect optional func sharingService(_ sharingService: NSSharingService, transitionImageForShareItem item: Any, contentRect contentRect: UnsafeMutablePointer<NSRect>) -> NSImage? optional func sharingService(_ sharingService: NSSharingService, sourceWindowForShareItems items: [Any], sharingContentScope sharingContentScope: UnsafeMutablePointer<NSSharingContentScope>) -> NSWindow? optional func anchoringView(for sharingService: NSSharingService, showRelativeTo positioningRect: UnsafeMutablePointer<NSRect>, preferredEdge preferredEdge: UnsafeMutablePointer<NSRectEdge>) -> NSView? } |
Declaration | |
---|---|
From | optional func sharingService(_ sharingService: NSSharingService, didFailToShareItems items: [AnyObject], error error: NSError) |
To | optional func sharingService(_ sharingService: NSSharingService, didFailToShareItems items: [Any], error error: Error) |
Declaration | |
---|---|
From | optional func sharingService(_ sharingService: NSSharingService, didShareItems items: [AnyObject]) |
To | optional func sharingService(_ sharingService: NSSharingService, didShareItems items: [Any]) |
Declaration | |
---|---|
From | optional func sharingService(_ sharingService: NSSharingService, sourceFrameOnScreenForShareItem item: AnyObject) -> NSRect |
To | optional func sharingService(_ sharingService: NSSharingService, sourceFrameOnScreenForShareItem item: Any) -> NSRect |
Declaration | |
---|---|
From | optional func sharingService(_ sharingService: NSSharingService, sourceWindowForShareItems items: [AnyObject], sharingContentScope sharingContentScope: UnsafeMutablePointer<NSSharingContentScope>) -> NSWindow? |
To | optional func sharingService(_ sharingService: NSSharingService, sourceWindowForShareItems items: [Any], sharingContentScope sharingContentScope: UnsafeMutablePointer<NSSharingContentScope>) -> NSWindow? |
Declaration | |
---|---|
From | optional func sharingService(_ sharingService: NSSharingService, transitionImageForShareItem item: AnyObject, contentRect contentRect: UnsafeMutablePointer<NSRect>) -> NSImage |
To | optional func sharingService(_ sharingService: NSSharingService, transitionImageForShareItem item: Any, contentRect contentRect: UnsafeMutablePointer<NSRect>) -> NSImage? |
Declaration | |
---|---|
From | optional func sharingService(_ sharingService: NSSharingService, willShareItems items: [AnyObject]) |
To | optional func sharingService(_ sharingService: NSSharingService, willShareItems items: [Any]) |
Modified NSSharingServicePicker
Declaration | Protocols | |
---|---|---|
From | class NSSharingServicePicker : NSObject { unowned(unsafe) var delegate: NSSharingServicePickerDelegate? init(items items: [AnyObject]) convenience init() func showRelativeToRect(_ rect: NSRect, ofView view: NSView, preferredEdge preferredEdge: NSRectEdge) } | -- |
To | class NSSharingServicePicker : NSObject { unowned(unsafe) var delegate: NSSharingServicePickerDelegate? init(items items: [Any]) convenience init() func show(relativeTo rect: NSRect, of view: NSView, preferredEdge preferredEdge: NSRectEdge) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSharingServicePicker : CVarArg { } extension NSSharingServicePicker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | init(items items: [AnyObject]) |
To | init(items items: [Any]) |
Declaration | |
---|---|
From | func showRelativeToRect(_ rect: NSRect, ofView view: NSView, preferredEdge preferredEdge: NSRectEdge) |
To | func show(relativeTo rect: NSRect, of view: NSView, preferredEdge preferredEdge: NSRectEdge) |
Modified NSSharingServicePickerDelegate
Declaration | |
---|---|
From | protocol NSSharingServicePickerDelegate : NSObjectProtocol { optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [AnyObject], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService] optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateForSharingService sharingService: NSSharingService) -> NSSharingServiceDelegate? optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChooseSharingService service: NSSharingService?) } |
To | protocol NSSharingServicePickerDelegate : NSObjectProtocol { optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [Any], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService] optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateFor sharingService: NSSharingService) -> NSSharingServiceDelegate? optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChoose service: NSSharingService?) } |
Declaration | |
---|---|
From | optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateForSharingService sharingService: NSSharingService) -> NSSharingServiceDelegate? |
To | optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateFor sharingService: NSSharingService) -> NSSharingServiceDelegate? |
Declaration | |
---|---|
From | optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChooseSharingService service: NSSharingService?) |
To | optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChoose service: NSSharingService?) |
Declaration | |
---|---|
From | optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [AnyObject], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService] |
To | optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [Any], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService] |
Modified NSSlider
Declaration | Protocols | |
---|---|---|
From | class NSSlider : NSControl, NSAccessibilitySlider { var sliderType: NSSliderType var minValue: Double var maxValue: Double var altIncrementValue: Double var knobThickness: CGFloat { get } var vertical: Int { get } func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool func setTitleCell(_ aCell: NSCell!) func titleCell() -> AnyObject! func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ aString: String!) func setKnobThickness(_ aFloat: CGFloat) func setImage(_ backgroundImage: NSImage!) func image() -> NSImage! } extension NSSlider { var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValueAtIndex(_ index: Int) -> Double func rectOfTickMarkAtIndex(_ index: Int) -> NSRect func indexOfTickMarkAtPoint(_ point: NSPoint) -> Int func closestTickMarkValueToValue(_ value: Double) -> Double } | NSAccessibilitySlider |
To | class NSSlider : NSControl, NSAccessibilitySlider { var sliderType: NSSliderType var minValue: Double var maxValue: Double var altIncrementValue: Double var knobThickness: CGFloat { get } func acceptsFirstMouse(for event: NSEvent?) -> Bool var isVertical: Bool var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double convenience init(target target: Any?, action action: Selector?) class func withTarget(_ target: Any?, action action: Selector?) -> Self convenience init(value value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) class func withValue(_ value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) -> Self func setTitleCell(_ cell: NSCell!) func titleCell() -> Any! func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setKnobThickness(_ thickness: CGFloat) func setImage(_ backgroundImage: NSImage!) func image() -> NSImage! var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) } extension NSSlider : CVarArg { } extension NSSlider : Equatable, Hashable { var hashValue: Int { get } } extension NSSlider { var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double } extension NSSlider { convenience init(target target: Any?, action action: Selector?) class func withTarget(_ target: Any?, action action: Selector?) -> Self convenience init(value value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) class func withValue(_ value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) -> Self } extension NSSlider { func setTitleCell(_ cell: NSCell!) func titleCell() -> Any! func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setKnobThickness(_ thickness: CGFloat) func setImage(_ backgroundImage: NSImage!) func image() -> NSImage! } | CVarArg, Equatable, Hashable, NSAccessibilitySlider |
Declaration | |
---|---|
From | func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool |
To | func acceptsFirstMouse(for event: NSEvent?) -> Bool |
Declaration | |
---|---|
From | func closestTickMarkValueToValue(_ value: Double) -> Double |
To | func closestTickMarkValue(toValue value: Double) -> Double |
Declaration | |
---|---|
From | func indexOfTickMarkAtPoint(_ point: NSPoint) -> Int |
To | func indexOfTickMark(at point: NSPoint) -> Int |
Modified NSSlider.isVertical
Declaration | Introduction | Readonly | |
---|---|---|---|
From | var vertical: Int { get } | OS X 10.10 | yes |
To | var isVertical: Bool | OS X 10.12 | -- |
Declaration | |
---|---|
From | func rectOfTickMarkAtIndex(_ index: Int) -> NSRect |
To | func rectOfTickMark(at index: Int) -> NSRect |
Declaration | |
---|---|
From | func tickMarkValueAtIndex(_ index: Int) -> Double |
To | func tickMarkValue(at index: Int) -> Double |
Modified NSSliderCell
Declaration | |
---|---|
From | class NSSliderCell : NSActionCell { class func prefersTrackingUntilMouseUp() -> Bool var minValue: Double var maxValue: Double var altIncrementValue: Double var sliderType: NSSliderType var vertical: Int { get } var trackRect: NSRect { get } var knobThickness: CGFloat { get } func knobRectFlipped(_ flipped: Bool) -> NSRect func drawKnob(_ knobRect: NSRect) func drawKnob() func barRectFlipped(_ flipped: Bool) -> NSRect func drawBarInside(_ aRect: NSRect, flipped flipped: Bool) func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ aString: String!) func setTitleCell(_ aCell: NSCell!) func titleCell() -> AnyObject! func setKnobThickness(_ aFloat: CGFloat) } extension NSSliderCell { var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValueAtIndex(_ index: Int) -> Double func rectOfTickMarkAtIndex(_ index: Int) -> NSRect func indexOfTickMarkAtPoint(_ point: NSPoint) -> Int func closestTickMarkValueToValue(_ value: Double) -> Double func drawTickMarks() } |
To | class NSSliderCell : NSActionCell { class func prefersTrackingUntilMouseUp() -> Bool var minValue: Double var maxValue: Double var altIncrementValue: Double var sliderType: NSSliderType var isVertical: Bool var trackRect: NSRect { get } var knobThickness: CGFloat { get } func knobRect(flipped flipped: Bool) -> NSRect func barRect(flipped flipped: Bool) -> NSRect func drawKnob(_ knobRect: NSRect) func drawKnob() func drawBar(inside rect: NSRect, flipped flipped: Bool) func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setTitle(_ cell: NSCell!) func titleCell() -> Any! func setKnobThickness(_ thickness: CGFloat) var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double func drawTickMarks() } extension NSSliderCell { var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double func drawTickMarks() } extension NSSliderCell { func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setTitle(_ cell: NSCell!) func titleCell() -> Any! func setKnobThickness(_ thickness: CGFloat) } |
Declaration | |
---|---|
From | func barRectFlipped(_ flipped: Bool) -> NSRect |
To | func barRect(flipped flipped: Bool) -> NSRect |
Declaration | |
---|---|
From | func closestTickMarkValueToValue(_ value: Double) -> Double |
To | func closestTickMarkValue(toValue value: Double) -> Double |
Declaration | |
---|---|
From | func drawBarInside(_ aRect: NSRect, flipped flipped: Bool) |
To | func drawBar(inside rect: NSRect, flipped flipped: Bool) |
Declaration | |
---|---|
From | func indexOfTickMarkAtPoint(_ point: NSPoint) -> Int |
To | func indexOfTickMark(at point: NSPoint) -> Int |
Modified NSSliderCell.isVertical
Declaration | Introduction | Readonly | |
---|---|---|---|
From | var vertical: Int { get } | OS X 10.10 | yes |
To | var isVertical: Bool | OS X 10.11 | -- |
Declaration | |
---|---|
From | func knobRectFlipped(_ flipped: Bool) -> NSRect |
To | func knobRect(flipped flipped: Bool) -> NSRect |
Declaration | |
---|---|
From | func rectOfTickMarkAtIndex(_ index: Int) -> NSRect |
To | func rectOfTickMark(at index: Int) -> NSRect |
Declaration | |
---|---|
From | func tickMarkValueAtIndex(_ index: Int) -> Double |
To | func tickMarkValue(at index: Int) -> Double |
Modified NSSliderType [enum]
Declaration | |
---|---|
From | enum NSSliderType : UInt { case LinearSlider case CircularSlider } |
To | enum NSSliderType : UInt { case linear case circular } |
Modified NSSound
Declaration | Protocols | |
---|---|---|
From | class NSSound : NSObject, NSCopying, NSCoding, NSPasteboardReading, NSPasteboardWriting { init?(named name: String) class func soundNamed(_ name: String) -> NSSound? init?(contentsOfURL url: NSURL, byReference byRef: Bool) init?(contentsOfFile path: String, byReference byRef: Bool) init?(data data: NSData) func setName(_ string: String?) -> Bool var name: String? { get } class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool class func soundUnfilteredTypes() -> [String] init?(pasteboard pasteboard: NSPasteboard) func writeToPasteboard(_ pasteboard: NSPasteboard) func play() -> Bool func pause() -> Bool func resume() -> Bool func stop() -> Bool var playing: Bool { get } unowned(unsafe) var delegate: NSSoundDelegate? var duration: NSTimeInterval { get } var volume: Float var currentTime: NSTimeInterval var loops: Bool var playbackDeviceIdentifier: String? func setChannelMapping(_ channelMapping: [AnyObject]!) func channelMapping() -> [AnyObject]! } extension NSSound { class func soundUnfilteredFileTypes() -> [AnyObject]! class func soundUnfilteredPasteboardTypes() -> [AnyObject]! } | NSCoding, NSCopying, NSPasteboardReading, NSPasteboardWriting |
To | class NSSound : NSObject, NSCopying, NSCoding, NSPasteboardReading, NSPasteboardWriting { init?(named name: String) class func soundNamed(_ name: String) -> NSSound? init?(contentsOf url: URL, byReference byRef: Bool) init?(contentsOfFile path: String, byReference byRef: Bool) init?(data data: Data) func setName(_ string: String?) -> Bool var name: String? { get } class func canInit(with pasteboard: NSPasteboard) -> Bool class func soundUnfilteredTypes() -> [String] init?(pasteboard pasteboard: NSPasteboard) func write(to pasteboard: NSPasteboard) func play() -> Bool func pause() -> Bool func resume() -> Bool func stop() -> Bool var isPlaying: Bool { get } unowned(unsafe) var delegate: NSSoundDelegate? var duration: TimeInterval { get } var volume: Float var currentTime: TimeInterval var loops: Bool var playbackDeviceIdentifier: String? func setChannelMapping(_ channelMapping: [Any]!) func channelMapping() -> [Any]! class func soundUnfilteredFileTypes() -> [Any]! class func soundUnfilteredPasteboardTypes() -> [Any]! func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSSound : CVarArg { } extension NSSound : Equatable, Hashable { var hashValue: Int { get } } extension NSSound { class func soundUnfilteredFileTypes() -> [Any]! class func soundUnfilteredPasteboardTypes() -> [Any]! } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSPasteboardReading, NSPasteboardWriting |
Declaration | |
---|---|
From | class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool |
To | class func canInit(with pasteboard: NSPasteboard) -> Bool |
Modified NSSound.currentTime
Declaration | |
---|---|
From | var currentTime: NSTimeInterval |
To | var currentTime: TimeInterval |
Modified NSSound.duration
Declaration | |
---|---|
From | var duration: NSTimeInterval { get } |
To | var duration: TimeInterval { get } |
Declaration | |
---|---|
From | init?(contentsOfURL url: NSURL, byReference byRef: Bool) |
To | init?(contentsOf url: URL, byReference byRef: Bool) |
Modified NSSound.init(data: Data)
Declaration | |
---|---|
From | init?(data data: NSData) |
To | init?(data data: Data) |
Modified NSSound.isPlaying
Declaration | |
---|---|
From | var playing: Bool { get } |
To | var isPlaying: Bool { get } |
Modified NSSound.write(to: NSPasteboard)
Declaration | |
---|---|
From | func writeToPasteboard(_ pasteboard: NSPasteboard) |
To | func write(to pasteboard: NSPasteboard) |
Modified NSSpeechBoundary [enum]
Declaration | |
---|---|
From | enum NSSpeechBoundary : UInt { case ImmediateBoundary case WordBoundary case SentenceBoundary } |
To | enum NSSpeechBoundary : UInt { case immediateBoundary case wordBoundary case sentenceBoundary } |
Modified NSSpeechBoundary.immediateBoundary
Declaration | |
---|---|
From | case ImmediateBoundary |
To | case immediateBoundary |
Modified NSSpeechBoundary.sentenceBoundary
Declaration | |
---|---|
From | case SentenceBoundary |
To | case sentenceBoundary |
Modified NSSpeechBoundary.wordBoundary
Declaration | |
---|---|
From | case WordBoundary |
To | case wordBoundary |
Modified NSSpeechRecognizer
Declaration | Protocols | |
---|---|---|
From | class NSSpeechRecognizer : NSObject { init?() func startListening() func stopListening() unowned(unsafe) var delegate: NSSpeechRecognizerDelegate? var commands: [String]? var displayedCommandsTitle: String? var listensInForegroundOnly: Bool var blocksOtherRecognizers: Bool } | -- |
To | class NSSpeechRecognizer : NSObject { init?() func startListening() func stopListening() unowned(unsafe) var delegate: NSSpeechRecognizerDelegate? var commands: [String]? var displayedCommandsTitle: String? var listensInForegroundOnly: Bool var blocksOtherRecognizers: Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSpeechRecognizer : CVarArg { } extension NSSpeechRecognizer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSSpeechSynthesizer
Declaration | Protocols | |
---|---|---|
From | class NSSpeechSynthesizer : NSObject { init?(voice voice: String?) func startSpeakingString(_ string: String) -> Bool func startSpeakingString(_ string: String, toURL url: NSURL) -> Bool var speaking: Bool { get } func stopSpeaking() func stopSpeakingAtBoundary(_ boundary: NSSpeechBoundary) func pauseSpeakingAtBoundary(_ boundary: NSSpeechBoundary) func continueSpeaking() unowned(unsafe) var delegate: NSSpeechSynthesizerDelegate? func voice() -> String? func setVoice(_ voice: String?) -> Bool var rate: Float var volume: Float var usesFeedbackWindow: Bool func addSpeechDictionary(_ speechDictionary: [String : AnyObject]) func phonemesFromText(_ text: String) -> String func objectForProperty(_ property: String) throws -> AnyObject func setObject(_ object: AnyObject?, forProperty property: String) throws class func isAnyApplicationSpeaking() -> Bool class func defaultVoice() -> String class func availableVoices() -> [String] class func attributesForVoice(_ voice: String) -> [String : AnyObject] } | -- |
To | class NSSpeechSynthesizer : NSObject { init?(voice voice: String?) func startSpeaking(_ string: String) -> Bool func startSpeaking(_ string: String, to url: URL) -> Bool var isSpeaking: Bool { get } func stopSpeaking() func stopSpeaking(at boundary: NSSpeechBoundary) func pauseSpeaking(at boundary: NSSpeechBoundary) func continueSpeaking() unowned(unsafe) var delegate: NSSpeechSynthesizerDelegate? func voice() -> String? func setVoice(_ voice: String?) -> Bool var rate: Float var volume: Float var usesFeedbackWindow: Bool func addSpeechDictionary(_ speechDictionary: [String : Any]) func phonemes(from text: String) -> String func object(forProperty property: String) throws -> Any func setObject(_ object: Any?, forProperty property: String) throws class func isAnyApplicationSpeaking() -> Bool class func defaultVoice() -> String class func availableVoices() -> [String] class func attributes(forVoice voice: String) -> [String : Any] func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSpeechSynthesizer : CVarArg { } extension NSSpeechSynthesizer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addSpeechDictionary(_ speechDictionary: [String : AnyObject]) |
To | func addSpeechDictionary(_ speechDictionary: [String : Any]) |
Declaration | |
---|---|
From | class func attributesForVoice(_ voice: String) -> [String : AnyObject] |
To | class func attributes(forVoice voice: String) -> [String : Any] |
Modified NSSpeechSynthesizer.isSpeaking
Declaration | |
---|---|
From | var speaking: Bool { get } |
To | var isSpeaking: Bool { get } |
Declaration | |
---|---|
From | func objectForProperty(_ property: String) throws -> AnyObject |
To | func object(forProperty property: String) throws -> Any |
Declaration | |
---|---|
From | func pauseSpeakingAtBoundary(_ boundary: NSSpeechBoundary) |
To | func pauseSpeaking(at boundary: NSSpeechBoundary) |
Declaration | |
---|---|
From | func phonemesFromText(_ text: String) -> String |
To | func phonemes(from text: String) -> String |
Declaration | |
---|---|
From | func setObject(_ object: AnyObject?, forProperty property: String) throws |
To | func setObject(_ object: Any?, forProperty property: String) throws |
Declaration | |
---|---|
From | func startSpeakingString(_ string: String) -> Bool |
To | func startSpeaking(_ string: String) -> Bool |
Declaration | |
---|---|
From | func startSpeakingString(_ string: String, toURL url: NSURL) -> Bool |
To | func startSpeaking(_ string: String, to url: URL) -> Bool |
Declaration | |
---|---|
From | func stopSpeakingAtBoundary(_ boundary: NSSpeechBoundary) |
To | func stopSpeaking(at boundary: NSSpeechBoundary) |
Modified NSSpeechSynthesizerDelegate
Declaration | |
---|---|
From | protocol NSSpeechSynthesizerDelegate : NSObjectProtocol { optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didFinishSpeaking finishedSpeaking: Bool) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, willSpeakWord characterRange: NSRange, ofString string: String) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, willSpeakPhoneme phonemeOpcode: Int16) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didEncounterErrorAtIndex characterIndex: Int, ofString string: String, message message: String) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didEncounterSyncMessage message: String) } |
To | protocol NSSpeechSynthesizerDelegate : NSObjectProtocol { optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didFinishSpeaking finishedSpeaking: Bool) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, willSpeakWord characterRange: NSRange, of string: String) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, willSpeakPhoneme phonemeOpcode: Int16) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didEncounterErrorAt characterIndex: Int, of string: String, message message: String) optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didEncounterSyncMessage message: String) } |
Declaration | |
---|---|
From | optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didEncounterErrorAtIndex characterIndex: Int, ofString string: String, message message: String) |
To | optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didEncounterErrorAt characterIndex: Int, of string: String, message message: String) |
Declaration | |
---|---|
From | optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, willSpeakWord characterRange: NSRange, ofString string: String) |
To | optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, willSpeakWord characterRange: NSRange, of string: String) |
Modified NSSpellChecker
Declaration | Protocols | |
---|---|---|
From | class NSSpellChecker : NSObject { class func sharedSpellChecker() -> NSSpellChecker class func sharedSpellCheckerExists() -> Bool class func uniqueSpellDocumentTag() -> Int func checkSpellingOfString(_ stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, wordCount wordCount: UnsafeMutablePointer<Int>) -> NSRange func checkSpellingOfString(_ stringToCheck: String, startingAt startingOffset: Int) -> NSRange func countWordsInString(_ stringToCount: String, language language: String?) -> Int func checkGrammarOfString(_ stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, details details: AutoreleasingUnsafeMutablePointer<NSArray?>) -> NSRange func checkString(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]?, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>, wordCount wordCount: UnsafeMutablePointer<Int>) -> [NSTextCheckingResult] func requestCheckingOfString(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]?, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: ((Int, [NSTextCheckingResult], NSOrthography, Int) -> Void)?) -> Int func menuForResult(_ result: NSTextCheckingResult, string checkedString: String, options options: [String : AnyObject]?, atLocation location: NSPoint, inView view: NSView) -> NSMenu? func userQuotesArrayForLanguage(_ language: String) -> [String] var userReplacementsDictionary: [String : String] { get } func updateSpellingPanelWithMisspelledWord(_ word: String) func updateSpellingPanelWithGrammarString(_ string: String, detail detail: [String : AnyObject]) var spellingPanel: NSPanel { get } var accessoryView: NSView? var substitutionsPanel: NSPanel { get } var substitutionsPanelAccessoryViewController: NSViewController? func updatePanels() func ignoreWord(_ wordToIgnore: String, inSpellDocumentWithTag tag: Int) func ignoredWordsInSpellDocumentWithTag(_ tag: Int) -> [String]? func setIgnoredWords(_ words: [String], inSpellDocumentWithTag tag: Int) func guessesForWordRange(_ range: NSRange, inString string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func correctionForWordRange(_ range: NSRange, inString string: String, language language: String, inSpellDocumentWithTag tag: Int) -> String? func completionsForPartialWordRange(_ range: NSRange, inString string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func languageForWordRange(_ range: NSRange, inString string: String, orthography orthography: NSOrthography?) -> String? func closeSpellDocumentWithTag(_ tag: Int) func recordResponse(_ response: NSCorrectionResponse, toCorrection correction: String, forWord word: String, language language: String?, inSpellDocumentWithTag tag: Int) func showCorrectionIndicatorOfType(_ type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringInRect rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: ((String!) -> Void)?) func dismissCorrectionIndicatorForView(_ view: NSView) var availableLanguages: [String] { get } var userPreferredLanguages: [String] { get } var automaticallyIdentifiesLanguages: Bool func setWordFieldStringValue(_ aString: String) func learnWord(_ word: String) func hasLearnedWord(_ word: String) -> Bool func unlearnWord(_ word: String) class func isAutomaticTextReplacementEnabled() -> Bool class func isAutomaticSpellingCorrectionEnabled() -> Bool class func isAutomaticQuoteSubstitutionEnabled() -> Bool class func isAutomaticDashSubstitutionEnabled() -> Bool func language() -> String func setLanguage(_ language: String) -> Bool } extension NSSpellChecker { func guessesForWord(_ word: String!) -> [AnyObject]! func forgetWord(_ word: String!) } | -- |
To | class NSSpellChecker : NSObject { class func shared() -> NSSpellChecker class func sharedSpellCheckerExists() -> Bool class func uniqueSpellDocumentTag() -> Int func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, wordCount wordCount: UnsafeMutablePointer<Int>?) -> NSRange func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int) -> NSRange func countWords(in stringToCount: String, language language: String?) -> Int func checkGrammar(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, details details: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> NSRange func check(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>?, wordCount wordCount: UnsafeMutablePointer<Int>?) -> [NSTextCheckingResult] func requestChecking(of stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: (@escaping (Int, [NSTextCheckingResult], NSOrthography, Int) -> Swift.Void)? = nil) -> Int func menu(for result: NSTextCheckingResult, string checkedString: String, options options: [String : Any]? = nil, atLocation location: NSPoint, in view: NSView) -> NSMenu? func userQuotesArray(forLanguage language: String) -> [String] var userReplacementsDictionary: [String : String] { get } func updateSpellingPanel(withMisspelledWord word: String) func updateSpellingPanel(withGrammarString string: String, detail detail: [String : Any]) var spellingPanel: NSPanel { get } var accessoryView: NSView? var substitutionsPanel: NSPanel { get } var substitutionsPanelAccessoryViewController: NSViewController? func updatePanels() func ignoreWord(_ wordToIgnore: String, inSpellDocumentWithTag tag: Int) func ignoredWords(inSpellDocumentWithTag tag: Int) -> [String]? func setIgnoredWords(_ words: [String], inSpellDocumentWithTag tag: Int) func guesses(forWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func correction(forWordRange range: NSRange, in string: String, language language: String, inSpellDocumentWithTag tag: Int) -> String? func completions(forPartialWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func language(forWordRange range: NSRange, in string: String, orthography orthography: NSOrthography?) -> String? func closeSpellDocument(withTag tag: Int) func record(_ response: NSCorrectionResponse, toCorrection correction: String, forWord word: String, language language: String?, inSpellDocumentWithTag tag: Int) func showCorrectionIndicator(of type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringIn rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: (@escaping (String!) -> Swift.Void)? = nil) func dismissCorrectionIndicator(for view: NSView) func preventsAutocorrection(before string: String, language language: String?) -> Bool var availableLanguages: [String] { get } var userPreferredLanguages: [String] { get } var automaticallyIdentifiesLanguages: Bool func setWordFieldStringValue(_ string: String) func learnWord(_ word: String) func hasLearnedWord(_ word: String) -> Bool func unlearnWord(_ word: String) class func isAutomaticTextReplacementEnabled() -> Bool class func isAutomaticSpellingCorrectionEnabled() -> Bool class func isAutomaticQuoteSubstitutionEnabled() -> Bool class func isAutomaticDashSubstitutionEnabled() -> Bool class func isAutomaticCapitalizationEnabled() -> Bool class func isAutomaticPeriodSubstitutionEnabled() -> Bool func language() -> String func setLanguage(_ language: String) -> Bool func guesses(forWord word: String!) -> [Any]! func forgetWord(_ word: String!) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSSpellChecker : CVarArg { } extension NSSpellChecker : Equatable, Hashable { var hashValue: Int { get } } extension NSSpellChecker { func guesses(forWord word: String!) -> [Any]! func forgetWord(_ word: String!) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func checkString(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]?, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>, wordCount wordCount: UnsafeMutablePointer<Int>) -> [NSTextCheckingResult] |
To | func check(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>?, wordCount wordCount: UnsafeMutablePointer<Int>?) -> [NSTextCheckingResult] |
Declaration | |
---|---|
From | func checkGrammarOfString(_ stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, details details: AutoreleasingUnsafeMutablePointer<NSArray?>) -> NSRange |
To | func checkGrammar(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, details details: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> NSRange |
Declaration | |
---|---|
From | func checkSpellingOfString(_ stringToCheck: String, startingAt startingOffset: Int) -> NSRange |
To | func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int) -> NSRange |
Declaration | |
---|---|
From | func checkSpellingOfString(_ stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, wordCount wordCount: UnsafeMutablePointer<Int>) -> NSRange |
To | func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, wordCount wordCount: UnsafeMutablePointer<Int>?) -> NSRange |
Declaration | |
---|---|
From | func closeSpellDocumentWithTag(_ tag: Int) |
To | func closeSpellDocument(withTag tag: Int) |
Declaration | |
---|---|
From | func completionsForPartialWordRange(_ range: NSRange, inString string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? |
To | func completions(forPartialWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? |
Declaration | |
---|---|
From | func correctionForWordRange(_ range: NSRange, inString string: String, language language: String, inSpellDocumentWithTag tag: Int) -> String? |
To | func correction(forWordRange range: NSRange, in string: String, language language: String, inSpellDocumentWithTag tag: Int) -> String? |
Declaration | |
---|---|
From | func countWordsInString(_ stringToCount: String, language language: String?) -> Int |
To | func countWords(in stringToCount: String, language language: String?) -> Int |
Declaration | |
---|---|
From | func dismissCorrectionIndicatorForView(_ view: NSView) |
To | func dismissCorrectionIndicator(for view: NSView) |
Declaration | |
---|---|
From | func guessesForWordRange(_ range: NSRange, inString string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? |
To | func guesses(forWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? |
Declaration | |
---|---|
From | func ignoredWordsInSpellDocumentWithTag(_ tag: Int) -> [String]? |
To | func ignoredWords(inSpellDocumentWithTag tag: Int) -> [String]? |
Modified NSSpellChecker.language(forWordRange: NSRange, in: String, orthography: NSOrthography?) -> String?
Declaration | |
---|---|
From | func languageForWordRange(_ range: NSRange, inString string: String, orthography orthography: NSOrthography?) -> String? |
To | func language(forWordRange range: NSRange, in string: String, orthography orthography: NSOrthography?) -> String? |
Declaration | |
---|---|
From | func menuForResult(_ result: NSTextCheckingResult, string checkedString: String, options options: [String : AnyObject]?, atLocation location: NSPoint, inView view: NSView) -> NSMenu? |
To | func menu(for result: NSTextCheckingResult, string checkedString: String, options options: [String : Any]? = nil, atLocation location: NSPoint, in view: NSView) -> NSMenu? |
Declaration | |
---|---|
From | func recordResponse(_ response: NSCorrectionResponse, toCorrection correction: String, forWord word: String, language language: String?, inSpellDocumentWithTag tag: Int) |
To | func record(_ response: NSCorrectionResponse, toCorrection correction: String, forWord word: String, language language: String?, inSpellDocumentWithTag tag: Int) |
Declaration | |
---|---|
From | func requestCheckingOfString(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]?, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: ((Int, [NSTextCheckingResult], NSOrthography, Int) -> Void)?) -> Int |
To | func requestChecking(of stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: (@escaping (Int, [NSTextCheckingResult], NSOrthography, Int) -> Swift.Void)? = nil) -> Int |
Declaration | |
---|---|
From | class func sharedSpellChecker() -> NSSpellChecker |
To | class func shared() -> NSSpellChecker |
Declaration | |
---|---|
From | func showCorrectionIndicatorOfType(_ type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringInRect rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: ((String!) -> Void)?) |
To | func showCorrectionIndicator(of type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringIn rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: (@escaping (String!) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func updateSpellingPanelWithGrammarString(_ string: String, detail detail: [String : AnyObject]) |
To | func updateSpellingPanel(withGrammarString string: String, detail detail: [String : Any]) |
Declaration | |
---|---|
From | func updateSpellingPanelWithMisspelledWord(_ word: String) |
To | func updateSpellingPanel(withMisspelledWord word: String) |
Declaration | |
---|---|
From | func userQuotesArrayForLanguage(_ language: String) -> [String] |
To | func userQuotesArray(forLanguage language: String) -> [String] |
Modified NSSplitView
Declaration | Protocols | |
---|---|---|
From | class NSSplitView : NSView { var vertical: Bool var dividerStyle: NSSplitViewDividerStyle var autosaveName: String? unowned(unsafe) var delegate: NSSplitViewDelegate? func drawDividerInRect(_ rect: NSRect) @NSCopying var dividerColor: NSColor { get } var dividerThickness: CGFloat { get } func adjustSubviews() func isSubviewCollapsed(_ subview: NSView) -> Bool func minPossiblePositionOfDividerAtIndex(_ dividerIndex: Int) -> CGFloat func maxPossiblePositionOfDividerAtIndex(_ dividerIndex: Int) -> CGFloat func setPosition(_ position: CGFloat, ofDividerAtIndex dividerIndex: Int) func holdingPriorityForSubviewAtIndex(_ subviewIndex: Int) -> NSLayoutPriority func setHoldingPriority(_ priority: NSLayoutPriority, forSubviewAtIndex subviewIndex: Int) } extension NSSplitView { var arrangesAllSubviews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, atIndex index: Int) func removeArrangedSubview(_ view: NSView) } extension NSSplitView { func setIsPaneSplitter(_ flag: Bool) func isPaneSplitter() -> Bool } | -- |
To | class NSSplitView : NSView { var isVertical: Bool var dividerStyle: NSSplitViewDividerStyle var autosaveName: String? weak var delegate: NSSplitViewDelegate? func drawDivider(in rect: NSRect) @NSCopying var dividerColor: NSColor { get } var dividerThickness: CGFloat { get } func adjustSubviews() func isSubviewCollapsed(_ subview: NSView) -> Bool func minPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat func maxPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat func setPosition(_ position: CGFloat, ofDividerAt dividerIndex: Int) func holdingPriorityForSubview(at subviewIndex: Int) -> NSLayoutPriority func setHoldingPriority(_ priority: NSLayoutPriority, forSubviewAt subviewIndex: Int) var arrangesAllSubviews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) func setIsPaneSplitter(_ flag: Bool) func isPaneSplitter() -> Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func awakeFromNib() func prepareForInterfaceBuilder() } extension NSSplitView : CVarArg { } extension NSSplitView : Equatable, Hashable { var hashValue: Int { get } } extension NSSplitView { var arrangesAllSubviews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) } extension NSSplitView { func setIsPaneSplitter(_ flag: Bool) func isPaneSplitter() -> Bool } | CVarArg, Equatable, Hashable |
Modified NSSplitView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: NSSplitViewDelegate? |
To | weak var delegate: NSSplitViewDelegate? |
Modified NSSplitView.drawDivider(in: NSRect)
Declaration | |
---|---|
From | func drawDividerInRect(_ rect: NSRect) |
To | func drawDivider(in rect: NSRect) |
Declaration | |
---|---|
From | func holdingPriorityForSubviewAtIndex(_ subviewIndex: Int) -> NSLayoutPriority |
To | func holdingPriorityForSubview(at subviewIndex: Int) -> NSLayoutPriority |
Declaration | |
---|---|
From | func insertArrangedSubview(_ view: NSView, atIndex index: Int) |
To | func insertArrangedSubview(_ view: NSView, at index: Int) |
Modified NSSplitView.isVertical
Declaration | |
---|---|
From | var vertical: Bool |
To | var isVertical: Bool |
Declaration | |
---|---|
From | func maxPossiblePositionOfDividerAtIndex(_ dividerIndex: Int) -> CGFloat |
To | func maxPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat |
Declaration | |
---|---|
From | func minPossiblePositionOfDividerAtIndex(_ dividerIndex: Int) -> CGFloat |
To | func minPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat |
Declaration | |
---|---|
From | func setHoldingPriority(_ priority: NSLayoutPriority, forSubviewAtIndex subviewIndex: Int) |
To | func setHoldingPriority(_ priority: NSLayoutPriority, forSubviewAt subviewIndex: Int) |
Declaration | |
---|---|
From | func setPosition(_ position: CGFloat, ofDividerAtIndex dividerIndex: Int) |
To | func setPosition(_ position: CGFloat, ofDividerAt dividerIndex: Int) |
Modified NSSplitViewController
Declaration | Protocols | |
---|---|---|
From | class NSSplitViewController : NSViewController, NSSplitViewDelegate { var splitView: NSSplitView var splitViewItems: [NSSplitViewItem] func addSplitViewItem(_ splitViewItem: NSSplitViewItem) func insertSplitViewItem(_ splitViewItem: NSSplitViewItem, atIndex index: Int) func removeSplitViewItem(_ splitViewItem: NSSplitViewItem) func splitViewItemForViewController(_ viewController: NSViewController) -> NSSplitViewItem? var minimumThicknessForInlineSidebars: CGFloat func viewDidLoad() func splitView(_ splitView: NSSplitView, canCollapseSubview subview: NSView) -> Bool func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAtIndex dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, shouldHideDividerAtIndex dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAtIndex dividerIndex: Int) -> NSRect func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAtIndex dividerIndex: Int) -> NSRect } extension NSSplitViewController { @IBAction func toggleSidebar(_ sender: AnyObject?) } | NSSplitViewDelegate |
To | class NSSplitViewController : NSViewController, NSSplitViewDelegate { var splitView: NSSplitView var splitViewItems: [NSSplitViewItem] func addSplitViewItem(_ splitViewItem: NSSplitViewItem) func insertSplitViewItem(_ splitViewItem: NSSplitViewItem, at index: Int) func removeSplitViewItem(_ splitViewItem: NSSplitViewItem) func splitViewItem(for viewController: NSViewController) -> NSSplitViewItem? var minimumThicknessForInlineSidebars: CGFloat func viewDidLoad() func splitView(_ splitView: NSSplitView, canCollapseSubview subview: NSView) -> Bool func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAt dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, shouldHideDividerAt dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAt dividerIndex: Int) -> NSRect func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAt dividerIndex: Int) -> NSRect @IBAction func toggleSidebar(_ sender: Any?) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) var storyboard: NSStoryboard? { get } func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String } extension NSSplitViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSSplitViewController : CVarArg { } extension NSSplitViewController : Equatable, Hashable { var hashValue: Int { get } } extension NSSplitViewController { @IBAction func toggleSidebar(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, NSSplitViewDelegate |
Declaration | |
---|---|
From | func insertSplitViewItem(_ splitViewItem: NSSplitViewItem, atIndex index: Int) |
To | func insertSplitViewItem(_ splitViewItem: NSSplitViewItem, at index: Int) |
Modified NSSplitViewController.splitView(_: NSSplitView, additionalEffectiveRectOfDividerAt: Int) -> NSRect
Declaration | |
---|---|
From | func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAtIndex dividerIndex: Int) -> NSRect |
To | func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAt dividerIndex: Int) -> NSRect |
Declaration | |
---|---|
From | func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAtIndex dividerIndex: Int) -> NSRect |
To | func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAt dividerIndex: Int) -> NSRect |
Declaration | |
---|---|
From | func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAtIndex dividerIndex: Int) -> Bool |
To | func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAt dividerIndex: Int) -> Bool |
Declaration | |
---|---|
From | func splitView(_ splitView: NSSplitView, shouldHideDividerAtIndex dividerIndex: Int) -> Bool |
To | func splitView(_ splitView: NSSplitView, shouldHideDividerAt dividerIndex: Int) -> Bool |
Declaration | |
---|---|
From | func splitViewItemForViewController(_ viewController: NSViewController) -> NSSplitViewItem? |
To | func splitViewItem(for viewController: NSViewController) -> NSSplitViewItem? |
Declaration | |
---|---|
From | @IBAction func toggleSidebar(_ sender: AnyObject?) |
To | @IBAction func toggleSidebar(_ sender: Any?) |
Modified NSSplitViewDelegate
Declaration | |
---|---|
From | protocol NSSplitViewDelegate : NSObjectProtocol { optional func splitView(_ splitView: NSSplitView, canCollapseSubview subview: NSView) -> Bool optional func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAtIndex dividerIndex: Int) -> Bool optional func splitView(_ splitView: NSSplitView, constrainMinCoordinate proposedMinimumPosition: CGFloat, ofSubviewAt dividerIndex: Int) -> CGFloat optional func splitView(_ splitView: NSSplitView, constrainMaxCoordinate proposedMaximumPosition: CGFloat, ofSubviewAt dividerIndex: Int) -> CGFloat optional func splitView(_ splitView: NSSplitView, constrainSplitPosition proposedPosition: CGFloat, ofSubviewAt dividerIndex: Int) -> CGFloat optional func splitView(_ splitView: NSSplitView, resizeSubviewsWithOldSize oldSize: NSSize) optional func splitView(_ splitView: NSSplitView, shouldAdjustSizeOfSubview view: NSView) -> Bool optional func splitView(_ splitView: NSSplitView, shouldHideDividerAtIndex dividerIndex: Int) -> Bool optional func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAtIndex dividerIndex: Int) -> NSRect optional func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAtIndex dividerIndex: Int) -> NSRect optional func splitViewWillResizeSubviews(_ notification: NSNotification) optional func splitViewDidResizeSubviews(_ notification: NSNotification) } |
To | protocol NSSplitViewDelegate : NSObjectProtocol { optional func splitView(_ splitView: NSSplitView, canCollapseSubview subview: NSView) -> Bool optional func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAt dividerIndex: Int) -> Bool optional func splitView(_ splitView: NSSplitView, constrainMinCoordinate proposedMinimumPosition: CGFloat, ofSubviewAt dividerIndex: Int) -> CGFloat optional func splitView(_ splitView: NSSplitView, constrainMaxCoordinate proposedMaximumPosition: CGFloat, ofSubviewAt dividerIndex: Int) -> CGFloat optional func splitView(_ splitView: NSSplitView, constrainSplitPosition proposedPosition: CGFloat, ofSubviewAt dividerIndex: Int) -> CGFloat optional func splitView(_ splitView: NSSplitView, resizeSubviewsWithOldSize oldSize: NSSize) optional func splitView(_ splitView: NSSplitView, shouldAdjustSizeOfSubview view: NSView) -> Bool optional func splitView(_ splitView: NSSplitView, shouldHideDividerAt dividerIndex: Int) -> Bool optional func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAt dividerIndex: Int) -> NSRect optional func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAt dividerIndex: Int) -> NSRect optional func splitViewWillResizeSubviews(_ notification: Notification) optional func splitViewDidResizeSubviews(_ notification: Notification) } |
Modified NSSplitViewDelegate.splitView(_: NSSplitView, additionalEffectiveRectOfDividerAt: Int) -> NSRect
Declaration | |
---|---|
From | optional func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAtIndex dividerIndex: Int) -> NSRect |
To | optional func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAt dividerIndex: Int) -> NSRect |
Declaration | |
---|---|
From | optional func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAtIndex dividerIndex: Int) -> NSRect |
To | optional func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAt dividerIndex: Int) -> NSRect |
Declaration | |
---|---|
From | optional func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAtIndex dividerIndex: Int) -> Bool |
To | optional func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAt dividerIndex: Int) -> Bool |
Declaration | |
---|---|
From | optional func splitView(_ splitView: NSSplitView, shouldHideDividerAtIndex dividerIndex: Int) -> Bool |
To | optional func splitView(_ splitView: NSSplitView, shouldHideDividerAt dividerIndex: Int) -> Bool |
Declaration | |
---|---|
From | optional func splitViewDidResizeSubviews(_ notification: NSNotification) |
To | optional func splitViewDidResizeSubviews(_ notification: Notification) |
Declaration | |
---|---|
From | optional func splitViewWillResizeSubviews(_ notification: NSNotification) |
To | optional func splitViewWillResizeSubviews(_ notification: Notification) |
Modified NSSplitViewDividerStyle [enum]
Declaration | |
---|---|
From | enum NSSplitViewDividerStyle : Int { case Thick case Thin case PaneSplitter } |
To | enum NSSplitViewDividerStyle : Int { case thick case thin case paneSplitter } |
Modified NSSplitViewDividerStyle.paneSplitter
Declaration | |
---|---|
From | case PaneSplitter |
To | case paneSplitter |
Modified NSSplitViewDividerStyle.thick
Declaration | |
---|---|
From | case Thick |
To | case thick |
Modified NSSplitViewDividerStyle.thin
Declaration | |
---|---|
From | case Thin |
To | case thin |
Modified NSSplitViewItem
Declaration | Protocols | |
---|---|---|
From | class NSSplitViewItem : NSObject, NSAnimatablePropertyContainer, NSCoding { convenience init(viewController viewController: NSViewController) class func splitViewItemWithViewController(_ viewController: NSViewController) -> Self convenience init(sidebarWithViewController viewController: NSViewController) class func sidebarWithViewController(_ viewController: NSViewController) -> Self convenience init(contentListWithViewController viewController: NSViewController) class func contentListWithViewController(_ viewController: NSViewController) -> Self var behavior: NSSplitViewItemBehavior { get } var viewController: NSViewController var collapsed: Bool var canCollapse: Bool var collapseBehavior: NSSplitViewItemCollapseBehavior var minimumThickness: CGFloat var maximumThickness: CGFloat var preferredThicknessFraction: CGFloat var holdingPriority: NSLayoutPriority var automaticMaximumThickness: CGFloat var springLoaded: Bool } | NSAnimatablePropertyContainer, NSCoding |
To | class NSSplitViewItem : NSObject, NSAnimatablePropertyContainer, NSCoding { convenience init(viewController viewController: NSViewController) class func withViewController(_ viewController: NSViewController) -> Self convenience init(sidebarWithViewController viewController: NSViewController) class func sidebar(with viewController: NSViewController) -> Self convenience init(contentListWithViewController viewController: NSViewController) class func contentList(with viewController: NSViewController) -> Self var behavior: NSSplitViewItemBehavior { get } var viewController: NSViewController var isCollapsed: Bool var canCollapse: Bool var collapseBehavior: NSSplitViewItemCollapseBehavior var minimumThickness: CGFloat var maximumThickness: CGFloat var preferredThicknessFraction: CGFloat var holdingPriority: NSLayoutPriority var automaticMaximumThickness: CGFloat var isSpringLoaded: Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSplitViewItem : CVarArg { } extension NSSplitViewItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer, NSCoding |
Modified NSSplitViewItem.isCollapsed
Declaration | |
---|---|
From | var collapsed: Bool |
To | var isCollapsed: Bool |
Modified NSSplitViewItem.isSpringLoaded
Declaration | |
---|---|
From | var springLoaded: Bool |
To | var isSpringLoaded: Bool |
Modified NSSplitViewItemBehavior [enum]
Declaration | |
---|---|
From | enum NSSplitViewItemBehavior : Int { case Default case Sidebar case ContentList } |
To | enum NSSplitViewItemBehavior : Int { case `default` case sidebar case contentList } |
Modified NSSplitViewItemBehavior.contentList
Declaration | |
---|---|
From | case ContentList |
To | case contentList |
Modified NSSplitViewItemBehavior.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSSplitViewItemBehavior.sidebar
Declaration | |
---|---|
From | case Sidebar |
To | case sidebar |
Declaration | |
---|---|
From | enum NSSplitViewItemCollapseBehavior : Int { case Default case PreferResizingSplitViewWithFixedSiblings case PreferResizingSiblingsWithFixedSplitView case UseConstraints } |
To | enum NSSplitViewItemCollapseBehavior : Int { case `default` case preferResizingSplitViewWithFixedSiblings case preferResizingSiblingsWithFixedSplitView case useConstraints } |
Declaration | |
---|---|
From | case Default |
To | case `default` |
Declaration | |
---|---|
From | case PreferResizingSiblingsWithFixedSplitView |
To | case preferResizingSiblingsWithFixedSplitView |
Declaration | |
---|---|
From | case PreferResizingSplitViewWithFixedSiblings |
To | case preferResizingSplitViewWithFixedSiblings |
Declaration | |
---|---|
From | case UseConstraints |
To | case useConstraints |
Modified NSSpringLoadingHighlight [enum]
Declaration | |
---|---|
From | enum NSSpringLoadingHighlight : Int { case None case Standard case Emphasized } |
To | enum NSSpringLoadingHighlight : Int { case none case standard case emphasized } |
Modified NSSpringLoadingHighlight.emphasized
Declaration | |
---|---|
From | case Emphasized |
To | case emphasized |
Modified NSSpringLoadingHighlight.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSSpringLoadingHighlight.standard
Declaration | |
---|---|
From | case Standard |
To | case standard |
Modified NSSpringLoadingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSSpringLoadingOptions : OptionSetType { init(rawValue rawValue: UInt) static var Disabled: NSSpringLoadingOptions { get } static var Enabled: NSSpringLoadingOptions { get } static var ContinuousActivation: NSSpringLoadingOptions { get } static var NoHover: NSSpringLoadingOptions { get } } | OptionSetType |
To | struct NSSpringLoadingOptions : OptionSet { init(rawValue rawValue: UInt) static var disabled: NSSpringLoadingOptions { get } static var enabled: NSSpringLoadingOptions { get } static var continuousActivation: NSSpringLoadingOptions { get } static var noHover: NSSpringLoadingOptions { get } func intersect(_ other: NSSpringLoadingOptions) -> NSSpringLoadingOptions func exclusiveOr(_ other: NSSpringLoadingOptions) -> NSSpringLoadingOptions mutating func unionInPlace(_ other: NSSpringLoadingOptions) mutating func intersectInPlace(_ other: NSSpringLoadingOptions) mutating func exclusiveOrInPlace(_ other: NSSpringLoadingOptions) func isSubsetOf(_ other: NSSpringLoadingOptions) -> Bool func isDisjointWith(_ other: NSSpringLoadingOptions) -> Bool func isSupersetOf(_ other: NSSpringLoadingOptions) -> Bool mutating func subtractInPlace(_ other: NSSpringLoadingOptions) func isStrictSupersetOf(_ other: NSSpringLoadingOptions) -> Bool func isStrictSubsetOf(_ other: NSSpringLoadingOptions) -> Bool } extension NSSpringLoadingOptions { func union(_ other: NSSpringLoadingOptions) -> NSSpringLoadingOptions func intersection(_ other: NSSpringLoadingOptions) -> NSSpringLoadingOptions func symmetricDifference(_ other: NSSpringLoadingOptions) -> NSSpringLoadingOptions } extension NSSpringLoadingOptions { func contains(_ member: NSSpringLoadingOptions) -> Bool mutating func insert(_ newMember: NSSpringLoadingOptions) -> (inserted: Bool, memberAfterInsert: NSSpringLoadingOptions) mutating func remove(_ member: NSSpringLoadingOptions) -> NSSpringLoadingOptions? mutating func update(with newMember: NSSpringLoadingOptions) -> NSSpringLoadingOptions? } extension NSSpringLoadingOptions { convenience init() mutating func formUnion(_ other: NSSpringLoadingOptions) mutating func formIntersection(_ other: NSSpringLoadingOptions) mutating func formSymmetricDifference(_ other: NSSpringLoadingOptions) } extension NSSpringLoadingOptions { convenience init<S : Sequence where S.Iterator.Element == NSSpringLoadingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSSpringLoadingOptions...) mutating func subtract(_ other: NSSpringLoadingOptions) func isSubset(of other: NSSpringLoadingOptions) -> Bool func isSuperset(of other: NSSpringLoadingOptions) -> Bool func isDisjoint(with other: NSSpringLoadingOptions) -> Bool func subtracting(_ other: NSSpringLoadingOptions) -> NSSpringLoadingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSSpringLoadingOptions) -> Bool func isStrictSubset(of other: NSSpringLoadingOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ContinuousActivation: NSSpringLoadingOptions { get } |
To | static var continuousActivation: NSSpringLoadingOptions { get } |
Modified NSSpringLoadingOptions.disabled
Declaration | |
---|---|
From | static var Disabled: NSSpringLoadingOptions { get } |
To | static var disabled: NSSpringLoadingOptions { get } |
Modified NSSpringLoadingOptions.enabled
Declaration | |
---|---|
From | static var Enabled: NSSpringLoadingOptions { get } |
To | static var enabled: NSSpringLoadingOptions { get } |
Modified NSSpringLoadingOptions.noHover
Declaration | |
---|---|
From | static var NoHover: NSSpringLoadingOptions { get } |
To | static var noHover: NSSpringLoadingOptions { get } |
Modified NSStackView
Declaration | Protocols | |
---|---|---|
From | class NSStackView : NSView { convenience init(views views: [NSView]) class func stackViewWithViews(_ views: [NSView]) -> Self unowned(unsafe) var delegate: NSStackViewDelegate? var orientation: NSUserInterfaceLayoutOrientation var alignment: NSLayoutAttribute var edgeInsets: NSEdgeInsets func addView(_ aView: NSView, inGravity gravity: NSStackViewGravity) func insertView(_ aView: NSView, atIndex index: Int, inGravity gravity: NSStackViewGravity) func removeView(_ aView: NSView) func viewsInGravity(_ gravity: NSStackViewGravity) -> [NSView] func setViews(_ views: [NSView], inGravity gravity: NSStackViewGravity) var views: [NSView] { get } var detachedViews: [NSView] { get } var detachesHiddenViews: Bool func setVisibilityPriority(_ priority: NSStackViewVisibilityPriority, forView aView: NSView) func visibilityPriorityForView(_ aView: NSView) -> NSStackViewVisibilityPriority var spacing: CGFloat func setCustomSpacing(_ spacing: CGFloat, afterView aView: NSView) func customSpacingAfterView(_ aView: NSView) -> CGFloat var distribution: NSStackViewDistribution func clippingResistancePriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setClippingResistancePriority(_ clippingResistancePriority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) func huggingPriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setHuggingPriority(_ huggingPriority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) } extension NSStackView { var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, atIndex index: Int) func removeArrangedSubview(_ view: NSView) } extension NSStackView { var hasEqualSpacing: Bool } | -- |
To | class NSStackView : NSView { convenience init(views views: [NSView]) class func withViews(_ views: [NSView]) -> Self weak var delegate: NSStackViewDelegate? var orientation: NSUserInterfaceLayoutOrientation var alignment: NSLayoutAttribute var edgeInsets: EdgeInsets var distribution: NSStackViewDistribution var spacing: CGFloat func setCustomSpacing(_ spacing: CGFloat, after view: NSView) func customSpacing(after view: NSView) -> CGFloat var detachesHiddenViews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) var detachedViews: [NSView] { get } func setVisibilityPriority(_ priority: NSStackViewVisibilityPriority, for view: NSView) func visibilityPriority(for view: NSView) -> NSStackViewVisibilityPriority func clippingResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setClippingResistancePriority(_ clippingResistancePriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func huggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setHuggingPriority(_ huggingPriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func addView(_ view: NSView, in gravity: NSStackViewGravity) func insertView(_ view: NSView, at index: Int, in gravity: NSStackViewGravity) func removeView(_ view: NSView) func views(in gravity: NSStackViewGravity) -> [NSView] func setViews(_ views: [NSView], in gravity: NSStackViewGravity) var views: [NSView] { get } var hasEqualSpacing: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func awakeFromNib() func prepareForInterfaceBuilder() } extension NSStackView : CVarArg { } extension NSStackView : Equatable, Hashable { var hashValue: Int { get } } extension NSStackView { func addView(_ view: NSView, in gravity: NSStackViewGravity) func insertView(_ view: NSView, at index: Int, in gravity: NSStackViewGravity) func removeView(_ view: NSView) func views(in gravity: NSStackViewGravity) -> [NSView] func setViews(_ views: [NSView], in gravity: NSStackViewGravity) var views: [NSView] { get } } extension NSStackView { var hasEqualSpacing: Bool } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addView(_ aView: NSView, inGravity gravity: NSStackViewGravity) |
To | func addView(_ view: NSView, in gravity: NSStackViewGravity) |
Modified NSStackView.clippingResistancePriority(for: NSLayoutConstraintOrientation) -> NSLayoutPriority
Declaration | |
---|---|
From | func clippingResistancePriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
To | func clippingResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
Declaration | |
---|---|
From | func customSpacingAfterView(_ aView: NSView) -> CGFloat |
To | func customSpacing(after view: NSView) -> CGFloat |
Modified NSStackView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: NSStackViewDelegate? |
To | weak var delegate: NSStackViewDelegate? |
Modified NSStackView.edgeInsets
Declaration | |
---|---|
From | var edgeInsets: NSEdgeInsets |
To | var edgeInsets: EdgeInsets |
Declaration | |
---|---|
From | func huggingPriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
To | func huggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
Declaration | |
---|---|
From | func insertArrangedSubview(_ view: NSView, atIndex index: Int) |
To | func insertArrangedSubview(_ view: NSView, at index: Int) |
Declaration | |
---|---|
From | func insertView(_ aView: NSView, atIndex index: Int, inGravity gravity: NSStackViewGravity) |
To | func insertView(_ view: NSView, at index: Int, in gravity: NSStackViewGravity) |
Modified NSStackView.setClippingResistancePriority(_: NSLayoutPriority, for: NSLayoutConstraintOrientation)
Declaration | |
---|---|
From | func setClippingResistancePriority(_ clippingResistancePriority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) |
To | func setClippingResistancePriority(_ clippingResistancePriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) |
Declaration | |
---|---|
From | func setCustomSpacing(_ spacing: CGFloat, afterView aView: NSView) |
To | func setCustomSpacing(_ spacing: CGFloat, after view: NSView) |
Declaration | |
---|---|
From | func setHuggingPriority(_ huggingPriority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) |
To | func setHuggingPriority(_ huggingPriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) |
Declaration | |
---|---|
From | func setViews(_ views: [NSView], inGravity gravity: NSStackViewGravity) |
To | func setViews(_ views: [NSView], in gravity: NSStackViewGravity) |
Declaration | |
---|---|
From | func setVisibilityPriority(_ priority: NSStackViewVisibilityPriority, forView aView: NSView) |
To | func setVisibilityPriority(_ priority: NSStackViewVisibilityPriority, for view: NSView) |
Declaration | |
---|---|
From | func viewsInGravity(_ gravity: NSStackViewGravity) -> [NSView] |
To | func views(in gravity: NSStackViewGravity) -> [NSView] |
Declaration | |
---|---|
From | func visibilityPriorityForView(_ aView: NSView) -> NSStackViewVisibilityPriority |
To | func visibilityPriority(for view: NSView) -> NSStackViewVisibilityPriority |
Modified NSStackViewDelegate
Declaration | |
---|---|
From | protocol NSStackViewDelegate : NSObjectProtocol { optional func stackView(_ stackView: NSStackView, willDetachViews views: [NSView]) optional func stackView(_ stackView: NSStackView, didReattachViews views: [NSView]) } |
To | protocol NSStackViewDelegate : NSObjectProtocol { optional func stackView(_ stackView: NSStackView, willDetach views: [NSView]) optional func stackView(_ stackView: NSStackView, didReattach views: [NSView]) } |
Declaration | |
---|---|
From | optional func stackView(_ stackView: NSStackView, didReattachViews views: [NSView]) |
To | optional func stackView(_ stackView: NSStackView, didReattach views: [NSView]) |
Declaration | |
---|---|
From | optional func stackView(_ stackView: NSStackView, willDetachViews views: [NSView]) |
To | optional func stackView(_ stackView: NSStackView, willDetach views: [NSView]) |
Modified NSStackViewDistribution [enum]
Declaration | |
---|---|
From | enum NSStackViewDistribution : Int { case GravityAreas case Fill case FillEqually case FillProportionally case EqualSpacing case EqualCentering } |
To | enum NSStackViewDistribution : Int { case gravityAreas case fill case fillEqually case fillProportionally case equalSpacing case equalCentering } |
Declaration | |
---|---|
From | case EqualCentering |
To | case equalCentering |
Modified NSStackViewDistribution.equalSpacing
Declaration | |
---|---|
From | case EqualSpacing |
To | case equalSpacing |
Modified NSStackViewDistribution.fill
Declaration | |
---|---|
From | case Fill |
To | case fill |
Modified NSStackViewDistribution.fillEqually
Declaration | |
---|---|
From | case FillEqually |
To | case fillEqually |
Declaration | |
---|---|
From | case FillProportionally |
To | case fillProportionally |
Modified NSStackViewDistribution.gravityAreas
Declaration | |
---|---|
From | case GravityAreas |
To | case gravityAreas |
Modified NSStackViewGravity [enum]
Declaration | |
---|---|
From | enum NSStackViewGravity : Int { case Top static var Leading: NSStackViewGravity { get } case Center case Bottom static var Trailing: NSStackViewGravity { get } } |
To | enum NSStackViewGravity : Int { case top static var leading: NSStackViewGravity { get } case center case bottom static var trailing: NSStackViewGravity { get } } |
Modified NSStackViewGravity.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Modified NSStackViewGravity.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified NSStackViewGravity.leading
Declaration | |
---|---|
From | static var Leading: NSStackViewGravity { get } |
To | static var leading: NSStackViewGravity { get } |
Modified NSStackViewGravity.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified NSStackViewGravity.trailing
Declaration | |
---|---|
From | static var Trailing: NSStackViewGravity { get } |
To | static var trailing: NSStackViewGravity { get } |
Modified NSStatusBar
Declaration | Protocols | |
---|---|---|
From | class NSStatusBar : NSObject { class func systemStatusBar() -> NSStatusBar func statusItemWithLength(_ length: CGFloat) -> NSStatusItem func removeStatusItem(_ item: NSStatusItem) var vertical: Bool { get } var thickness: CGFloat { get } } | -- |
To | class NSStatusBar : NSObject { class func system() -> NSStatusBar func statusItem(withLength length: CGFloat) -> NSStatusItem func removeStatusItem(_ item: NSStatusItem) var isVertical: Bool { get } var thickness: CGFloat { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStatusBar : CVarArg { } extension NSStatusBar : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSStatusBar.isVertical
Declaration | |
---|---|
From | var vertical: Bool { get } |
To | var isVertical: Bool { get } |
Declaration | |
---|---|
From | func statusItemWithLength(_ length: CGFloat) -> NSStatusItem |
To | func statusItem(withLength length: CGFloat) -> NSStatusItem |
Declaration | |
---|---|
From | class func systemStatusBar() -> NSStatusBar |
To | class func system() -> NSStatusBar |
Modified NSStatusBarButton
Declaration | Protocols | |
---|---|---|
From | class NSStatusBarButton : NSButton { var appearsDisabled: Bool } | -- |
To | class NSStatusBarButton : NSButton { var appearsDisabled: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var sound: NSSound? var showsBorderOnlyWhileMouseInside: Bool var allowsMixedState: Bool func setNextState() var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStatusBarButton : CVarArg { } extension NSStatusBarButton : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSStatusItem
Declaration | Protocols | |
---|---|---|
From | class NSStatusItem : NSObject { unowned(unsafe) var statusBar: NSStatusBar { get } var length: CGFloat var menu: NSMenu? var button: NSStatusBarButton? { get } } extension NSStatusItem { var action: Selector var doubleAction: Selector weak var target: AnyObject? var title: String? @NSCopying var attributedTitle: NSAttributedString? var image: NSImage? var alternateImage: NSImage? var enabled: Bool var highlightMode: Bool var toolTip: String? func sendActionOn(_ mask: Int) -> Int var view: NSView? func drawStatusBarBackgroundInRect(_ rect: NSRect, withHighlight highlight: Bool) func popUpStatusItemMenu(_ menu: NSMenu) } | -- |
To | class NSStatusItem : NSObject { unowned(unsafe) var statusBar: NSStatusBar { get } var length: CGFloat var menu: NSMenu? var button: NSStatusBarButton? { get } var behavior: NSStatusItemBehavior var isVisible: Bool var autosaveName: String! var action: Selector? var doubleAction: Selector? weak var target: AnyObject? var title: String? @NSCopying var attributedTitle: NSAttributedString? var image: NSImage? var alternateImage: NSImage? var isEnabled: Bool var highlightMode: Bool var toolTip: String? func sendAction(on mask: NSEventMask) -> Int var view: NSView? func drawStatusBarBackground(in rect: NSRect, withHighlight highlight: Bool) func popUpMenu(_ menu: NSMenu) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSStatusItem : CVarArg { } extension NSStatusItem : Equatable, Hashable { var hashValue: Int { get } } extension NSStatusItem { var action: Selector? var doubleAction: Selector? weak var target: AnyObject? var title: String? @NSCopying var attributedTitle: NSAttributedString? var image: NSImage? var alternateImage: NSImage? var isEnabled: Bool var highlightMode: Bool var toolTip: String? func sendAction(on mask: NSEventMask) -> Int var view: NSView? func drawStatusBarBackground(in rect: NSRect, withHighlight highlight: Bool) func popUpMenu(_ menu: NSMenu) } | CVarArg, Equatable, Hashable |
Modified NSStatusItem.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Modified NSStatusItem.doubleAction
Declaration | |
---|---|
From | var doubleAction: Selector |
To | var doubleAction: Selector? |
Declaration | |
---|---|
From | func drawStatusBarBackgroundInRect(_ rect: NSRect, withHighlight highlight: Bool) |
To | func drawStatusBarBackground(in rect: NSRect, withHighlight highlight: Bool) |
Modified NSStatusItem.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified NSStatusItem.popUpMenu(_: NSMenu)
Declaration | |
---|---|
From | func popUpStatusItemMenu(_ menu: NSMenu) |
To | func popUpMenu(_ menu: NSMenu) |
Declaration | |
---|---|
From | func sendActionOn(_ mask: Int) -> Int |
To | func sendAction(on mask: NSEventMask) -> Int |
Modified NSStepper
Declaration | Protocols | |
---|---|---|
From | class NSStepper : NSControl, NSAccessibilityStepper { var minValue: Double var maxValue: Double var increment: Double var valueWraps: Bool var autorepeat: Bool } | NSAccessibilityStepper |
To | class NSStepper : NSControl, NSAccessibilityStepper { var minValue: Double var maxValue: Double var increment: Double var valueWraps: Bool var autorepeat: Bool func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStepper : CVarArg { } extension NSStepper : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityStepper |
Modified NSStoryboard
Declaration | Protocols | |
---|---|---|
From | class NSStoryboard : NSObject { convenience init(name name: String, bundle storyboardBundleOrNil: NSBundle?) class func storyboardWithName(_ name: String, bundle storyboardBundleOrNil: NSBundle?) -> Self func instantiateInitialController() -> AnyObject? func instantiateControllerWithIdentifier(_ identifier: String) -> AnyObject } | -- |
To | class NSStoryboard : NSObject { convenience init(name name: String, bundle storyboardBundleOrNil: Bundle?) class func withName(_ name: String, bundle storyboardBundleOrNil: Bundle?) -> Self func instantiateInitialController() -> Any? func instantiateController(withIdentifier identifier: String) -> Any func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStoryboard : CVarArg { } extension NSStoryboard : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | convenience init(name name: String, bundle storyboardBundleOrNil: NSBundle?) |
To | convenience init(name name: String, bundle storyboardBundleOrNil: Bundle?) |
Declaration | |
---|---|
From | func instantiateControllerWithIdentifier(_ identifier: String) -> AnyObject |
To | func instantiateController(withIdentifier identifier: String) -> Any |
Declaration | |
---|---|
From | func instantiateInitialController() -> AnyObject? |
To | func instantiateInitialController() -> Any? |
Modified NSStoryboardSegue
Declaration | Protocols | |
---|---|---|
From | class NSStoryboardSegue : NSObject { convenience init(identifier identifier: String, source sourceController: AnyObject, destination destinationController: AnyObject, performHandler performHandler: () -> Void) class func segueWithIdentifier(_ identifier: String, source sourceController: AnyObject, destination destinationController: AnyObject, performHandler performHandler: () -> Void) -> Self init(identifier identifier: String, source sourceController: AnyObject, destination destinationController: AnyObject) var identifier: String? { get } var sourceController: AnyObject { get } var destinationController: AnyObject { get } func perform() } | -- |
To | class NSStoryboardSegue : NSObject { convenience init(identifier identifier: String, source sourceController: Any, destination destinationController: Any, performHandler performHandler: @escaping () -> Swift.Void) class func withIdentifier(_ identifier: String, source sourceController: Any, destination destinationController: Any, performHandler performHandler: @escaping () -> Swift.Void) -> Self init(identifier identifier: String, source sourceController: Any, destination destinationController: Any) var identifier: String? { get } var sourceController: Any { get } var destinationController: Any { get } func perform() func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStoryboardSegue : CVarArg { } extension NSStoryboardSegue : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var destinationController: AnyObject { get } |
To | var destinationController: Any { get } |
Declaration | |
---|---|
From | init(identifier identifier: String, source sourceController: AnyObject, destination destinationController: AnyObject) |
To | init(identifier identifier: String, source sourceController: Any, destination destinationController: Any) |
Declaration | |
---|---|
From | convenience init(identifier identifier: String, source sourceController: AnyObject, destination destinationController: AnyObject, performHandler performHandler: () -> Void) |
To | convenience init(identifier identifier: String, source sourceController: Any, destination destinationController: Any, performHandler performHandler: @escaping () -> Swift.Void) |
Modified NSStoryboardSegue.sourceController
Declaration | |
---|---|
From | var sourceController: AnyObject { get } |
To | var sourceController: Any { get } |
Declaration | |
---|---|
From | func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?) -> NSRect |
To | func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil) -> NSRect |
Declaration | |
---|---|
From | func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?) -> NSRect |
To | func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil, context context: NSStringDrawingContext?) -> NSRect |
Declaration | |
---|---|
From | func drawAtPoint(_ point: NSPoint, withAttributes attrs: [String : AnyObject]?) |
To | func draw(at point: NSPoint, withAttributes attrs: [String : Any]? = nil) |
Declaration | |
---|---|
From | func drawInRect(_ rect: NSRect, withAttributes attrs: [String : AnyObject]?) |
To | func draw(in rect: NSRect, withAttributes attrs: [String : Any]? = nil) |
Declaration | |
---|---|
From | func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?) |
To | func draw(with rect: NSRect, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil) |
Declaration | |
---|---|
From | func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?) |
To | func draw(with rect: NSRect, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil, context context: NSStringDrawingContext?) |
Declaration | |
---|---|
From | func sizeWithAttributes(_ attrs: [String : AnyObject]?) -> NSSize |
To | func size(withAttributes attrs: [String : Any]? = nil) -> NSSize |
Modified NSStringDrawingContext
Declaration | Protocols | |
---|---|---|
From | class NSStringDrawingContext : NSObject { var minimumScaleFactor: CGFloat var actualScaleFactor: CGFloat { get } var totalBounds: NSRect { get } } | -- |
To | class NSStringDrawingContext : NSObject { var minimumScaleFactor: CGFloat var actualScaleFactor: CGFloat { get } var totalBounds: NSRect { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStringDrawingContext : CVarArg { } extension NSStringDrawingContext : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSStringDrawingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSStringDrawingOptions : OptionSetType { init(rawValue rawValue: Int) static var UsesLineFragmentOrigin: NSStringDrawingOptions { get } static var UsesFontLeading: NSStringDrawingOptions { get } static var UsesDeviceMetrics: NSStringDrawingOptions { get } static var TruncatesLastVisibleLine: NSStringDrawingOptions { get } static var DisableScreenFontSubstitution: NSStringDrawingOptions { get } static var OneShot: NSStringDrawingOptions { get } } | OptionSetType |
To | struct NSStringDrawingOptions : OptionSet { init(rawValue rawValue: Int) static var usesLineFragmentOrigin: NSStringDrawingOptions { get } static var usesFontLeading: NSStringDrawingOptions { get } static var usesDeviceMetrics: NSStringDrawingOptions { get } static var truncatesLastVisibleLine: NSStringDrawingOptions { get } static var disableScreenFontSubstitution: NSStringDrawingOptions { get } static var oneShot: NSStringDrawingOptions { get } func intersect(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions func exclusiveOr(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions mutating func unionInPlace(_ other: NSStringDrawingOptions) mutating func intersectInPlace(_ other: NSStringDrawingOptions) mutating func exclusiveOrInPlace(_ other: NSStringDrawingOptions) func isSubsetOf(_ other: NSStringDrawingOptions) -> Bool func isDisjointWith(_ other: NSStringDrawingOptions) -> Bool func isSupersetOf(_ other: NSStringDrawingOptions) -> Bool mutating func subtractInPlace(_ other: NSStringDrawingOptions) func isStrictSupersetOf(_ other: NSStringDrawingOptions) -> Bool func isStrictSubsetOf(_ other: NSStringDrawingOptions) -> Bool } extension NSStringDrawingOptions { func union(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions func intersection(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions func symmetricDifference(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions } extension NSStringDrawingOptions { func contains(_ member: NSStringDrawingOptions) -> Bool mutating func insert(_ newMember: NSStringDrawingOptions) -> (inserted: Bool, memberAfterInsert: NSStringDrawingOptions) mutating func remove(_ member: NSStringDrawingOptions) -> NSStringDrawingOptions? mutating func update(with newMember: NSStringDrawingOptions) -> NSStringDrawingOptions? } extension NSStringDrawingOptions { convenience init() mutating func formUnion(_ other: NSStringDrawingOptions) mutating func formIntersection(_ other: NSStringDrawingOptions) mutating func formSymmetricDifference(_ other: NSStringDrawingOptions) } extension NSStringDrawingOptions { convenience init<S : Sequence where S.Iterator.Element == NSStringDrawingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSStringDrawingOptions...) mutating func subtract(_ other: NSStringDrawingOptions) func isSubset(of other: NSStringDrawingOptions) -> Bool func isSuperset(of other: NSStringDrawingOptions) -> Bool func isDisjoint(with other: NSStringDrawingOptions) -> Bool func subtracting(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSStringDrawingOptions) -> Bool func isStrictSubset(of other: NSStringDrawingOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var DisableScreenFontSubstitution: NSStringDrawingOptions { get } |
To | static var disableScreenFontSubstitution: NSStringDrawingOptions { get } |
Modified NSStringDrawingOptions.oneShot
Declaration | |
---|---|
From | static var OneShot: NSStringDrawingOptions { get } |
To | static var oneShot: NSStringDrawingOptions { get } |
Declaration | |
---|---|
From | static var TruncatesLastVisibleLine: NSStringDrawingOptions { get } |
To | static var truncatesLastVisibleLine: NSStringDrawingOptions { get } |
Declaration | |
---|---|
From | static var UsesDeviceMetrics: NSStringDrawingOptions { get } |
To | static var usesDeviceMetrics: NSStringDrawingOptions { get } |
Declaration | |
---|---|
From | static var UsesFontLeading: NSStringDrawingOptions { get } |
To | static var usesFontLeading: NSStringDrawingOptions { get } |
Declaration | |
---|---|
From | static var UsesLineFragmentOrigin: NSStringDrawingOptions { get } |
To | static var usesLineFragmentOrigin: NSStringDrawingOptions { get } |
Modified NSTableCellView
Declaration | Protocols | |
---|---|---|
From | class NSTableCellView : NSView { var objectValue: AnyObject? @IBOutlet unowned(unsafe) var textField: NSTextField? @IBOutlet unowned(unsafe) var imageView: NSImageView? var backgroundStyle: NSBackgroundStyle var rowSizeStyle: NSTableViewRowSizeStyle var draggingImageComponents: [NSDraggingImageComponent] { get } } | -- |
To | class NSTableCellView : NSView { var objectValue: Any? @IBOutlet unowned(unsafe) var textField: NSTextField? @IBOutlet unowned(unsafe) var imageView: NSImageView? var backgroundStyle: NSBackgroundStyle var rowSizeStyle: NSTableViewRowSizeStyle var draggingImageComponents: [NSDraggingImageComponent] { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableCellView : CVarArg { } extension NSTableCellView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSTableCellView.objectValue
Declaration | |
---|---|
From | var objectValue: AnyObject? |
To | var objectValue: Any? |
Modified NSTableColumn
Declaration | Protocols | |
---|---|---|
From | class NSTableColumn : NSObject, NSCoding, NSUserInterfaceItemIdentification { init(identifier identifier: String) var identifier: String unowned(unsafe) var tableView: NSTableView? var width: CGFloat var minWidth: CGFloat var maxWidth: CGFloat var title: String var headerCell: NSTableHeaderCell var editable: Bool func sizeToFit() @NSCopying var sortDescriptorPrototype: NSSortDescriptor? var resizingMask: NSTableColumnResizingOptions var headerToolTip: String? var hidden: Bool } extension NSTableColumn { func setResizable(_ flag: Bool) func isResizable() -> Bool var dataCell: AnyObject func dataCellForRow(_ row: Int) -> AnyObject } | NSCoding, NSUserInterfaceItemIdentification |
To | class NSTableColumn : NSObject, NSCoding, NSUserInterfaceItemIdentification { init(identifier identifier: String) init(coder coder: NSCoder) var identifier: String unowned(unsafe) var tableView: NSTableView? var width: CGFloat var minWidth: CGFloat var maxWidth: CGFloat var title: String var headerCell: NSTableHeaderCell var isEditable: Bool func sizeToFit() @NSCopying var sortDescriptorPrototype: NSSortDescriptor? var resizingMask: NSTableColumnResizingOptions var headerToolTip: String? var isHidden: Bool func setResizable(_ flag: Bool) func isResizable() -> Bool var dataCell: Any func dataCell(forRow row: Int) -> Any func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSTableColumn : CVarArg { } extension NSTableColumn : Equatable, Hashable { var hashValue: Int { get } } extension NSTableColumn { func setResizable(_ flag: Bool) func isResizable() -> Bool var dataCell: Any func dataCell(forRow row: Int) -> Any } | CVarArg, Equatable, Hashable, NSCoding, NSUserInterfaceItemIdentification |
Modified NSTableColumn.dataCell
Declaration | |
---|---|
From | var dataCell: AnyObject |
To | var dataCell: Any |
Declaration | |
---|---|
From | func dataCellForRow(_ row: Int) -> AnyObject |
To | func dataCell(forRow row: Int) -> Any |
Modified NSTableColumn.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Modified NSTableColumn.isHidden
Declaration | |
---|---|
From | var hidden: Bool |
To | var isHidden: Bool |
Declaration | Protocols | |
---|---|---|
From | struct NSTableColumnResizingOptions : OptionSetType { init(rawValue rawValue: UInt) static var NoResizing: NSTableColumnResizingOptions { get } static var AutoresizingMask: NSTableColumnResizingOptions { get } static var UserResizingMask: NSTableColumnResizingOptions { get } } | OptionSetType |
To | struct NSTableColumnResizingOptions : OptionSet { init(rawValue rawValue: UInt) static var noResizing: NSTableColumnResizingOptions { get } static var autoresizingMask: NSTableColumnResizingOptions { get } static var userResizingMask: NSTableColumnResizingOptions { get } func intersect(_ other: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions func exclusiveOr(_ other: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions mutating func unionInPlace(_ other: NSTableColumnResizingOptions) mutating func intersectInPlace(_ other: NSTableColumnResizingOptions) mutating func exclusiveOrInPlace(_ other: NSTableColumnResizingOptions) func isSubsetOf(_ other: NSTableColumnResizingOptions) -> Bool func isDisjointWith(_ other: NSTableColumnResizingOptions) -> Bool func isSupersetOf(_ other: NSTableColumnResizingOptions) -> Bool mutating func subtractInPlace(_ other: NSTableColumnResizingOptions) func isStrictSupersetOf(_ other: NSTableColumnResizingOptions) -> Bool func isStrictSubsetOf(_ other: NSTableColumnResizingOptions) -> Bool } extension NSTableColumnResizingOptions { func union(_ other: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions func intersection(_ other: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions func symmetricDifference(_ other: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions } extension NSTableColumnResizingOptions { func contains(_ member: NSTableColumnResizingOptions) -> Bool mutating func insert(_ newMember: NSTableColumnResizingOptions) -> (inserted: Bool, memberAfterInsert: NSTableColumnResizingOptions) mutating func remove(_ member: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions? mutating func update(with newMember: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions? } extension NSTableColumnResizingOptions { convenience init() mutating func formUnion(_ other: NSTableColumnResizingOptions) mutating func formIntersection(_ other: NSTableColumnResizingOptions) mutating func formSymmetricDifference(_ other: NSTableColumnResizingOptions) } extension NSTableColumnResizingOptions { convenience init<S : Sequence where S.Iterator.Element == NSTableColumnResizingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTableColumnResizingOptions...) mutating func subtract(_ other: NSTableColumnResizingOptions) func isSubset(of other: NSTableColumnResizingOptions) -> Bool func isSuperset(of other: NSTableColumnResizingOptions) -> Bool func isDisjoint(with other: NSTableColumnResizingOptions) -> Bool func subtracting(_ other: NSTableColumnResizingOptions) -> NSTableColumnResizingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSTableColumnResizingOptions) -> Bool func isStrictSubset(of other: NSTableColumnResizingOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var AutoresizingMask: NSTableColumnResizingOptions { get } |
To | static var autoresizingMask: NSTableColumnResizingOptions { get } |
Declaration | |
---|---|
From | static var UserResizingMask: NSTableColumnResizingOptions { get } |
To | static var userResizingMask: NSTableColumnResizingOptions { get } |
Modified NSTableHeaderCell
Declaration | |
---|---|
From | class NSTableHeaderCell : NSTextFieldCell { func drawSortIndicatorWithFrame(_ cellFrame: NSRect, inView controlView: NSView, ascending ascending: Bool, priority priority: Int) func sortIndicatorRectForBounds(_ theRect: NSRect) -> NSRect } |
To | class NSTableHeaderCell : NSTextFieldCell { func drawSortIndicator(withFrame cellFrame: NSRect, in controlView: NSView, ascending ascending: Bool, priority priority: Int) func sortIndicatorRect(forBounds rect: NSRect) -> NSRect } |
Modified NSTableHeaderCell.drawSortIndicator(withFrame: NSRect, in: NSView, ascending: Bool, priority: Int)
Declaration | |
---|---|
From | func drawSortIndicatorWithFrame(_ cellFrame: NSRect, inView controlView: NSView, ascending ascending: Bool, priority priority: Int) |
To | func drawSortIndicator(withFrame cellFrame: NSRect, in controlView: NSView, ascending ascending: Bool, priority priority: Int) |
Declaration | |
---|---|
From | func sortIndicatorRectForBounds(_ theRect: NSRect) -> NSRect |
To | func sortIndicatorRect(forBounds rect: NSRect) -> NSRect |
Modified NSTableHeaderView
Declaration | Protocols | |
---|---|---|
From | class NSTableHeaderView : NSView { unowned(unsafe) var tableView: NSTableView? var draggedColumn: Int { get } var draggedDistance: CGFloat { get } var resizedColumn: Int { get } func headerRectOfColumn(_ column: Int) -> NSRect func columnAtPoint(_ point: NSPoint) -> Int } | -- |
To | class NSTableHeaderView : NSView { unowned(unsafe) var tableView: NSTableView? var draggedColumn: Int { get } var draggedDistance: CGFloat { get } var resizedColumn: Int { get } func headerRect(ofColumn column: Int) -> NSRect func column(at point: NSPoint) -> Int var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableHeaderView : CVarArg { } extension NSTableHeaderView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func columnAtPoint(_ point: NSPoint) -> Int |
To | func column(at point: NSPoint) -> Int |
Declaration | |
---|---|
From | func headerRectOfColumn(_ column: Int) -> NSRect |
To | func headerRect(ofColumn column: Int) -> NSRect |
Modified NSTableRowActionEdge [enum]
Declaration | |
---|---|
From | enum NSTableRowActionEdge : Int { case Leading case Trailing } |
To | enum NSTableRowActionEdge : Int { case leading case trailing } |
Modified NSTableRowActionEdge.leading
Declaration | |
---|---|
From | case Leading |
To | case leading |
Modified NSTableRowActionEdge.trailing
Declaration | |
---|---|
From | case Trailing |
To | case trailing |
Modified NSTableRowView
Declaration | Protocols | |
---|---|---|
From | class NSTableRowView : NSView, NSAccessibilityRow { var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var emphasized: Bool var groupRowStyle: Bool var selected: Bool var previousRowSelected: Bool var nextRowSelected: Bool var floating: Bool var targetForDropOperation: Bool var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle var indentationForDropOperation: CGFloat var interiorBackgroundStyle: NSBackgroundStyle { get } @NSCopying var backgroundColor: NSColor func drawBackgroundInRect(_ dirtyRect: NSRect) func drawSelectionInRect(_ dirtyRect: NSRect) func drawSeparatorInRect(_ dirtyRect: NSRect) func drawDraggingDestinationFeedbackInRect(_ dirtyRect: NSRect) func viewAtColumn(_ column: Int) -> AnyObject? var numberOfColumns: Int { get } } | NSAccessibilityRow |
To | class NSTableRowView : NSView, NSAccessibilityRow { var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var isEmphasized: Bool var isGroupRowStyle: Bool var isSelected: Bool var isPreviousRowSelected: Bool var isNextRowSelected: Bool var isFloating: Bool var isTargetForDropOperation: Bool var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle var indentationForDropOperation: CGFloat var interiorBackgroundStyle: NSBackgroundStyle { get } @NSCopying var backgroundColor: NSColor func drawBackground(in dirtyRect: NSRect) func drawSelection(in dirtyRect: NSRect) func drawSeparator(in dirtyRect: NSRect) func drawDraggingDestinationFeedback(in dirtyRect: NSRect) func view(atColumn column: Int) -> Any? var numberOfColumns: Int { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableRowView : CVarArg { } extension NSTableRowView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityRow |
Declaration | |
---|---|
From | func drawBackgroundInRect(_ dirtyRect: NSRect) |
To | func drawBackground(in dirtyRect: NSRect) |
Declaration | |
---|---|
From | func drawDraggingDestinationFeedbackInRect(_ dirtyRect: NSRect) |
To | func drawDraggingDestinationFeedback(in dirtyRect: NSRect) |
Declaration | |
---|---|
From | func drawSelectionInRect(_ dirtyRect: NSRect) |
To | func drawSelection(in dirtyRect: NSRect) |
Declaration | |
---|---|
From | func drawSeparatorInRect(_ dirtyRect: NSRect) |
To | func drawSeparator(in dirtyRect: NSRect) |
Modified NSTableRowView.isEmphasized
Declaration | |
---|---|
From | var emphasized: Bool |
To | var isEmphasized: Bool |
Modified NSTableRowView.isFloating
Declaration | |
---|---|
From | var floating: Bool |
To | var isFloating: Bool |
Modified NSTableRowView.isGroupRowStyle
Declaration | |
---|---|
From | var groupRowStyle: Bool |
To | var isGroupRowStyle: Bool |
Modified NSTableRowView.isNextRowSelected
Declaration | |
---|---|
From | var nextRowSelected: Bool |
To | var isNextRowSelected: Bool |
Modified NSTableRowView.isPreviousRowSelected
Declaration | |
---|---|
From | var previousRowSelected: Bool |
To | var isPreviousRowSelected: Bool |
Modified NSTableRowView.isSelected
Declaration | |
---|---|
From | var selected: Bool |
To | var isSelected: Bool |
Declaration | |
---|---|
From | var targetForDropOperation: Bool |
To | var isTargetForDropOperation: Bool |
Declaration | |
---|---|
From | func viewAtColumn(_ column: Int) -> AnyObject? |
To | func view(atColumn column: Int) -> Any? |
Modified NSTableView
Declaration | Protocols | |
---|---|---|
From | class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable { init(frame frameRect: NSRect) init?(coder coder: NSCoder) func setDataSource(_ aSource: NSTableViewDataSource?) func dataSource() -> NSTableViewDataSource? func setDelegate(_ delegate: NSTableViewDelegate?) func delegate() -> NSTableViewDelegate? var headerView: NSTableHeaderView? var cornerView: NSView? var allowsColumnReordering: Bool var allowsColumnResizing: Bool var columnAutoresizingStyle: NSTableViewColumnAutoresizingStyle var gridStyleMask: NSTableViewGridLineStyle var intercellSpacing: NSSize var usesAlternatingRowBackgroundColors: Bool @NSCopying var backgroundColor: NSColor @NSCopying var gridColor: NSColor var rowSizeStyle: NSTableViewRowSizeStyle var effectiveRowSizeStyle: NSTableViewRowSizeStyle { get } var rowHeight: CGFloat func noteHeightOfRowsWithIndexesChanged(_ indexSet: NSIndexSet) var tableColumns: [NSTableColumn] { get } var numberOfColumns: Int { get } var numberOfRows: Int { get } func addTableColumn(_ tableColumn: NSTableColumn) func removeTableColumn(_ tableColumn: NSTableColumn) func moveColumn(_ oldIndex: Int, toColumn newIndex: Int) func columnWithIdentifier(_ identifier: String) -> Int func tableColumnWithIdentifier(_ identifier: String) -> NSTableColumn? func tile() func sizeToFit() func sizeLastColumnToFit() func scrollRowToVisible(_ row: Int) func scrollColumnToVisible(_ column: Int) func reloadData() func noteNumberOfRowsChanged() func reloadDataForRowIndexes(_ rowIndexes: NSIndexSet, columnIndexes columnIndexes: NSIndexSet) var editedColumn: Int { get } var editedRow: Int { get } var clickedColumn: Int { get } var clickedRow: Int { get } var doubleAction: Selector var sortDescriptors: [NSSortDescriptor] func setIndicatorImage(_ anImage: NSImage?, inTableColumn tableColumn: NSTableColumn) func indicatorImageInTableColumn(_ tableColumn: NSTableColumn) -> NSImage? unowned(unsafe) var highlightedTableColumn: NSTableColumn? var verticalMotionCanBeginDrag: Bool func canDragRowsWithIndexes(_ rowIndexes: NSIndexSet, atPoint mouseDownPoint: NSPoint) -> Bool func dragImageForRowsWithIndexes(_ dragRows: NSIndexSet, tableColumns tableColumns: [NSTableColumn], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) func setDropRow(_ row: Int, dropOperation dropOperation: NSTableViewDropOperation) var allowsMultipleSelection: Bool var allowsEmptySelection: Bool var allowsColumnSelection: Bool func selectAll(_ sender: AnyObject?) func deselectAll(_ sender: AnyObject?) func selectColumnIndexes(_ indexes: NSIndexSet, byExtendingSelection extend: Bool) func selectRowIndexes(_ indexes: NSIndexSet, byExtendingSelection extend: Bool) @NSCopying var selectedColumnIndexes: NSIndexSet { get } @NSCopying var selectedRowIndexes: NSIndexSet { get } func deselectColumn(_ column: Int) func deselectRow(_ row: Int) var selectedColumn: Int { get } var selectedRow: Int { get } func isColumnSelected(_ column: Int) -> Bool func isRowSelected(_ row: Int) -> Bool var numberOfSelectedColumns: Int { get } var numberOfSelectedRows: Int { get } var allowsTypeSelect: Bool var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle func rectOfColumn(_ column: Int) -> NSRect func rectOfRow(_ row: Int) -> NSRect func columnIndexesInRect(_ rect: NSRect) -> NSIndexSet func rowsInRect(_ rect: NSRect) -> NSRange func columnAtPoint(_ point: NSPoint) -> Int func rowAtPoint(_ point: NSPoint) -> Int func frameOfCellAtColumn(_ column: Int, row row: Int) -> NSRect var autosaveName: String? var autosaveTableColumns: Bool func editColumn(_ column: Int, row row: Int, withEvent theEvent: NSEvent?, select select: Bool) func drawRow(_ row: Int, clipRect clipRect: NSRect) func highlightSelectionInClipRect(_ clipRect: NSRect) func drawGridInClipRect(_ clipRect: NSRect) func drawBackgroundInClipRect(_ clipRect: NSRect) func viewAtColumn(_ column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSView? func rowViewAtRow(_ row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSTableRowView? func rowForView(_ view: NSView) -> Int func columnForView(_ view: NSView) -> Int func makeViewWithIdentifier(_ identifier: String, owner owner: AnyObject?) -> NSView? func enumerateAvailableRowViewsUsingBlock(_ handler: (NSTableRowView, Int) -> Void) var floatsGroupRows: Bool var rowActionsVisible: Bool func beginUpdates() func endUpdates() func insertRowsAtIndexes(_ indexes: NSIndexSet, withAnimation animationOptions: NSTableViewAnimationOptions) func removeRowsAtIndexes(_ indexes: NSIndexSet, withAnimation animationOptions: NSTableViewAnimationOptions) func moveRowAtIndex(_ oldIndex: Int, toIndex newIndex: Int) func hideRowsAtIndexes(_ indexes: NSIndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions) func unhideRowsAtIndexes(_ indexes: NSIndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions) @NSCopying var hiddenRowIndexes: NSIndexSet { get } func registerNib(_ nib: NSNib?, forIdentifier identifier: String) var registeredNibsByIdentifier: [String : NSNib]? { get } func didAddRowView(_ rowView: NSTableRowView, forRow row: Int) func didRemoveRowView(_ rowView: NSTableRowView, forRow row: Int) var usesStaticContents: Bool } extension NSTableView { func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImageForRows(_ dragRows: [AnyObject], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columnsInRect(_ rect: NSRect) -> NSRange func preparedCellAtColumn(_ column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: NSNotification) func textDidEndEditing(_ notification: NSNotification) func textDidChange(_ notification: NSNotification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCellAtColumn(_ column: Int, row row: Int) } | NSAccessibilityTable, NSDraggingSource, NSTextViewDelegate, NSUserInterfaceValidations |
To | class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable { init(frame frameRect: NSRect) init?(coder coder: NSCoder) weak var dataSource: NSTableViewDataSource? weak var delegate: NSTableViewDelegate? var headerView: NSTableHeaderView? var cornerView: NSView? var allowsColumnReordering: Bool var allowsColumnResizing: Bool var columnAutoresizingStyle: NSTableViewColumnAutoresizingStyle var gridStyleMask: NSTableViewGridLineStyle var intercellSpacing: NSSize var usesAlternatingRowBackgroundColors: Bool @NSCopying var backgroundColor: NSColor @NSCopying var gridColor: NSColor var rowSizeStyle: NSTableViewRowSizeStyle var effectiveRowSizeStyle: NSTableViewRowSizeStyle { get } var rowHeight: CGFloat func noteHeightOfRows(withIndexesChanged indexSet: IndexSet) var tableColumns: [NSTableColumn] { get } var numberOfColumns: Int { get } var numberOfRows: Int { get } func addTableColumn(_ tableColumn: NSTableColumn) func removeTableColumn(_ tableColumn: NSTableColumn) func moveColumn(_ oldIndex: Int, toColumn newIndex: Int) func column(withIdentifier identifier: String) -> Int func tableColumn(withIdentifier identifier: String) -> NSTableColumn? func tile() func sizeToFit() func sizeLastColumnToFit() func scrollRowToVisible(_ row: Int) func scrollColumnToVisible(_ column: Int) func reloadData() func noteNumberOfRowsChanged() func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes columnIndexes: IndexSet) var editedColumn: Int { get } var editedRow: Int { get } var clickedColumn: Int { get } var clickedRow: Int { get } var doubleAction: Selector? var sortDescriptors: [NSSortDescriptor] func setIndicatorImage(_ image: NSImage?, in tableColumn: NSTableColumn) func indicatorImage(in tableColumn: NSTableColumn) -> NSImage? unowned(unsafe) var highlightedTableColumn: NSTableColumn? var verticalMotionCanBeginDrag: Bool func canDragRows(with rowIndexes: IndexSet, at mouseDownPoint: NSPoint) -> Bool func dragImageForRows(with dragRows: IndexSet, tableColumns tableColumns: [NSTableColumn], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) func setDropRow(_ row: Int, dropOperation dropOperation: NSTableViewDropOperation) var allowsMultipleSelection: Bool var allowsEmptySelection: Bool var allowsColumnSelection: Bool func selectAll(_ sender: Any?) func deselectAll(_ sender: Any?) func selectColumnIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) var selectedColumnIndexes: IndexSet { get } var selectedRowIndexes: IndexSet { get } func deselectColumn(_ column: Int) func deselectRow(_ row: Int) var selectedColumn: Int { get } var selectedRow: Int { get } func isColumnSelected(_ column: Int) -> Bool func isRowSelected(_ row: Int) -> Bool var numberOfSelectedColumns: Int { get } var numberOfSelectedRows: Int { get } var allowsTypeSelect: Bool var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle func rect(ofColumn column: Int) -> NSRect func rect(ofRow row: Int) -> NSRect func columnIndexes(in rect: NSRect) -> IndexSet func rows(in rect: NSRect) -> NSRange func column(at point: NSPoint) -> Int func row(at point: NSPoint) -> Int func frameOfCell(atColumn column: Int, row row: Int) -> NSRect var autosaveName: String? var autosaveTableColumns: Bool func editColumn(_ column: Int, row row: Int, with event: NSEvent?, select select: Bool) func drawRow(_ row: Int, clipRect clipRect: NSRect) func highlightSelection(inClipRect clipRect: NSRect) func drawGrid(inClipRect clipRect: NSRect) func drawBackground(inClipRect clipRect: NSRect) func view(atColumn column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSView? func rowView(atRow row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSTableRowView? func row(for view: NSView) -> Int func column(for view: NSView) -> Int func make(withIdentifier identifier: String, owner owner: Any?) -> NSView? func enumerateAvailableRowViews(_ handler: (NSTableRowView, Int) -> Swift.Void) var floatsGroupRows: Bool var rowActionsVisible: Bool func beginUpdates() func endUpdates() func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveRow(at oldIndex: Int, to newIndex: Int) func hideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) func unhideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) var hiddenRowIndexes: IndexSet { get } func register(_ nib: NSNib?, forIdentifier identifier: String) var registeredNibsByIdentifier: [String : NSNib]? { get } func didAdd(_ rowView: NSTableRowView, forRow row: Int) func didRemove(_ rowView: NSTableRowView, forRow row: Int) var usesStaticContents: Bool var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSTableView : CVarArg { } extension NSTableView : Equatable, Hashable { var hashValue: Int { get } } extension NSTableView { func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) } | CVarArg, Equatable, Hashable, NSAccessibilityTable, NSDraggingSource, NSTextViewDelegate, NSUserInterfaceValidations |
Declaration | |
---|---|
From | func canDragRowsWithIndexes(_ rowIndexes: NSIndexSet, atPoint mouseDownPoint: NSPoint) -> Bool |
To | func canDragRows(with rowIndexes: IndexSet, at mouseDownPoint: NSPoint) -> Bool |
Declaration | |
---|---|
From | func columnAtPoint(_ point: NSPoint) -> Int |
To | func column(at point: NSPoint) -> Int |
Declaration | |
---|---|
From | func columnForView(_ view: NSView) -> Int |
To | func column(for view: NSView) -> Int |
Declaration | |
---|---|
From | func columnWithIdentifier(_ identifier: String) -> Int |
To | func column(withIdentifier identifier: String) -> Int |
Declaration | |
---|---|
From | func columnIndexesInRect(_ rect: NSRect) -> NSIndexSet |
To | func columnIndexes(in rect: NSRect) -> IndexSet |
Modified NSTableView.deselectAll(_: Any?)
Declaration | |
---|---|
From | func deselectAll(_ sender: AnyObject?) |
To | func deselectAll(_ sender: Any?) |
Declaration | |
---|---|
From | func didAddRowView(_ rowView: NSTableRowView, forRow row: Int) |
To | func didAdd(_ rowView: NSTableRowView, forRow row: Int) |
Declaration | |
---|---|
From | func didRemoveRowView(_ rowView: NSTableRowView, forRow row: Int) |
To | func didRemove(_ rowView: NSTableRowView, forRow row: Int) |
Modified NSTableView.doubleAction
Declaration | |
---|---|
From | var doubleAction: Selector |
To | var doubleAction: Selector? |
Declaration | |
---|---|
From | func dragImageForRowsWithIndexes(_ dragRows: NSIndexSet, tableColumns tableColumns: [NSTableColumn], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
To | func dragImageForRows(with dragRows: IndexSet, tableColumns tableColumns: [NSTableColumn], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage |
Declaration | |
---|---|
From | func drawBackgroundInClipRect(_ clipRect: NSRect) |
To | func drawBackground(inClipRect clipRect: NSRect) |
Declaration | |
---|---|
From | func drawGridInClipRect(_ clipRect: NSRect) |
To | func drawGrid(inClipRect clipRect: NSRect) |
Declaration | |
---|---|
From | func editColumn(_ column: Int, row row: Int, withEvent theEvent: NSEvent?, select select: Bool) |
To | func editColumn(_ column: Int, row row: Int, with event: NSEvent?, select select: Bool) |
Declaration | |
---|---|
From | func enumerateAvailableRowViewsUsingBlock(_ handler: (NSTableRowView, Int) -> Void) |
To | func enumerateAvailableRowViews(_ handler: (NSTableRowView, Int) -> Swift.Void) |
Declaration | |
---|---|
From | func frameOfCellAtColumn(_ column: Int, row row: Int) -> NSRect |
To | func frameOfCell(atColumn column: Int, row row: Int) -> NSRect |
Modified NSTableView.hiddenRowIndexes
Declaration | |
---|---|
From | @NSCopying var hiddenRowIndexes: NSIndexSet { get } |
To | var hiddenRowIndexes: IndexSet { get } |
Declaration | |
---|---|
From | func hideRowsAtIndexes(_ indexes: NSIndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions) |
To | func hideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) |
Declaration | |
---|---|
From | func highlightSelectionInClipRect(_ clipRect: NSRect) |
To | func highlightSelection(inClipRect clipRect: NSRect) |
Declaration | |
---|---|
From | func indicatorImageInTableColumn(_ tableColumn: NSTableColumn) -> NSImage? |
To | func indicatorImage(in tableColumn: NSTableColumn) -> NSImage? |
Declaration | |
---|---|
From | func insertRowsAtIndexes(_ indexes: NSIndexSet, withAnimation animationOptions: NSTableViewAnimationOptions) |
To | func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) |
Declaration | |
---|---|
From | func makeViewWithIdentifier(_ identifier: String, owner owner: AnyObject?) -> NSView? |
To | func make(withIdentifier identifier: String, owner owner: Any?) -> NSView? |
Declaration | |
---|---|
From | func moveRowAtIndex(_ oldIndex: Int, toIndex newIndex: Int) |
To | func moveRow(at oldIndex: Int, to newIndex: Int) |
Declaration | |
---|---|
From | func noteHeightOfRowsWithIndexesChanged(_ indexSet: NSIndexSet) |
To | func noteHeightOfRows(withIndexesChanged indexSet: IndexSet) |
Declaration | |
---|---|
From | func performClickOnCellAtColumn(_ column: Int, row row: Int) |
To | func performClickOnCell(atColumn column: Int, row row: Int) |
Declaration | |
---|---|
From | func preparedCellAtColumn(_ column: Int, row row: Int) -> NSCell? |
To | func preparedCell(atColumn column: Int, row row: Int) -> NSCell? |
Declaration | |
---|---|
From | func rectOfColumn(_ column: Int) -> NSRect |
To | func rect(ofColumn column: Int) -> NSRect |
Declaration | |
---|---|
From | func rectOfRow(_ row: Int) -> NSRect |
To | func rect(ofRow row: Int) -> NSRect |
Declaration | |
---|---|
From | func registerNib(_ nib: NSNib?, forIdentifier identifier: String) |
To | func register(_ nib: NSNib?, forIdentifier identifier: String) |
Declaration | |
---|---|
From | func reloadDataForRowIndexes(_ rowIndexes: NSIndexSet, columnIndexes columnIndexes: NSIndexSet) |
To | func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes columnIndexes: IndexSet) |
Declaration | |
---|---|
From | func removeRowsAtIndexes(_ indexes: NSIndexSet, withAnimation animationOptions: NSTableViewAnimationOptions) |
To | func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) |
Modified NSTableView.row(at: NSPoint) -> Int
Declaration | |
---|---|
From | func rowAtPoint(_ point: NSPoint) -> Int |
To | func row(at point: NSPoint) -> Int |
Modified NSTableView.row(for: NSView) -> Int
Declaration | |
---|---|
From | func rowForView(_ view: NSView) -> Int |
To | func row(for view: NSView) -> Int |
Declaration | |
---|---|
From | func rowsInRect(_ rect: NSRect) -> NSRange |
To | func rows(in rect: NSRect) -> NSRange |
Declaration | |
---|---|
From | func rowViewAtRow(_ row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSTableRowView? |
To | func rowView(atRow row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSTableRowView? |
Modified NSTableView.selectAll(_: Any?)
Declaration | |
---|---|
From | func selectAll(_ sender: AnyObject?) |
To | func selectAll(_ sender: Any?) |
Declaration | |
---|---|
From | func selectColumnIndexes(_ indexes: NSIndexSet, byExtendingSelection extend: Bool) |
To | func selectColumnIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) |
Modified NSTableView.selectedColumnIndexes
Declaration | |
---|---|
From | @NSCopying var selectedColumnIndexes: NSIndexSet { get } |
To | var selectedColumnIndexes: IndexSet { get } |
Modified NSTableView.selectedRowIndexes
Declaration | |
---|---|
From | @NSCopying var selectedRowIndexes: NSIndexSet { get } |
To | var selectedRowIndexes: IndexSet { get } |
Declaration | |
---|---|
From | func selectRowIndexes(_ indexes: NSIndexSet, byExtendingSelection extend: Bool) |
To | func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) |
Declaration | |
---|---|
From | func setIndicatorImage(_ anImage: NSImage?, inTableColumn tableColumn: NSTableColumn) |
To | func setIndicatorImage(_ image: NSImage?, in tableColumn: NSTableColumn) |
Declaration | |
---|---|
From | func tableColumnWithIdentifier(_ identifier: String) -> NSTableColumn? |
To | func tableColumn(withIdentifier identifier: String) -> NSTableColumn? |
Declaration | |
---|---|
From | func textDidBeginEditing(_ notification: NSNotification) |
To | func textDidBeginEditing(_ notification: Notification) |
Declaration | |
---|---|
From | func textDidChange(_ notification: NSNotification) |
To | func textDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | func textDidEndEditing(_ notification: NSNotification) |
To | func textDidEndEditing(_ notification: Notification) |
Declaration | |
---|---|
From | func unhideRowsAtIndexes(_ indexes: NSIndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions) |
To | func unhideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) |
Declaration | |
---|---|
From | func viewAtColumn(_ column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSView? |
To | func view(atColumn column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSView? |
Modified NSTableViewAnimationOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTableViewAnimationOptions : OptionSetType { init(rawValue rawValue: UInt) static var EffectNone: NSTableViewAnimationOptions { get } static var EffectFade: NSTableViewAnimationOptions { get } static var EffectGap: NSTableViewAnimationOptions { get } static var SlideUp: NSTableViewAnimationOptions { get } static var SlideDown: NSTableViewAnimationOptions { get } static var SlideLeft: NSTableViewAnimationOptions { get } static var SlideRight: NSTableViewAnimationOptions { get } } | OptionSetType |
To | struct NSTableViewAnimationOptions : OptionSet { init(rawValue rawValue: UInt) static var effectNone: NSTableViewAnimationOptions { get } static var effectFade: NSTableViewAnimationOptions { get } static var effectGap: NSTableViewAnimationOptions { get } static var slideUp: NSTableViewAnimationOptions { get } static var slideDown: NSTableViewAnimationOptions { get } static var slideLeft: NSTableViewAnimationOptions { get } static var slideRight: NSTableViewAnimationOptions { get } func intersect(_ other: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions func exclusiveOr(_ other: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions mutating func unionInPlace(_ other: NSTableViewAnimationOptions) mutating func intersectInPlace(_ other: NSTableViewAnimationOptions) mutating func exclusiveOrInPlace(_ other: NSTableViewAnimationOptions) func isSubsetOf(_ other: NSTableViewAnimationOptions) -> Bool func isDisjointWith(_ other: NSTableViewAnimationOptions) -> Bool func isSupersetOf(_ other: NSTableViewAnimationOptions) -> Bool mutating func subtractInPlace(_ other: NSTableViewAnimationOptions) func isStrictSupersetOf(_ other: NSTableViewAnimationOptions) -> Bool func isStrictSubsetOf(_ other: NSTableViewAnimationOptions) -> Bool } extension NSTableViewAnimationOptions { func union(_ other: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions func intersection(_ other: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions func symmetricDifference(_ other: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions } extension NSTableViewAnimationOptions { func contains(_ member: NSTableViewAnimationOptions) -> Bool mutating func insert(_ newMember: NSTableViewAnimationOptions) -> (inserted: Bool, memberAfterInsert: NSTableViewAnimationOptions) mutating func remove(_ member: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions? mutating func update(with newMember: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions? } extension NSTableViewAnimationOptions { convenience init() mutating func formUnion(_ other: NSTableViewAnimationOptions) mutating func formIntersection(_ other: NSTableViewAnimationOptions) mutating func formSymmetricDifference(_ other: NSTableViewAnimationOptions) } extension NSTableViewAnimationOptions { convenience init<S : Sequence where S.Iterator.Element == NSTableViewAnimationOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTableViewAnimationOptions...) mutating func subtract(_ other: NSTableViewAnimationOptions) func isSubset(of other: NSTableViewAnimationOptions) -> Bool func isSuperset(of other: NSTableViewAnimationOptions) -> Bool func isDisjoint(with other: NSTableViewAnimationOptions) -> Bool func subtracting(_ other: NSTableViewAnimationOptions) -> NSTableViewAnimationOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSTableViewAnimationOptions) -> Bool func isStrictSubset(of other: NSTableViewAnimationOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var EffectFade: NSTableViewAnimationOptions { get } |
To | static var effectFade: NSTableViewAnimationOptions { get } |
Declaration | |
---|---|
From | static var EffectGap: NSTableViewAnimationOptions { get } |
To | static var effectGap: NSTableViewAnimationOptions { get } |
Declaration | |
---|---|
From | static var SlideDown: NSTableViewAnimationOptions { get } |
To | static var slideDown: NSTableViewAnimationOptions { get } |
Declaration | |
---|---|
From | static var SlideLeft: NSTableViewAnimationOptions { get } |
To | static var slideLeft: NSTableViewAnimationOptions { get } |
Declaration | |
---|---|
From | static var SlideRight: NSTableViewAnimationOptions { get } |
To | static var slideRight: NSTableViewAnimationOptions { get } |
Modified NSTableViewAnimationOptions.slideUp
Declaration | |
---|---|
From | static var SlideUp: NSTableViewAnimationOptions { get } |
To | static var slideUp: NSTableViewAnimationOptions { get } |
Declaration | |
---|---|
From | enum NSTableViewColumnAutoresizingStyle : UInt { case NoColumnAutoresizing case UniformColumnAutoresizingStyle case SequentialColumnAutoresizingStyle case ReverseSequentialColumnAutoresizingStyle case LastColumnOnlyAutoresizingStyle case FirstColumnOnlyAutoresizingStyle } |
To | enum NSTableViewColumnAutoresizingStyle : UInt { case noColumnAutoresizing case uniformColumnAutoresizingStyle case sequentialColumnAutoresizingStyle case reverseSequentialColumnAutoresizingStyle case lastColumnOnlyAutoresizingStyle case firstColumnOnlyAutoresizingStyle } |
Declaration | |
---|---|
From | case FirstColumnOnlyAutoresizingStyle |
To | case firstColumnOnlyAutoresizingStyle |
Declaration | |
---|---|
From | case LastColumnOnlyAutoresizingStyle |
To | case lastColumnOnlyAutoresizingStyle |
Declaration | |
---|---|
From | case NoColumnAutoresizing |
To | case noColumnAutoresizing |
Declaration | |
---|---|
From | case ReverseSequentialColumnAutoresizingStyle |
To | case reverseSequentialColumnAutoresizingStyle |
Declaration | |
---|---|
From | case SequentialColumnAutoresizingStyle |
To | case sequentialColumnAutoresizingStyle |
Declaration | |
---|---|
From | case UniformColumnAutoresizingStyle |
To | case uniformColumnAutoresizingStyle |
Modified NSTableViewDataSource
Declaration | |
---|---|
From | protocol NSTableViewDataSource : NSObjectProtocol { optional func numberOfRowsInTableView(_ tableView: NSTableView) -> Int optional func tableView(_ tableView: NSTableView, objectValueForTableColumn tableColumn: NSTableColumn?, row row: Int) -> AnyObject? optional func tableView(_ tableView: NSTableView, setObjectValue object: AnyObject?, forTableColumn tableColumn: NSTableColumn?, row row: Int) optional func tableView(_ tableView: NSTableView, sortDescriptorsDidChange oldDescriptors: [NSSortDescriptor]) optional func tableView(_ tableView: NSTableView, pasteboardWriterForRow row: Int) -> NSPasteboardWriting? optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forRowIndexes rowIndexes: NSIndexSet) optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, operation operation: NSDragOperation) optional func tableView(_ tableView: NSTableView, updateDraggingItemsForDrag draggingInfo: NSDraggingInfo) optional func tableView(_ tableView: NSTableView, writeRowsWithIndexes rowIndexes: NSIndexSet, toPasteboard pboard: NSPasteboard) -> Bool optional func tableView(_ tableView: NSTableView, validateDrop info: NSDraggingInfo, proposedRow row: Int, proposedDropOperation dropOperation: NSTableViewDropOperation) -> NSDragOperation optional func tableView(_ tableView: NSTableView, acceptDrop info: NSDraggingInfo, row row: Int, dropOperation dropOperation: NSTableViewDropOperation) -> Bool optional func tableView(_ tableView: NSTableView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes indexSet: NSIndexSet) -> [String] } |
To | protocol NSTableViewDataSource : NSObjectProtocol { optional func numberOfRows(in tableView: NSTableView) -> Int optional func tableView(_ tableView: NSTableView, objectValueFor tableColumn: NSTableColumn?, row row: Int) -> Any? optional func tableView(_ tableView: NSTableView, setObjectValue object: Any?, for tableColumn: NSTableColumn?, row row: Int) optional func tableView(_ tableView: NSTableView, sortDescriptorsDidChange oldDescriptors: [NSSortDescriptor]) optional func tableView(_ tableView: NSTableView, pasteboardWriterForRow row: Int) -> NSPasteboardWriting? optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forRowIndexes rowIndexes: IndexSet) optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) optional func tableView(_ tableView: NSTableView, updateDraggingItemsForDrag draggingInfo: NSDraggingInfo) optional func tableView(_ tableView: NSTableView, writeRowsWith rowIndexes: IndexSet, to pboard: NSPasteboard) -> Bool optional func tableView(_ tableView: NSTableView, validateDrop info: NSDraggingInfo, proposedRow row: Int, proposedDropOperation dropOperation: NSTableViewDropOperation) -> NSDragOperation optional func tableView(_ tableView: NSTableView, acceptDrop info: NSDraggingInfo, row row: Int, dropOperation dropOperation: NSTableViewDropOperation) -> Bool optional func tableView(_ tableView: NSTableView, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedRowsWith indexSet: IndexSet) -> [String] } |
Declaration | |
---|---|
From | optional func numberOfRowsInTableView(_ tableView: NSTableView) -> Int |
To | optional func numberOfRows(in tableView: NSTableView) -> Int |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, endedAtPoint screenPoint: NSPoint, operation operation: NSDragOperation) |
To | optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forRowIndexes rowIndexes: NSIndexSet) |
To | optional func tableView(_ tableView: NSTableView, draggingSession session: NSDraggingSession, willBeginAt screenPoint: NSPoint, forRowIndexes rowIndexes: IndexSet) |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes indexSet: NSIndexSet) -> [String] |
To | optional func tableView(_ tableView: NSTableView, namesOfPromisedFilesDroppedAtDestination dropDestination: URL, forDraggedRowsWith indexSet: IndexSet) -> [String] |
Modified NSTableViewDataSource.tableView(_: NSTableView, objectValueFor: NSTableColumn?, row: Int) -> Any?
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, objectValueForTableColumn tableColumn: NSTableColumn?, row row: Int) -> AnyObject? |
To | optional func tableView(_ tableView: NSTableView, objectValueFor tableColumn: NSTableColumn?, row row: Int) -> Any? |
Modified NSTableViewDataSource.tableView(_: NSTableView, setObjectValue: Any?, for: NSTableColumn?, row: Int)
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, setObjectValue object: AnyObject?, forTableColumn tableColumn: NSTableColumn?, row row: Int) |
To | optional func tableView(_ tableView: NSTableView, setObjectValue object: Any?, for tableColumn: NSTableColumn?, row row: Int) |
Modified NSTableViewDataSource.tableView(_: NSTableView, writeRowsWith: IndexSet, to: NSPasteboard) -> Bool
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, writeRowsWithIndexes rowIndexes: NSIndexSet, toPasteboard pboard: NSPasteboard) -> Bool |
To | optional func tableView(_ tableView: NSTableView, writeRowsWith rowIndexes: IndexSet, to pboard: NSPasteboard) -> Bool |
Modified NSTableViewDelegate
Declaration | |
---|---|
From | protocol NSTableViewDelegate : NSControlTextEditingDelegate { optional func tableView(_ tableView: NSTableView, viewForTableColumn tableColumn: NSTableColumn?, row row: Int) -> NSView? optional func tableView(_ tableView: NSTableView, rowViewForRow row: Int) -> NSTableRowView? optional func tableView(_ tableView: NSTableView, didAddRowView rowView: NSTableRowView, forRow row: Int) optional func tableView(_ tableView: NSTableView, didRemoveRowView rowView: NSTableRowView, forRow row: Int) optional func tableView(_ tableView: NSTableView, willDisplayCell cell: AnyObject, forTableColumn tableColumn: NSTableColumn?, row row: Int) optional func tableView(_ tableView: NSTableView, shouldEditTableColumn tableColumn: NSTableColumn?, row row: Int) -> Bool optional func tableView(_ tableView: NSTableView, toolTipForCell cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, row row: Int, mouseLocation mouseLocation: NSPoint) -> String optional func tableView(_ tableView: NSTableView, shouldShowCellExpansionForTableColumn tableColumn: NSTableColumn?, row row: Int) -> Bool optional func tableView(_ tableView: NSTableView, shouldTrackCell cell: NSCell, forTableColumn tableColumn: NSTableColumn?, row row: Int) -> Bool optional func tableView(_ tableView: NSTableView, dataCellForTableColumn tableColumn: NSTableColumn?, row row: Int) -> NSCell? optional func selectionShouldChangeInTableView(_ tableView: NSTableView) -> Bool optional func tableView(_ tableView: NSTableView, shouldSelectRow row: Int) -> Bool optional func tableView(_ tableView: NSTableView, selectionIndexesForProposedSelection proposedSelectionIndexes: NSIndexSet) -> NSIndexSet optional func tableView(_ tableView: NSTableView, shouldSelectTableColumn tableColumn: NSTableColumn?) -> Bool optional func tableView(_ tableView: NSTableView, mouseDownInHeaderOfTableColumn tableColumn: NSTableColumn) optional func tableView(_ tableView: NSTableView, didClickTableColumn tableColumn: NSTableColumn) optional func tableView(_ tableView: NSTableView, didDragTableColumn tableColumn: NSTableColumn) optional func tableView(_ tableView: NSTableView, heightOfRow row: Int) -> CGFloat optional func tableView(_ tableView: NSTableView, typeSelectStringForTableColumn tableColumn: NSTableColumn?, row row: Int) -> String? optional func tableView(_ tableView: NSTableView, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, forString searchString: String) -> Int optional func tableView(_ tableView: NSTableView, shouldTypeSelectForEvent event: NSEvent, withCurrentSearchString searchString: String?) -> Bool optional func tableView(_ tableView: NSTableView, isGroupRow row: Int) -> Bool optional func tableView(_ tableView: NSTableView, sizeToFitWidthOfColumn column: Int) -> CGFloat optional func tableView(_ tableView: NSTableView, shouldReorderColumn columnIndex: Int, toColumn newColumnIndex: Int) -> Bool optional func tableView(_ tableView: NSTableView, rowActionsForRow row: Int, edge edge: NSTableRowActionEdge) -> [NSTableViewRowAction] optional func tableViewSelectionDidChange(_ notification: NSNotification) optional func tableViewColumnDidMove(_ notification: NSNotification) optional func tableViewColumnDidResize(_ notification: NSNotification) optional func tableViewSelectionIsChanging(_ notification: NSNotification) } |
To | protocol NSTableViewDelegate : NSControlTextEditingDelegate { optional func tableView(_ tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row row: Int) -> NSView? optional func tableView(_ tableView: NSTableView, rowViewForRow row: Int) -> NSTableRowView? optional func tableView(_ tableView: NSTableView, didAdd rowView: NSTableRowView, forRow row: Int) optional func tableView(_ tableView: NSTableView, didRemove rowView: NSTableRowView, forRow row: Int) optional func tableView(_ tableView: NSTableView, willDisplayCell cell: Any, for tableColumn: NSTableColumn?, row row: Int) optional func tableView(_ tableView: NSTableView, shouldEdit tableColumn: NSTableColumn?, row row: Int) -> Bool optional func tableView(_ tableView: NSTableView, toolTipFor cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, row row: Int, mouseLocation mouseLocation: NSPoint) -> String optional func tableView(_ tableView: NSTableView, shouldShowCellExpansionFor tableColumn: NSTableColumn?, row row: Int) -> Bool optional func tableView(_ tableView: NSTableView, shouldTrackCell cell: NSCell, for tableColumn: NSTableColumn?, row row: Int) -> Bool optional func tableView(_ tableView: NSTableView, dataCellFor tableColumn: NSTableColumn?, row row: Int) -> NSCell? optional func selectionShouldChange(in tableView: NSTableView) -> Bool optional func tableView(_ tableView: NSTableView, shouldSelectRow row: Int) -> Bool optional func tableView(_ tableView: NSTableView, selectionIndexesForProposedSelection proposedSelectionIndexes: IndexSet) -> IndexSet optional func tableView(_ tableView: NSTableView, shouldSelect tableColumn: NSTableColumn?) -> Bool optional func tableView(_ tableView: NSTableView, mouseDownInHeaderOf tableColumn: NSTableColumn) optional func tableView(_ tableView: NSTableView, didClick tableColumn: NSTableColumn) optional func tableView(_ tableView: NSTableView, didDrag tableColumn: NSTableColumn) optional func tableView(_ tableView: NSTableView, heightOfRow row: Int) -> CGFloat optional func tableView(_ tableView: NSTableView, typeSelectStringFor tableColumn: NSTableColumn?, row row: Int) -> String? optional func tableView(_ tableView: NSTableView, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, for searchString: String) -> Int optional func tableView(_ tableView: NSTableView, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> Bool optional func tableView(_ tableView: NSTableView, isGroupRow row: Int) -> Bool optional func tableView(_ tableView: NSTableView, sizeToFitWidthOfColumn column: Int) -> CGFloat optional func tableView(_ tableView: NSTableView, shouldReorderColumn columnIndex: Int, toColumn newColumnIndex: Int) -> Bool optional func tableView(_ tableView: NSTableView, rowActionsForRow row: Int, edge edge: NSTableRowActionEdge) -> [NSTableViewRowAction] optional func tableViewSelectionDidChange(_ notification: Notification) optional func tableViewColumnDidMove(_ notification: Notification) optional func tableViewColumnDidResize(_ notification: Notification) optional func tableViewSelectionIsChanging(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func selectionShouldChangeInTableView(_ tableView: NSTableView) -> Bool |
To | optional func selectionShouldChange(in tableView: NSTableView) -> Bool |
Modified NSTableViewDelegate.tableView(_: NSTableView, dataCellFor: NSTableColumn?, row: Int) -> NSCell?
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, dataCellForTableColumn tableColumn: NSTableColumn?, row row: Int) -> NSCell? |
To | optional func tableView(_ tableView: NSTableView, dataCellFor tableColumn: NSTableColumn?, row row: Int) -> NSCell? |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, didAddRowView rowView: NSTableRowView, forRow row: Int) |
To | optional func tableView(_ tableView: NSTableView, didAdd rowView: NSTableRowView, forRow row: Int) |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, didClickTableColumn tableColumn: NSTableColumn) |
To | optional func tableView(_ tableView: NSTableView, didClick tableColumn: NSTableColumn) |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, didDragTableColumn tableColumn: NSTableColumn) |
To | optional func tableView(_ tableView: NSTableView, didDrag tableColumn: NSTableColumn) |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, didRemoveRowView rowView: NSTableRowView, forRow row: Int) |
To | optional func tableView(_ tableView: NSTableView, didRemove rowView: NSTableRowView, forRow row: Int) |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, mouseDownInHeaderOfTableColumn tableColumn: NSTableColumn) |
To | optional func tableView(_ tableView: NSTableView, mouseDownInHeaderOf tableColumn: NSTableColumn) |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, forString searchString: String) -> Int |
To | optional func tableView(_ tableView: NSTableView, nextTypeSelectMatchFromRow startRow: Int, toRow endRow: Int, for searchString: String) -> Int |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, selectionIndexesForProposedSelection proposedSelectionIndexes: NSIndexSet) -> NSIndexSet |
To | optional func tableView(_ tableView: NSTableView, selectionIndexesForProposedSelection proposedSelectionIndexes: IndexSet) -> IndexSet |
Modified NSTableViewDelegate.tableView(_: NSTableView, shouldEdit: NSTableColumn?, row: Int) -> Bool
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, shouldEditTableColumn tableColumn: NSTableColumn?, row row: Int) -> Bool |
To | optional func tableView(_ tableView: NSTableView, shouldEdit tableColumn: NSTableColumn?, row row: Int) -> Bool |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, shouldSelectTableColumn tableColumn: NSTableColumn?) -> Bool |
To | optional func tableView(_ tableView: NSTableView, shouldSelect tableColumn: NSTableColumn?) -> Bool |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, shouldShowCellExpansionForTableColumn tableColumn: NSTableColumn?, row row: Int) -> Bool |
To | optional func tableView(_ tableView: NSTableView, shouldShowCellExpansionFor tableColumn: NSTableColumn?, row row: Int) -> Bool |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, shouldTrackCell cell: NSCell, forTableColumn tableColumn: NSTableColumn?, row row: Int) -> Bool |
To | optional func tableView(_ tableView: NSTableView, shouldTrackCell cell: NSCell, for tableColumn: NSTableColumn?, row row: Int) -> Bool |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, shouldTypeSelectForEvent event: NSEvent, withCurrentSearchString searchString: String?) -> Bool |
To | optional func tableView(_ tableView: NSTableView, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> Bool |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, toolTipForCell cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, row row: Int, mouseLocation mouseLocation: NSPoint) -> String |
To | optional func tableView(_ tableView: NSTableView, toolTipFor cell: NSCell, rect rect: NSRectPointer, tableColumn tableColumn: NSTableColumn?, row row: Int, mouseLocation mouseLocation: NSPoint) -> String |
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, typeSelectStringForTableColumn tableColumn: NSTableColumn?, row row: Int) -> String? |
To | optional func tableView(_ tableView: NSTableView, typeSelectStringFor tableColumn: NSTableColumn?, row row: Int) -> String? |
Modified NSTableViewDelegate.tableView(_: NSTableView, viewFor: NSTableColumn?, row: Int) -> NSView?
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, viewForTableColumn tableColumn: NSTableColumn?, row row: Int) -> NSView? |
To | optional func tableView(_ tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row row: Int) -> NSView? |
Modified NSTableViewDelegate.tableView(_: NSTableView, willDisplayCell: Any, for: NSTableColumn?, row: Int)
Declaration | |
---|---|
From | optional func tableView(_ tableView: NSTableView, willDisplayCell cell: AnyObject, forTableColumn tableColumn: NSTableColumn?, row row: Int) |
To | optional func tableView(_ tableView: NSTableView, willDisplayCell cell: Any, for tableColumn: NSTableColumn?, row row: Int) |
Declaration | |
---|---|
From | optional func tableViewColumnDidMove(_ notification: NSNotification) |
To | optional func tableViewColumnDidMove(_ notification: Notification) |
Declaration | |
---|---|
From | optional func tableViewColumnDidResize(_ notification: NSNotification) |
To | optional func tableViewColumnDidResize(_ notification: Notification) |
Declaration | |
---|---|
From | optional func tableViewSelectionDidChange(_ notification: NSNotification) |
To | optional func tableViewSelectionDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | optional func tableViewSelectionIsChanging(_ notification: NSNotification) |
To | optional func tableViewSelectionIsChanging(_ notification: Notification) |
Declaration | |
---|---|
From | enum NSTableViewDraggingDestinationFeedbackStyle : Int { case None case Regular case SourceList case Gap } |
To | enum NSTableViewDraggingDestinationFeedbackStyle : Int { case none case regular case sourceList case gap } |
Declaration | |
---|---|
From | case Gap |
To | case gap |
Declaration | |
---|---|
From | case None |
To | case none |
Declaration | |
---|---|
From | case Regular |
To | case regular |
Declaration | |
---|---|
From | case SourceList |
To | case sourceList |
Modified NSTableViewDropOperation [enum]
Declaration | |
---|---|
From | enum NSTableViewDropOperation : UInt { case On case Above } |
To | enum NSTableViewDropOperation : UInt { case on case above } |
Modified NSTableViewDropOperation.above
Declaration | |
---|---|
From | case Above |
To | case above |
Modified NSTableViewDropOperation.on
Declaration | |
---|---|
From | case On |
To | case on |
Modified NSTableViewGridLineStyle [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTableViewGridLineStyle : OptionSetType { init(rawValue rawValue: UInt) static var GridNone: NSTableViewGridLineStyle { get } static var SolidVerticalGridLineMask: NSTableViewGridLineStyle { get } static var SolidHorizontalGridLineMask: NSTableViewGridLineStyle { get } static var DashedHorizontalGridLineMask: NSTableViewGridLineStyle { get } } | OptionSetType |
To | struct NSTableViewGridLineStyle : OptionSet { init(rawValue rawValue: UInt) static var gridNone: NSTableViewGridLineStyle { get } static var solidVerticalGridLineMask: NSTableViewGridLineStyle { get } static var solidHorizontalGridLineMask: NSTableViewGridLineStyle { get } static var dashedHorizontalGridLineMask: NSTableViewGridLineStyle { get } func intersect(_ other: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle func exclusiveOr(_ other: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle mutating func unionInPlace(_ other: NSTableViewGridLineStyle) mutating func intersectInPlace(_ other: NSTableViewGridLineStyle) mutating func exclusiveOrInPlace(_ other: NSTableViewGridLineStyle) func isSubsetOf(_ other: NSTableViewGridLineStyle) -> Bool func isDisjointWith(_ other: NSTableViewGridLineStyle) -> Bool func isSupersetOf(_ other: NSTableViewGridLineStyle) -> Bool mutating func subtractInPlace(_ other: NSTableViewGridLineStyle) func isStrictSupersetOf(_ other: NSTableViewGridLineStyle) -> Bool func isStrictSubsetOf(_ other: NSTableViewGridLineStyle) -> Bool } extension NSTableViewGridLineStyle { func union(_ other: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle func intersection(_ other: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle func symmetricDifference(_ other: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle } extension NSTableViewGridLineStyle { func contains(_ member: NSTableViewGridLineStyle) -> Bool mutating func insert(_ newMember: NSTableViewGridLineStyle) -> (inserted: Bool, memberAfterInsert: NSTableViewGridLineStyle) mutating func remove(_ member: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle? mutating func update(with newMember: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle? } extension NSTableViewGridLineStyle { convenience init() mutating func formUnion(_ other: NSTableViewGridLineStyle) mutating func formIntersection(_ other: NSTableViewGridLineStyle) mutating func formSymmetricDifference(_ other: NSTableViewGridLineStyle) } extension NSTableViewGridLineStyle { convenience init<S : Sequence where S.Iterator.Element == NSTableViewGridLineStyle>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTableViewGridLineStyle...) mutating func subtract(_ other: NSTableViewGridLineStyle) func isSubset(of other: NSTableViewGridLineStyle) -> Bool func isSuperset(of other: NSTableViewGridLineStyle) -> Bool func isDisjoint(with other: NSTableViewGridLineStyle) -> Bool func subtracting(_ other: NSTableViewGridLineStyle) -> NSTableViewGridLineStyle var isEmpty: Bool { get } func isStrictSuperset(of other: NSTableViewGridLineStyle) -> Bool func isStrictSubset(of other: NSTableViewGridLineStyle) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var DashedHorizontalGridLineMask: NSTableViewGridLineStyle { get } |
To | static var dashedHorizontalGridLineMask: NSTableViewGridLineStyle { get } |
Declaration | |
---|---|
From | static var SolidHorizontalGridLineMask: NSTableViewGridLineStyle { get } |
To | static var solidHorizontalGridLineMask: NSTableViewGridLineStyle { get } |
Declaration | |
---|---|
From | static var SolidVerticalGridLineMask: NSTableViewGridLineStyle { get } |
To | static var solidVerticalGridLineMask: NSTableViewGridLineStyle { get } |
Modified NSTableViewRowAction
Declaration | Protocols | |
---|---|---|
From | class NSTableViewRowAction : NSObject, NSCopying { convenience init(style style: NSTableViewRowActionStyle, title title: String, handler handler: (NSTableViewRowAction, Int) -> Void) class func rowActionWithStyle(_ style: NSTableViewRowActionStyle, title title: String, handler handler: (NSTableViewRowAction, Int) -> Void) -> Self var style: NSTableViewRowActionStyle { get } var title: String @NSCopying var backgroundColor: NSColor! } | NSCopying |
To | class NSTableViewRowAction : NSObject, NSCopying { convenience init(style style: NSTableViewRowActionStyle, title title: String, handler handler: @escaping (NSTableViewRowAction, Int) -> Swift.Void) class func withStyle(_ style: NSTableViewRowActionStyle, title title: String, handler handler: @escaping (NSTableViewRowAction, Int) -> Swift.Void) -> Self var style: NSTableViewRowActionStyle { get } var title: String @NSCopying var backgroundColor: NSColor! var image: NSImage? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableViewRowAction : CVarArg { } extension NSTableViewRowAction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | convenience init(style style: NSTableViewRowActionStyle, title title: String, handler handler: (NSTableViewRowAction, Int) -> Void) |
To | convenience init(style style: NSTableViewRowActionStyle, title title: String, handler handler: @escaping (NSTableViewRowAction, Int) -> Swift.Void) |
Modified NSTableViewRowActionStyle [enum]
Declaration | |
---|---|
From | enum NSTableViewRowActionStyle : Int { case Regular case Destructive } |
To | enum NSTableViewRowActionStyle : Int { case regular case destructive } |
Declaration | |
---|---|
From | case Destructive |
To | case destructive |
Modified NSTableViewRowActionStyle.regular
Declaration | |
---|---|
From | case Regular |
To | case regular |
Modified NSTableViewRowSizeStyle [enum]
Declaration | |
---|---|
From | enum NSTableViewRowSizeStyle : Int { case Default case Custom case Small case Medium case Large } |
To | enum NSTableViewRowSizeStyle : Int { case `default` case custom case small case medium case large } |
Modified NSTableViewRowSizeStyle.custom
Declaration | |
---|---|
From | case Custom |
To | case custom |
Modified NSTableViewRowSizeStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSTableViewRowSizeStyle.large
Declaration | |
---|---|
From | case Large |
To | case large |
Modified NSTableViewRowSizeStyle.medium
Declaration | |
---|---|
From | case Medium |
To | case medium |
Modified NSTableViewRowSizeStyle.small
Declaration | |
---|---|
From | case Small |
To | case small |
Declaration | |
---|---|
From | enum NSTableViewSelectionHighlightStyle : Int { case None case Regular case SourceList } |
To | enum NSTableViewSelectionHighlightStyle : Int { case none case regular case sourceList } |
Declaration | |
---|---|
From | case None |
To | case none |
Declaration | |
---|---|
From | case Regular |
To | case regular |
Declaration | |
---|---|
From | case SourceList |
To | case sourceList |
Modified NSTabState [enum]
Declaration | |
---|---|
From | enum NSTabState : UInt { case SelectedTab case BackgroundTab case PressedTab } |
To | enum NSTabState : UInt { case selectedTab case backgroundTab case pressedTab } |
Modified NSTabState.backgroundTab
Declaration | |
---|---|
From | case BackgroundTab |
To | case backgroundTab |
Modified NSTabState.pressedTab
Declaration | |
---|---|
From | case PressedTab |
To | case pressedTab |
Modified NSTabState.selectedTab
Declaration | |
---|---|
From | case SelectedTab |
To | case selectedTab |
Modified NSTabView
Declaration | Protocols | |
---|---|---|
From | class NSTabView : NSView { func selectTabViewItem(_ tabViewItem: NSTabViewItem?) func selectTabViewItemAtIndex(_ index: Int) func selectTabViewItemWithIdentifier(_ identifier: AnyObject) func takeSelectedTabViewItemFromSender(_ sender: AnyObject?) func selectFirstTabViewItem(_ sender: AnyObject?) func selectLastTabViewItem(_ sender: AnyObject?) func selectNextTabViewItem(_ sender: AnyObject?) func selectPreviousTabViewItem(_ sender: AnyObject?) var selectedTabViewItem: NSTabViewItem? { get } var font: NSFont var tabViewType: NSTabViewType var tabViewItems: [NSTabViewItem] { get } var allowsTruncatedLabels: Bool var minimumSize: NSSize { get } var drawsBackground: Bool var controlTint: NSControlTint var controlSize: NSControlSize func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, atIndex index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) unowned(unsafe) var delegate: NSTabViewDelegate? func tabViewItemAtPoint(_ point: NSPoint) -> NSTabViewItem? var contentRect: NSRect { get } var numberOfTabViewItems: Int { get } func indexOfTabViewItem(_ tabViewItem: NSTabViewItem) -> Int func tabViewItemAtIndex(_ index: Int) -> NSTabViewItem func indexOfTabViewItemWithIdentifier(_ identifier: AnyObject) -> Int } | -- |
To | class NSTabView : NSView { func selectTabViewItem(_ tabViewItem: NSTabViewItem?) func selectTabViewItem(at index: Int) func selectTabViewItem(withIdentifier identifier: Any) func takeSelectedTabViewItemFromSender(_ sender: Any?) func selectFirstTabViewItem(_ sender: Any?) func selectLastTabViewItem(_ sender: Any?) func selectNextTabViewItem(_ sender: Any?) func selectPreviousTabViewItem(_ sender: Any?) var selectedTabViewItem: NSTabViewItem? { get } var font: NSFont var tabViewType: NSTabViewType var tabPosition: NSTabPosition var tabViewBorderType: NSTabViewBorderType var tabViewItems: [NSTabViewItem] { get } var allowsTruncatedLabels: Bool var minimumSize: NSSize { get } var drawsBackground: Bool var controlTint: NSControlTint var controlSize: NSControlSize func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) unowned(unsafe) var delegate: NSTabViewDelegate? func tabViewItem(at point: NSPoint) -> NSTabViewItem? var contentRect: NSRect { get } var numberOfTabViewItems: Int { get } func indexOfTabViewItem(_ tabViewItem: NSTabViewItem) -> Int func tabViewItem(at index: Int) -> NSTabViewItem func indexOfTabViewItem(withIdentifier identifier: Any) -> Int var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTabView : CVarArg { } extension NSTabView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func indexOfTabViewItemWithIdentifier(_ identifier: AnyObject) -> Int |
To | func indexOfTabViewItem(withIdentifier identifier: Any) -> Int |
Declaration | |
---|---|
From | func insertTabViewItem(_ tabViewItem: NSTabViewItem, atIndex index: Int) |
To | func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) |
Declaration | |
---|---|
From | func selectFirstTabViewItem(_ sender: AnyObject?) |
To | func selectFirstTabViewItem(_ sender: Any?) |
Declaration | |
---|---|
From | func selectLastTabViewItem(_ sender: AnyObject?) |
To | func selectLastTabViewItem(_ sender: Any?) |
Declaration | |
---|---|
From | func selectNextTabViewItem(_ sender: AnyObject?) |
To | func selectNextTabViewItem(_ sender: Any?) |
Declaration | |
---|---|
From | func selectPreviousTabViewItem(_ sender: AnyObject?) |
To | func selectPreviousTabViewItem(_ sender: Any?) |
Modified NSTabView.selectTabViewItem(at: Int)
Declaration | |
---|---|
From | func selectTabViewItemAtIndex(_ index: Int) |
To | func selectTabViewItem(at index: Int) |
Declaration | |
---|---|
From | func selectTabViewItemWithIdentifier(_ identifier: AnyObject) |
To | func selectTabViewItem(withIdentifier identifier: Any) |
Declaration | |
---|---|
From | func tabViewItemAtIndex(_ index: Int) -> NSTabViewItem |
To | func tabViewItem(at index: Int) -> NSTabViewItem |
Declaration | |
---|---|
From | func tabViewItemAtPoint(_ point: NSPoint) -> NSTabViewItem? |
To | func tabViewItem(at point: NSPoint) -> NSTabViewItem? |
Declaration | |
---|---|
From | func takeSelectedTabViewItemFromSender(_ sender: AnyObject?) |
To | func takeSelectedTabViewItemFromSender(_ sender: Any?) |
Modified NSTabViewController
Declaration | Protocols | |
---|---|---|
From | class NSTabViewController : NSViewController, NSTabViewDelegate, NSToolbarDelegate { var tabStyle: NSTabViewControllerTabStyle var tabView: NSTabView var transitionOptions: NSViewControllerTransitionOptions var canPropagateSelectedChildViewControllerTitle: Bool var tabViewItems: [NSTabViewItem] var selectedTabViewItemIndex: Int func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, atIndex index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) func tabViewItemForViewController(_ viewController: NSViewController) -> NSTabViewItem? func viewDidLoad() func tabView(_ tabView: NSTabView, willSelectTabViewItem tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, shouldSelectTabViewItem tabViewItem: NSTabViewItem?) -> Bool func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: String, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String] } | NSTabViewDelegate, NSToolbarDelegate |
To | class NSTabViewController : NSViewController, NSTabViewDelegate, NSToolbarDelegate { var tabStyle: NSTabViewControllerTabStyle var tabView: NSTabView var transitionOptions: NSViewControllerTransitionOptions var canPropagateSelectedChildViewControllerTitle: Bool var tabViewItems: [NSTabViewItem] var selectedTabViewItemIndex: Int func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) func tabViewItem(for viewController: NSViewController) -> NSTabViewItem? func viewDidLoad() func tabView(_ tabView: NSTabView, willSelect tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, didSelect tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, shouldSelect tabViewItem: NSTabViewItem?) -> Bool func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: String, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String] var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTabViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSTabViewController : CVarArg { } extension NSTabViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, NSTabViewDelegate, NSToolbarDelegate |
Declaration | |
---|---|
From | func insertTabViewItem(_ tabViewItem: NSTabViewItem, atIndex index: Int) |
To | func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) |
Declaration | |
---|---|
From | func tabView(_ tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem?) |
To | func tabView(_ tabView: NSTabView, didSelect tabViewItem: NSTabViewItem?) |
Declaration | |
---|---|
From | func tabView(_ tabView: NSTabView, shouldSelectTabViewItem tabViewItem: NSTabViewItem?) -> Bool |
To | func tabView(_ tabView: NSTabView, shouldSelect tabViewItem: NSTabViewItem?) -> Bool |
Declaration | |
---|---|
From | func tabView(_ tabView: NSTabView, willSelectTabViewItem tabViewItem: NSTabViewItem?) |
To | func tabView(_ tabView: NSTabView, willSelect tabViewItem: NSTabViewItem?) |
Declaration | |
---|---|
From | func tabViewItemForViewController(_ viewController: NSViewController) -> NSTabViewItem? |
To | func tabViewItem(for viewController: NSViewController) -> NSTabViewItem? |
Modified NSTabViewControllerTabStyle [enum]
Declaration | |
---|---|
From | enum NSTabViewControllerTabStyle : Int { case SegmentedControlOnTop case SegmentedControlOnBottom case Toolbar case Unspecified } |
To | enum NSTabViewControllerTabStyle : Int { case segmentedControlOnTop case segmentedControlOnBottom case toolbar case unspecified } |
Declaration | |
---|---|
From | case SegmentedControlOnBottom |
To | case segmentedControlOnBottom |
Declaration | |
---|---|
From | case SegmentedControlOnTop |
To | case segmentedControlOnTop |
Modified NSTabViewControllerTabStyle.toolbar
Declaration | |
---|---|
From | case Toolbar |
To | case toolbar |
Declaration | |
---|---|
From | case Unspecified |
To | case unspecified |
Modified NSTabViewDelegate
Declaration | |
---|---|
From | protocol NSTabViewDelegate : NSObjectProtocol { optional func tabView(_ tabView: NSTabView, shouldSelectTabViewItem tabViewItem: NSTabViewItem?) -> Bool optional func tabView(_ tabView: NSTabView, willSelectTabViewItem tabViewItem: NSTabViewItem?) optional func tabView(_ tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem?) optional func tabViewDidChangeNumberOfTabViewItems(_ tabView: NSTabView) } |
To | protocol NSTabViewDelegate : NSObjectProtocol { optional func tabView(_ tabView: NSTabView, shouldSelect tabViewItem: NSTabViewItem?) -> Bool optional func tabView(_ tabView: NSTabView, willSelect tabViewItem: NSTabViewItem?) optional func tabView(_ tabView: NSTabView, didSelect tabViewItem: NSTabViewItem?) optional func tabViewDidChangeNumberOfTabViewItems(_ tabView: NSTabView) } |
Declaration | |
---|---|
From | optional func tabView(_ tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem?) |
To | optional func tabView(_ tabView: NSTabView, didSelect tabViewItem: NSTabViewItem?) |
Declaration | |
---|---|
From | optional func tabView(_ tabView: NSTabView, shouldSelectTabViewItem tabViewItem: NSTabViewItem?) -> Bool |
To | optional func tabView(_ tabView: NSTabView, shouldSelect tabViewItem: NSTabViewItem?) -> Bool |
Declaration | |
---|---|
From | optional func tabView(_ tabView: NSTabView, willSelectTabViewItem tabViewItem: NSTabViewItem?) |
To | optional func tabView(_ tabView: NSTabView, willSelect tabViewItem: NSTabViewItem?) |
Modified NSTabViewItem
Declaration | Protocols | |
---|---|---|
From | class NSTabViewItem : NSObject, NSCoding { convenience init(viewController viewController: NSViewController) class func tabViewItemWithViewController(_ viewController: NSViewController) -> Self init(identifier identifier: AnyObject) var identifier: AnyObject @NSCopying var color: NSColor var label: String var image: NSImage? var view: NSView? var viewController: NSViewController? var tabState: NSTabState { get } var tabView: NSTabView? { get } unowned(unsafe) var initialFirstResponder: NSView? var toolTip: String? func drawLabel(_ shouldTruncateLabel: Bool, inRect labelRect: NSRect) func sizeOfLabel(_ computeMin: Bool) -> NSSize } | NSCoding |
To | class NSTabViewItem : NSObject, NSCoding { convenience init(viewController viewController: NSViewController) class func withViewController(_ viewController: NSViewController) -> Self init(identifier identifier: Any?) var identifier: Any? @NSCopying var color: NSColor var label: String var image: NSImage? var view: NSView? var viewController: NSViewController? var tabState: NSTabState { get } var tabView: NSTabView? { get } unowned(unsafe) var initialFirstResponder: NSView? var toolTip: String? func drawLabel(_ shouldTruncateLabel: Bool, in labelRect: NSRect) func sizeOfLabel(_ computeMin: Bool) -> NSSize func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTabViewItem : CVarArg { } extension NSTabViewItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func drawLabel(_ shouldTruncateLabel: Bool, inRect labelRect: NSRect) |
To | func drawLabel(_ shouldTruncateLabel: Bool, in labelRect: NSRect) |
Modified NSTabViewItem.identifier
Declaration | |
---|---|
From | var identifier: AnyObject |
To | var identifier: Any? |
Modified NSTabViewItem.init(identifier: Any?)
Declaration | |
---|---|
From | init(identifier identifier: AnyObject) |
To | init(identifier identifier: Any?) |
Modified NSTabViewType [enum]
Declaration | |
---|---|
From | enum NSTabViewType : UInt { case TopTabsBezelBorder case LeftTabsBezelBorder case BottomTabsBezelBorder case RightTabsBezelBorder case NoTabsBezelBorder case NoTabsLineBorder case NoTabsNoBorder } |
To | enum NSTabViewType : UInt { case topTabsBezelBorder case leftTabsBezelBorder case bottomTabsBezelBorder case rightTabsBezelBorder case noTabsBezelBorder case noTabsLineBorder case noTabsNoBorder } |
Modified NSTabViewType.bottomTabsBezelBorder
Declaration | |
---|---|
From | case BottomTabsBezelBorder |
To | case bottomTabsBezelBorder |
Modified NSTabViewType.leftTabsBezelBorder
Declaration | |
---|---|
From | case LeftTabsBezelBorder |
To | case leftTabsBezelBorder |
Modified NSTabViewType.noTabsBezelBorder
Declaration | |
---|---|
From | case NoTabsBezelBorder |
To | case noTabsBezelBorder |
Modified NSTabViewType.noTabsLineBorder
Declaration | |
---|---|
From | case NoTabsLineBorder |
To | case noTabsLineBorder |
Modified NSTabViewType.noTabsNoBorder
Declaration | |
---|---|
From | case NoTabsNoBorder |
To | case noTabsNoBorder |
Modified NSTabViewType.rightTabsBezelBorder
Declaration | |
---|---|
From | case RightTabsBezelBorder |
To | case rightTabsBezelBorder |
Modified NSTabViewType.topTabsBezelBorder
Declaration | |
---|---|
From | case TopTabsBezelBorder |
To | case topTabsBezelBorder |
Modified NSText
Declaration | Protocols | |
---|---|---|
From | class NSText : NSView, NSChangeSpelling, NSIgnoreMisspelledWords { init(frame frameRect: NSRect) init?(coder coder: NSCoder) var string: String? func replaceCharactersInRange(_ range: NSRange, withString aString: String) func replaceCharactersInRange(_ range: NSRange, withRTF rtfData: NSData) func replaceCharactersInRange(_ range: NSRange, withRTFD rtfdData: NSData) func RTFFromRange(_ range: NSRange) -> NSData? func RTFDFromRange(_ range: NSRange) -> NSData? func writeRTFDToFile(_ path: String, atomically flag: Bool) -> Bool func readRTFDFromFile(_ path: String) -> Bool unowned(unsafe) var delegate: NSTextDelegate? var editable: Bool var selectable: Bool var richText: Bool var importsGraphics: Bool var fieldEditor: Bool var usesFontPanel: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor? var rulerVisible: Bool { get } var selectedRange: NSRange func scrollRangeToVisible(_ range: NSRange) var font: NSFont? @NSCopying var textColor: NSColor? var alignment: NSTextAlignment var baseWritingDirection: NSWritingDirection func setTextColor(_ color: NSColor?, range range: NSRange) func setFont(_ font: NSFont, range range: NSRange) var maxSize: NSSize var minSize: NSSize var horizontallyResizable: Bool var verticallyResizable: Bool func sizeToFit() func copy(_ sender: AnyObject?) func copyFont(_ sender: AnyObject?) func copyRuler(_ sender: AnyObject?) func cut(_ sender: AnyObject?) func delete(_ sender: AnyObject?) func paste(_ sender: AnyObject?) func pasteFont(_ sender: AnyObject?) func pasteRuler(_ sender: AnyObject?) func selectAll(_ sender: AnyObject?) func changeFont(_ sender: AnyObject?) func alignLeft(_ sender: AnyObject?) func alignRight(_ sender: AnyObject?) func alignCenter(_ sender: AnyObject?) func `subscript`(_ sender: AnyObject?) func superscript(_ sender: AnyObject?) func underline(_ sender: AnyObject?) func unscript(_ sender: AnyObject?) func showGuessPanel(_ sender: AnyObject?) func checkSpelling(_ sender: AnyObject?) func toggleRuler(_ sender: AnyObject?) } | NSChangeSpelling, NSIgnoreMisspelledWords |
To | class NSText : NSView, NSChangeSpelling, NSIgnoreMisspelledWords { init(frame frameRect: NSRect) init?(coder coder: NSCoder) var string: String? func replaceCharacters(in range: NSRange, with string: String) func replaceCharacters(in range: NSRange, withRTF rtfData: Data) func replaceCharacters(in range: NSRange, withRTFD rtfdData: Data) func rtf(from range: NSRange) -> Data? func rtfd(from range: NSRange) -> Data? func writeRTFD(toFile path: String, atomically flag: Bool) -> Bool func readRTFD(fromFile path: String) -> Bool unowned(unsafe) var delegate: NSTextDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var isFieldEditor: Bool var usesFontPanel: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor? var isRulerVisible: Bool { get } var selectedRange: NSRange func scrollRangeToVisible(_ range: NSRange) var font: NSFont? @NSCopying var textColor: NSColor? var alignment: NSTextAlignment var baseWritingDirection: NSWritingDirection func setTextColor(_ color: NSColor?, range range: NSRange) func setFont(_ font: NSFont, range range: NSRange) var maxSize: NSSize var minSize: NSSize var isHorizontallyResizable: Bool var isVerticallyResizable: Bool func sizeToFit() func copy(_ sender: Any?) func copyFont(_ sender: Any?) func copyRuler(_ sender: Any?) func cut(_ sender: Any?) func delete(_ sender: Any?) func paste(_ sender: Any?) func pasteFont(_ sender: Any?) func pasteRuler(_ sender: Any?) func selectAll(_ sender: Any?) func changeFont(_ sender: Any?) func alignLeft(_ sender: Any?) func alignRight(_ sender: Any?) func alignCenter(_ sender: Any?) func `subscript`(_ sender: Any?) func superscript(_ sender: Any?) func underline(_ sender: Any?) func unscript(_ sender: Any?) func showGuessPanel(_ sender: Any?) func checkSpelling(_ sender: Any?) func toggleRuler(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSText : CVarArg { } extension NSText : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSChangeSpelling, NSIgnoreMisspelledWords |
Modified NSText.alignCenter(_: Any?)
Declaration | |
---|---|
From | func alignCenter(_ sender: AnyObject?) |
To | func alignCenter(_ sender: Any?) |
Modified NSText.alignLeft(_: Any?)
Declaration | |
---|---|
From | func alignLeft(_ sender: AnyObject?) |
To | func alignLeft(_ sender: Any?) |
Modified NSText.alignRight(_: Any?)
Declaration | |
---|---|
From | func alignRight(_ sender: AnyObject?) |
To | func alignRight(_ sender: Any?) |
Modified NSText.changeFont(_: Any?)
Declaration | |
---|---|
From | func changeFont(_ sender: AnyObject?) |
To | func changeFont(_ sender: Any?) |
Modified NSText.checkSpelling(_: Any?)
Declaration | |
---|---|
From | func checkSpelling(_ sender: AnyObject?) |
To | func checkSpelling(_ sender: Any?) |
Modified NSText.copy(_: Any?)
Declaration | |
---|---|
From | func copy(_ sender: AnyObject?) |
To | func copy(_ sender: Any?) |
Modified NSText.copyFont(_: Any?)
Declaration | |
---|---|
From | func copyFont(_ sender: AnyObject?) |
To | func copyFont(_ sender: Any?) |
Modified NSText.copyRuler(_: Any?)
Declaration | |
---|---|
From | func copyRuler(_ sender: AnyObject?) |
To | func copyRuler(_ sender: Any?) |
Modified NSText.cut(_: Any?)
Declaration | |
---|---|
From | func cut(_ sender: AnyObject?) |
To | func cut(_ sender: Any?) |
Modified NSText.delete(_: Any?)
Declaration | |
---|---|
From | func delete(_ sender: AnyObject?) |
To | func delete(_ sender: Any?) |
Modified NSText.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Modified NSText.isFieldEditor
Declaration | |
---|---|
From | var fieldEditor: Bool |
To | var isFieldEditor: Bool |
Modified NSText.isHorizontallyResizable
Declaration | |
---|---|
From | var horizontallyResizable: Bool |
To | var isHorizontallyResizable: Bool |
Modified NSText.isRichText
Declaration | |
---|---|
From | var richText: Bool |
To | var isRichText: Bool |
Modified NSText.isRulerVisible
Declaration | |
---|---|
From | var rulerVisible: Bool { get } |
To | var isRulerVisible: Bool { get } |
Modified NSText.isSelectable
Declaration | |
---|---|
From | var selectable: Bool |
To | var isSelectable: Bool |
Modified NSText.isVerticallyResizable
Declaration | |
---|---|
From | var verticallyResizable: Bool |
To | var isVerticallyResizable: Bool |
Modified NSText.paste(_: Any?)
Declaration | |
---|---|
From | func paste(_ sender: AnyObject?) |
To | func paste(_ sender: Any?) |
Modified NSText.pasteFont(_: Any?)
Declaration | |
---|---|
From | func pasteFont(_ sender: AnyObject?) |
To | func pasteFont(_ sender: Any?) |
Modified NSText.pasteRuler(_: Any?)
Declaration | |
---|---|
From | func pasteRuler(_ sender: AnyObject?) |
To | func pasteRuler(_ sender: Any?) |
Declaration | |
---|---|
From | func readRTFDFromFile(_ path: String) -> Bool |
To | func readRTFD(fromFile path: String) -> Bool |
Declaration | |
---|---|
From | func replaceCharactersInRange(_ range: NSRange, withString aString: String) |
To | func replaceCharacters(in range: NSRange, with string: String) |
Declaration | |
---|---|
From | func replaceCharactersInRange(_ range: NSRange, withRTF rtfData: NSData) |
To | func replaceCharacters(in range: NSRange, withRTF rtfData: Data) |
Declaration | |
---|---|
From | func replaceCharactersInRange(_ range: NSRange, withRTFD rtfdData: NSData) |
To | func replaceCharacters(in range: NSRange, withRTFD rtfdData: Data) |
Modified NSText.rtf(from: NSRange) -> Data?
Declaration | |
---|---|
From | func RTFFromRange(_ range: NSRange) -> NSData? |
To | func rtf(from range: NSRange) -> Data? |
Modified NSText.rtfd(from: NSRange) -> Data?
Declaration | |
---|---|
From | func RTFDFromRange(_ range: NSRange) -> NSData? |
To | func rtfd(from range: NSRange) -> Data? |
Modified NSText.selectAll(_: Any?)
Declaration | |
---|---|
From | func selectAll(_ sender: AnyObject?) |
To | func selectAll(_ sender: Any?) |
Modified NSText.showGuessPanel(_: Any?)
Declaration | |
---|---|
From | func showGuessPanel(_ sender: AnyObject?) |
To | func showGuessPanel(_ sender: Any?) |
Modified NSText.subscript(_: Any?)
Declaration | |
---|---|
From | func `subscript`(_ sender: AnyObject?) |
To | func `subscript`(_ sender: Any?) |
Modified NSText.superscript(_: Any?)
Declaration | |
---|---|
From | func superscript(_ sender: AnyObject?) |
To | func superscript(_ sender: Any?) |
Modified NSText.toggleRuler(_: Any?)
Declaration | |
---|---|
From | func toggleRuler(_ sender: AnyObject?) |
To | func toggleRuler(_ sender: Any?) |
Modified NSText.underline(_: Any?)
Declaration | |
---|---|
From | func underline(_ sender: AnyObject?) |
To | func underline(_ sender: Any?) |
Modified NSText.unscript(_: Any?)
Declaration | |
---|---|
From | func unscript(_ sender: AnyObject?) |
To | func unscript(_ sender: Any?) |
Declaration | |
---|---|
From | func writeRTFDToFile(_ path: String, atomically flag: Bool) -> Bool |
To | func writeRTFD(toFile path: String, atomically flag: Bool) -> Bool |
Modified NSTextAlignment [enum]
Declaration | |
---|---|
From | enum NSTextAlignment : UInt { case Left case Right case Center case Justified case Natural } |
To | enum NSTextAlignment : UInt { case left case right case center case justified case natural } |
Modified NSTextAlignment.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified NSTextAlignment.justified
Declaration | |
---|---|
From | case Justified |
To | case justified |
Modified NSTextAlignment.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified NSTextAlignment.natural
Declaration | |
---|---|
From | case Natural |
To | case natural |
Modified NSTextAlignment.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified NSTextAlternatives
Declaration | Protocols | |
---|---|---|
From | class NSTextAlternatives : NSObject { init(primaryString primaryString: String, alternativeStrings alternativeStrings: [String]) var primaryString: String { get } var alternativeStrings: [String] { get } func noteSelectedAlternativeString(_ alternativeString: String) } | -- |
To | class NSTextAlternatives : NSObject { init(primaryString primaryString: String, alternativeStrings alternativeStrings: [String]) var primaryString: String { get } var alternativeStrings: [String] { get } func noteSelectedAlternativeString(_ alternativeString: String) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTextAlternatives : CVarArg { } extension NSTextAlternatives : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSTextAttachment
Declaration | Protocols | |
---|---|---|
From | class NSTextAttachment : NSObject, NSTextAttachmentContainer, NSCoding { init(data contentData: NSData?, ofType uti: String?) convenience init(fileWrapper fileWrapper: NSFileWrapper?) @NSCopying var contents: NSData? var fileType: String? var image: NSImage? var bounds: NSRect var fileWrapper: NSFileWrapper? var attachmentCell: NSTextAttachmentCellProtocol? } | NSCoding, NSTextAttachmentContainer |
To | class NSTextAttachment : NSObject, NSTextAttachmentContainer, NSCoding { init(data contentData: Data?, ofType uti: String?) convenience init(fileWrapper fileWrapper: FileWrapper?) var contents: Data? var fileType: String? var image: NSImage? var bounds: NSRect var fileWrapper: FileWrapper? var attachmentCell: NSTextAttachmentCellProtocol? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTextAttachment : CVarArg { } extension NSTextAttachment : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSTextAttachmentContainer |
Modified NSTextAttachment.contents
Declaration | |
---|---|
From | @NSCopying var contents: NSData? |
To | var contents: Data? |
Modified NSTextAttachment.fileWrapper
Declaration | |
---|---|
From | var fileWrapper: NSFileWrapper? |
To | var fileWrapper: FileWrapper? |
Declaration | |
---|---|
From | init(data contentData: NSData?, ofType uti: String?) |
To | init(data contentData: Data?, ofType uti: String?) |
Declaration | |
---|---|
From | convenience init(fileWrapper fileWrapper: NSFileWrapper?) |
To | convenience init(fileWrapper fileWrapper: FileWrapper?) |
Modified NSTextAttachmentCell
Declaration | Protocols | |
---|---|---|
From | class NSTextAttachmentCell : NSCell, NSTextAttachmentCellProtocol { } | NSTextAttachmentCellProtocol |
To | class NSTextAttachmentCell : NSCell, NSTextAttachmentCellProtocol { func entryType() -> Int func setEntryType(_ type: Int) func isEntryAcceptable(_ string: String) -> Bool func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) func setMnemonicLocation(_ location: Int) func mnemonicLocation() -> Int func mnemonic() -> String func setTitleWithMnemonic(_ stringWithAmpersand: String) var backgroundStyle: NSBackgroundStyle var interiorBackgroundStyle: NSBackgroundStyle { get } func expansionFrame(withFrame cellFrame: NSRect, in view: NSView) -> NSRect func draw(withExpansionFrame cellFrame: NSRect, in view: NSView) func hitTest(for event: NSEvent, in cellFrame: NSRect, of controlView: NSView) -> NSCellHitResult var allowsMixedState: Bool var nextState: Int { get } func setNextState() @NSCopying var attributedStringValue: NSAttributedString var allowsEditingTextAttributes: Bool var importsGraphics: Bool var refusesFirstResponder: Bool var acceptsFirstResponder: Bool { get } var showsFirstResponder: Bool func performClick(_ sender: Any?) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask(withFrame cellFrame: NSRect, in controlView: NSView) func focusRingMaskBounds(forFrame cellFrame: NSRect, in controlView: NSView) -> NSRect var wantsNotificationForMarkedText: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTextAttachmentCell : CVarArg { } extension NSTextAttachmentCell : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTextAttachmentCellProtocol |
Modified NSTextAttachmentCellProtocol
Declaration | |
---|---|
From | protocol NSTextAttachmentCellProtocol : NSObjectProtocol { func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?) func wantsToTrackMouse() -> Bool func highlight(_ flag: Bool, withFrame cellFrame: NSRect, inView controlView: NSView?) func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, untilMouseUp flag: Bool) -> Bool func cellSize() -> NSSize func cellBaselineOffset() -> NSPoint unowned(unsafe) var attachment: NSTextAttachment? { get set } func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?, characterIndex charIndex: Int) func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?, characterIndex charIndex: Int, layoutManager layoutManager: NSLayoutManager) func wantsToTrackMouseForEvent(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, atCharacterIndex charIndex: Int) -> Bool func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, atCharacterIndex charIndex: Int, untilMouseUp flag: Bool) -> Bool func cellFrameForTextContainer(_ textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect } |
To | protocol NSTextAttachmentCellProtocol : NSObjectProtocol { func draw(withFrame cellFrame: NSRect, in controlView: NSView?) func wantsToTrackMouse() -> Bool func highlight(_ flag: Bool, withFrame cellFrame: NSRect, in controlView: NSView?) func trackMouse(with theEvent: NSEvent, in cellFrame: NSRect, of controlView: NSView?, untilMouseUp flag: Bool) -> Bool func cellSize() -> NSSize func cellBaselineOffset() -> NSPoint unowned(unsafe) var attachment: NSTextAttachment? { get set } func draw(withFrame cellFrame: NSRect, in controlView: NSView?, characterIndex charIndex: Int) func draw(withFrame cellFrame: NSRect, in controlView: NSView?, characterIndex charIndex: Int, layoutManager layoutManager: NSLayoutManager) func wantsToTrackMouse(for theEvent: NSEvent, in cellFrame: NSRect, of controlView: NSView?, atCharacterIndex charIndex: Int) -> Bool func trackMouse(with theEvent: NSEvent, in cellFrame: NSRect, of controlView: NSView?, atCharacterIndex charIndex: Int, untilMouseUp flag: Bool) -> Bool func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect } |
Declaration | |
---|---|
From | func cellFrameForTextContainer(_ textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect |
To | func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect |
Declaration | |
---|---|
From | func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?) |
To | func draw(withFrame cellFrame: NSRect, in controlView: NSView?) |
Declaration | |
---|---|
From | func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?, characterIndex charIndex: Int) |
To | func draw(withFrame cellFrame: NSRect, in controlView: NSView?, characterIndex charIndex: Int) |
Declaration | |
---|---|
From | func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?, characterIndex charIndex: Int, layoutManager layoutManager: NSLayoutManager) |
To | func draw(withFrame cellFrame: NSRect, in controlView: NSView?, characterIndex charIndex: Int, layoutManager layoutManager: NSLayoutManager) |
Declaration | |
---|---|
From | func highlight(_ flag: Bool, withFrame cellFrame: NSRect, inView controlView: NSView?) |
To | func highlight(_ flag: Bool, withFrame cellFrame: NSRect, in controlView: NSView?) |
Declaration | |
---|---|
From | func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, atCharacterIndex charIndex: Int, untilMouseUp flag: Bool) -> Bool |
To | func trackMouse(with theEvent: NSEvent, in cellFrame: NSRect, of controlView: NSView?, atCharacterIndex charIndex: Int, untilMouseUp flag: Bool) -> Bool |
Declaration | |
---|---|
From | func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, untilMouseUp flag: Bool) -> Bool |
To | func trackMouse(with theEvent: NSEvent, in cellFrame: NSRect, of controlView: NSView?, untilMouseUp flag: Bool) -> Bool |
Declaration | |
---|---|
From | func wantsToTrackMouseForEvent(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, atCharacterIndex charIndex: Int) -> Bool |
To | func wantsToTrackMouse(for theEvent: NSEvent, in cellFrame: NSRect, of controlView: NSView?, atCharacterIndex charIndex: Int) -> Bool |
Modified NSTextAttachmentContainer
Declaration | |
---|---|
From | protocol NSTextAttachmentContainer : NSObjectProtocol { func imageForBounds(_ imageBounds: NSRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NSImage? func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer?, proposedLineFragment lineFrag: NSRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> NSRect } |
To | protocol NSTextAttachmentContainer : NSObjectProtocol { func image(forBounds imageBounds: NSRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NSImage? func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: NSRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> NSRect } |
Declaration | |
---|---|
From | func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer?, proposedLineFragment lineFrag: NSRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> NSRect |
To | func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: NSRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> NSRect |
Declaration | |
---|---|
From | func imageForBounds(_ imageBounds: NSRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NSImage? |
To | func image(forBounds imageBounds: NSRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NSImage? |
Modified NSTextBlock
Declaration | Protocols | |
---|---|---|
From | class NSTextBlock : NSObject, NSCoding, NSCopying { init() func setValue(_ val: CGFloat, type type: NSTextBlockValueType, forDimension dimension: NSTextBlockDimension) func valueForDimension(_ dimension: NSTextBlockDimension) -> CGFloat func valueTypeForDimension(_ dimension: NSTextBlockDimension) -> NSTextBlockValueType func setContentWidth(_ val: CGFloat, type type: NSTextBlockValueType) var contentWidth: CGFloat { get } var contentWidthValueType: NSTextBlockValueType { get } func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, forLayer layer: NSTextBlockLayer, edge edge: NSRectEdge) func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, forLayer layer: NSTextBlockLayer) func widthForLayer(_ layer: NSTextBlockLayer, edge edge: NSRectEdge) -> CGFloat func widthValueTypeForLayer(_ layer: NSTextBlockLayer, edge edge: NSRectEdge) -> NSTextBlockValueType var verticalAlignment: NSTextBlockVerticalAlignment @NSCopying var backgroundColor: NSColor? func setBorderColor(_ color: NSColor?, forEdge edge: NSRectEdge) func setBorderColor(_ color: NSColor?) func borderColorForEdge(_ edge: NSRectEdge) -> NSColor? func rectForLayoutAtPoint(_ startingPoint: NSPoint, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func boundsRectForContentRect(_ contentRect: NSRect, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func drawBackgroundWithFrame(_ frameRect: NSRect, inView controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) } | NSCoding, NSCopying |
To | class NSTextBlock : NSObject, NSCoding, NSCopying { init() func setValue(_ val: CGFloat, type type: NSTextBlockValueType, for dimension: NSTextBlockDimension) func value(for dimension: NSTextBlockDimension) -> CGFloat func valueType(for dimension: NSTextBlockDimension) -> NSTextBlockValueType func setContentWidth(_ val: CGFloat, type type: NSTextBlockValueType) var contentWidth: CGFloat { get } var contentWidthValueType: NSTextBlockValueType { get } func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, for layer: NSTextBlockLayer, edge edge: NSRectEdge) func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, for layer: NSTextBlockLayer) func width(for layer: NSTextBlockLayer, edge edge: NSRectEdge) -> CGFloat func widthValueType(for layer: NSTextBlockLayer, edge edge: NSRectEdge) -> NSTextBlockValueType var verticalAlignment: NSTextBlockVerticalAlignment @NSCopying var backgroundColor: NSColor? func setBorderColor(_ color: NSColor?, for edge: NSRectEdge) func setBorderColor(_ color: NSColor?) func borderColor(for edge: NSRectEdge) -> NSColor? func rectForLayout(at startingPoint: NSPoint, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func boundsRect(forContentRect contentRect: NSRect, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func drawBackground(withFrame frameRect: NSRect, in controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTextBlock : CVarArg { } extension NSTextBlock : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func borderColorForEdge(_ edge: NSRectEdge) -> NSColor? |
To | func borderColor(for edge: NSRectEdge) -> NSColor? |
Declaration | |
---|---|
From | func boundsRectForContentRect(_ contentRect: NSRect, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
To | func boundsRect(forContentRect contentRect: NSRect, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
Declaration | |
---|---|
From | func drawBackgroundWithFrame(_ frameRect: NSRect, inView controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) |
To | func drawBackground(withFrame frameRect: NSRect, in controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) |
Declaration | |
---|---|
From | func rectForLayoutAtPoint(_ startingPoint: NSPoint, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
To | func rectForLayout(at startingPoint: NSPoint, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
Declaration | |
---|---|
From | func setBorderColor(_ color: NSColor?, forEdge edge: NSRectEdge) |
To | func setBorderColor(_ color: NSColor?, for edge: NSRectEdge) |
Declaration | |
---|---|
From | func setValue(_ val: CGFloat, type type: NSTextBlockValueType, forDimension dimension: NSTextBlockDimension) |
To | func setValue(_ val: CGFloat, type type: NSTextBlockValueType, for dimension: NSTextBlockDimension) |
Declaration | |
---|---|
From | func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, forLayer layer: NSTextBlockLayer) |
To | func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, for layer: NSTextBlockLayer) |
Declaration | |
---|---|
From | func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, forLayer layer: NSTextBlockLayer, edge edge: NSRectEdge) |
To | func setWidth(_ val: CGFloat, type type: NSTextBlockValueType, for layer: NSTextBlockLayer, edge edge: NSRectEdge) |
Declaration | |
---|---|
From | func valueForDimension(_ dimension: NSTextBlockDimension) -> CGFloat |
To | func value(for dimension: NSTextBlockDimension) -> CGFloat |
Declaration | |
---|---|
From | func valueTypeForDimension(_ dimension: NSTextBlockDimension) -> NSTextBlockValueType |
To | func valueType(for dimension: NSTextBlockDimension) -> NSTextBlockValueType |
Declaration | |
---|---|
From | func widthForLayer(_ layer: NSTextBlockLayer, edge edge: NSRectEdge) -> CGFloat |
To | func width(for layer: NSTextBlockLayer, edge edge: NSRectEdge) -> CGFloat |
Modified NSTextBlock.widthValueType(for: NSTextBlockLayer, edge: NSRectEdge) -> NSTextBlockValueType
Declaration | |
---|---|
From | func widthValueTypeForLayer(_ layer: NSTextBlockLayer, edge edge: NSRectEdge) -> NSTextBlockValueType |
To | func widthValueType(for layer: NSTextBlockLayer, edge edge: NSRectEdge) -> NSTextBlockValueType |
Modified NSTextBlockDimension [enum]
Declaration | |
---|---|
From | enum NSTextBlockDimension : UInt { case Width case MinimumWidth case MaximumWidth case Height case MinimumHeight case MaximumHeight } |
To | enum NSTextBlockDimension : UInt { case width case minimumWidth case maximumWidth case height case minimumHeight case maximumHeight } |
Modified NSTextBlockDimension.height
Declaration | |
---|---|
From | case Height |
To | case height |
Modified NSTextBlockDimension.maximumHeight
Declaration | |
---|---|
From | case MaximumHeight |
To | case maximumHeight |
Modified NSTextBlockDimension.maximumWidth
Declaration | |
---|---|
From | case MaximumWidth |
To | case maximumWidth |
Modified NSTextBlockDimension.minimumHeight
Declaration | |
---|---|
From | case MinimumHeight |
To | case minimumHeight |
Modified NSTextBlockDimension.minimumWidth
Declaration | |
---|---|
From | case MinimumWidth |
To | case minimumWidth |
Modified NSTextBlockDimension.width
Declaration | |
---|---|
From | case Width |
To | case width |
Modified NSTextBlockLayer [enum]
Declaration | |
---|---|
From | enum NSTextBlockLayer : Int { case Padding case Border case Margin } |
To | enum NSTextBlockLayer : Int { case padding case border case margin } |
Modified NSTextBlockLayer.border
Declaration | |
---|---|
From | case Border |
To | case border |
Modified NSTextBlockLayer.margin
Declaration | |
---|---|
From | case Margin |
To | case margin |
Modified NSTextBlockLayer.padding
Declaration | |
---|---|
From | case Padding |
To | case padding |
Modified NSTextBlockValueType [enum]
Declaration | |
---|---|
From | enum NSTextBlockValueType : UInt { case AbsoluteValueType case PercentageValueType } |
To | enum NSTextBlockValueType : UInt { case absoluteValueType case percentageValueType } |
Declaration | |
---|---|
From | case AbsoluteValueType |
To | case absoluteValueType |
Declaration | |
---|---|
From | case PercentageValueType |
To | case percentageValueType |
Modified NSTextBlockVerticalAlignment [enum]
Declaration | |
---|---|
From | enum NSTextBlockVerticalAlignment : UInt { case TopAlignment case MiddleAlignment case BottomAlignment case BaselineAlignment } |
To | enum NSTextBlockVerticalAlignment : UInt { case topAlignment case middleAlignment case bottomAlignment case baselineAlignment } |
Declaration | |
---|---|
From | case BaselineAlignment |
To | case baselineAlignment |
Declaration | |
---|---|
From | case BottomAlignment |
To | case bottomAlignment |
Declaration | |
---|---|
From | case MiddleAlignment |
To | case middleAlignment |
Declaration | |
---|---|
From | case TopAlignment |
To | case topAlignment |
Modified NSTextContainer
Declaration | Protocols | |
---|---|---|
From | class NSTextContainer : NSObject, NSCoding, NSTextLayoutOrientationProvider { init(size size: NSSize) init(coder coder: NSCoder) unowned(unsafe) var layoutManager: NSLayoutManager? func replaceLayoutManager(_ newLayoutManager: NSLayoutManager) var size: NSSize var exclusionPaths: [NSBezierPath] var lineBreakMode: NSLineBreakMode var lineFragmentPadding: CGFloat var maximumNumberOfLines: Int func lineFragmentRectForProposedRect(_ proposedRect: NSRect, atIndex characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remainingRect remainingRect: UnsafeMutablePointer<NSRect>) -> NSRect var simpleRectangularTextContainer: Bool { get } var widthTracksTextView: Bool var heightTracksTextView: Bool var textView: NSTextView? } extension NSTextContainer { convenience init(containerSize aContainerSize: NSSize) var containerSize: NSSize func lineFragmentRectForProposedRect(_ proposedRect: NSRect, sweepDirection sweepDirection: NSLineSweepDirection, movementDirection movementDirection: NSLineMovementDirection, remainingRect remainingRect: NSRectPointer) -> NSRect func containsPoint(_ point: NSPoint) -> Bool } | NSCoding, NSTextLayoutOrientationProvider |
To | class NSTextContainer : NSObject, NSCoding, NSTextLayoutOrientationProvider { init(size size: NSSize) init(coder coder: NSCoder) unowned(unsafe) var layoutManager: NSLayoutManager? func replaceLayoutManager(_ newLayoutManager: NSLayoutManager) var size: NSSize var exclusionPaths: [NSBezierPath] var lineBreakMode: NSLineBreakMode var lineFragmentPadding: CGFloat var maximumNumberOfLines: Int func lineFragmentRect(forProposedRect proposedRect: NSRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<NSRect>?) -> NSRect var isSimpleRectangularTextContainer: Bool { get } var widthTracksTextView: Bool var heightTracksTextView: Bool weak var textView: NSTextView? convenience init(containerSize aContainerSize: NSSize) var containerSize: NSSize func lineFragmentRect(forProposedRect proposedRect: NSRect, sweepDirection sweepDirection: NSLineSweepDirection, movementDirection movementDirection: NSLineMovementDirection, remaining remainingRect: NSRectPointer?) -> NSRect func contains(_ point: NSPoint) -> Bool func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSTextContainer : CVarArg { } extension NSTextContainer : Equatable, Hashable { var hashValue: Int { get } } extension NSTextContainer { convenience init(containerSize aContainerSize: NSSize) var containerSize: NSSize func lineFragmentRect(forProposedRect proposedRect: NSRect, sweepDirection sweepDirection: NSLineSweepDirection, movementDirection movementDirection: NSLineMovementDirection, remaining remainingRect: NSRectPointer?) -> NSRect func contains(_ point: NSPoint) -> Bool } | CVarArg, Equatable, Hashable, NSCoding, NSTextLayoutOrientationProvider |
Declaration | |
---|---|
From | func containsPoint(_ point: NSPoint) -> Bool |
To | func contains(_ point: NSPoint) -> Bool |
Declaration | |
---|---|
From | var simpleRectangularTextContainer: Bool { get } |
To | var isSimpleRectangularTextContainer: Bool { get } |
Declaration | |
---|---|
From | func lineFragmentRectForProposedRect(_ proposedRect: NSRect, atIndex characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remainingRect remainingRect: UnsafeMutablePointer<NSRect>) -> NSRect |
To | func lineFragmentRect(forProposedRect proposedRect: NSRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<NSRect>?) -> NSRect |
Declaration | |
---|---|
From | func lineFragmentRectForProposedRect(_ proposedRect: NSRect, sweepDirection sweepDirection: NSLineSweepDirection, movementDirection movementDirection: NSLineMovementDirection, remainingRect remainingRect: NSRectPointer) -> NSRect |
To | func lineFragmentRect(forProposedRect proposedRect: NSRect, sweepDirection sweepDirection: NSLineSweepDirection, movementDirection movementDirection: NSLineMovementDirection, remaining remainingRect: NSRectPointer?) -> NSRect |
Modified NSTextContainer.textView
Declaration | |
---|---|
From | var textView: NSTextView? |
To | weak var textView: NSTextView? |
Modified NSTextDelegate
Declaration | |
---|---|
From | protocol NSTextDelegate : NSObjectProtocol { optional func textShouldBeginEditing(_ textObject: NSText) -> Bool optional func textShouldEndEditing(_ textObject: NSText) -> Bool optional func textDidBeginEditing(_ notification: NSNotification) optional func textDidEndEditing(_ notification: NSNotification) optional func textDidChange(_ notification: NSNotification) } |
To | protocol NSTextDelegate : NSObjectProtocol { optional func textShouldBeginEditing(_ textObject: NSText) -> Bool optional func textShouldEndEditing(_ textObject: NSText) -> Bool optional func textDidBeginEditing(_ notification: Notification) optional func textDidEndEditing(_ notification: Notification) optional func textDidChange(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func textDidBeginEditing(_ notification: NSNotification) |
To | optional func textDidBeginEditing(_ notification: Notification) |
Declaration | |
---|---|
From | optional func textDidChange(_ notification: NSNotification) |
To | optional func textDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | optional func textDidEndEditing(_ notification: NSNotification) |
To | optional func textDidEndEditing(_ notification: Notification) |
Modified NSTextField
Declaration | Protocols | |
---|---|---|
From | class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText { var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? @NSCopying var backgroundColor: NSColor? var drawsBackground: Bool @NSCopying var textColor: NSColor? var bordered: Bool var bezeled: Bool var editable: Bool var selectable: Bool func selectText(_ sender: AnyObject?) unowned(unsafe) var delegate: NSTextFieldDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: NSNotification) func textDidEndEditing(_ notification: NSNotification) func textDidChange(_ notification: NSNotification) var acceptsFirstResponder: Bool { get } var bezelStyle: NSTextFieldBezelStyle var preferredMaxLayoutWidth: CGFloat var maximumNumberOfLines: Int var allowsDefaultTighteningForTruncation: Bool } extension NSTextField { var allowsEditingTextAttributes: Bool var importsGraphics: Bool } extension NSTextField { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | NSAccessibilityNavigableStaticText, NSUserInterfaceValidations |
To | class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText { var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? @NSCopying var backgroundColor: NSColor? var drawsBackground: Bool @NSCopying var textColor: NSColor? var isBordered: Bool var isBezeled: Bool var isEditable: Bool var isSelectable: Bool func selectText(_ sender: Any?) unowned(unsafe) var delegate: NSTextFieldDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) var acceptsFirstResponder: Bool { get } var bezelStyle: NSTextFieldBezelStyle var preferredMaxLayoutWidth: CGFloat var maximumNumberOfLines: Int var allowsDefaultTighteningForTruncation: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self var allowsEditingTextAttributes: Bool var importsGraphics: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) } extension NSTextField : CVarArg { } extension NSTextField : Equatable, Hashable { var hashValue: Int { get } } extension NSTextField { convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self } extension NSTextField { var allowsEditingTextAttributes: Bool var importsGraphics: Bool } extension NSTextField { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable, NSAccessibilityNavigableStaticText, NSUserInterfaceValidations |
Modified NSTextField.isBezeled
Declaration | |
---|---|
From | var bezeled: Bool |
To | var isBezeled: Bool |
Modified NSTextField.isBordered
Declaration | |
---|---|
From | var bordered: Bool |
To | var isBordered: Bool |
Modified NSTextField.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Modified NSTextField.isSelectable
Declaration | |
---|---|
From | var selectable: Bool |
To | var isSelectable: Bool |
Modified NSTextField.selectText(_: Any?)
Declaration | |
---|---|
From | func selectText(_ sender: AnyObject?) |
To | func selectText(_ sender: Any?) |
Declaration | |
---|---|
From | func textDidBeginEditing(_ notification: NSNotification) |
To | func textDidBeginEditing(_ notification: Notification) |
Declaration | |
---|---|
From | func textDidChange(_ notification: NSNotification) |
To | func textDidChange(_ notification: Notification) |
Declaration | |
---|---|
From | func textDidEndEditing(_ notification: NSNotification) |
To | func textDidEndEditing(_ notification: Notification) |
Modified NSTextFieldBezelStyle [enum]
Declaration | |
---|---|
From | enum NSTextFieldBezelStyle : UInt { case SquareBezel case RoundedBezel } |
To | enum NSTextFieldBezelStyle : UInt { case squareBezel case roundedBezel } |
Modified NSTextFieldBezelStyle.roundedBezel
Declaration | |
---|---|
From | case RoundedBezel |
To | case roundedBezel |
Modified NSTextFieldBezelStyle.squareBezel
Declaration | |
---|---|
From | case SquareBezel |
To | case squareBezel |
Modified NSTextFieldCell
Declaration | |
---|---|
From | class NSTextFieldCell : NSActionCell { @NSCopying var backgroundColor: NSColor? var drawsBackground: Bool @NSCopying var textColor: NSColor? func setUpFieldEditorAttributes(_ textObj: NSText) -> NSText var bezelStyle: NSTextFieldBezelStyle var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? func setWantsNotificationForMarkedText(_ flag: Bool) var allowedInputSourceLocales: [String]? } |
To | class NSTextFieldCell : NSActionCell { init(textCell string: String) init(coder coder: NSCoder) convenience init(imageCell image: NSImage?) @NSCopying var backgroundColor: NSColor? var drawsBackground: Bool @NSCopying var textColor: NSColor? func setUpFieldEditorAttributes(_ textObj: NSText) -> NSText var bezelStyle: NSTextFieldBezelStyle var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? func setWantsNotificationForMarkedText(_ flag: Bool) var allowedInputSourceLocales: [String]? } |
Modified NSTextFinder
Declaration | Protocols | |
---|---|---|
From | class NSTextFinder : NSObject, NSCoding { init() @IBOutlet unowned(unsafe) var client: NSTextFinderClient? func performAction(_ op: NSTextFinderAction) func validateAction(_ op: NSTextFinderAction) -> Bool @IBOutlet unowned(unsafe) var findBarContainer: NSTextFinderBarContainer? func cancelFindIndicator() var findIndicatorNeedsUpdate: Bool var incrementalSearchingEnabled: Bool var incrementalSearchingShouldDimContentView: Bool var incrementalMatchRanges: [NSValue] { get } class func drawIncrementalMatchHighlightInRect(_ rect: NSRect) func noteClientStringWillChange() } | NSCoding |
To | class NSTextFinder : NSObject, NSCoding { init() init(coder decoder: NSCoder) @IBOutlet unowned(unsafe) var client: NSTextFinderClient? func performAction(_ op: NSTextFinderAction) func validateAction(_ op: NSTextFinderAction) -> Bool @IBOutlet unowned(unsafe) var findBarContainer: NSTextFinderBarContainer? func cancelFindIndicator() var findIndicatorNeedsUpdate: Bool var isIncrementalSearchingEnabled: Bool var incrementalSearchingShouldDimContentView: Bool var incrementalMatchRanges: [NSValue] { get } class func drawIncrementalMatchHighlight(in rect: NSRect) func noteClientStringWillChange() func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTextFinder : CVarArg { } extension NSTextFinder : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | class func drawIncrementalMatchHighlightInRect(_ rect: NSRect) |
To | class func drawIncrementalMatchHighlight(in rect: NSRect) |
Declaration | |
---|---|
From | var incrementalSearchingEnabled: Bool |
To | var isIncrementalSearchingEnabled: Bool |
Modified NSTextFinderAction [enum]
Declaration | |
---|---|
From | enum NSTextFinderAction : Int { case ShowFindInterface case NextMatch case PreviousMatch case ReplaceAll case Replace case ReplaceAndFind case SetSearchString case ReplaceAllInSelection case SelectAll case SelectAllInSelection case HideFindInterface case ShowReplaceInterface case HideReplaceInterface } |
To | enum NSTextFinderAction : Int { case showFindInterface case nextMatch case previousMatch case replaceAll case replace case replaceAndFind case setSearchString case replaceAllInSelection case selectAll case selectAllInSelection case hideFindInterface case showReplaceInterface case hideReplaceInterface } |
Modified NSTextFinderAction.hideFindInterface
Declaration | |
---|---|
From | case HideFindInterface |
To | case hideFindInterface |
Declaration | |
---|---|
From | case HideReplaceInterface |
To | case hideReplaceInterface |
Modified NSTextFinderAction.nextMatch
Declaration | |
---|---|
From | case NextMatch |
To | case nextMatch |
Modified NSTextFinderAction.previousMatch
Declaration | |
---|---|
From | case PreviousMatch |
To | case previousMatch |
Modified NSTextFinderAction.replace
Declaration | |
---|---|
From | case Replace |
To | case replace |
Modified NSTextFinderAction.replaceAll
Declaration | |
---|---|
From | case ReplaceAll |
To | case replaceAll |
Declaration | |
---|---|
From | case ReplaceAllInSelection |
To | case replaceAllInSelection |
Modified NSTextFinderAction.replaceAndFind
Declaration | |
---|---|
From | case ReplaceAndFind |
To | case replaceAndFind |
Modified NSTextFinderAction.selectAll
Declaration | |
---|---|
From | case SelectAll |
To | case selectAll |
Declaration | |
---|---|
From | case SelectAllInSelection |
To | case selectAllInSelection |
Modified NSTextFinderAction.setSearchString
Declaration | |
---|---|
From | case SetSearchString |
To | case setSearchString |
Modified NSTextFinderAction.showFindInterface
Declaration | |
---|---|
From | case ShowFindInterface |
To | case showFindInterface |
Declaration | |
---|---|
From | case ShowReplaceInterface |
To | case showReplaceInterface |
Modified NSTextFinderBarContainer
Declaration | |
---|---|
From | protocol NSTextFinderBarContainer : NSObjectProtocol { var findBarView: NSView? { get set } var findBarVisible: Bool { get set } func findBarViewDidChangeHeight() optional func contentView() -> NSView? } |
To | protocol NSTextFinderBarContainer : NSObjectProtocol { var findBarView: NSView? { get set } var isFindBarVisible: Bool { get set } func findBarViewDidChangeHeight() optional func contentView() -> NSView? } |
Declaration | |
---|---|
From | var findBarVisible: Bool { get set } |
To | var isFindBarVisible: Bool { get set } |
Modified NSTextFinderClient
Declaration | |
---|---|
From | protocol NSTextFinderClient : NSObjectProtocol { optional var selectable: Bool { get } optional var allowsMultipleSelection: Bool { get } optional var editable: Bool { get } optional var string: String { get } optional func stringAtIndex(_ characterIndex: Int, effectiveRange outRange: NSRangePointer, endsWithSearchBoundary outFlag: UnsafeMutablePointer<ObjCBool>) -> String optional func stringLength() -> Int optional var firstSelectedRange: NSRange { get } optional var selectedRanges: [NSValue] { get set } optional func scrollRangeToVisible(_ range: NSRange) optional func shouldReplaceCharactersInRanges(_ ranges: [NSValue], withStrings strings: [String]) -> Bool optional func replaceCharactersInRange(_ range: NSRange, withString string: String) optional func didReplaceCharacters() optional func contentViewAtIndex(_ index: Int, effectiveCharacterRange outRange: NSRangePointer) -> NSView optional func rectsForCharacterRange(_ range: NSRange) -> [NSValue]? optional var visibleCharacterRanges: [NSValue] { get } optional func drawCharactersInRange(_ range: NSRange, forContentView view: NSView) } |
To | protocol NSTextFinderClient : NSObjectProtocol { optional var isSelectable: Bool { get } optional var allowsMultipleSelection: Bool { get } optional var isEditable: Bool { get } optional var string: String { get } optional func string(at characterIndex: Int, effectiveRange outRange: NSRangePointer, endsWithSearchBoundary outFlag: UnsafeMutablePointer<ObjCBool>) -> String optional func stringLength() -> Int optional var firstSelectedRange: NSRange { get } optional var selectedRanges: [NSValue] { get set } optional func scrollRangeToVisible(_ range: NSRange) optional func shouldReplaceCharacters(inRanges ranges: [NSValue], with strings: [String]) -> Bool optional func replaceCharacters(in range: NSRange, with string: String) optional func didReplaceCharacters() optional func contentView(at index: Int, effectiveCharacterRange outRange: NSRangePointer) -> NSView optional func rects(forCharacterRange range: NSRange) -> [NSValue]? optional var visibleCharacterRanges: [NSValue] { get } optional func drawCharacters(in range: NSRange, forContentView view: NSView) } |
Declaration | |
---|---|
From | optional func contentViewAtIndex(_ index: Int, effectiveCharacterRange outRange: NSRangePointer) -> NSView |
To | optional func contentView(at index: Int, effectiveCharacterRange outRange: NSRangePointer) -> NSView |
Declaration | |
---|---|
From | optional func drawCharactersInRange(_ range: NSRange, forContentView view: NSView) |
To | optional func drawCharacters(in range: NSRange, forContentView view: NSView) |
Modified NSTextFinderClient.isEditable
Declaration | |
---|---|
From | optional var editable: Bool { get } |
To | optional var isEditable: Bool { get } |
Modified NSTextFinderClient.isSelectable
Declaration | |
---|---|
From | optional var selectable: Bool { get } |
To | optional var isSelectable: Bool { get } |
Declaration | |
---|---|
From | optional func rectsForCharacterRange(_ range: NSRange) -> [NSValue]? |
To | optional func rects(forCharacterRange range: NSRange) -> [NSValue]? |
Declaration | |
---|---|
From | optional func replaceCharactersInRange(_ range: NSRange, withString string: String) |
To | optional func replaceCharacters(in range: NSRange, with string: String) |
Declaration | |
---|---|
From | optional func shouldReplaceCharactersInRanges(_ ranges: [NSValue], withStrings strings: [String]) -> Bool |
To | optional func shouldReplaceCharacters(inRanges ranges: [NSValue], with strings: [String]) -> Bool |
Declaration | |
---|---|
From | optional func stringAtIndex(_ characterIndex: Int, effectiveRange outRange: NSRangePointer, endsWithSearchBoundary outFlag: UnsafeMutablePointer<ObjCBool>) -> String |
To | optional func string(at characterIndex: Int, effectiveRange outRange: NSRangePointer, endsWithSearchBoundary outFlag: UnsafeMutablePointer<ObjCBool>) -> String |
Modified NSTextFinderMatchingType [enum]
Declaration | |
---|---|
From | enum NSTextFinderMatchingType : Int { case Contains case StartsWith case FullWord case EndsWith } |
To | enum NSTextFinderMatchingType : Int { case contains case startsWith case fullWord case endsWith } |
Modified NSTextFinderMatchingType.contains
Declaration | |
---|---|
From | case Contains |
To | case contains |
Modified NSTextFinderMatchingType.endsWith
Declaration | |
---|---|
From | case EndsWith |
To | case endsWith |
Modified NSTextFinderMatchingType.fullWord
Declaration | |
---|---|
From | case FullWord |
To | case fullWord |
Modified NSTextFinderMatchingType.startsWith
Declaration | |
---|---|
From | case StartsWith |
To | case startsWith |
Modified NSTextInput
Declaration | |
---|---|
From | protocol NSTextInput { func insertText(_ aString: AnyObject!) func doCommandBySelector(_ aSelector: Selector) func setMarkedText(_ aString: AnyObject!, selectedRange selRange: NSRange) func unmarkText() func hasMarkedText() -> Bool func conversationIdentifier() -> Int func attributedSubstringFromRange(_ theRange: NSRange) -> NSAttributedString! func markedRange() -> NSRange func selectedRange() -> NSRange func firstRectForCharacterRange(_ theRange: NSRange) -> NSRect func characterIndexForPoint(_ thePoint: NSPoint) -> Int func validAttributesForMarkedText() -> [AnyObject]! } |
To | protocol NSTextInput { func insertText(_ string: Any!) func doCommand(by selector: Selector!) func setMarkedText(_ string: Any!, selectedRange selRange: NSRange) func unmarkText() func hasMarkedText() -> Bool func conversationIdentifier() -> Int func attributedSubstring(from range: NSRange) -> NSAttributedString! func markedRange() -> NSRange func selectedRange() -> NSRange func firstRect(forCharacterRange range: NSRange) -> NSRect func characterIndex(for point: NSPoint) -> Int func validAttributesForMarkedText() -> [Any]! } |
Modified NSTextInputClient
Declaration | |
---|---|
From | protocol NSTextInputClient { func insertText(_ aString: AnyObject, replacementRange replacementRange: NSRange) func doCommandBySelector(_ aSelector: Selector) func setMarkedText(_ aString: AnyObject, selectedRange selectedRange: NSRange, replacementRange replacementRange: NSRange) func unmarkText() func selectedRange() -> NSRange func markedRange() -> NSRange func hasMarkedText() -> Bool func attributedSubstringForProposedRange(_ aRange: NSRange, actualRange actualRange: NSRangePointer) -> NSAttributedString? func validAttributesForMarkedText() -> [String] func firstRectForCharacterRange(_ aRange: NSRange, actualRange actualRange: NSRangePointer) -> NSRect func characterIndexForPoint(_ aPoint: NSPoint) -> Int optional func attributedString() -> NSAttributedString optional func fractionOfDistanceThroughGlyphForPoint(_ aPoint: NSPoint) -> CGFloat optional func baselineDeltaForCharacterAtIndex(_ anIndex: Int) -> CGFloat optional func windowLevel() -> Int optional func drawsVerticallyForCharacterAtIndex(_ charIndex: Int) -> Bool } |
To | protocol NSTextInputClient { func insertText(_ string: Any, replacementRange replacementRange: NSRange) func doCommand(by selector: Selector) func setMarkedText(_ string: Any, selectedRange selectedRange: NSRange, replacementRange replacementRange: NSRange) func unmarkText() func selectedRange() -> NSRange func markedRange() -> NSRange func hasMarkedText() -> Bool func attributedSubstring(forProposedRange range: NSRange, actualRange actualRange: NSRangePointer?) -> NSAttributedString? func validAttributesForMarkedText() -> [String] func firstRect(forCharacterRange range: NSRange, actualRange actualRange: NSRangePointer?) -> NSRect func characterIndex(for point: NSPoint) -> Int optional func attributedString() -> NSAttributedString optional func fractionOfDistanceThroughGlyph(for point: NSPoint) -> CGFloat optional func baselineDeltaForCharacter(at anIndex: Int) -> CGFloat optional func windowLevel() -> Int optional func drawsVerticallyForCharacter(at charIndex: Int) -> Bool } |
Declaration | |
---|---|
From | func attributedSubstringForProposedRange(_ aRange: NSRange, actualRange actualRange: NSRangePointer) -> NSAttributedString? |
To | func attributedSubstring(forProposedRange range: NSRange, actualRange actualRange: NSRangePointer?) -> NSAttributedString? |
Declaration | |
---|---|
From | optional func baselineDeltaForCharacterAtIndex(_ anIndex: Int) -> CGFloat |
To | optional func baselineDeltaForCharacter(at anIndex: Int) -> CGFloat |
Declaration | |
---|---|
From | func characterIndexForPoint(_ aPoint: NSPoint) -> Int |
To | func characterIndex(for point: NSPoint) -> Int |
Declaration | |
---|---|
From | func doCommandBySelector(_ aSelector: Selector) |
To | func doCommand(by selector: Selector) |
Declaration | |
---|---|
From | optional func drawsVerticallyForCharacterAtIndex(_ charIndex: Int) -> Bool |
To | optional func drawsVerticallyForCharacter(at charIndex: Int) -> Bool |
Modified NSTextInputClient.firstRect(forCharacterRange: NSRange, actualRange: NSRangePointer?) -> NSRect
Declaration | |
---|---|
From | func firstRectForCharacterRange(_ aRange: NSRange, actualRange actualRange: NSRangePointer) -> NSRect |
To | func firstRect(forCharacterRange range: NSRange, actualRange actualRange: NSRangePointer?) -> NSRect |
Declaration | |
---|---|
From | optional func fractionOfDistanceThroughGlyphForPoint(_ aPoint: NSPoint) -> CGFloat |
To | optional func fractionOfDistanceThroughGlyph(for point: NSPoint) -> CGFloat |
Declaration | |
---|---|
From | func insertText(_ aString: AnyObject, replacementRange replacementRange: NSRange) |
To | func insertText(_ string: Any, replacementRange replacementRange: NSRange) |
Declaration | |
---|---|
From | func setMarkedText(_ aString: AnyObject, selectedRange selectedRange: NSRange, replacementRange replacementRange: NSRange) |
To | func setMarkedText(_ string: Any, selectedRange selectedRange: NSRange, replacementRange replacementRange: NSRange) |
Modified NSTextInputContext
Declaration | Protocols | |
---|---|---|
From | class NSTextInputContext : NSObject { class func currentInputContext() -> NSTextInputContext? init(client theClient: NSTextInputClient) var client: NSTextInputClient { get } var acceptsGlyphInfo: Bool var allowedInputSourceLocales: [String]? func activate() func deactivate() func handleEvent(_ theEvent: NSEvent) -> Bool func discardMarkedText() func invalidateCharacterCoordinates() var keyboardInputSources: [String]? { get } var selectedKeyboardInputSource: String? class func localizedNameForInputSource(_ inputSourceIdentifier: String) -> String? } | -- |
To | class NSTextInputContext : NSObject { class func current() -> NSTextInputContext? init(client client: NSTextInputClient) convenience init() var client: NSTextInputClient { get } var acceptsGlyphInfo: Bool var allowedInputSourceLocales: [String]? func activate() func deactivate() func handleEvent(_ event: NSEvent) -> Bool func discardMarkedText() func invalidateCharacterCoordinates() var keyboardInputSources: [String]? { get } var selectedKeyboardInputSource: String? class func localizedName(forInputSource inputSourceIdentifier: String) -> String? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTextInputContext : CVarArg { } extension NSTextInputContext : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func currentInputContext() -> NSTextInputContext? |
To | class func current() -> NSTextInputContext? |
Declaration | |
---|---|
From | class func localizedNameForInputSource(_ inputSourceIdentifier: String) -> String? |
To | class func localizedName(forInputSource inputSourceIdentifier: String) -> String? |
Modified NSTextLayoutOrientation [enum]
Declaration | |
---|---|
From | enum NSTextLayoutOrientation : Int { case Horizontal case Vertical } |
To | enum NSTextLayoutOrientation : Int { case horizontal case vertical } |
Modified NSTextLayoutOrientation.horizontal
Declaration | |
---|---|
From | case Horizontal |
To | case horizontal |
Modified NSTextLayoutOrientation.vertical
Declaration | |
---|---|
From | case Vertical |
To | case vertical |
Modified NSTextList
Declaration | Protocols | |
---|---|---|
From | class NSTextList : NSObject, NSCoding, NSCopying { init(markerFormat format: String, options mask: Int) var markerFormat: String { get } var listOptions: NSTextListOptions { get } func markerForItemNumber(_ itemNum: Int) -> String var startingItemNumber: Int } | NSCoding, NSCopying |
To | class NSTextList : NSObject, NSCoding, NSCopying { init(markerFormat format: String, options mask: Int) var markerFormat: String { get } var listOptions: NSTextListOptions { get } func marker(forItemNumber itemNum: Int) -> String var startingItemNumber: Int func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTextList : CVarArg { } extension NSTextList : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func markerForItemNumber(_ itemNum: Int) -> String |
To | func marker(forItemNumber itemNum: Int) -> String |
Modified NSTextListOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTextListOptions : OptionSetType { init(rawValue rawValue: UInt) static var PrependEnclosingMarker: NSTextListOptions { get } } | OptionSetType |
To | struct NSTextListOptions : OptionSet { init(rawValue rawValue: UInt) static var prependEnclosingMarker: NSTextListOptions { get } func intersect(_ other: NSTextListOptions) -> NSTextListOptions func exclusiveOr(_ other: NSTextListOptions) -> NSTextListOptions mutating func unionInPlace(_ other: NSTextListOptions) mutating func intersectInPlace(_ other: NSTextListOptions) mutating func exclusiveOrInPlace(_ other: NSTextListOptions) func isSubsetOf(_ other: NSTextListOptions) -> Bool func isDisjointWith(_ other: NSTextListOptions) -> Bool func isSupersetOf(_ other: NSTextListOptions) -> Bool mutating func subtractInPlace(_ other: NSTextListOptions) func isStrictSupersetOf(_ other: NSTextListOptions) -> Bool func isStrictSubsetOf(_ other: NSTextListOptions) -> Bool } extension NSTextListOptions { func union(_ other: NSTextListOptions) -> NSTextListOptions func intersection(_ other: NSTextListOptions) -> NSTextListOptions func symmetricDifference(_ other: NSTextListOptions) -> NSTextListOptions } extension NSTextListOptions { func contains(_ member: NSTextListOptions) -> Bool mutating func insert(_ newMember: NSTextListOptions) -> (inserted: Bool, memberAfterInsert: NSTextListOptions) mutating func remove(_ member: NSTextListOptions) -> NSTextListOptions? mutating func update(with newMember: NSTextListOptions) -> NSTextListOptions? } extension NSTextListOptions { convenience init() mutating func formUnion(_ other: NSTextListOptions) mutating func formIntersection(_ other: NSTextListOptions) mutating func formSymmetricDifference(_ other: NSTextListOptions) } extension NSTextListOptions { convenience init<S : Sequence where S.Iterator.Element == NSTextListOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTextListOptions...) mutating func subtract(_ other: NSTextListOptions) func isSubset(of other: NSTextListOptions) -> Bool func isSuperset(of other: NSTextListOptions) -> Bool func isDisjoint(with other: NSTextListOptions) -> Bool func subtracting(_ other: NSTextListOptions) -> NSTextListOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSTextListOptions) -> Bool func isStrictSubset(of other: NSTextListOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var PrependEnclosingMarker: NSTextListOptions { get } |
To | static var prependEnclosingMarker: NSTextListOptions { get } |
Modified NSTextStorage
Declaration | Protocols | |
---|---|---|
From | class NSTextStorage : NSMutableAttributedString { var layoutManagers: [NSLayoutManager] { get } func addLayoutManager(_ aLayoutManager: NSLayoutManager) func removeLayoutManager(_ aLayoutManager: NSLayoutManager) var editedMask: NSTextStorageEditActions { get } var editedRange: NSRange { get } var changeInLength: Int { get } unowned(unsafe) var delegate: NSTextStorageDelegate? func edited(_ editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int) func processEditing() var fixesAttributesLazily: Bool { get } func invalidateAttributesInRange(_ range: NSRange) func ensureAttributesAreFixedInRange(_ range: NSRange) } extension NSTextStorage { var attributeRuns: [NSTextStorage] var paragraphs: [NSTextStorage] var words: [NSTextStorage] var characters: [NSTextStorage] var font: NSFont? var foregroundColor: NSColor? } | -- |
To | class NSTextStorage : NSMutableAttributedString { var layoutManagers: [NSLayoutManager] { get } func addLayoutManager(_ aLayoutManager: NSLayoutManager) func removeLayoutManager(_ aLayoutManager: NSLayoutManager) var editedMask: NSTextStorageEditActions { get } var editedRange: NSRange { get } var changeInLength: Int { get } unowned(unsafe) var delegate: NSTextStorageDelegate? func edited(_ editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int) func processEditing() var fixesAttributesLazily: Bool { get } func invalidateAttributes(in range: NSRange) func ensureAttributesAreFixed(in range: NSRange) var attributeRuns: [NSTextStorage] var paragraphs: [NSTextStorage] var words: [NSTextStorage] var characters: [NSTextStorage] var font: NSFont? var foregroundColor: NSColor? func read(from url: URL, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool func read(from data: Data, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool func superscriptRange(_ range: NSRange) func subscriptRange(_ range: NSRange) func unscriptRange(_ range: NSRange) func applyFontTraits(_ traitMask: NSFontTraitMask, range range: NSRange) func setAlignment(_ alignment: NSTextAlignment, range range: NSRange) func setBaseWritingDirection(_ writingDirection: NSWritingDirection, range range: NSRange) func read(from url: URL, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?, error error: ()) throws func read(from data: Data, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?, error error: ()) throws func fixAttributes(in range: NSRange) func fixFontAttribute(in range: NSRange) func fixParagraphStyleAttribute(in range: NSRange) func fixAttachmentAttribute(in range: NSRange) var mutableString: NSMutableString { get } func addAttribute(_ name: String, value value: Any, range range: NSRange) func addAttributes(_ attrs: [String : Any] = [:], range range: NSRange) func removeAttribute(_ name: String, range range: NSRange) func replaceCharacters(in range: NSRange, with attrString: NSAttributedString) func insert(_ attrString: NSAttributedString, at loc: Int) func append(_ attrString: NSAttributedString) func deleteCharacters(in range: NSRange) func setAttributedString(_ attrString: NSAttributedString) func beginEditing() func endEditing() func draw(with rect: NSRect, options options: NSStringDrawingOptions = []) func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = []) -> NSRect func draw(with rect: NSRect, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) -> NSRect func size() -> NSSize func draw(at point: NSPoint) func draw(in rect: NSRect) init(attachment attachment: NSTextAttachment) class func withAttachment(_ attachment: NSTextAttachment) -> NSAttributedString var containsAttachments: Bool { get } class func textFileTypes() -> [Any] class func textPasteboardTypes() -> [Any] class func textUnfilteredFileTypes() -> [Any] class func textUnfilteredPasteboardTypes() -> [Any] init?(url url: URL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) init?(path path: String, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) func url(at location: Int, effectiveRange effectiveRange: NSRangePointer) -> URL? func fontAttributes(in range: NSRange) -> [String : Any] func rulerAttributes(in range: NSRange) -> [String : Any] func containsAttachments(in range: NSRange) -> Bool func lineBreak(before location: Int, within aRange: NSRange) -> Int func lineBreakByHyphenating(before location: Int, within aRange: NSRange) -> Int func doubleClick(at location: Int) -> NSRange func nextWord(from location: Int, forward isForward: Bool) -> Int func range(of block: NSTextBlock, at location: Int) -> NSRange func range(of table: NSTextTable, at location: Int) -> NSRange func range(of list: NSTextList, at location: Int) -> NSRange func itemNumber(in list: NSTextList, at location: Int) -> Int init(url url: URL, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws init(data data: Data, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws func data(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> Data func fileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> FileWrapper init?(rtf data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) init?(rtfd data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) init?(html data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) init?(html data: Data, baseURL base: URL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) init?(docFormat data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) init?(html data: Data, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) init?(rtfdFileWrapper wrapper: FileWrapper, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) func rtf(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data? func rtfd(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data? func rtfdFileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> FileWrapper? func docFormat(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data? var length: Int { get } func attribute(_ attrName: String, at location: Int, effectiveRange range: NSRangePointer?) -> Any? func attributedSubstring(from range: NSRange) -> NSAttributedString func attributes(at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any] func attribute(_ attrName: String, at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any? func isEqual(to other: NSAttributedString) -> Bool init(string str: String) init(string str: String, attributes attrs: [String : Any]? = nil) init(attributedString attrStr: NSAttributedString) func enumerateAttributes(in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: ([String : Any], NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateAttribute(_ attrName: String, in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: (Any?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) struct EnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var reverse: NSAttributedString.EnumerationOptions { get } static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { get } } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func updateAttachments(fromPath path: String) func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String } extension NSTextStorage : CVarArg { } extension NSTextStorage : NSPasteboardReading, NSPasteboardWriting { class func textTypes() -> [String] class func textUnfilteredTypes() -> [String] } extension NSTextStorage : Equatable, Hashable { var hashValue: Int { get } } extension NSTextStorage { var attributeRuns: [NSTextStorage] var paragraphs: [NSTextStorage] var words: [NSTextStorage] var characters: [NSTextStorage] var font: NSFont? var foregroundColor: NSColor? } | CVarArg, Equatable, Hashable, NSPasteboardReading, NSPasteboardWriting |
Declaration | |
---|---|
From | func ensureAttributesAreFixedInRange(_ range: NSRange) |
To | func ensureAttributesAreFixed(in range: NSRange) |
Declaration | |
---|---|
From | func invalidateAttributesInRange(_ range: NSRange) |
To | func invalidateAttributes(in range: NSRange) |
Modified NSTextStorageEditActions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTextStorageEditActions : OptionSetType { init(rawValue rawValue: UInt) static var EditedAttributes: NSTextStorageEditActions { get } static var EditedCharacters: NSTextStorageEditActions { get } } | OptionSetType |
To | struct NSTextStorageEditActions : OptionSet { init(rawValue rawValue: UInt) static var editedAttributes: NSTextStorageEditActions { get } static var editedCharacters: NSTextStorageEditActions { get } func intersect(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions func exclusiveOr(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions mutating func unionInPlace(_ other: NSTextStorageEditActions) mutating func intersectInPlace(_ other: NSTextStorageEditActions) mutating func exclusiveOrInPlace(_ other: NSTextStorageEditActions) func isSubsetOf(_ other: NSTextStorageEditActions) -> Bool func isDisjointWith(_ other: NSTextStorageEditActions) -> Bool func isSupersetOf(_ other: NSTextStorageEditActions) -> Bool mutating func subtractInPlace(_ other: NSTextStorageEditActions) func isStrictSupersetOf(_ other: NSTextStorageEditActions) -> Bool func isStrictSubsetOf(_ other: NSTextStorageEditActions) -> Bool } extension NSTextStorageEditActions { func union(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions func intersection(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions func symmetricDifference(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions } extension NSTextStorageEditActions { func contains(_ member: NSTextStorageEditActions) -> Bool mutating func insert(_ newMember: NSTextStorageEditActions) -> (inserted: Bool, memberAfterInsert: NSTextStorageEditActions) mutating func remove(_ member: NSTextStorageEditActions) -> NSTextStorageEditActions? mutating func update(with newMember: NSTextStorageEditActions) -> NSTextStorageEditActions? } extension NSTextStorageEditActions { convenience init() mutating func formUnion(_ other: NSTextStorageEditActions) mutating func formIntersection(_ other: NSTextStorageEditActions) mutating func formSymmetricDifference(_ other: NSTextStorageEditActions) } extension NSTextStorageEditActions { convenience init<S : Sequence where S.Iterator.Element == NSTextStorageEditActions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTextStorageEditActions...) mutating func subtract(_ other: NSTextStorageEditActions) func isSubset(of other: NSTextStorageEditActions) -> Bool func isSuperset(of other: NSTextStorageEditActions) -> Bool func isDisjoint(with other: NSTextStorageEditActions) -> Bool func subtracting(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions var isEmpty: Bool { get } func isStrictSuperset(of other: NSTextStorageEditActions) -> Bool func isStrictSubset(of other: NSTextStorageEditActions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var EditedAttributes: NSTextStorageEditActions { get } |
To | static var editedAttributes: NSTextStorageEditActions { get } |
Declaration | |
---|---|
From | static var EditedCharacters: NSTextStorageEditActions { get } |
To | static var editedCharacters: NSTextStorageEditActions { get } |
Modified NSTextTab
Declaration | Protocols | |
---|---|---|
From | class NSTextTab : NSObject, NSCopying, NSCoding { class func columnTerminatorsForLocale(_ aLocale: NSLocale?) -> NSCharacterSet init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : AnyObject]) var alignment: NSTextAlignment { get } var location: CGFloat { get } var options: [String : AnyObject] { get } } extension NSTextTab { convenience init(type type: NSTextTabType, location loc: CGFloat) var tabStopType: NSTextTabType { get } } | NSCoding, NSCopying |
To | class NSTextTab : NSObject, NSCopying, NSCoding, NSSecureCoding { class func columnTerminators(for aLocale: Locale?) -> CharacterSet init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : Any] = [:]) var alignment: NSTextAlignment { get } var location: CGFloat { get } var options: [String : Any] { get } convenience init(type type: NSTextTabType, location loc: CGFloat) var tabStopType: NSTextTabType { get } func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSTextTab : CVarArg { } extension NSTextTab : Equatable, Hashable { var hashValue: Int { get } } extension NSTextTab { convenience init(type type: NSTextTabType, location loc: CGFloat) var tabStopType: NSTextTabType { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | class func columnTerminatorsForLocale(_ aLocale: NSLocale?) -> NSCharacterSet |
To | class func columnTerminators(for aLocale: Locale?) -> CharacterSet |
Declaration | |
---|---|
From | init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : AnyObject]) |
To | init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : Any] = [:]) |
Modified NSTextTab.options
Declaration | |
---|---|
From | var options: [String : AnyObject] { get } |
To | var options: [String : Any] { get } |
Modified NSTextTable
Declaration | |
---|---|
From | class NSTextTable : NSTextBlock { var numberOfColumns: Int var layoutAlgorithm: NSTextTableLayoutAlgorithm var collapsesBorders: Bool var hidesEmptyCells: Bool func rectForBlock(_ block: NSTextTableBlock, layoutAtPoint startingPoint: NSPoint, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func boundsRectForBlock(_ block: NSTextTableBlock, contentRect contentRect: NSRect, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func drawBackgroundForBlock(_ block: NSTextTableBlock, withFrame frameRect: NSRect, inView controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) } |
To | class NSTextTable : NSTextBlock { var numberOfColumns: Int var layoutAlgorithm: NSTextTableLayoutAlgorithm var collapsesBorders: Bool var hidesEmptyCells: Bool func rect(for block: NSTextTableBlock, layoutAt startingPoint: NSPoint, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func boundsRect(for block: NSTextTableBlock, contentRect contentRect: NSRect, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect func drawBackground(for block: NSTextTableBlock, withFrame frameRect: NSRect, in controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) } |
Declaration | |
---|---|
From | func boundsRectForBlock(_ block: NSTextTableBlock, contentRect contentRect: NSRect, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
To | func boundsRect(for block: NSTextTableBlock, contentRect contentRect: NSRect, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
Declaration | |
---|---|
From | func drawBackgroundForBlock(_ block: NSTextTableBlock, withFrame frameRect: NSRect, inView controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) |
To | func drawBackground(for block: NSTextTableBlock, withFrame frameRect: NSRect, in controlView: NSView, characterRange charRange: NSRange, layoutManager layoutManager: NSLayoutManager) |
Declaration | |
---|---|
From | func rectForBlock(_ block: NSTextTableBlock, layoutAtPoint startingPoint: NSPoint, inRect rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
To | func rect(for block: NSTextTableBlock, layoutAt startingPoint: NSPoint, in rect: NSRect, textContainer textContainer: NSTextContainer, characterRange charRange: NSRange) -> NSRect |
Modified NSTextTableLayoutAlgorithm [enum]
Declaration | |
---|---|
From | enum NSTextTableLayoutAlgorithm : UInt { case AutomaticLayoutAlgorithm case FixedLayoutAlgorithm } |
To | enum NSTextTableLayoutAlgorithm : UInt { case automaticLayoutAlgorithm case fixedLayoutAlgorithm } |
Declaration | |
---|---|
From | case AutomaticLayoutAlgorithm |
To | case automaticLayoutAlgorithm |
Declaration | |
---|---|
From | case FixedLayoutAlgorithm |
To | case fixedLayoutAlgorithm |
Modified NSTextTabType [enum]
Declaration | |
---|---|
From | enum NSTextTabType : UInt { case LeftTabStopType case RightTabStopType case CenterTabStopType case DecimalTabStopType } |
To | enum NSTextTabType : UInt { case leftTabStopType case rightTabStopType case centerTabStopType case decimalTabStopType } |
Modified NSTextTabType.centerTabStopType
Declaration | |
---|---|
From | case CenterTabStopType |
To | case centerTabStopType |
Modified NSTextTabType.decimalTabStopType
Declaration | |
---|---|
From | case DecimalTabStopType |
To | case decimalTabStopType |
Modified NSTextTabType.leftTabStopType
Declaration | |
---|---|
From | case LeftTabStopType |
To | case leftTabStopType |
Modified NSTextTabType.rightTabStopType
Declaration | |
---|---|
From | case RightTabStopType |
To | case rightTabStopType |
Modified NSTextView
Declaration | |
---|---|
From | class NSTextView : NSText, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSTextInput, NSAccessibilityNavigableStaticText { init(frame frameRect: NSRect, textContainer container: NSTextContainer?) init?(coder coder: NSCoder) convenience init(frame frameRect: NSRect) unowned(unsafe) var textContainer: NSTextContainer? func replaceTextContainer(_ newContainer: NSTextContainer) var textContainerInset: NSSize var textContainerOrigin: NSPoint { get } func invalidateTextContainerOrigin() unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var textStorage: NSTextStorage? { get } func insertText(_ insertString: AnyObject) func setConstrainedFrameSize(_ desiredSize: NSSize) func setAlignment(_ alignment: NSTextAlignment, range range: NSRange) func setBaseWritingDirection(_ writingDirection: NSWritingDirection, range range: NSRange) func turnOffKerning(_ sender: AnyObject?) func tightenKerning(_ sender: AnyObject?) func loosenKerning(_ sender: AnyObject?) func useStandardKerning(_ sender: AnyObject?) func turnOffLigatures(_ sender: AnyObject?) func useStandardLigatures(_ sender: AnyObject?) func useAllLigatures(_ sender: AnyObject?) func raiseBaseline(_ sender: AnyObject?) func lowerBaseline(_ sender: AnyObject?) func toggleTraditionalCharacterShape(_ sender: AnyObject?) func outline(_ sender: AnyObject?) func performFindPanelAction(_ sender: AnyObject?) func alignJustified(_ sender: AnyObject?) func changeColor(_ sender: AnyObject?) func changeAttributes(_ sender: AnyObject?) func changeDocumentBackgroundColor(_ sender: AnyObject?) func orderFrontSpacingPanel(_ sender: AnyObject?) func orderFrontLinkPanel(_ sender: AnyObject?) func orderFrontListPanel(_ sender: AnyObject?) func orderFrontTablePanel(_ sender: AnyObject?) func rulerView(_ ruler: NSRulerView, didMoveMarker marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didRemoveMarker marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didAddMarker marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldMoveMarker marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, shouldAddMarker marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMoveMarker marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, shouldRemoveMarker marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAddMarker marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, handleMouseDown event: NSEvent) func setNeedsDisplayInRect(_ rect: NSRect, avoidAdditionalLayout flag: Bool) var shouldDrawInsertionPoint: Bool { get } func drawInsertionPointInRect(_ rect: NSRect, color color: NSColor, turnedOn flag: Bool) func drawViewBackgroundInRect(_ rect: NSRect) func updateRuler() func updateFontPanel() func updateDragTypeRegistration() func selectionRangeForProposedRange(_ proposedCharRange: NSRange, granularity granularity: NSSelectionGranularity) -> NSRange func clickedOnLink(_ link: AnyObject, atIndex charIndex: Int) func startSpeaking(_ sender: AnyObject?) func stopSpeaking(_ sender: AnyObject?) func setLayoutOrientation(_ theOrientation: NSTextLayoutOrientation) func changeLayoutOrientation(_ sender: AnyObject?) func characterIndexForInsertionAtPoint(_ point: NSPoint) -> Int } extension NSTextView { func complete(_ sender: AnyObject?) var rangeForUserCompletion: NSRange { get } func completionsForPartialWordRange(_ charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool) } extension NSTextView { var writablePasteboardTypes: [String] { get } func writeSelectionToPasteboard(_ pboard: NSPasteboard, type type: String) -> Bool func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [String]) -> Bool var readablePasteboardTypes: [String] { get } func preferredPasteboardTypeFromArray(_ availableTypes: [String], restrictedToTypesFromArray allowedTypes: [String]?) -> String? func readSelectionFromPasteboard(_ pboard: NSPasteboard, type type: String) -> Bool func readSelectionFromPasteboard(_ pboard: NSPasteboard) -> Bool class func registerForServices() func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? func pasteAsPlainText(_ sender: AnyObject?) func pasteAsRichText(_ sender: AnyObject?) } extension NSTextView { func dragSelectionWithEvent(_ event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool func dragImageForSelectionWithEvent(_ event: NSEvent, origin origin: NSPointPointer) -> NSImage? var acceptableDragTypes: [String] { get } func dragOperationForDraggingInfo(_ dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation func cleanUpAfterDragOperation() } extension NSTextView { var selectedRanges: [NSValue] func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) func setSelectedRange(_ charRange: NSRange, affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) var selectionAffinity: NSSelectionAffinity { get } var selectionGranularity: NSSelectionGranularity var selectedTextAttributes: [String : AnyObject] @NSCopying var insertionPointColor: NSColor func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool) var markedTextAttributes: [String : AnyObject]? var linkTextAttributes: [String : AnyObject]? var displaysLinkToolTips: Bool var acceptsGlyphInfo: Bool var usesRuler: Bool var usesInspectorBar: Bool var continuousSpellCheckingEnabled: Bool func toggleContinuousSpellChecking(_ sender: AnyObject?) var spellCheckerDocumentTag: Int { get } var grammarCheckingEnabled: Bool func toggleGrammarChecking(_ sender: AnyObject?) func setSpellingState(_ value: Int, range charRange: NSRange) var typingAttributes: [String : AnyObject] func shouldChangeTextInRanges(_ affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool var rangesForUserTextChange: [NSValue]? { get } var rangesForUserCharacterAttributeChange: [NSValue]? { get } var rangesForUserParagraphAttributeChange: [NSValue]? { get } func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool func didChangeText() var rangeForUserTextChange: NSRange { get } var rangeForUserCharacterAttributeChange: NSRange { get } var rangeForUserParagraphAttributeChange: NSRange { get } var allowsDocumentBackgroundColorChange: Bool @NSCopying var defaultParagraphStyle: NSParagraphStyle? var allowsUndo: Bool func breakUndoCoalescing() var coalescingUndo: Bool { get } var allowsImageEditing: Bool func showFindIndicatorForRange(_ charRange: NSRange) var usesRolloverButtonForSelection: Bool unowned(unsafe) var delegate: NSTextViewDelegate? var editable: Bool var selectable: Bool var richText: Bool var importsGraphics: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor var fieldEditor: Bool var usesFontPanel: Bool var rulerVisible: Bool func setSelectedRange(_ charRange: NSRange) var allowedInputSourceLocales: [String]? } extension NSTextView { var smartInsertDeleteEnabled: Bool func smartDeleteRangeForProposedRange(_ proposedCharRange: NSRange) -> NSRange func toggleSmartInsertDelete(_ sender: AnyObject?) func smartInsertForString(_ pasteString: String, replacingRange charRangeToReplace: NSRange, beforeString beforeString: AutoreleasingUnsafeMutablePointer<NSString?>, afterString afterString: AutoreleasingUnsafeMutablePointer<NSString?>) func smartInsertBeforeStringForString(_ pasteString: String, replacingRange charRangeToReplace: NSRange) -> String? func smartInsertAfterStringForString(_ pasteString: String, replacingRange charRangeToReplace: NSRange) -> String? var automaticQuoteSubstitutionEnabled: Bool func toggleAutomaticQuoteSubstitution(_ sender: AnyObject?) var automaticLinkDetectionEnabled: Bool func toggleAutomaticLinkDetection(_ sender: AnyObject?) var automaticDataDetectionEnabled: Bool func toggleAutomaticDataDetection(_ sender: AnyObject?) var automaticDashSubstitutionEnabled: Bool func toggleAutomaticDashSubstitution(_ sender: AnyObject?) var automaticTextReplacementEnabled: Bool func toggleAutomaticTextReplacement(_ sender: AnyObject?) var automaticSpellingCorrectionEnabled: Bool func toggleAutomaticSpellingCorrection(_ sender: AnyObject?) var enabledTextCheckingTypes: NSTextCheckingTypes func checkTextInRange(_ range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]) func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject], orthography orthography: NSOrthography, wordCount wordCount: Int) func orderFrontSubstitutionsPanel(_ sender: AnyObject?) func checkTextInSelection(_ sender: AnyObject?) func checkTextInDocument(_ sender: AnyObject?) var usesFindPanel: Bool var usesFindBar: Bool var incrementalSearchingEnabled: Bool } extension NSTextView { @IBAction func toggleQuickLookPreviewPanel(_ sender: AnyObject?) func quickLookPreviewableItemsInRanges(_ ranges: [NSValue]) -> [AnyObject]? func updateQuickLookPreviewPanel() } extension NSTextView { @IBAction func orderFrontSharingServicePicker(_ sender: AnyObject?) } extension NSTextView { func toggleBaseWritingDirection(_ sender: AnyObject?) } |
To | class NSTextView : NSText, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSTextInput, NSAccessibilityNavigableStaticText { init(frame frameRect: NSRect, textContainer container: NSTextContainer?) init?(coder coder: NSCoder) init(frame frameRect: NSRect) unowned(unsafe) var textContainer: NSTextContainer? func replaceTextContainer(_ newContainer: NSTextContainer) var textContainerInset: NSSize var textContainerOrigin: NSPoint { get } func invalidateTextContainerOrigin() unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var textStorage: NSTextStorage? { get } func insertText(_ insertString: Any) func setConstrainedFrameSize(_ desiredSize: NSSize) func setAlignment(_ alignment: NSTextAlignment, range range: NSRange) func setBaseWritingDirection(_ writingDirection: NSWritingDirection, range range: NSRange) func turnOffKerning(_ sender: Any?) func tightenKerning(_ sender: Any?) func loosenKerning(_ sender: Any?) func useStandardKerning(_ sender: Any?) func turnOffLigatures(_ sender: Any?) func useStandardLigatures(_ sender: Any?) func useAllLigatures(_ sender: Any?) func raiseBaseline(_ sender: Any?) func lowerBaseline(_ sender: Any?) func toggleTraditionalCharacterShape(_ sender: Any?) func outline(_ sender: Any?) func performFindPanelAction(_ sender: Any?) func alignJustified(_ sender: Any?) func changeColor(_ sender: Any?) func changeAttributes(_ sender: Any?) func changeDocumentBackgroundColor(_ sender: Any?) func orderFrontSpacingPanel(_ sender: Any?) func orderFrontLinkPanel(_ sender: Any?) func orderFrontListPanel(_ sender: Any?) func orderFrontTablePanel(_ sender: Any?) func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func setNeedsDisplay(_ rect: NSRect, avoidAdditionalLayout flag: Bool) var shouldDrawInsertionPoint: Bool { get } func drawInsertionPoint(in rect: NSRect, color color: NSColor, turnedOn flag: Bool) func drawBackground(in rect: NSRect) func updateRuler() func updateFontPanel() func updateDragTypeRegistration() func selectionRange(forProposedRange proposedCharRange: NSRange, granularity granularity: NSSelectionGranularity) -> NSRange func clicked(onLink link: Any, at charIndex: Int) func startSpeaking(_ sender: Any?) func stopSpeaking(_ sender: Any?) func setLayoutOrientation(_ orientation: NSTextLayoutOrientation) func changeLayoutOrientation(_ sender: Any?) func characterIndexForInsertion(at point: NSPoint) -> Int class var stronglyReferencesTextStorage: Bool { get } func toggleBaseWritingDirection(_ sender: Any?) @IBAction func orderFrontSharingServicePicker(_ sender: Any?) @IBAction func toggleQuickLookPreviewPanel(_ sender: Any?) func updateQuickLookPreviewPanel() var smartInsertDeleteEnabled: Bool func smartDeleteRange(forProposedRange proposedCharRange: NSRange) -> NSRange func toggleSmartInsertDelete(_ sender: Any?) func smartInsert(for pasteString: String, replacing charRangeToReplace: NSRange, before beforeString: AutoreleasingUnsafeMutablePointer<NSString?>?, after afterString: AutoreleasingUnsafeMutablePointer<NSString?>?) func smartInsert(beforeStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? func smartInsert(afterStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? var isAutomaticQuoteSubstitutionEnabled: Bool func toggleAutomaticQuoteSubstitution(_ sender: Any?) var isAutomaticLinkDetectionEnabled: Bool func toggleAutomaticLinkDetection(_ sender: Any?) var isAutomaticDataDetectionEnabled: Bool func toggleAutomaticDataDetection(_ sender: Any?) var isAutomaticDashSubstitutionEnabled: Bool func toggleAutomaticDashSubstitution(_ sender: Any?) var isAutomaticTextReplacementEnabled: Bool func toggleAutomaticTextReplacement(_ sender: Any?) var isAutomaticSpellingCorrectionEnabled: Bool func toggleAutomaticSpellingCorrection(_ sender: Any?) var enabledTextCheckingTypes: NSTextCheckingTypes func checkText(in range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:]) func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], orthography orthography: NSOrthography, wordCount wordCount: Int) func orderFrontSubstitutionsPanel(_ sender: Any?) func checkTextInSelection(_ sender: Any?) func checkTextInDocument(_ sender: Any?) var usesFindPanel: Bool var usesFindBar: Bool var isIncrementalSearchingEnabled: Bool var selectedRanges: [NSValue] func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) func setSelectedRange(_ charRange: NSRange, affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) var selectionAffinity: NSSelectionAffinity { get } var selectionGranularity: NSSelectionGranularity var selectedTextAttributes: [String : Any] @NSCopying var insertionPointColor: NSColor func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool) var markedTextAttributes: [String : Any]? var linkTextAttributes: [String : Any]? var displaysLinkToolTips: Bool var acceptsGlyphInfo: Bool var usesRuler: Bool var usesInspectorBar: Bool var isContinuousSpellCheckingEnabled: Bool func toggleContinuousSpellChecking(_ sender: Any?) var spellCheckerDocumentTag: Int { get } var isGrammarCheckingEnabled: Bool func toggleGrammarChecking(_ sender: Any?) func setSpellingState(_ value: Int, range charRange: NSRange) var typingAttributes: [String : Any] func shouldChangeText(inRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool var rangesForUserTextChange: [NSValue]? { get } var rangesForUserCharacterAttributeChange: [NSValue]? { get } var rangesForUserParagraphAttributeChange: [NSValue]? { get } func shouldChangeText(in affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool func didChangeText() var rangeForUserTextChange: NSRange { get } var rangeForUserCharacterAttributeChange: NSRange { get } var rangeForUserParagraphAttributeChange: NSRange { get } var allowsDocumentBackgroundColorChange: Bool @NSCopying var defaultParagraphStyle: NSParagraphStyle? var allowsUndo: Bool func breakUndoCoalescing() var isCoalescingUndo: Bool { get } var allowsImageEditing: Bool func showFindIndicator(for charRange: NSRange) var usesRolloverButtonForSelection: Bool unowned(unsafe) var delegate: NSTextViewDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor var isFieldEditor: Bool var usesFontPanel: Bool var isRulerVisible: Bool func setSelectedRange(_ charRange: NSRange) var allowedInputSourceLocales: [String]? func dragSelection(with event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool func dragImageForSelection(with event: NSEvent, origin origin: NSPointPointer?) -> NSImage? var acceptableDragTypes: [String] { get } func dragOperation(for dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation func cleanUpAfterDragOperation() var writablePasteboardTypes: [String] { get } func writeSelection(to pboard: NSPasteboard, type type: String) -> Bool func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool var readablePasteboardTypes: [String] { get } func preferredPasteboardType(from availableTypes: [String], restrictedToTypesFrom allowedTypes: [String]?) -> String? func readSelection(from pboard: NSPasteboard, type type: String) -> Bool func readSelection(from pboard: NSPasteboard) -> Bool class func registerForServices() func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func pasteAsPlainText(_ sender: Any?) func pasteAsRichText(_ sender: Any?) func complete(_ sender: Any?) var rangeForUserCompletion: NSRange { get } func completions(forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool) } extension NSTextView { func complete(_ sender: Any?) var rangeForUserCompletion: NSRange { get } func completions(forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool) } extension NSTextView { var writablePasteboardTypes: [String] { get } func writeSelection(to pboard: NSPasteboard, type type: String) -> Bool func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool var readablePasteboardTypes: [String] { get } func preferredPasteboardType(from availableTypes: [String], restrictedToTypesFrom allowedTypes: [String]?) -> String? func readSelection(from pboard: NSPasteboard, type type: String) -> Bool func readSelection(from pboard: NSPasteboard) -> Bool class func registerForServices() func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func pasteAsPlainText(_ sender: Any?) func pasteAsRichText(_ sender: Any?) } extension NSTextView { func dragSelection(with event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool func dragImageForSelection(with event: NSEvent, origin origin: NSPointPointer?) -> NSImage? var acceptableDragTypes: [String] { get } func dragOperation(for dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation func cleanUpAfterDragOperation() } extension NSTextView { var selectedRanges: [NSValue] func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) func setSelectedRange(_ charRange: NSRange, affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) var selectionAffinity: NSSelectionAffinity { get } var selectionGranularity: NSSelectionGranularity var selectedTextAttributes: [String : Any] @NSCopying var insertionPointColor: NSColor func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool) var markedTextAttributes: [String : Any]? var linkTextAttributes: [String : Any]? var displaysLinkToolTips: Bool var acceptsGlyphInfo: Bool var usesRuler: Bool var usesInspectorBar: Bool var isContinuousSpellCheckingEnabled: Bool func toggleContinuousSpellChecking(_ sender: Any?) var spellCheckerDocumentTag: Int { get } var isGrammarCheckingEnabled: Bool func toggleGrammarChecking(_ sender: Any?) func setSpellingState(_ value: Int, range charRange: NSRange) var typingAttributes: [String : Any] func shouldChangeText(inRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool var rangesForUserTextChange: [NSValue]? { get } var rangesForUserCharacterAttributeChange: [NSValue]? { get } var rangesForUserParagraphAttributeChange: [NSValue]? { get } func shouldChangeText(in affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool func didChangeText() var rangeForUserTextChange: NSRange { get } var rangeForUserCharacterAttributeChange: NSRange { get } var rangeForUserParagraphAttributeChange: NSRange { get } var allowsDocumentBackgroundColorChange: Bool @NSCopying var defaultParagraphStyle: NSParagraphStyle? var allowsUndo: Bool func breakUndoCoalescing() var isCoalescingUndo: Bool { get } var allowsImageEditing: Bool func showFindIndicator(for charRange: NSRange) var usesRolloverButtonForSelection: Bool unowned(unsafe) var delegate: NSTextViewDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor var isFieldEditor: Bool var usesFontPanel: Bool var isRulerVisible: Bool func setSelectedRange(_ charRange: NSRange) var allowedInputSourceLocales: [String]? } extension NSTextView { var smartInsertDeleteEnabled: Bool func smartDeleteRange(forProposedRange proposedCharRange: NSRange) -> NSRange func toggleSmartInsertDelete(_ sender: Any?) func smartInsert(for pasteString: String, replacing charRangeToReplace: NSRange, before beforeString: AutoreleasingUnsafeMutablePointer<NSString?>?, after afterString: AutoreleasingUnsafeMutablePointer<NSString?>?) func smartInsert(beforeStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? func smartInsert(afterStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? var isAutomaticQuoteSubstitutionEnabled: Bool func toggleAutomaticQuoteSubstitution(_ sender: Any?) var isAutomaticLinkDetectionEnabled: Bool func toggleAutomaticLinkDetection(_ sender: Any?) var isAutomaticDataDetectionEnabled: Bool func toggleAutomaticDataDetection(_ sender: Any?) var isAutomaticDashSubstitutionEnabled: Bool func toggleAutomaticDashSubstitution(_ sender: Any?) var isAutomaticTextReplacementEnabled: Bool func toggleAutomaticTextReplacement(_ sender: Any?) var isAutomaticSpellingCorrectionEnabled: Bool func toggleAutomaticSpellingCorrection(_ sender: Any?) var enabledTextCheckingTypes: NSTextCheckingTypes func checkText(in range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:]) func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], orthography orthography: NSOrthography, wordCount wordCount: Int) func orderFrontSubstitutionsPanel(_ sender: Any?) func checkTextInSelection(_ sender: Any?) func checkTextInDocument(_ sender: Any?) var usesFindPanel: Bool var usesFindBar: Bool var isIncrementalSearchingEnabled: Bool } extension NSTextView { @IBAction func toggleQuickLookPreviewPanel(_ sender: Any?) func updateQuickLookPreviewPanel() } extension NSTextView { @IBAction func orderFrontSharingServicePicker(_ sender: Any?) } extension NSTextView { func toggleBaseWritingDirection(_ sender: Any?) } |
Modified NSTextView.alignJustified(_: Any?)
Declaration | |
---|---|
From | func alignJustified(_ sender: AnyObject?) |
To | func alignJustified(_ sender: Any?) |
Modified NSTextView.changeAttributes(_: Any?)
Declaration | |
---|---|
From | func changeAttributes(_ sender: AnyObject?) |
To | func changeAttributes(_ sender: Any?) |
Modified NSTextView.changeColor(_: Any?)
Declaration | |
---|---|
From | func changeColor(_ sender: AnyObject?) |
To | func changeColor(_ sender: Any?) |
Declaration | |
---|---|
From | func changeDocumentBackgroundColor(_ sender: AnyObject?) |
To | func changeDocumentBackgroundColor(_ sender: Any?) |
Declaration | |
---|---|
From | func changeLayoutOrientation(_ sender: AnyObject?) |
To | func changeLayoutOrientation(_ sender: Any?) |
Declaration | |
---|---|
From | func characterIndexForInsertionAtPoint(_ point: NSPoint) -> Int |
To | func characterIndexForInsertion(at point: NSPoint) -> Int |
Declaration | |
---|---|
From | func checkTextInRange(_ range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]) |
To | func checkText(in range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:]) |
Declaration | |
---|---|
From | func checkTextInDocument(_ sender: AnyObject?) |
To | func checkTextInDocument(_ sender: Any?) |
Declaration | |
---|---|
From | func checkTextInSelection(_ sender: AnyObject?) |
To | func checkTextInSelection(_ sender: Any?) |
Declaration | |
---|---|
From | func clickedOnLink(_ link: AnyObject, atIndex charIndex: Int) |
To | func clicked(onLink link: Any, at charIndex: Int) |
Modified NSTextView.complete(_: Any?)
Declaration | |
---|---|
From | func complete(_ sender: AnyObject?) |
To | func complete(_ sender: Any?) |
Declaration | |
---|---|
From | func completionsForPartialWordRange(_ charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? |
To | func completions(forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? |
Declaration | |
---|---|
From | func dragImageForSelectionWithEvent(_ event: NSEvent, origin origin: NSPointPointer) -> NSImage? |
To | func dragImageForSelection(with event: NSEvent, origin origin: NSPointPointer?) -> NSImage? |
Declaration | |
---|---|
From | func dragOperationForDraggingInfo(_ dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation |
To | func dragOperation(for dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation |
Declaration | |
---|---|
From | func dragSelectionWithEvent(_ event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool |
To | func dragSelection(with event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool |
Declaration | |
---|---|
From | func drawViewBackgroundInRect(_ rect: NSRect) |
To | func drawBackground(in rect: NSRect) |
Declaration | |
---|---|
From | func drawInsertionPointInRect(_ rect: NSRect, color color: NSColor, turnedOn flag: Bool) |
To | func drawInsertionPoint(in rect: NSRect, color color: NSColor, turnedOn flag: Bool) |
Declaration | |
---|---|
From | func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject], orthography orthography: NSOrthography, wordCount wordCount: Int) |
To | func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], orthography orthography: NSOrthography, wordCount wordCount: Int) |
Modified NSTextView.init(frame: NSRect)
Declaration | |
---|---|
From | convenience init(frame frameRect: NSRect) |
To | init(frame frameRect: NSRect) |
Modified NSTextView.insertText(_: Any)
Declaration | |
---|---|
From | func insertText(_ insertString: AnyObject) |
To | func insertText(_ insertString: Any) |
Declaration | |
---|---|
From | var automaticDashSubstitutionEnabled: Bool |
To | var isAutomaticDashSubstitutionEnabled: Bool |
Declaration | |
---|---|
From | var automaticDataDetectionEnabled: Bool |
To | var isAutomaticDataDetectionEnabled: Bool |
Declaration | |
---|---|
From | var automaticLinkDetectionEnabled: Bool |
To | var isAutomaticLinkDetectionEnabled: Bool |
Declaration | |
---|---|
From | var automaticQuoteSubstitutionEnabled: Bool |
To | var isAutomaticQuoteSubstitutionEnabled: Bool |
Declaration | |
---|---|
From | var automaticSpellingCorrectionEnabled: Bool |
To | var isAutomaticSpellingCorrectionEnabled: Bool |
Declaration | |
---|---|
From | var automaticTextReplacementEnabled: Bool |
To | var isAutomaticTextReplacementEnabled: Bool |
Modified NSTextView.isCoalescingUndo
Declaration | |
---|---|
From | var coalescingUndo: Bool { get } |
To | var isCoalescingUndo: Bool { get } |
Declaration | |
---|---|
From | var continuousSpellCheckingEnabled: Bool |
To | var isContinuousSpellCheckingEnabled: Bool |
Modified NSTextView.isEditable
Declaration | |
---|---|
From | var editable: Bool |
To | var isEditable: Bool |
Modified NSTextView.isFieldEditor
Declaration | |
---|---|
From | var fieldEditor: Bool |
To | var isFieldEditor: Bool |
Modified NSTextView.isGrammarCheckingEnabled
Declaration | |
---|---|
From | var grammarCheckingEnabled: Bool |
To | var isGrammarCheckingEnabled: Bool |
Declaration | |
---|---|
From | var incrementalSearchingEnabled: Bool |
To | var isIncrementalSearchingEnabled: Bool |
Modified NSTextView.isRichText
Declaration | |
---|---|
From | var richText: Bool |
To | var isRichText: Bool |
Modified NSTextView.isRulerVisible
Declaration | |
---|---|
From | var rulerVisible: Bool |
To | var isRulerVisible: Bool |
Modified NSTextView.isSelectable
Declaration | |
---|---|
From | var selectable: Bool |
To | var isSelectable: Bool |
Modified NSTextView.linkTextAttributes
Declaration | |
---|---|
From | var linkTextAttributes: [String : AnyObject]? |
To | var linkTextAttributes: [String : Any]? |
Modified NSTextView.loosenKerning(_: Any?)
Declaration | |
---|---|
From | func loosenKerning(_ sender: AnyObject?) |
To | func loosenKerning(_ sender: Any?) |
Modified NSTextView.lowerBaseline(_: Any?)
Declaration | |
---|---|
From | func lowerBaseline(_ sender: AnyObject?) |
To | func lowerBaseline(_ sender: Any?) |
Modified NSTextView.markedTextAttributes
Declaration | |
---|---|
From | var markedTextAttributes: [String : AnyObject]? |
To | var markedTextAttributes: [String : Any]? |
Declaration | |
---|---|
From | func orderFrontLinkPanel(_ sender: AnyObject?) |
To | func orderFrontLinkPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontListPanel(_ sender: AnyObject?) |
To | func orderFrontListPanel(_ sender: Any?) |
Declaration | |
---|---|
From | @IBAction func orderFrontSharingServicePicker(_ sender: AnyObject?) |
To | @IBAction func orderFrontSharingServicePicker(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontSpacingPanel(_ sender: AnyObject?) |
To | func orderFrontSpacingPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontSubstitutionsPanel(_ sender: AnyObject?) |
To | func orderFrontSubstitutionsPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func orderFrontTablePanel(_ sender: AnyObject?) |
To | func orderFrontTablePanel(_ sender: Any?) |
Modified NSTextView.outline(_: Any?)
Declaration | |
---|---|
From | func outline(_ sender: AnyObject?) |
To | func outline(_ sender: Any?) |
Modified NSTextView.pasteAsPlainText(_: Any?)
Declaration | |
---|---|
From | func pasteAsPlainText(_ sender: AnyObject?) |
To | func pasteAsPlainText(_ sender: Any?) |
Modified NSTextView.pasteAsRichText(_: Any?)
Declaration | |
---|---|
From | func pasteAsRichText(_ sender: AnyObject?) |
To | func pasteAsRichText(_ sender: Any?) |
Declaration | |
---|---|
From | func performFindPanelAction(_ sender: AnyObject?) |
To | func performFindPanelAction(_ sender: Any?) |
Modified NSTextView.preferredPasteboardType(from: [String], restrictedToTypesFrom: [String]?) -> String?
Declaration | |
---|---|
From | func preferredPasteboardTypeFromArray(_ availableTypes: [String], restrictedToTypesFromArray allowedTypes: [String]?) -> String? |
To | func preferredPasteboardType(from availableTypes: [String], restrictedToTypesFrom allowedTypes: [String]?) -> String? |
Modified NSTextView.raiseBaseline(_: Any?)
Declaration | |
---|---|
From | func raiseBaseline(_ sender: AnyObject?) |
To | func raiseBaseline(_ sender: Any?) |
Declaration | |
---|---|
From | func readSelectionFromPasteboard(_ pboard: NSPasteboard) -> Bool |
To | func readSelection(from pboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | func readSelectionFromPasteboard(_ pboard: NSPasteboard, type type: String) -> Bool |
To | func readSelection(from pboard: NSPasteboard, type type: String) -> Bool |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, didAddMarker marker: NSRulerMarker) |
To | func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, didMoveMarker marker: NSRulerMarker) |
To | func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, didRemoveMarker marker: NSRulerMarker) |
To | func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, handleMouseDown event: NSEvent) |
To | func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, shouldAddMarker marker: NSRulerMarker) -> Bool |
To | func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, shouldMoveMarker marker: NSRulerMarker) -> Bool |
To | func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, shouldRemoveMarker marker: NSRulerMarker) -> Bool |
To | func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool |
Modified NSTextView.rulerView(_: NSRulerView, willAdd: NSRulerMarker, atLocation: CGFloat) -> CGFloat
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, willAddMarker marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat |
To | func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat |
Modified NSTextView.rulerView(_: NSRulerView, willMove: NSRulerMarker, toLocation: CGFloat) -> CGFloat
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, willMoveMarker marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat |
To | func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat |
Modified NSTextView.selectedTextAttributes
Declaration | |
---|---|
From | var selectedTextAttributes: [String : AnyObject] |
To | var selectedTextAttributes: [String : Any] |
Modified NSTextView.selectionRange(forProposedRange: NSRange, granularity: NSSelectionGranularity) -> NSRange
Declaration | |
---|---|
From | func selectionRangeForProposedRange(_ proposedCharRange: NSRange, granularity granularity: NSSelectionGranularity) -> NSRange |
To | func selectionRange(forProposedRange proposedCharRange: NSRange, granularity granularity: NSSelectionGranularity) -> NSRange |
Declaration | |
---|---|
From | func setNeedsDisplayInRect(_ rect: NSRect, avoidAdditionalLayout flag: Bool) |
To | func setNeedsDisplay(_ rect: NSRect, avoidAdditionalLayout flag: Bool) |
Declaration | |
---|---|
From | func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool |
To | func shouldChangeText(in affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool |
Declaration | |
---|---|
From | func shouldChangeTextInRanges(_ affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool |
To | func shouldChangeText(inRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool |
Declaration | |
---|---|
From | func showFindIndicatorForRange(_ charRange: NSRange) |
To | func showFindIndicator(for charRange: NSRange) |
Declaration | |
---|---|
From | func smartDeleteRangeForProposedRange(_ proposedCharRange: NSRange) -> NSRange |
To | func smartDeleteRange(forProposedRange proposedCharRange: NSRange) -> NSRange |
Declaration | |
---|---|
From | func smartInsertAfterStringForString(_ pasteString: String, replacingRange charRangeToReplace: NSRange) -> String? |
To | func smartInsert(afterStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? |
Declaration | |
---|---|
From | func smartInsertBeforeStringForString(_ pasteString: String, replacingRange charRangeToReplace: NSRange) -> String? |
To | func smartInsert(beforeStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? |
Declaration | |
---|---|
From | func smartInsertForString(_ pasteString: String, replacingRange charRangeToReplace: NSRange, beforeString beforeString: AutoreleasingUnsafeMutablePointer<NSString?>, afterString afterString: AutoreleasingUnsafeMutablePointer<NSString?>) |
To | func smartInsert(for pasteString: String, replacing charRangeToReplace: NSRange, before beforeString: AutoreleasingUnsafeMutablePointer<NSString?>?, after afterString: AutoreleasingUnsafeMutablePointer<NSString?>?) |
Modified NSTextView.startSpeaking(_: Any?)
Declaration | |
---|---|
From | func startSpeaking(_ sender: AnyObject?) |
To | func startSpeaking(_ sender: Any?) |
Modified NSTextView.stopSpeaking(_: Any?)
Declaration | |
---|---|
From | func stopSpeaking(_ sender: AnyObject?) |
To | func stopSpeaking(_ sender: Any?) |
Modified NSTextView.tightenKerning(_: Any?)
Declaration | |
---|---|
From | func tightenKerning(_ sender: AnyObject?) |
To | func tightenKerning(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleAutomaticDashSubstitution(_ sender: AnyObject?) |
To | func toggleAutomaticDashSubstitution(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleAutomaticDataDetection(_ sender: AnyObject?) |
To | func toggleAutomaticDataDetection(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleAutomaticLinkDetection(_ sender: AnyObject?) |
To | func toggleAutomaticLinkDetection(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleAutomaticQuoteSubstitution(_ sender: AnyObject?) |
To | func toggleAutomaticQuoteSubstitution(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleAutomaticSpellingCorrection(_ sender: AnyObject?) |
To | func toggleAutomaticSpellingCorrection(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleAutomaticTextReplacement(_ sender: AnyObject?) |
To | func toggleAutomaticTextReplacement(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleContinuousSpellChecking(_ sender: AnyObject?) |
To | func toggleContinuousSpellChecking(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleGrammarChecking(_ sender: AnyObject?) |
To | func toggleGrammarChecking(_ sender: Any?) |
Declaration | |
---|---|
From | @IBAction func toggleQuickLookPreviewPanel(_ sender: AnyObject?) |
To | @IBAction func toggleQuickLookPreviewPanel(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleSmartInsertDelete(_ sender: AnyObject?) |
To | func toggleSmartInsertDelete(_ sender: Any?) |
Declaration | |
---|---|
From | func toggleTraditionalCharacterShape(_ sender: AnyObject?) |
To | func toggleTraditionalCharacterShape(_ sender: Any?) |
Modified NSTextView.turnOffKerning(_: Any?)
Declaration | |
---|---|
From | func turnOffKerning(_ sender: AnyObject?) |
To | func turnOffKerning(_ sender: Any?) |
Modified NSTextView.turnOffLigatures(_: Any?)
Declaration | |
---|---|
From | func turnOffLigatures(_ sender: AnyObject?) |
To | func turnOffLigatures(_ sender: Any?) |
Modified NSTextView.typingAttributes
Declaration | |
---|---|
From | var typingAttributes: [String : AnyObject] |
To | var typingAttributes: [String : Any] |
Modified NSTextView.useAllLigatures(_: Any?)
Declaration | |
---|---|
From | func useAllLigatures(_ sender: AnyObject?) |
To | func useAllLigatures(_ sender: Any?) |
Declaration | |
---|---|
From | func useStandardKerning(_ sender: AnyObject?) |
To | func useStandardKerning(_ sender: Any?) |
Declaration | |
---|---|
From | func useStandardLigatures(_ sender: AnyObject?) |
To | func useStandardLigatures(_ sender: Any?) |
Declaration | |
---|---|
From | func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? |
To | func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? |
Declaration | |
---|---|
From | func writeSelectionToPasteboard(_ pboard: NSPasteboard, type type: String) -> Bool |
To | func writeSelection(to pboard: NSPasteboard, type type: String) -> Bool |
Declaration | |
---|---|
From | func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [String]) -> Bool |
To | func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool |
Modified NSTextViewDelegate
Declaration | |
---|---|
From | protocol NSTextViewDelegate : NSTextDelegate { optional func textView(_ textView: NSTextView, clickedOnLink link: AnyObject, atIndex charIndex: Int) -> Bool optional func textView(_ textView: NSTextView, clickedOnCell cell: NSTextAttachmentCellProtocol, inRect cellFrame: NSRect, atIndex charIndex: Int) optional func textView(_ textView: NSTextView, doubleClickedOnCell cell: NSTextAttachmentCellProtocol, inRect cellFrame: NSRect, atIndex charIndex: Int) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol, inRect rect: NSRect, event event: NSEvent, atIndex charIndex: Int) optional func textView(_ view: NSTextView, writablePasteboardTypesForCell cell: NSTextAttachmentCellProtocol, atIndex charIndex: Int) -> [String] optional func textView(_ view: NSTextView, writeCell cell: NSTextAttachmentCellProtocol, atIndex charIndex: Int, toPasteboard pboard: NSPasteboard, type type: String) -> Bool optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRange oldSelectedCharRange: NSRange, toCharacterRange newSelectedCharRange: NSRange) -> NSRange optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRanges oldSelectedCharRanges: [NSValue], toCharacterRanges newSelectedCharRanges: [NSValue]) -> [NSValue] optional func textView(_ textView: NSTextView, shouldChangeTextInRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [String : AnyObject], toAttributes newTypingAttributes: [String : AnyObject]) -> [String : AnyObject] optional func textViewDidChangeSelection(_ notification: NSNotification) optional func textViewDidChangeTypingAttributes(_ notification: NSNotification) optional func textView(_ textView: NSTextView, willDisplayToolTip tooltip: String, forCharacterAtIndex characterIndex: Int) -> String? optional func textView(_ textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String] optional func textView(_ textView: NSTextView, shouldChangeTextInRange affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool optional func textView(_ textView: NSTextView, doCommandBySelector commandSelector: Selector) -> Bool optional func textView(_ textView: NSTextView, shouldSetSpellingState value: Int, range affectedCharRange: NSRange) -> Int optional func textView(_ view: NSTextView, menu menu: NSMenu, forEvent event: NSEvent, atIndex charIndex: Int) -> NSMenu? optional func textView(_ view: NSTextView, willCheckTextInRange range: NSRange, options options: [String : AnyObject], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [String : AnyObject] optional func textView(_ view: NSTextView, didCheckTextInRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject], results results: [NSTextCheckingResult], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [NSTextCheckingResult] optional func textView(_ textView: NSTextView, URLForContentsOfTextAttachment textAttachment: NSTextAttachment, atIndex charIndex: Int) -> NSURL? optional func textView(_ textView: NSTextView, willShowSharingServicePicker servicePicker: NSSharingServicePicker, forItems items: [AnyObject]) -> NSSharingServicePicker? optional func undoManagerForTextView(_ view: NSTextView) -> NSUndoManager? optional func textView(_ textView: NSTextView, clickedOnLink link: AnyObject!) -> Bool optional func textView(_ textView: NSTextView, clickedOnCell cell: NSTextAttachmentCellProtocol!, inRect cellFrame: NSRect) optional func textView(_ textView: NSTextView, doubleClickedOnCell cell: NSTextAttachmentCellProtocol!, inRect cellFrame: NSRect) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol!, inRect rect: NSRect, event event: NSEvent!) } |
To | protocol NSTextViewDelegate : NSTextDelegate { optional func textView(_ textView: NSTextView, clickedOnLink link: Any, at charIndex: Int) -> Bool optional func textView(_ textView: NSTextView, clickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) optional func textView(_ textView: NSTextView, doubleClickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol, in rect: NSRect, event event: NSEvent, at charIndex: Int) optional func textView(_ view: NSTextView, writablePasteboardTypesFor cell: NSTextAttachmentCellProtocol, at charIndex: Int) -> [String] optional func textView(_ view: NSTextView, write cell: NSTextAttachmentCellProtocol, at charIndex: Int, to pboard: NSPasteboard, type type: String) -> Bool optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRange oldSelectedCharRange: NSRange, toCharacterRange newSelectedCharRange: NSRange) -> NSRange optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRanges oldSelectedCharRanges: [NSValue], toCharacterRanges newSelectedCharRanges: [NSValue]) -> [NSValue] optional func textView(_ textView: NSTextView, shouldChangeTextInRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [String : Any] = [:], toAttributes newTypingAttributes: [String : Any] = [:]) -> [String : Any] optional func textViewDidChangeSelection(_ notification: Notification) optional func textViewDidChangeTypingAttributes(_ notification: Notification) optional func textView(_ textView: NSTextView, willDisplayToolTip tooltip: String, forCharacterAt characterIndex: Int) -> String? optional func textView(_ textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>?) -> [String] optional func textView(_ textView: NSTextView, shouldChangeTextIn affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool optional func textView(_ textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool optional func textView(_ textView: NSTextView, shouldSetSpellingState value: Int, range affectedCharRange: NSRange) -> Int optional func textView(_ view: NSTextView, menu menu: NSMenu, for event: NSEvent, at charIndex: Int) -> NSMenu? optional func textView(_ view: NSTextView, willCheckTextIn range: NSRange, options options: [String : Any] = [:], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [String : Any] optional func textView(_ view: NSTextView, didCheckTextIn range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], results results: [NSTextCheckingResult], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [NSTextCheckingResult] optional func textView(_ textView: NSTextView, urlForContentsOf textAttachment: NSTextAttachment, at charIndex: Int) -> URL? optional func textView(_ textView: NSTextView, willShow servicePicker: NSSharingServicePicker, forItems items: [Any]) -> NSSharingServicePicker? optional func undoManager(for view: NSTextView) -> UndoManager? optional func textView(_ textView: NSTextView, clickedOnLink link: Any!) -> Bool optional func textView(_ textView: NSTextView, clickedOn cell: NSTextAttachmentCellProtocol!, in cellFrame: NSRect) optional func textView(_ textView: NSTextView, doubleClickedOn cell: NSTextAttachmentCellProtocol!, in cellFrame: NSRect) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol!, in rect: NSRect, event event: NSEvent!) } |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, clickedOnCell cell: NSTextAttachmentCellProtocol, inRect cellFrame: NSRect, atIndex charIndex: Int) |
To | optional func textView(_ textView: NSTextView, clickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, clickedOnLink link: AnyObject, atIndex charIndex: Int) -> Bool |
To | optional func textView(_ textView: NSTextView, clickedOnLink link: Any, at charIndex: Int) -> Bool |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String] |
To | optional func textView(_ textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>?) -> [String] |
Declaration | |
---|---|
From | optional func textView(_ view: NSTextView, didCheckTextInRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject], results results: [NSTextCheckingResult], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [NSTextCheckingResult] |
To | optional func textView(_ view: NSTextView, didCheckTextIn range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], results results: [NSTextCheckingResult], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [NSTextCheckingResult] |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, doCommandBySelector commandSelector: Selector) -> Bool |
To | optional func textView(_ textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, doubleClickedOnCell cell: NSTextAttachmentCellProtocol, inRect cellFrame: NSRect, atIndex charIndex: Int) |
To | optional func textView(_ textView: NSTextView, doubleClickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) |
Declaration | |
---|---|
From | optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol, inRect rect: NSRect, event event: NSEvent, atIndex charIndex: Int) |
To | optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol, in rect: NSRect, event event: NSEvent, at charIndex: Int) |
Declaration | |
---|---|
From | optional func textView(_ view: NSTextView, menu menu: NSMenu, forEvent event: NSEvent, atIndex charIndex: Int) -> NSMenu? |
To | optional func textView(_ view: NSTextView, menu menu: NSMenu, for event: NSEvent, at charIndex: Int) -> NSMenu? |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, shouldChangeTextInRange affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool |
To | optional func textView(_ textView: NSTextView, shouldChangeTextIn affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [String : AnyObject], toAttributes newTypingAttributes: [String : AnyObject]) -> [String : AnyObject] |
To | optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [String : Any] = [:], toAttributes newTypingAttributes: [String : Any] = [:]) -> [String : Any] |
Modified NSTextViewDelegate.textView(_: NSTextView, urlForContentsOf: NSTextAttachment, at: Int) -> URL?
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, URLForContentsOfTextAttachment textAttachment: NSTextAttachment, atIndex charIndex: Int) -> NSURL? |
To | optional func textView(_ textView: NSTextView, urlForContentsOf textAttachment: NSTextAttachment, at charIndex: Int) -> URL? |
Declaration | |
---|---|
From | optional func textView(_ view: NSTextView, willCheckTextInRange range: NSRange, options options: [String : AnyObject], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [String : AnyObject] |
To | optional func textView(_ view: NSTextView, willCheckTextIn range: NSRange, options options: [String : Any] = [:], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [String : Any] |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, willDisplayToolTip tooltip: String, forCharacterAtIndex characterIndex: Int) -> String? |
To | optional func textView(_ textView: NSTextView, willDisplayToolTip tooltip: String, forCharacterAt characterIndex: Int) -> String? |
Declaration | |
---|---|
From | optional func textView(_ textView: NSTextView, willShowSharingServicePicker servicePicker: NSSharingServicePicker, forItems items: [AnyObject]) -> NSSharingServicePicker? |
To | optional func textView(_ textView: NSTextView, willShow servicePicker: NSSharingServicePicker, forItems items: [Any]) -> NSSharingServicePicker? |
Declaration | |
---|---|
From | optional func textView(_ view: NSTextView, writablePasteboardTypesForCell cell: NSTextAttachmentCellProtocol, atIndex charIndex: Int) -> [String] |
To | optional func textView(_ view: NSTextView, writablePasteboardTypesFor cell: NSTextAttachmentCellProtocol, at charIndex: Int) -> [String] |
Declaration | |
---|---|
From | optional func textView(_ view: NSTextView, writeCell cell: NSTextAttachmentCellProtocol, atIndex charIndex: Int, toPasteboard pboard: NSPasteboard, type type: String) -> Bool |
To | optional func textView(_ view: NSTextView, write cell: NSTextAttachmentCellProtocol, at charIndex: Int, to pboard: NSPasteboard, type type: String) -> Bool |
Declaration | |
---|---|
From | optional func textViewDidChangeSelection(_ notification: NSNotification) |
To | optional func textViewDidChangeSelection(_ notification: Notification) |
Declaration | |
---|---|
From | optional func textViewDidChangeTypingAttributes(_ notification: NSNotification) |
To | optional func textViewDidChangeTypingAttributes(_ notification: Notification) |
Declaration | |
---|---|
From | optional func undoManagerForTextView(_ view: NSTextView) -> NSUndoManager? |
To | optional func undoManager(for view: NSTextView) -> UndoManager? |
Modified NSTickMarkPosition [enum]
Declaration | |
---|---|
From | enum NSTickMarkPosition : UInt { case Below case Above static var Left: NSTickMarkPosition { get } static var Right: NSTickMarkPosition { get } } |
To | enum NSTickMarkPosition : UInt { case below case above static var leading: NSTickMarkPosition { get } static var trailing: NSTickMarkPosition { get } } |
Modified NSTickMarkPosition.above
Name | Declaration | |
---|---|---|
From | Above | case Above |
To | above | case above |
Modified NSTickMarkPosition.below
Name | Declaration | |
---|---|---|
From | Below | case Below |
To | below | case below |
Modified NSTIFFCompression [enum]
Declaration | |
---|---|
From | enum NSTIFFCompression : UInt { case None case CCITTFAX3 case CCITTFAX4 case LZW case JPEG case NEXT case PackBits case OldJPEG } |
To | enum NSTIFFCompression : UInt { case none case CCITTFAX3 case CCITTFAX4 case LZW case JPEG case NEXT case packBits case oldJPEG } |
Modified NSTIFFCompression.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSTIFFCompression.oldJPEG
Declaration | |
---|---|
From | case OldJPEG |
To | case oldJPEG |
Modified NSTIFFCompression.packBits
Declaration | |
---|---|
From | case PackBits |
To | case packBits |
Modified NSTitlebarAccessoryViewController
Declaration | Protocols | |
---|---|---|
From | class NSTitlebarAccessoryViewController : NSViewController { var layoutAttribute: NSLayoutAttribute var fullScreenMinHeight: CGFloat func viewWillAppear() func viewDidAppear() func viewDidDisappear() } | -- |
To | class NSTitlebarAccessoryViewController : NSViewController, NSAnimationDelegate, NSAnimatablePropertyContainer { var layoutAttribute: NSLayoutAttribute var fullScreenMinHeight: CGFloat var isHidden: Bool func viewWillAppear() func viewDidAppear() func viewDidDisappear() var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTitlebarAccessoryViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSTitlebarAccessoryViewController : CVarArg { } extension NSTitlebarAccessoryViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer, NSAnimationDelegate, NSExtensionRequestHandling |
Modified NSTitlePosition [enum]
Declaration | |
---|---|
From | enum NSTitlePosition : UInt { case NoTitle case AboveTop case AtTop case BelowTop case AboveBottom case AtBottom case BelowBottom } |
To | enum NSTitlePosition : UInt { case noTitle case aboveTop case atTop case belowTop case aboveBottom case atBottom case belowBottom } |
Modified NSTitlePosition.aboveBottom
Declaration | |
---|---|
From | case AboveBottom |
To | case aboveBottom |
Modified NSTitlePosition.aboveTop
Declaration | |
---|---|
From | case AboveTop |
To | case aboveTop |
Modified NSTitlePosition.atBottom
Declaration | |
---|---|
From | case AtBottom |
To | case atBottom |
Modified NSTitlePosition.atTop
Declaration | |
---|---|
From | case AtTop |
To | case atTop |
Modified NSTitlePosition.belowBottom
Declaration | |
---|---|
From | case BelowBottom |
To | case belowBottom |
Modified NSTitlePosition.belowTop
Declaration | |
---|---|
From | case BelowTop |
To | case belowTop |
Modified NSTitlePosition.noTitle
Declaration | |
---|---|
From | case NoTitle |
To | case noTitle |
Modified NSTokenField
Declaration | Protocols | |
---|---|---|
From | class NSTokenField : NSTextField { func setDelegate(_ anObject: NSTokenFieldDelegate?) func delegate() -> NSTokenFieldDelegate? var tokenStyle: NSTokenStyle var completionDelay: NSTimeInterval class func defaultCompletionDelay() -> NSTimeInterval @NSCopying var tokenizingCharacterSet: NSCharacterSet! class func defaultTokenizingCharacterSet() -> NSCharacterSet } | -- |
To | class NSTokenField : NSTextField { unowned(unsafe) var delegate: NSTokenFieldDelegate? var tokenStyle: NSTokenStyle var completionDelay: TimeInterval class func defaultCompletionDelay() -> TimeInterval var tokenizingCharacterSet: CharacterSet! class func defaultTokenizingCharacterSet() -> CharacterSet func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTokenField : CVarArg { } extension NSTokenField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSTokenField.completionDelay
Declaration | |
---|---|
From | var completionDelay: NSTimeInterval |
To | var completionDelay: TimeInterval |
Declaration | |
---|---|
From | class func defaultCompletionDelay() -> NSTimeInterval |
To | class func defaultCompletionDelay() -> TimeInterval |
Declaration | |
---|---|
From | class func defaultTokenizingCharacterSet() -> NSCharacterSet |
To | class func defaultTokenizingCharacterSet() -> CharacterSet |
Modified NSTokenField.tokenizingCharacterSet
Declaration | |
---|---|
From | @NSCopying var tokenizingCharacterSet: NSCharacterSet! |
To | var tokenizingCharacterSet: CharacterSet! |
Modified NSTokenFieldCell
Declaration | |
---|---|
From | class NSTokenFieldCell : NSTextFieldCell { var tokenStyle: NSTokenStyle var completionDelay: NSTimeInterval class func defaultCompletionDelay() -> NSTimeInterval @NSCopying var tokenizingCharacterSet: NSCharacterSet! class func defaultTokenizingCharacterSet() -> NSCharacterSet unowned(unsafe) var delegate: NSTokenFieldCellDelegate? } |
To | class NSTokenFieldCell : NSTextFieldCell { var tokenStyle: NSTokenStyle var completionDelay: TimeInterval class func defaultCompletionDelay() -> TimeInterval var tokenizingCharacterSet: CharacterSet! class func defaultTokenizingCharacterSet() -> CharacterSet unowned(unsafe) var delegate: NSTokenFieldCellDelegate? } |
Modified NSTokenFieldCell.completionDelay
Declaration | |
---|---|
From | var completionDelay: NSTimeInterval |
To | var completionDelay: TimeInterval |
Declaration | |
---|---|
From | class func defaultCompletionDelay() -> NSTimeInterval |
To | class func defaultCompletionDelay() -> TimeInterval |
Declaration | |
---|---|
From | class func defaultTokenizingCharacterSet() -> NSCharacterSet |
To | class func defaultTokenizingCharacterSet() -> CharacterSet |
Declaration | |
---|---|
From | @NSCopying var tokenizingCharacterSet: NSCharacterSet! |
To | var tokenizingCharacterSet: CharacterSet! |
Modified NSTokenFieldCellDelegate
Declaration | |
---|---|
From | protocol NSTokenFieldCellDelegate : NSObjectProtocol { optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>) -> [AnyObject] optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, shouldAddObjects tokens: [AnyObject], atIndex index: Int) -> [AnyObject] optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, displayStringForRepresentedObject representedObject: AnyObject) -> String? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, editingStringForRepresentedObject representedObject: AnyObject) -> String? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, representedObjectForEditingString editingString: String) -> AnyObject optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, writeRepresentedObjects objects: [AnyObject], toPasteboard pboard: NSPasteboard) -> Bool optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, readFromPasteboard pboard: NSPasteboard) -> [AnyObject]? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, menuForRepresentedObject representedObject: AnyObject) -> NSMenu? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, hasMenuForRepresentedObject representedObject: AnyObject) -> Bool optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, styleForRepresentedObject representedObject: AnyObject) -> NSTokenStyle } |
To | protocol NSTokenFieldCellDelegate : NSObjectProtocol { optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>) -> [Any] optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, shouldAdd tokens: [Any], at index: Int) -> [Any] optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, displayStringForRepresentedObject representedObject: Any) -> String? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, editingStringForRepresentedObject representedObject: Any) -> String? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, representedObjectForEditing editingString: String) -> Any optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, writeRepresentedObjects objects: [Any], to pboard: NSPasteboard) -> Bool optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, readFrom pboard: NSPasteboard) -> [Any]? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, menuForRepresentedObject representedObject: Any) -> NSMenu? optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, hasMenuForRepresentedObject representedObject: Any) -> Bool optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, styleForRepresentedObject representedObject: Any) -> NSTokenStyle } |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>) -> [AnyObject] |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>) -> [Any] |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, displayStringForRepresentedObject representedObject: AnyObject) -> String? |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, displayStringForRepresentedObject representedObject: Any) -> String? |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, editingStringForRepresentedObject representedObject: AnyObject) -> String? |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, editingStringForRepresentedObject representedObject: Any) -> String? |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, hasMenuForRepresentedObject representedObject: AnyObject) -> Bool |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, hasMenuForRepresentedObject representedObject: Any) -> Bool |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, menuForRepresentedObject representedObject: AnyObject) -> NSMenu? |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, menuForRepresentedObject representedObject: Any) -> NSMenu? |
Modified NSTokenFieldCellDelegate.tokenFieldCell(_: NSTokenFieldCell, readFrom: NSPasteboard) -> [Any]?
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, readFromPasteboard pboard: NSPasteboard) -> [AnyObject]? |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, readFrom pboard: NSPasteboard) -> [Any]? |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, representedObjectForEditingString editingString: String) -> AnyObject |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, representedObjectForEditing editingString: String) -> Any |
Modified NSTokenFieldCellDelegate.tokenFieldCell(_: NSTokenFieldCell, shouldAdd: [Any], at: Int) -> [Any]
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, shouldAddObjects tokens: [AnyObject], atIndex index: Int) -> [AnyObject] |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, shouldAdd tokens: [Any], at index: Int) -> [Any] |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, styleForRepresentedObject representedObject: AnyObject) -> NSTokenStyle |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, styleForRepresentedObject representedObject: Any) -> NSTokenStyle |
Declaration | |
---|---|
From | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, writeRepresentedObjects objects: [AnyObject], toPasteboard pboard: NSPasteboard) -> Bool |
To | optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, writeRepresentedObjects objects: [Any], to pboard: NSPasteboard) -> Bool |
Modified NSTokenFieldDelegate
Declaration | |
---|---|
From | protocol NSTokenFieldDelegate : NSTextFieldDelegate { optional func tokenField(_ tokenField: NSTokenField, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>) -> [AnyObject]? optional func tokenField(_ tokenField: NSTokenField, shouldAddObjects tokens: [AnyObject], atIndex index: Int) -> [AnyObject] optional func tokenField(_ tokenField: NSTokenField, displayStringForRepresentedObject representedObject: AnyObject) -> String? optional func tokenField(_ tokenField: NSTokenField, editingStringForRepresentedObject representedObject: AnyObject) -> String? optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditingString editingString: String) -> AnyObject optional func tokenField(_ tokenField: NSTokenField, writeRepresentedObjects objects: [AnyObject], toPasteboard pboard: NSPasteboard) -> Bool optional func tokenField(_ tokenField: NSTokenField, readFromPasteboard pboard: NSPasteboard) -> [AnyObject]? optional func tokenField(_ tokenField: NSTokenField, menuForRepresentedObject representedObject: AnyObject) -> NSMenu? optional func tokenField(_ tokenField: NSTokenField, hasMenuForRepresentedObject representedObject: AnyObject) -> Bool optional func tokenField(_ tokenField: NSTokenField, styleForRepresentedObject representedObject: AnyObject) -> NSTokenStyle } |
To | protocol NSTokenFieldDelegate : NSTextFieldDelegate { optional func tokenField(_ tokenField: NSTokenField, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>?) -> [Any]? optional func tokenField(_ tokenField: NSTokenField, shouldAdd tokens: [Any], at index: Int) -> [Any] optional func tokenField(_ tokenField: NSTokenField, displayStringForRepresentedObject representedObject: Any) -> String? optional func tokenField(_ tokenField: NSTokenField, editingStringForRepresentedObject representedObject: Any) -> String? optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any optional func tokenField(_ tokenField: NSTokenField, writeRepresentedObjects objects: [Any], to pboard: NSPasteboard) -> Bool optional func tokenField(_ tokenField: NSTokenField, readFrom pboard: NSPasteboard) -> [Any]? optional func tokenField(_ tokenField: NSTokenField, menuForRepresentedObject representedObject: Any) -> NSMenu? optional func tokenField(_ tokenField: NSTokenField, hasMenuForRepresentedObject representedObject: Any) -> Bool optional func tokenField(_ tokenField: NSTokenField, styleForRepresentedObject representedObject: Any) -> NSTokenStyle } |
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>) -> [AnyObject]? |
To | optional func tokenField(_ tokenField: NSTokenField, completionsForSubstring substring: String, indexOfToken tokenIndex: Int, indexOfSelectedItem selectedIndex: UnsafeMutablePointer<Int>?) -> [Any]? |
Modified NSTokenFieldDelegate.tokenField(_: NSTokenField, displayStringForRepresentedObject: Any) -> String?
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, displayStringForRepresentedObject representedObject: AnyObject) -> String? |
To | optional func tokenField(_ tokenField: NSTokenField, displayStringForRepresentedObject representedObject: Any) -> String? |
Modified NSTokenFieldDelegate.tokenField(_: NSTokenField, editingStringForRepresentedObject: Any) -> String?
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, editingStringForRepresentedObject representedObject: AnyObject) -> String? |
To | optional func tokenField(_ tokenField: NSTokenField, editingStringForRepresentedObject representedObject: Any) -> String? |
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, hasMenuForRepresentedObject representedObject: AnyObject) -> Bool |
To | optional func tokenField(_ tokenField: NSTokenField, hasMenuForRepresentedObject representedObject: Any) -> Bool |
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, menuForRepresentedObject representedObject: AnyObject) -> NSMenu? |
To | optional func tokenField(_ tokenField: NSTokenField, menuForRepresentedObject representedObject: Any) -> NSMenu? |
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, readFromPasteboard pboard: NSPasteboard) -> [AnyObject]? |
To | optional func tokenField(_ tokenField: NSTokenField, readFrom pboard: NSPasteboard) -> [Any]? |
Modified NSTokenFieldDelegate.tokenField(_: NSTokenField, representedObjectForEditing: String) -> Any
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditingString editingString: String) -> AnyObject |
To | optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any |
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, shouldAddObjects tokens: [AnyObject], atIndex index: Int) -> [AnyObject] |
To | optional func tokenField(_ tokenField: NSTokenField, shouldAdd tokens: [Any], at index: Int) -> [Any] |
Modified NSTokenFieldDelegate.tokenField(_: NSTokenField, styleForRepresentedObject: Any) -> NSTokenStyle
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, styleForRepresentedObject representedObject: AnyObject) -> NSTokenStyle |
To | optional func tokenField(_ tokenField: NSTokenField, styleForRepresentedObject representedObject: Any) -> NSTokenStyle |
Declaration | |
---|---|
From | optional func tokenField(_ tokenField: NSTokenField, writeRepresentedObjects objects: [AnyObject], toPasteboard pboard: NSPasteboard) -> Bool |
To | optional func tokenField(_ tokenField: NSTokenField, writeRepresentedObjects objects: [Any], to pboard: NSPasteboard) -> Bool |
Modified NSTokenStyle [enum]
Declaration | |
---|---|
From | enum NSTokenStyle : UInt { case Default case None case Rounded case Squared case PlainSquared } |
To | enum NSTokenStyle : UInt { case `default` case none case rounded case squared case plainSquared } |
Modified NSTokenStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSTokenStyle.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSTokenStyle.plainSquared
Declaration | |
---|---|
From | case PlainSquared |
To | case plainSquared |
Modified NSTokenStyle.rounded
Declaration | |
---|---|
From | case Rounded |
To | case rounded |
Modified NSTokenStyle.squared
Declaration | |
---|---|
From | case Squared |
To | case squared |
Modified NSToolbar
Declaration | Protocols | |
---|---|---|
From | class NSToolbar : NSObject { init(identifier identifier: String) func insertItemWithItemIdentifier(_ itemIdentifier: String, atIndex index: Int) func removeItemAtIndex(_ index: Int) unowned(unsafe) var delegate: NSToolbarDelegate? var visible: Bool func runCustomizationPalette(_ sender: AnyObject?) var customizationPaletteIsRunning: Bool { get } var displayMode: NSToolbarDisplayMode var selectedItemIdentifier: String? var sizeMode: NSToolbarSizeMode var showsBaselineSeparator: Bool var allowsUserCustomization: Bool var identifier: String { get } var items: [NSToolbarItem] { get } var visibleItems: [NSToolbarItem]? { get } var autosavesConfiguration: Bool func setConfigurationFromDictionary(_ configDict: [String : AnyObject]) var configurationDictionary: [String : AnyObject] { get } func validateVisibleItems() var allowsExtensionItems: Bool } extension NSToolbar { var fullScreenAccessoryView: NSView? var fullScreenAccessoryViewMinHeight: CGFloat var fullScreenAccessoryViewMaxHeight: CGFloat } | -- |
To | class NSToolbar : NSObject { init(identifier identifier: String) func insertItem(withItemIdentifier itemIdentifier: String, at index: Int) func removeItem(at index: Int) unowned(unsafe) var delegate: NSToolbarDelegate? var isVisible: Bool func runCustomizationPalette(_ sender: Any?) var customizationPaletteIsRunning: Bool { get } var displayMode: NSToolbarDisplayMode var selectedItemIdentifier: String? var sizeMode: NSToolbarSizeMode var showsBaselineSeparator: Bool var allowsUserCustomization: Bool var identifier: String { get } var items: [NSToolbarItem] { get } var visibleItems: [NSToolbarItem]? { get } var autosavesConfiguration: Bool func setConfiguration(_ configDict: [String : Any]) var configuration: [String : Any] { get } func validateVisibleItems() var allowsExtensionItems: Bool var fullScreenAccessoryView: NSView? var fullScreenAccessoryViewMinHeight: CGFloat var fullScreenAccessoryViewMaxHeight: CGFloat func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSToolbar : CVarArg { } extension NSToolbar : Equatable, Hashable { var hashValue: Int { get } } extension NSToolbar { var fullScreenAccessoryView: NSView? var fullScreenAccessoryViewMinHeight: CGFloat var fullScreenAccessoryViewMaxHeight: CGFloat } | CVarArg, Equatable, Hashable |
Modified NSToolbar.configuration
Declaration | |
---|---|
From | var configurationDictionary: [String : AnyObject] { get } |
To | var configuration: [String : Any] { get } |
Declaration | |
---|---|
From | func insertItemWithItemIdentifier(_ itemIdentifier: String, atIndex index: Int) |
To | func insertItem(withItemIdentifier itemIdentifier: String, at index: Int) |
Modified NSToolbar.isVisible
Declaration | |
---|---|
From | var visible: Bool |
To | var isVisible: Bool |
Modified NSToolbar.removeItem(at: Int)
Declaration | |
---|---|
From | func removeItemAtIndex(_ index: Int) |
To | func removeItem(at index: Int) |
Declaration | |
---|---|
From | func runCustomizationPalette(_ sender: AnyObject?) |
To | func runCustomizationPalette(_ sender: Any?) |
Declaration | |
---|---|
From | func setConfigurationFromDictionary(_ configDict: [String : AnyObject]) |
To | func setConfiguration(_ configDict: [String : Any]) |
Modified NSToolbarDelegate
Declaration | |
---|---|
From | protocol NSToolbarDelegate : NSObjectProtocol { optional func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: String, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? optional func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String] optional func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String] optional func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String] optional func toolbarWillAddItem(_ notification: NSNotification) optional func toolbarDidRemoveItem(_ notification: NSNotification) } |
To | protocol NSToolbarDelegate : NSObjectProtocol { optional func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: String, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? optional func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String] optional func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String] optional func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String] optional func toolbarWillAddItem(_ notification: Notification) optional func toolbarDidRemoveItem(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func toolbarDidRemoveItem(_ notification: NSNotification) |
To | optional func toolbarDidRemoveItem(_ notification: Notification) |
Declaration | |
---|---|
From | optional func toolbarWillAddItem(_ notification: NSNotification) |
To | optional func toolbarWillAddItem(_ notification: Notification) |
Modified NSToolbarDisplayMode [enum]
Declaration | |
---|---|
From | enum NSToolbarDisplayMode : UInt { case Default case IconAndLabel case IconOnly case LabelOnly } |
To | enum NSToolbarDisplayMode : UInt { case `default` case iconAndLabel case iconOnly case labelOnly } |
Modified NSToolbarDisplayMode.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSToolbarDisplayMode.iconAndLabel
Declaration | |
---|---|
From | case IconAndLabel |
To | case iconAndLabel |
Modified NSToolbarDisplayMode.iconOnly
Declaration | |
---|---|
From | case IconOnly |
To | case iconOnly |
Modified NSToolbarDisplayMode.labelOnly
Declaration | |
---|---|
From | case LabelOnly |
To | case labelOnly |
Modified NSToolbarItem
Declaration | Protocols | |
---|---|---|
From | class NSToolbarItem : NSObject, NSCopying, NSValidatedUserInterfaceItem { init(itemIdentifier itemIdentifier: String) var itemIdentifier: String { get } unowned(unsafe) var toolbar: NSToolbar? { get } var label: String var paletteLabel: String var toolTip: String? var menuFormRepresentation: NSMenuItem? var tag: Int weak var target: AnyObject? var action: Selector var enabled: Bool var image: NSImage? var view: NSView? var minSize: NSSize var maxSize: NSSize var visibilityPriority: Int func validate() var autovalidates: Bool var allowsDuplicatesInToolbar: Bool { get } } | NSCopying, NSValidatedUserInterfaceItem |
To | class NSToolbarItem : NSObject, NSCopying, NSValidatedUserInterfaceItem { init(itemIdentifier itemIdentifier: String) var itemIdentifier: String { get } unowned(unsafe) var toolbar: NSToolbar? { get } var label: String var paletteLabel: String var toolTip: String? var menuFormRepresentation: NSMenuItem? var tag: Int weak var target: AnyObject? var action: Selector? var isEnabled: Bool var image: NSImage? var view: NSView? var minSize: NSSize var maxSize: NSSize var visibilityPriority: Int func validate() var autovalidates: Bool var allowsDuplicatesInToolbar: Bool { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSToolbarItem : CVarArg { } extension NSToolbarItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSValidatedUserInterfaceItem |
Modified NSToolbarItem.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Modified NSToolbarItem.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified NSToolbarSizeMode [enum]
Declaration | |
---|---|
From | enum NSToolbarSizeMode : UInt { case Default case Regular case Small } |
To | enum NSToolbarSizeMode : UInt { case `default` case regular case small } |
Modified NSToolbarSizeMode.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSToolbarSizeMode.regular
Declaration | |
---|---|
From | case Regular |
To | case regular |
Modified NSToolbarSizeMode.small
Declaration | |
---|---|
From | case Small |
To | case small |
Modified NSTouch
Declaration | Protocols | |
---|---|---|
From | class NSTouch : NSObject, NSCopying { var identity: protocol<NSCopying, NSObjectProtocol> { get } var phase: NSTouchPhase { get } var normalizedPosition: NSPoint { get } var resting: Bool { get } var device: AnyObject? { get } var deviceSize: NSSize { get } } | NSCopying |
To | class NSTouch : NSObject, NSCopying { var identity: NSCopying & NSObjectProtocol { get } var phase: NSTouchPhase { get } var normalizedPosition: NSPoint { get } var isResting: Bool { get } var device: Any? { get } var deviceSize: NSSize { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTouch : CVarArg { } extension NSTouch : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified NSTouch.device
Declaration | |
---|---|
From | var device: AnyObject? { get } |
To | var device: Any? { get } |
Modified NSTouch.identity
Declaration | |
---|---|
From | var identity: protocol<NSCopying, NSObjectProtocol> { get } |
To | var identity: NSCopying & NSObjectProtocol { get } |
Modified NSTouch.isResting
Declaration | |
---|---|
From | var resting: Bool { get } |
To | var isResting: Bool { get } |
Modified NSTouchPhase [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTouchPhase : OptionSetType { init(rawValue rawValue: UInt) static var Began: NSTouchPhase { get } static var Moved: NSTouchPhase { get } static var Stationary: NSTouchPhase { get } static var Ended: NSTouchPhase { get } static var Cancelled: NSTouchPhase { get } static var Touching: NSTouchPhase { get } static var Any: NSTouchPhase { get } } | OptionSetType |
To | struct NSTouchPhase : OptionSet { init(rawValue rawValue: UInt) static var began: NSTouchPhase { get } static var moved: NSTouchPhase { get } static var stationary: NSTouchPhase { get } static var ended: NSTouchPhase { get } static var cancelled: NSTouchPhase { get } static var touching: NSTouchPhase { get } static var any: NSTouchPhase { get } func intersect(_ other: NSTouchPhase) -> NSTouchPhase func exclusiveOr(_ other: NSTouchPhase) -> NSTouchPhase mutating func unionInPlace(_ other: NSTouchPhase) mutating func intersectInPlace(_ other: NSTouchPhase) mutating func exclusiveOrInPlace(_ other: NSTouchPhase) func isSubsetOf(_ other: NSTouchPhase) -> Bool func isDisjointWith(_ other: NSTouchPhase) -> Bool func isSupersetOf(_ other: NSTouchPhase) -> Bool mutating func subtractInPlace(_ other: NSTouchPhase) func isStrictSupersetOf(_ other: NSTouchPhase) -> Bool func isStrictSubsetOf(_ other: NSTouchPhase) -> Bool } extension NSTouchPhase { func union(_ other: NSTouchPhase) -> NSTouchPhase func intersection(_ other: NSTouchPhase) -> NSTouchPhase func symmetricDifference(_ other: NSTouchPhase) -> NSTouchPhase } extension NSTouchPhase { func contains(_ member: NSTouchPhase) -> Bool mutating func insert(_ newMember: NSTouchPhase) -> (inserted: Bool, memberAfterInsert: NSTouchPhase) mutating func remove(_ member: NSTouchPhase) -> NSTouchPhase? mutating func update(with newMember: NSTouchPhase) -> NSTouchPhase? } extension NSTouchPhase { convenience init() mutating func formUnion(_ other: NSTouchPhase) mutating func formIntersection(_ other: NSTouchPhase) mutating func formSymmetricDifference(_ other: NSTouchPhase) } extension NSTouchPhase { convenience init<S : Sequence where S.Iterator.Element == NSTouchPhase>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTouchPhase...) mutating func subtract(_ other: NSTouchPhase) func isSubset(of other: NSTouchPhase) -> Bool func isSuperset(of other: NSTouchPhase) -> Bool func isDisjoint(with other: NSTouchPhase) -> Bool func subtracting(_ other: NSTouchPhase) -> NSTouchPhase var isEmpty: Bool { get } func isStrictSuperset(of other: NSTouchPhase) -> Bool func isStrictSubset(of other: NSTouchPhase) -> Bool } | OptionSet |
Modified NSTouchPhase.any
Declaration | |
---|---|
From | static var Any: NSTouchPhase { get } |
To | static var any: NSTouchPhase { get } |
Modified NSTouchPhase.began
Declaration | |
---|---|
From | static var Began: NSTouchPhase { get } |
To | static var began: NSTouchPhase { get } |
Modified NSTouchPhase.cancelled
Declaration | |
---|---|
From | static var Cancelled: NSTouchPhase { get } |
To | static var cancelled: NSTouchPhase { get } |
Modified NSTouchPhase.ended
Declaration | |
---|---|
From | static var Ended: NSTouchPhase { get } |
To | static var ended: NSTouchPhase { get } |
Modified NSTouchPhase.moved
Declaration | |
---|---|
From | static var Moved: NSTouchPhase { get } |
To | static var moved: NSTouchPhase { get } |
Modified NSTouchPhase.stationary
Declaration | |
---|---|
From | static var Stationary: NSTouchPhase { get } |
To | static var stationary: NSTouchPhase { get } |
Modified NSTouchPhase.touching
Declaration | |
---|---|
From | static var Touching: NSTouchPhase { get } |
To | static var touching: NSTouchPhase { get } |
Modified NSTrackingArea
Declaration | Protocols | |
---|---|---|
From | class NSTrackingArea : NSObject, NSCopying, NSCoding { init(rect rect: NSRect, options options: NSTrackingAreaOptions, owner owner: AnyObject?, userInfo userInfo: [NSObject : AnyObject]?) var rect: NSRect { get } var options: NSTrackingAreaOptions { get } unowned(unsafe) var owner: AnyObject? { get } var userInfo: [NSObject : AnyObject]? { get } } | NSCoding, NSCopying |
To | class NSTrackingArea : NSObject, NSCopying, NSCoding { init(rect rect: NSRect, options options: NSTrackingAreaOptions = [], owner owner: Any?, userInfo userInfo: [AnyHashable : Any]? = nil) var rect: NSRect { get } var options: NSTrackingAreaOptions { get } unowned(unsafe) var owner: AnyObject? { get } var userInfo: [AnyHashable : Any]? { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTrackingArea : CVarArg { } extension NSTrackingArea : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | init(rect rect: NSRect, options options: NSTrackingAreaOptions, owner owner: AnyObject?, userInfo userInfo: [NSObject : AnyObject]?) |
To | init(rect rect: NSRect, options options: NSTrackingAreaOptions = [], owner owner: Any?, userInfo userInfo: [AnyHashable : Any]? = nil) |
Modified NSTrackingArea.userInfo
Declaration | |
---|---|
From | var userInfo: [NSObject : AnyObject]? { get } |
To | var userInfo: [AnyHashable : Any]? { get } |
Modified NSTrackingAreaOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTrackingAreaOptions : OptionSetType { init(rawValue rawValue: UInt) static var MouseEnteredAndExited: NSTrackingAreaOptions { get } static var MouseMoved: NSTrackingAreaOptions { get } static var CursorUpdate: NSTrackingAreaOptions { get } static var ActiveWhenFirstResponder: NSTrackingAreaOptions { get } static var ActiveInKeyWindow: NSTrackingAreaOptions { get } static var ActiveInActiveApp: NSTrackingAreaOptions { get } static var ActiveAlways: NSTrackingAreaOptions { get } static var AssumeInside: NSTrackingAreaOptions { get } static var InVisibleRect: NSTrackingAreaOptions { get } static var EnabledDuringMouseDrag: NSTrackingAreaOptions { get } } | OptionSetType |
To | struct NSTrackingAreaOptions : OptionSet { init(rawValue rawValue: UInt) static var mouseEnteredAndExited: NSTrackingAreaOptions { get } static var mouseMoved: NSTrackingAreaOptions { get } static var cursorUpdate: NSTrackingAreaOptions { get } static var activeWhenFirstResponder: NSTrackingAreaOptions { get } static var activeInKeyWindow: NSTrackingAreaOptions { get } static var activeInActiveApp: NSTrackingAreaOptions { get } static var activeAlways: NSTrackingAreaOptions { get } static var assumeInside: NSTrackingAreaOptions { get } static var inVisibleRect: NSTrackingAreaOptions { get } static var enabledDuringMouseDrag: NSTrackingAreaOptions { get } func intersect(_ other: NSTrackingAreaOptions) -> NSTrackingAreaOptions func exclusiveOr(_ other: NSTrackingAreaOptions) -> NSTrackingAreaOptions mutating func unionInPlace(_ other: NSTrackingAreaOptions) mutating func intersectInPlace(_ other: NSTrackingAreaOptions) mutating func exclusiveOrInPlace(_ other: NSTrackingAreaOptions) func isSubsetOf(_ other: NSTrackingAreaOptions) -> Bool func isDisjointWith(_ other: NSTrackingAreaOptions) -> Bool func isSupersetOf(_ other: NSTrackingAreaOptions) -> Bool mutating func subtractInPlace(_ other: NSTrackingAreaOptions) func isStrictSupersetOf(_ other: NSTrackingAreaOptions) -> Bool func isStrictSubsetOf(_ other: NSTrackingAreaOptions) -> Bool } extension NSTrackingAreaOptions { func union(_ other: NSTrackingAreaOptions) -> NSTrackingAreaOptions func intersection(_ other: NSTrackingAreaOptions) -> NSTrackingAreaOptions func symmetricDifference(_ other: NSTrackingAreaOptions) -> NSTrackingAreaOptions } extension NSTrackingAreaOptions { func contains(_ member: NSTrackingAreaOptions) -> Bool mutating func insert(_ newMember: NSTrackingAreaOptions) -> (inserted: Bool, memberAfterInsert: NSTrackingAreaOptions) mutating func remove(_ member: NSTrackingAreaOptions) -> NSTrackingAreaOptions? mutating func update(with newMember: NSTrackingAreaOptions) -> NSTrackingAreaOptions? } extension NSTrackingAreaOptions { convenience init() mutating func formUnion(_ other: NSTrackingAreaOptions) mutating func formIntersection(_ other: NSTrackingAreaOptions) mutating func formSymmetricDifference(_ other: NSTrackingAreaOptions) } extension NSTrackingAreaOptions { convenience init<S : Sequence where S.Iterator.Element == NSTrackingAreaOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTrackingAreaOptions...) mutating func subtract(_ other: NSTrackingAreaOptions) func isSubset(of other: NSTrackingAreaOptions) -> Bool func isSuperset(of other: NSTrackingAreaOptions) -> Bool func isDisjoint(with other: NSTrackingAreaOptions) -> Bool func subtracting(_ other: NSTrackingAreaOptions) -> NSTrackingAreaOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSTrackingAreaOptions) -> Bool func isStrictSubset(of other: NSTrackingAreaOptions) -> Bool } | OptionSet |
Modified NSTrackingAreaOptions.activeAlways
Declaration | |
---|---|
From | static var ActiveAlways: NSTrackingAreaOptions { get } |
To | static var activeAlways: NSTrackingAreaOptions { get } |
Declaration | |
---|---|
From | static var ActiveInActiveApp: NSTrackingAreaOptions { get } |
To | static var activeInActiveApp: NSTrackingAreaOptions { get } |
Declaration | |
---|---|
From | static var ActiveInKeyWindow: NSTrackingAreaOptions { get } |
To | static var activeInKeyWindow: NSTrackingAreaOptions { get } |
Declaration | |
---|---|
From | static var ActiveWhenFirstResponder: NSTrackingAreaOptions { get } |
To | static var activeWhenFirstResponder: NSTrackingAreaOptions { get } |
Modified NSTrackingAreaOptions.assumeInside
Declaration | |
---|---|
From | static var AssumeInside: NSTrackingAreaOptions { get } |
To | static var assumeInside: NSTrackingAreaOptions { get } |
Modified NSTrackingAreaOptions.cursorUpdate
Declaration | |
---|---|
From | static var CursorUpdate: NSTrackingAreaOptions { get } |
To | static var cursorUpdate: NSTrackingAreaOptions { get } |
Declaration | |
---|---|
From | static var EnabledDuringMouseDrag: NSTrackingAreaOptions { get } |
To | static var enabledDuringMouseDrag: NSTrackingAreaOptions { get } |
Modified NSTrackingAreaOptions.inVisibleRect
Declaration | |
---|---|
From | static var InVisibleRect: NSTrackingAreaOptions { get } |
To | static var inVisibleRect: NSTrackingAreaOptions { get } |
Declaration | |
---|---|
From | static var MouseEnteredAndExited: NSTrackingAreaOptions { get } |
To | static var mouseEnteredAndExited: NSTrackingAreaOptions { get } |
Modified NSTrackingAreaOptions.mouseMoved
Declaration | |
---|---|
From | static var MouseMoved: NSTrackingAreaOptions { get } |
To | static var mouseMoved: NSTrackingAreaOptions { get } |
Modified NSTreeController
Declaration | |
---|---|
From | class NSTreeController : NSObjectController { func rearrangeObjects() var arrangedObjects: AnyObject { get } var childrenKeyPath: String? var countKeyPath: String? var leafKeyPath: String? var sortDescriptors: [NSSortDescriptor] var content: AnyObject? func add(_ sender: AnyObject?) func remove(_ sender: AnyObject?) func addChild(_ sender: AnyObject?) func insert(_ sender: AnyObject?) func insertChild(_ sender: AnyObject?) var canInsert: Bool { get } var canInsertChild: Bool { get } var canAddChild: Bool { get } func insertObject(_ object: AnyObject?, atArrangedObjectIndexPath indexPath: NSIndexPath) func insertObjects(_ objects: [AnyObject], atArrangedObjectIndexPaths indexPaths: [NSIndexPath]) func removeObjectAtArrangedObjectIndexPath(_ indexPath: NSIndexPath) func removeObjectsAtArrangedObjectIndexPaths(_ indexPaths: [NSIndexPath]) var avoidsEmptySelection: Bool var preservesSelection: Bool var selectsInsertedObjects: Bool var alwaysUsesMultipleValuesMarker: Bool var selectedObjects: [AnyObject] { get } func setSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool var selectionIndexPaths: [NSIndexPath] { get } func setSelectionIndexPath(_ indexPath: NSIndexPath?) -> Bool @NSCopying var selectionIndexPath: NSIndexPath? { get } func addSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool func removeSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool var selectedNodes: [NSTreeNode] { get } func moveNode(_ node: NSTreeNode, toIndexPath indexPath: NSIndexPath) func moveNodes(_ nodes: [NSTreeNode], toIndexPath startingIndexPath: NSIndexPath) func childrenKeyPathForNode(_ node: NSTreeNode) -> String? func countKeyPathForNode(_ node: NSTreeNode) -> String? func leafKeyPathForNode(_ node: NSTreeNode) -> String? } |
To | class NSTreeController : NSObjectController { func rearrangeObjects() var arrangedObjects: Any { get } var childrenKeyPath: String? var countKeyPath: String? var leafKeyPath: String? var sortDescriptors: [NSSortDescriptor] var content: Any? func add(_ sender: Any?) func remove(_ sender: Any?) func addChild(_ sender: Any?) func insert(_ sender: Any?) func insertChild(_ sender: Any?) var canInsert: Bool { get } var canInsertChild: Bool { get } var canAddChild: Bool { get } func insert(_ object: Any?, atArrangedObjectIndexPath indexPath: IndexPath) func insert(_ objects: [Any], atArrangedObjectIndexPaths indexPaths: [IndexPath]) func removeObject(atArrangedObjectIndexPath indexPath: IndexPath) func removeObjects(atArrangedObjectIndexPaths indexPaths: [IndexPath]) var avoidsEmptySelection: Bool var preservesSelection: Bool var selectsInsertedObjects: Bool var alwaysUsesMultipleValuesMarker: Bool var selectedObjects: [Any] { get } func setSelectionIndexPaths(_ indexPaths: [IndexPath]) -> Bool var selectionIndexPaths: [IndexPath] { get } func setSelectionIndexPath(_ indexPath: IndexPath?) -> Bool var selectionIndexPath: IndexPath? { get } func addSelectionIndexPaths(_ indexPaths: [IndexPath]) -> Bool func removeSelectionIndexPaths(_ indexPaths: [IndexPath]) -> Bool var selectedNodes: [NSTreeNode] { get } func move(_ node: NSTreeNode, to indexPath: IndexPath) func move(_ nodes: [NSTreeNode], to startingIndexPath: IndexPath) func childrenKeyPath(for node: NSTreeNode) -> String? func countKeyPath(for node: NSTreeNode) -> String? func leafKeyPath(for node: NSTreeNode) -> String? var managedObjectContext: NSManagedObjectContext? var entityName: String? var fetchPredicate: NSPredicate? func fetch(with fetchRequest: NSFetchRequest<NSFetchRequestResult>?, merge merge: Bool) throws func fetch(_ sender: Any?) var usesLazyFetching: Bool func defaultFetchRequest() -> NSFetchRequest<NSFetchRequestResult> } |
Modified NSTreeController.add(_: Any?)
Declaration | |
---|---|
From | func add(_ sender: AnyObject?) |
To | func add(_ sender: Any?) |
Modified NSTreeController.addChild(_: Any?)
Declaration | |
---|---|
From | func addChild(_ sender: AnyObject?) |
To | func addChild(_ sender: Any?) |
Declaration | |
---|---|
From | func addSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool |
To | func addSelectionIndexPaths(_ indexPaths: [IndexPath]) -> Bool |
Modified NSTreeController.arrangedObjects
Declaration | |
---|---|
From | var arrangedObjects: AnyObject { get } |
To | var arrangedObjects: Any { get } |
Declaration | |
---|---|
From | func childrenKeyPathForNode(_ node: NSTreeNode) -> String? |
To | func childrenKeyPath(for node: NSTreeNode) -> String? |
Modified NSTreeController.content
Declaration | |
---|---|
From | var content: AnyObject? |
To | var content: Any? |
Declaration | |
---|---|
From | func countKeyPathForNode(_ node: NSTreeNode) -> String? |
To | func countKeyPath(for node: NSTreeNode) -> String? |
Modified NSTreeController.insert(_: Any?)
Declaration | |
---|---|
From | func insert(_ sender: AnyObject?) |
To | func insert(_ sender: Any?) |
Declaration | |
---|---|
From | func insertObject(_ object: AnyObject?, atArrangedObjectIndexPath indexPath: NSIndexPath) |
To | func insert(_ object: Any?, atArrangedObjectIndexPath indexPath: IndexPath) |
Declaration | |
---|---|
From | func insertObjects(_ objects: [AnyObject], atArrangedObjectIndexPaths indexPaths: [NSIndexPath]) |
To | func insert(_ objects: [Any], atArrangedObjectIndexPaths indexPaths: [IndexPath]) |
Declaration | |
---|---|
From | func insertChild(_ sender: AnyObject?) |
To | func insertChild(_ sender: Any?) |
Declaration | |
---|---|
From | func leafKeyPathForNode(_ node: NSTreeNode) -> String? |
To | func leafKeyPath(for node: NSTreeNode) -> String? |
Declaration | |
---|---|
From | func moveNode(_ node: NSTreeNode, toIndexPath indexPath: NSIndexPath) |
To | func move(_ node: NSTreeNode, to indexPath: IndexPath) |
Declaration | |
---|---|
From | func moveNodes(_ nodes: [NSTreeNode], toIndexPath startingIndexPath: NSIndexPath) |
To | func move(_ nodes: [NSTreeNode], to startingIndexPath: IndexPath) |
Modified NSTreeController.remove(_: Any?)
Declaration | |
---|---|
From | func remove(_ sender: AnyObject?) |
To | func remove(_ sender: Any?) |
Declaration | |
---|---|
From | func removeObjectAtArrangedObjectIndexPath(_ indexPath: NSIndexPath) |
To | func removeObject(atArrangedObjectIndexPath indexPath: IndexPath) |
Declaration | |
---|---|
From | func removeObjectsAtArrangedObjectIndexPaths(_ indexPaths: [NSIndexPath]) |
To | func removeObjects(atArrangedObjectIndexPaths indexPaths: [IndexPath]) |
Declaration | |
---|---|
From | func removeSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool |
To | func removeSelectionIndexPaths(_ indexPaths: [IndexPath]) -> Bool |
Modified NSTreeController.selectedObjects
Declaration | |
---|---|
From | var selectedObjects: [AnyObject] { get } |
To | var selectedObjects: [Any] { get } |
Modified NSTreeController.selectionIndexPath
Declaration | |
---|---|
From | @NSCopying var selectionIndexPath: NSIndexPath? { get } |
To | var selectionIndexPath: IndexPath? { get } |
Modified NSTreeController.selectionIndexPaths
Declaration | |
---|---|
From | var selectionIndexPaths: [NSIndexPath] { get } |
To | var selectionIndexPaths: [IndexPath] { get } |
Declaration | |
---|---|
From | func setSelectionIndexPath(_ indexPath: NSIndexPath?) -> Bool |
To | func setSelectionIndexPath(_ indexPath: IndexPath?) -> Bool |
Declaration | |
---|---|
From | func setSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool |
To | func setSelectionIndexPaths(_ indexPaths: [IndexPath]) -> Bool |
Modified NSTreeNode
Declaration | Protocols | |
---|---|---|
From | class NSTreeNode : NSObject { convenience init(representedObject modelObject: AnyObject?) class func treeNodeWithRepresentedObject(_ modelObject: AnyObject?) -> Self init(representedObject modelObject: AnyObject?) var representedObject: AnyObject? { get } var indexPath: NSIndexPath { get } var leaf: Bool { get } var childNodes: [NSTreeNode]? { get } var mutableChildNodes: NSMutableArray { get } func descendantNodeAtIndexPath(_ indexPath: NSIndexPath) -> NSTreeNode? unowned(unsafe) var parentNode: NSTreeNode? { get } func sortWithSortDescriptors(_ sortDescriptors: [NSSortDescriptor], recursively recursively: Bool) } | -- |
To | class NSTreeNode : NSObject { convenience init(representedObject modelObject: Any?) class func withRepresentedObject(_ modelObject: Any?) -> Self init(representedObject modelObject: Any?) var representedObject: Any? { get } var indexPath: IndexPath { get } var isLeaf: Bool { get } var children: [NSTreeNode]? { get } var mutableChildren: NSMutableArray { get } func descendant(at indexPath: IndexPath) -> NSTreeNode? unowned(unsafe) var parent: NSTreeNode? { get } func sort(with sortDescriptors: [NSSortDescriptor], recursively recursively: Bool) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTreeNode : CVarArg { } extension NSTreeNode : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSTreeNode.children
Declaration | |
---|---|
From | var childNodes: [NSTreeNode]? { get } |
To | var children: [NSTreeNode]? { get } |
Declaration | |
---|---|
From | func descendantNodeAtIndexPath(_ indexPath: NSIndexPath) -> NSTreeNode? |
To | func descendant(at indexPath: IndexPath) -> NSTreeNode? |
Modified NSTreeNode.indexPath
Declaration | |
---|---|
From | var indexPath: NSIndexPath { get } |
To | var indexPath: IndexPath { get } |
Declaration | |
---|---|
From | init(representedObject modelObject: AnyObject?) |
To | init(representedObject modelObject: Any?) |
Modified NSTreeNode.isLeaf
Declaration | |
---|---|
From | var leaf: Bool { get } |
To | var isLeaf: Bool { get } |
Modified NSTreeNode.mutableChildren
Declaration | |
---|---|
From | var mutableChildNodes: NSMutableArray { get } |
To | var mutableChildren: NSMutableArray { get } |
Modified NSTreeNode.parent
Declaration | |
---|---|
From | unowned(unsafe) var parentNode: NSTreeNode? { get } |
To | unowned(unsafe) var parent: NSTreeNode? { get } |
Modified NSTreeNode.representedObject
Declaration | |
---|---|
From | var representedObject: AnyObject? { get } |
To | var representedObject: Any? { get } |
Declaration | |
---|---|
From | func sortWithSortDescriptors(_ sortDescriptors: [NSSortDescriptor], recursively recursively: Bool) |
To | func sort(with sortDescriptors: [NSSortDescriptor], recursively recursively: Bool) |
Modified NSTypesetter
Declaration | Protocols | |
---|---|---|
From | class NSTypesetter : NSObject { var usesFontLeading: Bool var typesetterBehavior: NSTypesetterBehavior var hyphenationFactor: Float var lineFragmentPadding: CGFloat func substituteFontForFont(_ originalFont: NSFont) -> NSFont func textTabForGlyphLocation(_ glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? var bidiProcessingEnabled: Bool unowned(unsafe) var attributedString: NSAttributedString? func setParagraphGlyphRange(_ paragraphRange: NSRange, separatorGlyphRange paragraphSeparatorRange: NSRange) var paragraphGlyphRange: NSRange { get } var paragraphSeparatorGlyphRange: NSRange { get } var paragraphCharacterRange: NSRange { get } var paragraphSeparatorCharacterRange: NSRange { get } func layoutParagraphAtPoint(_ lineFragmentOrigin: NSPointPointer) -> Int func beginParagraph() func endParagraph() func beginLineWithGlyphAtIndex(_ glyphIndex: Int) func endLineWithGlyphRange(_ lineGlyphRange: NSRange) func lineSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacingBeforeGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func getLineFragmentRect(_ lineFragmentRect: NSRectPointer, usedRect lineFragmentUsedRect: NSRectPointer, forParagraphSeparatorGlyphRange paragraphSeparatorGlyphRange: NSRange, atProposedOrigin lineOrigin: NSPoint) var attributesForExtraLineFragment: [String : AnyObject]? { get } func actionForControlCharacterAtIndex(_ charIndex: Int) -> NSTypesetterControlCharacterAction unowned(unsafe) var layoutManager: NSLayoutManager? { get } var textContainers: [NSTextContainer]? { get } unowned(unsafe) var currentTextContainer: NSTextContainer? { get } @NSCopying var currentParagraphStyle: NSParagraphStyle? { get } func setHardInvalidation(_ flag: Bool, forGlyphRange glyphRange: NSRange) func layoutGlyphsInLayoutManager(_ layoutManager: NSLayoutManager, startingAtGlyphIndex startGlyphIndex: Int, maxNumberOfLineFragments maxNumLines: Int, nextGlyphIndex nextGlyph: UnsafeMutablePointer<Int>) func layoutCharactersInRange(_ characterRange: NSRange, forLayoutManager layoutManager: NSLayoutManager, maximumNumberOfLineFragments maxNumLines: Int) -> NSRange class func printingAdjustmentInLayoutManager(_ layoutMgr: NSLayoutManager, forNominallySpacedGlyphRange nominallySpacedGlyphsRange: NSRange, packedGlyphs packedGlyphs: UnsafePointer<UInt8>, count packedGlyphsCount: Int) -> NSSize func baselineOffsetInLayoutManager(_ layoutMgr: NSLayoutManager, glyphIndex glyphIndex: Int) -> CGFloat class func sharedSystemTypesetter() -> AnyObject class func sharedSystemTypesetterForBehavior(_ theBehavior: NSTypesetterBehavior) -> AnyObject class func defaultTypesetterBehavior() -> NSTypesetterBehavior } extension NSTypesetter { func willSetLineFragmentRect(_ lineRect: NSRectPointer, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRectPointer, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>) func shouldBreakLineByWordBeforeCharacterAtIndex(_ charIndex: Int) -> Bool func shouldBreakLineByHyphenatingBeforeCharacterAtIndex(_ charIndex: Int) -> Bool func hyphenationFactorForGlyphAtIndex(_ glyphIndex: Int) -> Float func hyphenCharacterForGlyphAtIndex(_ glyphIndex: Int) -> UTF32Char func boundingBoxForControlGlyphAtIndex(_ glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect } extension NSTypesetter { func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange func getGlyphsInRange(_ glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int func getLineFragmentRect(_ lineFragmentRect: NSRectPointer, usedRect lineFragmentUsedRect: NSRectPointer, remainingRect remainingRect: NSRectPointer, forStartingGlyphAtIndex startingGlyphIndex: Int, proposedRect proposedRect: NSRect, lineSpacing lineSpacing: CGFloat, paragraphSpacingBefore paragraphSpacingBefore: CGFloat, paragraphSpacingAfter paragraphSpacingAfter: CGFloat) func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect, baselineOffset baselineOffset: CGFloat) func substituteGlyphsInRange(_ glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>) func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex characterIndex: Int) func deleteGlyphsInRange(_ glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>, forStartOfGlyphRange glyphRange: NSRange) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func setBidiLevels(_ levels: UnsafePointer<UInt8>, forGlyphRange glyphRange: NSRange) } | -- |
To | class NSTypesetter : NSObject { var usesFontLeading: Bool var typesetterBehavior: NSTypesetterBehavior var hyphenationFactor: Float var lineFragmentPadding: CGFloat func substituteFont(for originalFont: NSFont) -> NSFont func textTab(forGlyphLocation glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? var bidiProcessingEnabled: Bool unowned(unsafe) var attributedString: NSAttributedString? func setParagraphGlyphRange(_ paragraphRange: NSRange, separatorGlyphRange paragraphSeparatorRange: NSRange) var paragraphGlyphRange: NSRange { get } var paragraphSeparatorGlyphRange: NSRange { get } var paragraphCharacterRange: NSRange { get } var paragraphSeparatorCharacterRange: NSRange { get } func layoutParagraph(at lineFragmentOrigin: NSPointPointer) -> Int func beginParagraph() func endParagraph() func beginLine(withGlyphAt glyphIndex: Int) func endLine(withGlyphRange lineGlyphRange: NSRange) func lineSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacing(beforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func paragraphSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat func getLineFragmentRect(_ lineFragmentRect: NSRectPointer, usedRect lineFragmentUsedRect: NSRectPointer, forParagraphSeparatorGlyphRange paragraphSeparatorGlyphRange: NSRange, atProposedOrigin lineOrigin: NSPoint) var attributesForExtraLineFragment: [String : Any]? { get } func actionForControlCharacter(at charIndex: Int) -> NSTypesetterControlCharacterAction unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var textContainers: NSArray? { get } unowned(unsafe) var currentTextContainer: NSTextContainer? { get } @NSCopying var currentParagraphStyle: NSParagraphStyle? { get } func setHardInvalidation(_ flag: Bool, forGlyphRange glyphRange: NSRange) func layoutGlyphs(in layoutManager: NSLayoutManager, startingAtGlyphIndex startGlyphIndex: Int, maxNumberOfLineFragments maxNumLines: Int, nextGlyphIndex nextGlyph: UnsafeMutablePointer<Int>) func layoutCharacters(in characterRange: NSRange, for layoutManager: NSLayoutManager, maximumNumberOfLineFragments maxNumLines: Int) -> NSRange class func printingAdjustment(in layoutMgr: NSLayoutManager, forNominallySpacedGlyphRange nominallySpacedGlyphsRange: NSRange, packedGlyphs packedGlyphs: UnsafePointer<UInt8>, count packedGlyphsCount: Int) -> NSSize func baselineOffset(in layoutMgr: NSLayoutManager, glyphIndex glyphIndex: Int) -> CGFloat class func sharedSystemTypesetter() -> Any class func sharedSystemTypesetter(for behavior: NSTypesetterBehavior) -> Any class func defaultTypesetterBehavior() -> NSTypesetterBehavior func willSetLineFragmentRect(_ lineRect: NSRectPointer, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRectPointer, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>) func shouldBreakLine(byWordBeforeCharacterAt charIndex: Int) -> Bool func shouldBreakLine(byHyphenatingBeforeCharacterAt charIndex: Int) -> Bool func hyphenationFactor(forGlyphAt glyphIndex: Int) -> Float func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32Char func boundingBox(forControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange func getGlyphs(in glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>!, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>!, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>!, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>!, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>!) -> Int func getLineFragmentRect(_ lineFragmentRect: NSRectPointer!, usedRect lineFragmentUsedRect: NSRectPointer!, remaining remainingRect: NSRectPointer!, forStartingGlyphAt startingGlyphIndex: Int, proposedRect proposedRect: NSRect, lineSpacing lineSpacing: CGFloat, paragraphSpacingBefore paragraphSpacingBefore: CGFloat, paragraphSpacingAfter paragraphSpacingAfter: CGFloat) func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect, baselineOffset baselineOffset: CGFloat) func substituteGlyphs(in glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>!) func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex characterIndex: Int) func deleteGlyphs(in glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>!, forStartOfGlyphRange glyphRange: NSRange) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func setBidiLevels(_ levels: UnsafePointer<UInt8>!, forGlyphRange glyphRange: NSRange) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSTypesetter : CVarArg { } extension NSTypesetter : Equatable, Hashable { var hashValue: Int { get } } extension NSTypesetter { func willSetLineFragmentRect(_ lineRect: NSRectPointer, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRectPointer, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>) func shouldBreakLine(byWordBeforeCharacterAt charIndex: Int) -> Bool func shouldBreakLine(byHyphenatingBeforeCharacterAt charIndex: Int) -> Bool func hyphenationFactor(forGlyphAt glyphIndex: Int) -> Float func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32Char func boundingBox(forControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect } extension NSTypesetter { func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange func getGlyphs(in glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>!, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>!, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>!, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>!, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>!) -> Int func getLineFragmentRect(_ lineFragmentRect: NSRectPointer!, usedRect lineFragmentUsedRect: NSRectPointer!, remaining remainingRect: NSRectPointer!, forStartingGlyphAt startingGlyphIndex: Int, proposedRect proposedRect: NSRect, lineSpacing lineSpacing: CGFloat, paragraphSpacingBefore paragraphSpacingBefore: CGFloat, paragraphSpacingAfter paragraphSpacingAfter: CGFloat) func setLineFragmentRect(_ fragmentRect: NSRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: NSRect, baselineOffset baselineOffset: CGFloat) func substituteGlyphs(in glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>!) func insertGlyph(_ glyph: NSGlyph, atGlyphIndex glyphIndex: Int, characterIndex characterIndex: Int) func deleteGlyphs(in glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphRange glyphRange: NSRange) func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>!, forStartOfGlyphRange glyphRange: NSRange) func setAttachmentSize(_ attachmentSize: NSSize, forGlyphRange glyphRange: NSRange) func setBidiLevels(_ levels: UnsafePointer<UInt8>!, forGlyphRange glyphRange: NSRange) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func actionForControlCharacterAtIndex(_ charIndex: Int) -> NSTypesetterControlCharacterAction |
To | func actionForControlCharacter(at charIndex: Int) -> NSTypesetterControlCharacterAction |
Declaration | |
---|---|
From | var attributesForExtraLineFragment: [String : AnyObject]? { get } |
To | var attributesForExtraLineFragment: [String : Any]? { get } |
Declaration | |
---|---|
From | func baselineOffsetInLayoutManager(_ layoutMgr: NSLayoutManager, glyphIndex glyphIndex: Int) -> CGFloat |
To | func baselineOffset(in layoutMgr: NSLayoutManager, glyphIndex glyphIndex: Int) -> CGFloat |
Declaration | |
---|---|
From | func beginLineWithGlyphAtIndex(_ glyphIndex: Int) |
To | func beginLine(withGlyphAt glyphIndex: Int) |
Declaration | |
---|---|
From | func boundingBoxForControlGlyphAtIndex(_ glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect |
To | func boundingBox(forControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: NSRect, glyphPosition glyphPosition: NSPoint, characterIndex charIndex: Int) -> NSRect |
Modified NSTypesetter.characterRange(forGlyphRange: NSRange, actualGlyphRange: NSRangePointer?) -> NSRange
Declaration | |
---|---|
From | func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange |
To | func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange |
Declaration | |
---|---|
From | func deleteGlyphsInRange(_ glyphRange: NSRange) |
To | func deleteGlyphs(in glyphRange: NSRange) |
Declaration | |
---|---|
From | func endLineWithGlyphRange(_ lineGlyphRange: NSRange) |
To | func endLine(withGlyphRange lineGlyphRange: NSRange) |
Declaration | |
---|---|
From | func getGlyphsInRange(_ glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int |
To | func getGlyphs(in glyphsRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<NSGlyph>!, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>!, glyphInscriptions inscribeBuffer: UnsafeMutablePointer<NSGlyphInscription>!, elasticBits elasticBuffer: UnsafeMutablePointer<ObjCBool>!, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>!) -> Int |
Declaration | |
---|---|
From | func getLineFragmentRect(_ lineFragmentRect: NSRectPointer, usedRect lineFragmentUsedRect: NSRectPointer, remainingRect remainingRect: NSRectPointer, forStartingGlyphAtIndex startingGlyphIndex: Int, proposedRect proposedRect: NSRect, lineSpacing lineSpacing: CGFloat, paragraphSpacingBefore paragraphSpacingBefore: CGFloat, paragraphSpacingAfter paragraphSpacingAfter: CGFloat) |
To | func getLineFragmentRect(_ lineFragmentRect: NSRectPointer!, usedRect lineFragmentUsedRect: NSRectPointer!, remaining remainingRect: NSRectPointer!, forStartingGlyphAt startingGlyphIndex: Int, proposedRect proposedRect: NSRect, lineSpacing lineSpacing: CGFloat, paragraphSpacingBefore paragraphSpacingBefore: CGFloat, paragraphSpacingAfter paragraphSpacingAfter: CGFloat) |
Declaration | |
---|---|
From | func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange |
To | func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange |
Declaration | |
---|---|
From | func hyphenationFactorForGlyphAtIndex(_ glyphIndex: Int) -> Float |
To | func hyphenationFactor(forGlyphAt glyphIndex: Int) -> Float |
Declaration | |
---|---|
From | func hyphenCharacterForGlyphAtIndex(_ glyphIndex: Int) -> UTF32Char |
To | func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32Char |
Declaration | |
---|---|
From | func layoutCharactersInRange(_ characterRange: NSRange, forLayoutManager layoutManager: NSLayoutManager, maximumNumberOfLineFragments maxNumLines: Int) -> NSRange |
To | func layoutCharacters(in characterRange: NSRange, for layoutManager: NSLayoutManager, maximumNumberOfLineFragments maxNumLines: Int) -> NSRange |
Declaration | |
---|---|
From | func layoutGlyphsInLayoutManager(_ layoutManager: NSLayoutManager, startingAtGlyphIndex startGlyphIndex: Int, maxNumberOfLineFragments maxNumLines: Int, nextGlyphIndex nextGlyph: UnsafeMutablePointer<Int>) |
To | func layoutGlyphs(in layoutManager: NSLayoutManager, startingAtGlyphIndex startGlyphIndex: Int, maxNumberOfLineFragments maxNumLines: Int, nextGlyphIndex nextGlyph: UnsafeMutablePointer<Int>) |
Declaration | |
---|---|
From | func layoutParagraphAtPoint(_ lineFragmentOrigin: NSPointPointer) -> Int |
To | func layoutParagraph(at lineFragmentOrigin: NSPointPointer) -> Int |
Modified NSTypesetter.lineSpacing(afterGlyphAt: Int, withProposedLineFragmentRect: NSRect) -> CGFloat
Declaration | |
---|---|
From | func lineSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | func lineSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Modified NSTypesetter.paragraphSpacing(afterGlyphAt: Int, withProposedLineFragmentRect: NSRect) -> CGFloat
Declaration | |
---|---|
From | func paragraphSpacingAfterGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | func paragraphSpacing(afterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Modified NSTypesetter.paragraphSpacing(beforeGlyphAt: Int, withProposedLineFragmentRect: NSRect) -> CGFloat
Declaration | |
---|---|
From | func paragraphSpacingBeforeGlyphAtIndex(_ glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
To | func paragraphSpacing(beforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: NSRect) -> CGFloat |
Declaration | |
---|---|
From | class func printingAdjustmentInLayoutManager(_ layoutMgr: NSLayoutManager, forNominallySpacedGlyphRange nominallySpacedGlyphsRange: NSRange, packedGlyphs packedGlyphs: UnsafePointer<UInt8>, count packedGlyphsCount: Int) -> NSSize |
To | class func printingAdjustment(in layoutMgr: NSLayoutManager, forNominallySpacedGlyphRange nominallySpacedGlyphsRange: NSRange, packedGlyphs packedGlyphs: UnsafePointer<UInt8>, count packedGlyphsCount: Int) -> NSSize |
Declaration | |
---|---|
From | func setBidiLevels(_ levels: UnsafePointer<UInt8>, forGlyphRange glyphRange: NSRange) |
To | func setBidiLevels(_ levels: UnsafePointer<UInt8>!, forGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>, forStartOfGlyphRange glyphRange: NSRange) |
To | func setLocation(_ location: NSPoint, withAdvancements advancements: UnsafePointer<CGFloat>!, forStartOfGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | class func sharedSystemTypesetter() -> AnyObject |
To | class func sharedSystemTypesetter() -> Any |
Declaration | |
---|---|
From | class func sharedSystemTypesetterForBehavior(_ theBehavior: NSTypesetterBehavior) -> AnyObject |
To | class func sharedSystemTypesetter(for behavior: NSTypesetterBehavior) -> Any |
Declaration | |
---|---|
From | func shouldBreakLineByHyphenatingBeforeCharacterAtIndex(_ charIndex: Int) -> Bool |
To | func shouldBreakLine(byHyphenatingBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | func shouldBreakLineByWordBeforeCharacterAtIndex(_ charIndex: Int) -> Bool |
To | func shouldBreakLine(byWordBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | func substituteFontForFont(_ originalFont: NSFont) -> NSFont |
To | func substituteFont(for originalFont: NSFont) -> NSFont |
Declaration | |
---|---|
From | func substituteGlyphsInRange(_ glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>) |
To | func substituteGlyphs(in glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>!) |
Modified NSTypesetter.textContainers
Declaration | |
---|---|
From | var textContainers: [NSTextContainer]? { get } |
To | unowned(unsafe) var textContainers: NSArray? { get } |
Declaration | |
---|---|
From | func textTabForGlyphLocation(_ glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? |
To | func textTab(forGlyphLocation glyphLocation: CGFloat, writingDirection direction: NSWritingDirection, maxLocation maxLocation: CGFloat) -> NSTextTab? |
Modified NSTypesetterBehavior [enum]
Declaration | |
---|---|
From | enum NSTypesetterBehavior : Int { case LatestBehavior case OriginalBehavior case Behavior_10_2_WithCompatibility case Behavior_10_2 case Behavior_10_3 case Behavior_10_4 } |
To | enum NSTypesetterBehavior : Int { case latestBehavior case originalBehavior case behavior_10_2_WithCompatibility case behavior_10_2 case behavior_10_3 case behavior_10_4 } |
Modified NSTypesetterBehavior.behavior_10_2
Declaration | |
---|---|
From | case Behavior_10_2 |
To | case behavior_10_2 |
Declaration | |
---|---|
From | case Behavior_10_2_WithCompatibility |
To | case behavior_10_2_WithCompatibility |
Modified NSTypesetterBehavior.behavior_10_3
Declaration | |
---|---|
From | case Behavior_10_3 |
To | case behavior_10_3 |
Modified NSTypesetterBehavior.behavior_10_4
Declaration | |
---|---|
From | case Behavior_10_4 |
To | case behavior_10_4 |
Modified NSTypesetterBehavior.latestBehavior
Declaration | |
---|---|
From | case LatestBehavior |
To | case latestBehavior |
Declaration | |
---|---|
From | case OriginalBehavior |
To | case originalBehavior |
Declaration | Protocols | |
---|---|---|
From | struct NSTypesetterControlCharacterAction : OptionSetType { init(rawValue rawValue: UInt) static var ZeroAdvancementAction: NSTypesetterControlCharacterAction { get } static var WhitespaceAction: NSTypesetterControlCharacterAction { get } static var HorizontalTabAction: NSTypesetterControlCharacterAction { get } static var LineBreakAction: NSTypesetterControlCharacterAction { get } static var ParagraphBreakAction: NSTypesetterControlCharacterAction { get } static var ContainerBreakAction: NSTypesetterControlCharacterAction { get } } | OptionSetType |
To | struct NSTypesetterControlCharacterAction : OptionSet { init(rawValue rawValue: UInt) static var zeroAdvancementAction: NSTypesetterControlCharacterAction { get } static var whitespaceAction: NSTypesetterControlCharacterAction { get } static var horizontalTabAction: NSTypesetterControlCharacterAction { get } static var lineBreakAction: NSTypesetterControlCharacterAction { get } static var paragraphBreakAction: NSTypesetterControlCharacterAction { get } static var containerBreakAction: NSTypesetterControlCharacterAction { get } func intersect(_ other: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction func exclusiveOr(_ other: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction mutating func unionInPlace(_ other: NSTypesetterControlCharacterAction) mutating func intersectInPlace(_ other: NSTypesetterControlCharacterAction) mutating func exclusiveOrInPlace(_ other: NSTypesetterControlCharacterAction) func isSubsetOf(_ other: NSTypesetterControlCharacterAction) -> Bool func isDisjointWith(_ other: NSTypesetterControlCharacterAction) -> Bool func isSupersetOf(_ other: NSTypesetterControlCharacterAction) -> Bool mutating func subtractInPlace(_ other: NSTypesetterControlCharacterAction) func isStrictSupersetOf(_ other: NSTypesetterControlCharacterAction) -> Bool func isStrictSubsetOf(_ other: NSTypesetterControlCharacterAction) -> Bool } extension NSTypesetterControlCharacterAction { func union(_ other: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction func intersection(_ other: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction func symmetricDifference(_ other: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction } extension NSTypesetterControlCharacterAction { func contains(_ member: NSTypesetterControlCharacterAction) -> Bool mutating func insert(_ newMember: NSTypesetterControlCharacterAction) -> (inserted: Bool, memberAfterInsert: NSTypesetterControlCharacterAction) mutating func remove(_ member: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction? mutating func update(with newMember: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction? } extension NSTypesetterControlCharacterAction { convenience init() mutating func formUnion(_ other: NSTypesetterControlCharacterAction) mutating func formIntersection(_ other: NSTypesetterControlCharacterAction) mutating func formSymmetricDifference(_ other: NSTypesetterControlCharacterAction) } extension NSTypesetterControlCharacterAction { convenience init<S : Sequence where S.Iterator.Element == NSTypesetterControlCharacterAction>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTypesetterControlCharacterAction...) mutating func subtract(_ other: NSTypesetterControlCharacterAction) func isSubset(of other: NSTypesetterControlCharacterAction) -> Bool func isSuperset(of other: NSTypesetterControlCharacterAction) -> Bool func isDisjoint(with other: NSTypesetterControlCharacterAction) -> Bool func subtracting(_ other: NSTypesetterControlCharacterAction) -> NSTypesetterControlCharacterAction var isEmpty: Bool { get } func isStrictSuperset(of other: NSTypesetterControlCharacterAction) -> Bool func isStrictSubset(of other: NSTypesetterControlCharacterAction) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var ContainerBreakAction: NSTypesetterControlCharacterAction { get } |
To | static var containerBreakAction: NSTypesetterControlCharacterAction { get } |
Declaration | |
---|---|
From | static var HorizontalTabAction: NSTypesetterControlCharacterAction { get } |
To | static var horizontalTabAction: NSTypesetterControlCharacterAction { get } |
Declaration | |
---|---|
From | static var LineBreakAction: NSTypesetterControlCharacterAction { get } |
To | static var lineBreakAction: NSTypesetterControlCharacterAction { get } |
Declaration | |
---|---|
From | static var ParagraphBreakAction: NSTypesetterControlCharacterAction { get } |
To | static var paragraphBreakAction: NSTypesetterControlCharacterAction { get } |
Declaration | |
---|---|
From | static var WhitespaceAction: NSTypesetterControlCharacterAction { get } |
To | static var whitespaceAction: NSTypesetterControlCharacterAction { get } |
Declaration | |
---|---|
From | static var ZeroAdvancementAction: NSTypesetterControlCharacterAction { get } |
To | static var zeroAdvancementAction: NSTypesetterControlCharacterAction { get } |
Modified NSUnderlineStyle [enum]
Declaration | |
---|---|
From | enum NSUnderlineStyle : Int { case StyleNone case StyleSingle case StyleThick case StyleDouble static var PatternSolid: NSUnderlineStyle { get } case PatternDot case PatternDash case PatternDashDot case PatternDashDotDot case ByWord } |
To | enum NSUnderlineStyle : Int { case styleNone case styleSingle case styleThick case styleDouble static var patternSolid: NSUnderlineStyle { get } case patternDot case patternDash case patternDashDot case patternDashDotDot case byWord } |
Modified NSUnderlineStyle.byWord
Declaration | |
---|---|
From | case ByWord |
To | case byWord |
Modified NSUnderlineStyle.patternDash
Declaration | |
---|---|
From | case PatternDash |
To | case patternDash |
Modified NSUnderlineStyle.patternDashDot
Declaration | |
---|---|
From | case PatternDashDot |
To | case patternDashDot |
Modified NSUnderlineStyle.patternDashDotDot
Declaration | |
---|---|
From | case PatternDashDotDot |
To | case patternDashDotDot |
Modified NSUnderlineStyle.patternDot
Declaration | |
---|---|
From | case PatternDot |
To | case patternDot |
Modified NSUnderlineStyle.patternSolid
Declaration | |
---|---|
From | static var PatternSolid: NSUnderlineStyle { get } |
To | static var patternSolid: NSUnderlineStyle { get } |
Modified NSUnderlineStyle.styleDouble
Declaration | |
---|---|
From | case StyleDouble |
To | case styleDouble |
Modified NSUnderlineStyle.styleNone
Declaration | |
---|---|
From | case StyleNone |
To | case styleNone |
Modified NSUnderlineStyle.styleSingle
Declaration | |
---|---|
From | case StyleSingle |
To | case styleSingle |
Modified NSUnderlineStyle.styleThick
Declaration | |
---|---|
From | case StyleThick |
To | case styleThick |
Modified NSURL.init(from: NSPasteboard)
Declaration | |
---|---|
From | init?(fromPasteboard pasteBoard: NSPasteboard) |
To | init?(from pasteBoard: NSPasteboard) |
Modified NSURL.write(to: NSPasteboard)
Declaration | |
---|---|
From | func writeToPasteboard(_ pasteBoard: NSPasteboard) |
To | func write(to pasteBoard: NSPasteboard) |
Modified NSUsableScrollerParts [enum]
Declaration | |
---|---|
From | enum NSUsableScrollerParts : UInt { case NoScrollerParts case OnlyScrollerArrows case AllScrollerParts } |
To | enum NSUsableScrollerParts : UInt { case noScrollerParts case onlyScrollerArrows case allScrollerParts } |
Declaration | |
---|---|
From | case AllScrollerParts |
To | case allScrollerParts |
Declaration | |
---|---|
From | case NoScrollerParts |
To | case noScrollerParts |
Declaration | |
---|---|
From | case OnlyScrollerArrows |
To | case onlyScrollerArrows |
Modified NSUserDefaultsController
Declaration | |
---|---|
From | class NSUserDefaultsController : NSController { class func sharedUserDefaultsController() -> NSUserDefaultsController init(defaults defaults: NSUserDefaults?, initialValues initialValues: [String : AnyObject]?) init?(coder coder: NSCoder) var defaults: NSUserDefaults { get } var initialValues: [String : AnyObject]? var appliesImmediately: Bool var hasUnappliedChanges: Bool { get } var values: AnyObject { get } func revert(_ sender: AnyObject?) func save(_ sender: AnyObject?) func revertToInitialValues(_ sender: AnyObject?) } |
To | class NSUserDefaultsController : NSController { class func shared() -> NSUserDefaultsController init(defaults defaults: UserDefaults?, initialValues initialValues: [String : Any]?) init?(coder coder: NSCoder) var defaults: UserDefaults { get } var initialValues: [String : Any]? var appliesImmediately: Bool var hasUnappliedChanges: Bool { get } var values: Any { get } func revert(_ sender: Any?) func save(_ sender: Any?) func revertToInitialValues(_ sender: Any?) } |
Modified NSUserDefaultsController.defaults
Declaration | |
---|---|
From | var defaults: NSUserDefaults { get } |
To | var defaults: UserDefaults { get } |
Declaration | |
---|---|
From | init(defaults defaults: NSUserDefaults?, initialValues initialValues: [String : AnyObject]?) |
To | init(defaults defaults: UserDefaults?, initialValues initialValues: [String : Any]?) |
Declaration | |
---|---|
From | var initialValues: [String : AnyObject]? |
To | var initialValues: [String : Any]? |
Declaration | |
---|---|
From | func revert(_ sender: AnyObject?) |
To | func revert(_ sender: Any?) |
Declaration | |
---|---|
From | func revertToInitialValues(_ sender: AnyObject?) |
To | func revertToInitialValues(_ sender: Any?) |
Declaration | |
---|---|
From | func save(_ sender: AnyObject?) |
To | func save(_ sender: Any?) |
Declaration | |
---|---|
From | class func sharedUserDefaultsController() -> NSUserDefaultsController |
To | class func shared() -> NSUserDefaultsController |
Modified NSUserDefaultsController.values
Declaration | |
---|---|
From | var values: AnyObject { get } |
To | var values: Any { get } |
Modified NSUserInterfaceItemSearching
Declaration | |
---|---|
From | protocol NSUserInterfaceItemSearching : NSObjectProtocol { func searchForItemsWithSearchString(_ searchString: String, resultLimit resultLimit: Int, matchedItemHandler handleMatchedItems: ([AnyObject]) -> Void) func localizedTitlesForItem(_ item: AnyObject) -> [String] optional func performActionForItem(_ item: AnyObject) optional func showAllHelpTopicsForSearchString(_ searchString: String) } |
To | protocol NSUserInterfaceItemSearching : NSObjectProtocol { func searchForItems(withSearch searchString: String, resultLimit resultLimit: Int, matchedItemHandler handleMatchedItems: @escaping ([Any]) -> Swift.Void) func localizedTitles(forItem item: Any) -> [String] optional func performAction(forItem item: Any) optional func showAllHelpTopics(forSearch searchString: String) } |
Declaration | |
---|---|
From | func localizedTitlesForItem(_ item: AnyObject) -> [String] |
To | func localizedTitles(forItem item: Any) -> [String] |
Declaration | |
---|---|
From | optional func performActionForItem(_ item: AnyObject) |
To | optional func performAction(forItem item: Any) |
Declaration | |
---|---|
From | func searchForItemsWithSearchString(_ searchString: String, resultLimit resultLimit: Int, matchedItemHandler handleMatchedItems: ([AnyObject]) -> Void) |
To | func searchForItems(withSearch searchString: String, resultLimit resultLimit: Int, matchedItemHandler handleMatchedItems: @escaping ([Any]) -> Swift.Void) |
Declaration | |
---|---|
From | optional func showAllHelpTopicsForSearchString(_ searchString: String) |
To | optional func showAllHelpTopics(forSearch searchString: String) |
Declaration | |
---|---|
From | enum NSUserInterfaceLayoutDirection : Int { case LeftToRight case RightToLeft } |
To | enum NSUserInterfaceLayoutDirection : Int { case leftToRight case rightToLeft } |
Declaration | |
---|---|
From | case LeftToRight |
To | case leftToRight |
Declaration | |
---|---|
From | case RightToLeft |
To | case rightToLeft |
Declaration | |
---|---|
From | enum NSUserInterfaceLayoutOrientation : Int { case Horizontal case Vertical } |
To | enum NSUserInterfaceLayoutOrientation : Int { case horizontal case vertical } |
Declaration | |
---|---|
From | case Horizontal |
To | case horizontal |
Declaration | |
---|---|
From | case Vertical |
To | case vertical |
Modified NSValidatedUserInterfaceItem
Declaration | |
---|---|
From | protocol NSValidatedUserInterfaceItem { func action() -> Selector func tag() -> Int } |
To | protocol NSValidatedUserInterfaceItem { var action: Selector? { get } var tag: Int { get } } |
Modified NSView
Declaration | Protocols | |
---|---|---|
From | class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init(frame frameRect: NSRect) init?(coder coder: NSCoder) unowned(unsafe) var window: NSWindow? { get } unowned(unsafe) var superview: NSView? { get } var subviews: [NSView] func isDescendantOf(_ aView: NSView) -> Bool func ancestorSharedWithView(_ aView: NSView) -> NSView? unowned(unsafe) var opaqueAncestor: NSView? { get } var hidden: Bool var hiddenOrHasHiddenAncestor: Bool { get } func getRectsBeingDrawn(_ rects: UnsafeMutablePointer<UnsafePointer<NSRect>>, count count: UnsafeMutablePointer<Int>) func needsToDrawRect(_ aRect: NSRect) -> Bool var wantsDefaultClipping: Bool { get } func viewDidHide() func viewDidUnhide() func addSubview(_ aView: NSView) func addSubview(_ aView: NSView, positioned place: NSWindowOrderingMode, relativeTo otherView: NSView?) func sortSubviewsUsingFunction(_ compare: (NSView, NSView, UnsafeMutablePointer<Void>) -> NSComparisonResult, context context: UnsafeMutablePointer<Void>) func viewWillMoveToWindow(_ newWindow: NSWindow?) func viewDidMoveToWindow() func viewWillMoveToSuperview(_ newSuperview: NSView?) func viewDidMoveToSuperview() func didAddSubview(_ subview: NSView) func willRemoveSubview(_ subview: NSView) func removeFromSuperview() func replaceSubview(_ oldView: NSView, with newView: NSView) func removeFromSuperviewWithoutNeedingDisplay() func viewDidChangeBackingProperties() var postsFrameChangedNotifications: Bool func resizeSubviewsWithOldSize(_ oldSize: NSSize) func resizeWithOldSuperviewSize(_ oldSize: NSSize) var autoresizesSubviews: Bool var autoresizingMask: NSAutoresizingMaskOptions func setFrameOrigin(_ newOrigin: NSPoint) func setFrameSize(_ newSize: NSSize) var frame: NSRect var frameRotation: CGFloat var frameCenterRotation: CGFloat func setBoundsOrigin(_ newOrigin: NSPoint) func setBoundsSize(_ newSize: NSSize) var boundsRotation: CGFloat func translateOriginToPoint(_ translation: NSPoint) func scaleUnitSquareToSize(_ newUnitSize: NSSize) func rotateByAngle(_ angle: CGFloat) var bounds: NSRect var flipped: Bool { get } var rotatedFromBase: Bool { get } var rotatedOrScaledFromBase: Bool { get } var opaque: Bool { get } func convertPoint(_ aPoint: NSPoint, fromView aView: NSView?) -> NSPoint func convertPoint(_ aPoint: NSPoint, toView aView: NSView?) -> NSPoint func convertSize(_ aSize: NSSize, fromView aView: NSView?) -> NSSize func convertSize(_ aSize: NSSize, toView aView: NSView?) -> NSSize func convertRect(_ aRect: NSRect, fromView aView: NSView?) -> NSRect func convertRect(_ aRect: NSRect, toView aView: NSView?) -> NSRect func backingAlignedRect(_ aRect: NSRect, options options: NSAlignmentOptions) -> NSRect func centerScanRect(_ aRect: NSRect) -> NSRect func convertPointToBacking(_ aPoint: NSPoint) -> NSPoint func convertPointFromBacking(_ aPoint: NSPoint) -> NSPoint func convertSizeToBacking(_ aSize: NSSize) -> NSSize func convertSizeFromBacking(_ aSize: NSSize) -> NSSize func convertRectToBacking(_ aRect: NSRect) -> NSRect func convertRectFromBacking(_ aRect: NSRect) -> NSRect func convertPointToLayer(_ aPoint: NSPoint) -> NSPoint func convertPointFromLayer(_ aPoint: NSPoint) -> NSPoint func convertSizeToLayer(_ aSize: NSSize) -> NSSize func convertSizeFromLayer(_ aSize: NSSize) -> NSSize func convertRectToLayer(_ aRect: NSRect) -> NSRect func convertRectFromLayer(_ aRect: NSRect) -> NSRect var canDrawConcurrently: Bool var canDraw: Bool { get } func setNeedsDisplayInRect(_ invalidRect: NSRect) var needsDisplay: Bool func lockFocus() func unlockFocus() func lockFocusIfCanDraw() -> Bool func lockFocusIfCanDrawInContext(_ context: NSGraphicsContext) -> Bool class func focusView() -> NSView? var visibleRect: NSRect { get } func display() func displayIfNeeded() func displayIfNeededIgnoringOpacity() func displayRect(_ rect: NSRect) func displayIfNeededInRect(_ rect: NSRect) func displayRectIgnoringOpacity(_ rect: NSRect) func displayIfNeededInRectIgnoringOpacity(_ rect: NSRect) func drawRect(_ dirtyRect: NSRect) func displayRectIgnoringOpacity(_ aRect: NSRect, inContext context: NSGraphicsContext) func bitmapImageRepForCachingDisplayInRect(_ rect: NSRect) -> NSBitmapImageRep? func cacheDisplayInRect(_ rect: NSRect, toBitmapImageRep bitmapImageRep: NSBitmapImageRep) func viewWillDraw() func scrollPoint(_ aPoint: NSPoint) func scrollRectToVisible(_ aRect: NSRect) -> Bool func autoscroll(_ theEvent: NSEvent) -> Bool func adjustScroll(_ newVisible: NSRect) -> NSRect func scrollRect(_ aRect: NSRect, by delta: NSSize) func translateRectsNeedingDisplayInRect(_ clipRect: NSRect, by delta: NSSize) func hitTest(_ aPoint: NSPoint) -> NSView? func mouse(_ aPoint: NSPoint, inRect aRect: NSRect) -> Bool func viewWithTag(_ aTag: Int) -> NSView? var tag: Int { get } func performKeyEquivalent(_ theEvent: NSEvent) -> Bool func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool func shouldDelayWindowOrderingForEvent(_ theEvent: NSEvent) -> Bool var needsPanelToBecomeKey: Bool { get } var mouseDownCanMoveWindow: Bool { get } var acceptsTouchEvents: Bool var wantsRestingTouches: Bool func addCursorRect(_ aRect: NSRect, cursor anObj: NSCursor) func removeCursorRect(_ aRect: NSRect, cursor anObj: NSCursor) func discardCursorRects() func resetCursorRects() func addTrackingRect(_ aRect: NSRect, owner anObject: AnyObject, userData data: UnsafeMutablePointer<Void>, assumeInside flag: Bool) -> NSTrackingRectTag func removeTrackingRect(_ tag: NSTrackingRectTag) func makeBackingLayer() -> CALayer var layerContentsRedrawPolicy: NSViewLayerContentsRedrawPolicy var layerContentsPlacement: NSViewLayerContentsPlacement var wantsLayer: Bool var layer: CALayer? var wantsUpdateLayer: Bool { get } func updateLayer() var canDrawSubviewsIntoLayer: Bool var alphaValue: CGFloat var layerUsesCoreImageFilters: Bool var backgroundFilters: [CIFilter] var compositingFilter: CIFilter? var contentFilters: [CIFilter] @NSCopying var shadow: NSShadow? func addTrackingArea(_ trackingArea: NSTrackingArea) func removeTrackingArea(_ trackingArea: NSTrackingArea) var trackingAreas: [NSTrackingArea] { get } func updateTrackingAreas() var postsBoundsChangedNotifications: Bool var enclosingScrollView: NSScrollView? { get } func menuForEvent(_ event: NSEvent) -> NSMenu? class func defaultMenu() -> NSMenu? func willOpenMenu(_ menu: NSMenu, withEvent event: NSEvent) func didCloseMenu(_ menu: NSMenu, withEvent event: NSEvent?) var toolTip: String? func addToolTipRect(_ aRect: NSRect, owner anObject: AnyObject, userData data: UnsafeMutablePointer<Void>) -> NSToolTipTag func removeToolTip(_ tag: NSToolTipTag) func removeAllToolTips() func viewWillStartLiveResize() func viewDidEndLiveResize() var inLiveResize: Bool { get } var preservesContentDuringLiveResize: Bool { get } var rectPreservedDuringLiveResize: NSRect { get } func getRectsExposedDuringLiveResize(_ exposedRects: UnsafeMutablePointer<NSRect>, count count: UnsafeMutablePointer<Int>) var inputContext: NSTextInputContext? { get } func rectForSmartMagnificationAtPoint(_ location: NSPoint, inRect visibleRect: NSRect) -> NSRect var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func prepareForReuse() class func isCompatibleWithResponsiveScrolling() -> Bool func prepareContentInRect(_ rect: NSRect) var preparedContentRect: NSRect var allowsVibrancy: Bool { get } } extension NSView { func reflectScrolledClipView(_ aClipView: NSClipView) func scrollClipView(_ aClipView: NSClipView, toPoint aPoint: NSPoint) } extension NSView { var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSView { func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool } extension NSView { var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool } extension NSView { func alignmentRectForFrame(_ frame: NSRect) -> NSRect func frameForAlignmentRect(_ alignmentRect: NSRect) -> NSRect var alignmentRectInsets: NSEdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) } extension NSView { var fittingSize: NSSize { get } } extension NSView { func constraintsAffectingLayoutForOrientation(_ orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() } extension NSView { func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } } extension NSView { var enclosingMenuItem: NSMenuItem? { get } } extension NSView { var wantsBestResolutionOpenGLSurface: Bool } extension NSView { var wantsExtendedDynamicRangeOpenGLSurface: Bool } extension NSView { var pressureConfiguration: NSPressureConfiguration? } extension NSView { func rulerView(_ ruler: NSRulerView, shouldMoveMarker marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMoveMarker marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMoveMarker marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemoveMarker marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemoveMarker marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAddMarker marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAddMarker marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAddMarker marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDown event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationForPoint aPoint: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation aPoint: CGFloat) -> NSPoint } extension NSView : _Reflectable { } extension NSView { unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplayInRect(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() } extension NSView { func writeEPSInsideRect(_ rect: NSRect, toPasteboard pasteboard: NSPasteboard) func dataWithEPSInsideRect(_ rect: NSRect) -> NSData func writePDFInsideRect(_ rect: NSRect, toPasteboard pasteboard: NSPasteboard) func dataWithPDFInsideRect(_ rect: NSRect) -> NSData @warn_unqualified_access func print(_ sender: AnyObject?) 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(_ aRect: NSRect) -> NSPoint func drawPageBorderWithSize(_ borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorderWithSize(_ borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPageInRect(_ aRect: NSRect, atPlacement location: NSPoint) func endPage() } extension NSView { func beginDraggingSessionWithItems(_ items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, fromRect rect: NSRect, slideBack aFlag: Bool, event event: NSEvent) -> Bool func dragPromisedFilesOfTypes(_ typeArray: [String], fromRect rect: NSRect, source sourceObject: AnyObject, slideBack aFlag: Bool, event event: NSEvent) -> Bool } extension NSView { func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : AnyObject]?) -> Bool func exitFullScreenModeWithOptions(_ options: [String : AnyObject]?) var inFullScreenMode: Bool { get } } extension NSView { func showDefinitionForAttributedString(_ attrString: NSAttributedString?, atPoint textBaselineOrigin: NSPoint) func showDefinitionForAttributedString(_ attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : AnyObject]?, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)?) } extension NSView { var drawingFindIndicator: Bool { get } } extension NSView { var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) } extension NSView { func dragImage(_ anImage: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: AnyObject, slideBack slideFlag: Bool) func convertPointToBase(_ aPoint: NSPoint) -> NSPoint func convertPointFromBase(_ aPoint: NSPoint) -> NSPoint func convertSizeToBase(_ aSize: NSSize) -> NSSize func convertSizeFromBase(_ aSize: NSSize) -> NSSize func convertRectToBase(_ aRect: NSRect) -> NSRect func convertRectFromBase(_ aRect: NSRect) -> NSRect func performMnemonic(_ theString: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() } extension NSView : _Reflectable { } extension NSView : XCPlaygroundLiveViewable { func playgroundLiveViewRepresentation() -> XCPlayground.XCPlaygroundLiveViewRepresentation } | NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSDraggingDestination, NSUserInterfaceItemIdentification, XCPlaygroundLiveViewable |
To | class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init(frame frameRect: NSRect) init?(coder coder: NSCoder) unowned(unsafe) var window: NSWindow? { get } unowned(unsafe) var superview: NSView? { get } var subviews: [NSView] func isDescendant(of view: NSView) -> Bool func ancestorShared(with view: NSView) -> NSView? unowned(unsafe) var opaqueAncestor: NSView? { get } var isHidden: Bool var isHiddenOrHasHiddenAncestor: Bool { get } func getRectsBeingDrawn(_ rects: UnsafeMutablePointer<UnsafePointer<NSRect>?>?, count count: UnsafeMutablePointer<Int>?) func needsToDraw(_ rect: NSRect) -> Bool var wantsDefaultClipping: Bool { get } func viewDidHide() func viewDidUnhide() func addSubview(_ view: NSView) func addSubview(_ view: NSView, positioned place: NSWindowOrderingMode, relativeTo otherView: NSView?) func sortSubviews(_ compare: (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context context: UnsafeMutableRawPointer?) func viewWillMove(toWindow newWindow: NSWindow?) func viewDidMoveToWindow() func viewWillMove(toSuperview newSuperview: NSView?) func viewDidMoveToSuperview() func didAddSubview(_ subview: NSView) func willRemoveSubview(_ subview: NSView) func removeFromSuperview() func replaceSubview(_ oldView: NSView, with newView: NSView) func removeFromSuperviewWithoutNeedingDisplay() func viewDidChangeBackingProperties() var postsFrameChangedNotifications: Bool func resizeSubviews(withOldSize oldSize: NSSize) func resize(withOldSuperviewSize oldSize: NSSize) var autoresizesSubviews: Bool var autoresizingMask: NSAutoresizingMaskOptions func setFrameOrigin(_ newOrigin: NSPoint) func setFrameSize(_ newSize: NSSize) var frame: NSRect var frameRotation: CGFloat var frameCenterRotation: CGFloat func setBoundsOrigin(_ newOrigin: NSPoint) func setBoundsSize(_ newSize: NSSize) var boundsRotation: CGFloat func translateOrigin(to translation: NSPoint) func scaleUnitSquare(to newUnitSize: NSSize) func rotate(byDegrees angle: CGFloat) var bounds: NSRect var isFlipped: Bool { get } var isRotatedFromBase: Bool { get } var isRotatedOrScaledFromBase: Bool { get } var isOpaque: Bool { get } func convert(_ point: NSPoint, from view: NSView?) -> NSPoint func convert(_ point: NSPoint, to view: NSView?) -> NSPoint func convert(_ size: NSSize, from view: NSView?) -> NSSize func convert(_ size: NSSize, to view: NSView?) -> NSSize func convert(_ rect: NSRect, from view: NSView?) -> NSRect func convert(_ rect: NSRect, to view: NSView?) -> NSRect func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect func centerScanRect(_ rect: NSRect) -> NSRect func convertToBacking(_ point: NSPoint) -> NSPoint func convertFromBacking(_ point: NSPoint) -> NSPoint func convertToBacking(_ size: NSSize) -> NSSize func convertFromBacking(_ size: NSSize) -> NSSize func convertToBacking(_ rect: NSRect) -> NSRect func convertFromBacking(_ rect: NSRect) -> NSRect func convertToLayer(_ point: NSPoint) -> NSPoint func convertFromLayer(_ point: NSPoint) -> NSPoint func convertToLayer(_ size: NSSize) -> NSSize func convertFromLayer(_ size: NSSize) -> NSSize func convertToLayer(_ rect: NSRect) -> NSRect func convertFromLayer(_ rect: NSRect) -> NSRect var canDrawConcurrently: Bool var canDraw: Bool { get } func setNeedsDisplay(_ invalidRect: NSRect) var needsDisplay: Bool func lockFocus() func unlockFocus() func lockFocusIfCanDraw() -> Bool func lockFocusIfCanDraw(in context: NSGraphicsContext) -> Bool class func focusView() -> NSView? var visibleRect: NSRect { get } func display() func displayIfNeeded() func displayIfNeededIgnoringOpacity() func display(_ rect: NSRect) func displayIfNeeded(_ rect: NSRect) func displayIgnoringOpacity(_ rect: NSRect) func displayIfNeededIgnoringOpacity(_ rect: NSRect) func draw(_ dirtyRect: NSRect) func displayIgnoringOpacity(_ rect: NSRect, in context: NSGraphicsContext) func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep? func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep) func viewWillDraw() func scroll(_ point: NSPoint) func scrollToVisible(_ rect: NSRect) -> Bool func autoscroll(with event: NSEvent) -> Bool func adjustScroll(_ newVisible: NSRect) -> NSRect func scroll(_ rect: NSRect, by delta: NSSize) func translateRectsNeedingDisplay(in clipRect: NSRect, by delta: NSSize) func hitTest(_ point: NSPoint) -> NSView? func mouse(_ point: NSPoint, in rect: NSRect) -> Bool func viewWithTag(_ tag: Int) -> NSView? var tag: Int { get } func performKeyEquivalent(with event: NSEvent) -> Bool func acceptsFirstMouse(for event: NSEvent?) -> Bool func shouldDelayWindowOrdering(for event: NSEvent) -> Bool var needsPanelToBecomeKey: Bool { get } var mouseDownCanMoveWindow: Bool { get } var acceptsTouchEvents: Bool var wantsRestingTouches: Bool func addCursorRect(_ rect: NSRect, cursor object: NSCursor) func removeCursorRect(_ rect: NSRect, cursor object: NSCursor) func discardCursorRects() func resetCursorRects() func addTrackingRect(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?, assumeInside flag: Bool) -> NSTrackingRectTag func removeTrackingRect(_ tag: NSTrackingRectTag) func makeBackingLayer() -> CALayer var layerContentsRedrawPolicy: NSViewLayerContentsRedrawPolicy var layerContentsPlacement: NSViewLayerContentsPlacement var wantsLayer: Bool var layer: CALayer? var wantsUpdateLayer: Bool { get } func updateLayer() var canDrawSubviewsIntoLayer: Bool var alphaValue: CGFloat var layerUsesCoreImageFilters: Bool var backgroundFilters: [CIFilter] var compositingFilter: CIFilter? var contentFilters: [CIFilter] @NSCopying var shadow: NSShadow? func addTrackingArea(_ trackingArea: NSTrackingArea) func removeTrackingArea(_ trackingArea: NSTrackingArea) var trackingAreas: [NSTrackingArea] { get } func updateTrackingAreas() var postsBoundsChangedNotifications: Bool var enclosingScrollView: NSScrollView? { get } func menu(for event: NSEvent) -> NSMenu? class func defaultMenu() -> NSMenu? func willOpenMenu(_ menu: NSMenu, with event: NSEvent) func didCloseMenu(_ menu: NSMenu, with event: NSEvent?) var toolTip: String? func addToolTip(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?) -> NSToolTipTag func removeToolTip(_ tag: NSToolTipTag) func removeAllToolTips() func viewWillStartLiveResize() func viewDidEndLiveResize() var inLiveResize: Bool { get } var preservesContentDuringLiveResize: Bool { get } var rectPreservedDuringLiveResize: NSRect { get } func getRectsExposedDuringLiveResize(_ exposedRects: UnsafeMutablePointer<NSRect>!, count count: UnsafeMutablePointer<Int>) var inputContext: NSTextInputContext? { get } func rectForSmartMagnification(at location: NSPoint, in visibleRect: NSRect) -> NSRect var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func prepareForReuse() class func isCompatibleWithResponsiveScrolling() -> Bool func prepareContent(in rect: NSRect) var preparedContentRect: NSRect var allowsVibrancy: Bool { get } unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) var isDrawingFindIndicator: Bool { get } var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var enclosingMenuItem: NSMenuItem? { get } var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var fittingSize: NSSize { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint var wantsBestResolutionOpenGLSurface: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var pressureConfiguration: NSPressureConfiguration? func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func changeColor(_ sender: Any?) func awakeFromNib() func prepareForInterfaceBuilder() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? } extension NSView { func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) } extension NSView { var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSView { func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool } extension NSView { var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool } extension NSView { func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) } extension NSView { var fittingSize: NSSize { get } } extension NSView { func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() } extension NSView { func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } } extension NSView { var enclosingMenuItem: NSMenuItem? { get } } extension NSView { var wantsBestResolutionOpenGLSurface: Bool } extension NSView { var wantsExtendedDynamicRangeOpenGLSurface: Bool } extension NSView { var pressureConfiguration: NSPressureConfiguration? } extension NSView { func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint } extension NSView : CVarArg { } extension NSView : Equatable, Hashable { var hashValue: Int { get } } extension NSView { unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() } extension NSView { func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() } extension NSView { func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool } extension NSView { func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } } extension NSView { func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) } extension NSView { var isDrawingFindIndicator: Bool { get } } extension NSView { var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) } extension NSView { func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() } extension NSView { } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSDraggingDestination, NSUserInterfaceItemIdentification |
Declaration | |
---|---|
From | func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool |
To | func acceptsFirstMouse(for event: NSEvent?) -> Bool |
Modified NSView.addToolTip(_: NSRect, owner: Any, userData: UnsafeMutableRawPointer?) -> NSToolTipTag
Declaration | |
---|---|
From | func addToolTipRect(_ aRect: NSRect, owner anObject: AnyObject, userData data: UnsafeMutablePointer<Void>) -> NSToolTipTag |
To | func addToolTip(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?) -> NSToolTipTag |
Declaration | |
---|---|
From | func addTrackingRect(_ aRect: NSRect, owner anObject: AnyObject, userData data: UnsafeMutablePointer<Void>, assumeInside flag: Bool) -> NSTrackingRectTag |
To | func addTrackingRect(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?, assumeInside flag: Bool) -> NSTrackingRectTag |
Declaration | |
---|---|
From | func alignmentRectForFrame(_ frame: NSRect) -> NSRect |
To | func alignmentRect(forFrame frame: NSRect) -> NSRect |
Modified NSView.alignmentRectInsets
Declaration | |
---|---|
From | var alignmentRectInsets: NSEdgeInsets { get } |
To | var alignmentRectInsets: EdgeInsets { get } |
Declaration | |
---|---|
From | func ancestorSharedWithView(_ aView: NSView) -> NSView? |
To | func ancestorShared(with view: NSView) -> NSView? |
Declaration | |
---|---|
From | func autoscroll(_ theEvent: NSEvent) -> Bool |
To | func autoscroll(with event: NSEvent) -> Bool |
Declaration | |
---|---|
From | func backingAlignedRect(_ aRect: NSRect, options options: NSAlignmentOptions) -> NSRect |
To | func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect |
Declaration | |
---|---|
From | func beginDraggingSessionWithItems(_ items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession |
To | func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession |
Declaration | |
---|---|
From | func beginPageInRect(_ aRect: NSRect, atPlacement location: NSPoint) |
To | func beginPage(in rect: NSRect, atPlacement location: NSPoint) |
Declaration | |
---|---|
From | func bitmapImageRepForCachingDisplayInRect(_ rect: NSRect) -> NSBitmapImageRep? |
To | func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep? |
Declaration | |
---|---|
From | func cacheDisplayInRect(_ rect: NSRect, toBitmapImageRep bitmapImageRep: NSBitmapImageRep) |
To | func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep) |
Modified NSView.constraintsAffectingLayout(for: NSLayoutConstraintOrientation) -> [NSLayoutConstraint]
Declaration | |
---|---|
From | func constraintsAffectingLayoutForOrientation(_ orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] |
To | func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] |
Modified NSView.contentCompressionResistancePriority(for: NSLayoutConstraintOrientation) -> NSLayoutPriority
Declaration | |
---|---|
From | func contentCompressionResistancePriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
To | func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
Declaration | |
---|---|
From | func contentHuggingPriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
To | func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority |
Declaration | |
---|---|
From | func convertSize(_ aSize: NSSize, fromView aView: NSView?) -> NSSize |
To | func convert(_ size: NSSize, from view: NSView?) -> NSSize |
Declaration | |
---|---|
From | func convertRect(_ aRect: NSRect, fromView aView: NSView?) -> NSRect |
To | func convert(_ rect: NSRect, from view: NSView?) -> NSRect |
Declaration | |
---|---|
From | func convertPoint(_ aPoint: NSPoint, fromView aView: NSView?) -> NSPoint |
To | func convert(_ point: NSPoint, from view: NSView?) -> NSPoint |
Declaration | |
---|---|
From | func convertPoint(_ aPoint: NSPoint, toView aView: NSView?) -> NSPoint |
To | func convert(_ point: NSPoint, to view: NSView?) -> NSPoint |
Declaration | |
---|---|
From | func convertSize(_ aSize: NSSize, toView aView: NSView?) -> NSSize |
To | func convert(_ size: NSSize, to view: NSView?) -> NSSize |
Declaration | |
---|---|
From | func convertRect(_ aRect: NSRect, toView aView: NSView?) -> NSRect |
To | func convert(_ rect: NSRect, to view: NSView?) -> NSRect |
Declaration | |
---|---|
From | func convertPointFromBacking(_ aPoint: NSPoint) -> NSPoint |
To | func convertFromBacking(_ point: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func convertRectFromBacking(_ aRect: NSRect) -> NSRect |
To | func convertFromBacking(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func convertSizeFromBacking(_ aSize: NSSize) -> NSSize |
To | func convertFromBacking(_ size: NSSize) -> NSSize |
Declaration | |
---|---|
From | func convertRectFromLayer(_ aRect: NSRect) -> NSRect |
To | func convertFromLayer(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func convertPointFromLayer(_ aPoint: NSPoint) -> NSPoint |
To | func convertFromLayer(_ point: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func convertSizeFromLayer(_ aSize: NSSize) -> NSSize |
To | func convertFromLayer(_ size: NSSize) -> NSSize |
Declaration | |
---|---|
From | func convertRectToBacking(_ aRect: NSRect) -> NSRect |
To | func convertToBacking(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func convertPointToBacking(_ aPoint: NSPoint) -> NSPoint |
To | func convertToBacking(_ point: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func convertSizeToBacking(_ aSize: NSSize) -> NSSize |
To | func convertToBacking(_ size: NSSize) -> NSSize |
Declaration | |
---|---|
From | func convertRectToLayer(_ aRect: NSRect) -> NSRect |
To | func convertToLayer(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func convertSizeToLayer(_ aSize: NSSize) -> NSSize |
To | func convertToLayer(_ size: NSSize) -> NSSize |
Declaration | |
---|---|
From | func convertPointToLayer(_ aPoint: NSPoint) -> NSPoint |
To | func convertToLayer(_ point: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func dataWithEPSInsideRect(_ rect: NSRect) -> NSData |
To | func dataWithEPS(inside rect: NSRect) -> Data |
Declaration | |
---|---|
From | func dataWithPDFInsideRect(_ rect: NSRect) -> NSData |
To | func dataWithPDF(inside rect: NSRect) -> Data |
Declaration | |
---|---|
From | func didCloseMenu(_ menu: NSMenu, withEvent event: NSEvent?) |
To | func didCloseMenu(_ menu: NSMenu, with event: NSEvent?) |
Modified NSView.display(_: NSRect)
Declaration | |
---|---|
From | func displayRect(_ rect: NSRect) |
To | func display(_ rect: NSRect) |
Modified NSView.displayIfNeeded(_: NSRect)
Declaration | |
---|---|
From | func displayIfNeededInRect(_ rect: NSRect) |
To | func displayIfNeeded(_ rect: NSRect) |
Declaration | |
---|---|
From | func displayIfNeededInRectIgnoringOpacity(_ rect: NSRect) |
To | func displayIfNeededIgnoringOpacity(_ rect: NSRect) |
Declaration | |
---|---|
From | func displayRectIgnoringOpacity(_ rect: NSRect) |
To | func displayIgnoringOpacity(_ rect: NSRect) |
Declaration | |
---|---|
From | func displayRectIgnoringOpacity(_ aRect: NSRect, inContext context: NSGraphicsContext) |
To | func displayIgnoringOpacity(_ rect: NSRect, in context: NSGraphicsContext) |
Declaration | |
---|---|
From | func dragFile(_ filename: String, fromRect rect: NSRect, slideBack aFlag: Bool, event event: NSEvent) -> Bool |
To | func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool |
Declaration | |
---|---|
From | func dragPromisedFilesOfTypes(_ typeArray: [String], fromRect rect: NSRect, source sourceObject: AnyObject, slideBack aFlag: Bool, event event: NSEvent) -> Bool |
To | func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool |
Modified NSView.draw(_: NSRect)
Declaration | |
---|---|
From | func drawRect(_ dirtyRect: NSRect) |
To | func draw(_ dirtyRect: NSRect) |
Modified NSView.drawPageBorder(with: NSSize)
Declaration | |
---|---|
From | func drawPageBorderWithSize(_ borderSize: NSSize) |
To | func drawPageBorder(with borderSize: NSSize) |
Modified NSView.drawSheetBorder(with: NSSize)
Declaration | |
---|---|
From | func drawSheetBorderWithSize(_ borderSize: NSSize) |
To | func drawSheetBorder(with borderSize: NSSize) |
Declaration | |
---|---|
From | func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : AnyObject]?) -> Bool |
To | func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool |
Declaration | |
---|---|
From | func exitFullScreenModeWithOptions(_ options: [String : AnyObject]?) |
To | func exitFullScreenMode(options options: [String : Any]? = nil) |
Declaration | |
---|---|
From | func frameForAlignmentRect(_ alignmentRect: NSRect) -> NSRect |
To | func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func getRectsBeingDrawn(_ rects: UnsafeMutablePointer<UnsafePointer<NSRect>>, count count: UnsafeMutablePointer<Int>) |
To | func getRectsBeingDrawn(_ rects: UnsafeMutablePointer<UnsafePointer<NSRect>?>?, count count: UnsafeMutablePointer<Int>?) |
Declaration | |
---|---|
From | func getRectsExposedDuringLiveResize(_ exposedRects: UnsafeMutablePointer<NSRect>, count count: UnsafeMutablePointer<Int>) |
To | func getRectsExposedDuringLiveResize(_ exposedRects: UnsafeMutablePointer<NSRect>!, count count: UnsafeMutablePointer<Int>) |
Declaration | |
---|---|
From | func isDescendantOf(_ aView: NSView) -> Bool |
To | func isDescendant(of view: NSView) -> Bool |
Modified NSView.isDrawingFindIndicator
Declaration | |
---|---|
From | var drawingFindIndicator: Bool { get } |
To | var isDrawingFindIndicator: Bool { get } |
Modified NSView.isFlipped
Declaration | |
---|---|
From | var flipped: Bool { get } |
To | var isFlipped: Bool { get } |
Modified NSView.isHidden
Declaration | |
---|---|
From | var hidden: Bool |
To | var isHidden: Bool |
Modified NSView.isHiddenOrHasHiddenAncestor
Declaration | |
---|---|
From | var hiddenOrHasHiddenAncestor: Bool { get } |
To | var isHiddenOrHasHiddenAncestor: Bool { get } |
Modified NSView.isInFullScreenMode
Declaration | |
---|---|
From | var inFullScreenMode: Bool { get } |
To | var isInFullScreenMode: Bool { get } |
Modified NSView.isOpaque
Declaration | |
---|---|
From | var opaque: Bool { get } |
To | var isOpaque: Bool { get } |
Modified NSView.isRotatedFromBase
Declaration | |
---|---|
From | var rotatedFromBase: Bool { get } |
To | var isRotatedFromBase: Bool { get } |
Modified NSView.isRotatedOrScaledFromBase
Declaration | |
---|---|
From | var rotatedOrScaledFromBase: Bool { get } |
To | var isRotatedOrScaledFromBase: Bool { get } |
Declaration | |
---|---|
From | func lockFocusIfCanDrawInContext(_ context: NSGraphicsContext) -> Bool |
To | func lockFocusIfCanDraw(in context: NSGraphicsContext) -> Bool |
Modified NSView.menu(for: NSEvent) -> NSMenu?
Declaration | |
---|---|
From | func menuForEvent(_ event: NSEvent) -> NSMenu? |
To | func menu(for event: NSEvent) -> NSMenu? |
Declaration | |
---|---|
From | func mouse(_ aPoint: NSPoint, inRect aRect: NSRect) -> Bool |
To | func mouse(_ point: NSPoint, in rect: NSRect) -> Bool |
Declaration | |
---|---|
From | func needsToDrawRect(_ aRect: NSRect) -> Bool |
To | func needsToDraw(_ rect: NSRect) -> Bool |
Declaration | |
---|---|
From | func performKeyEquivalent(_ theEvent: NSEvent) -> Bool |
To | func performKeyEquivalent(with event: NSEvent) -> Bool |
Modified NSView.prepareContent(in: NSRect)
Declaration | |
---|---|
From | func prepareContentInRect(_ rect: NSRect) |
To | func prepareContent(in rect: NSRect) |
Modified NSView.print(_: Any?)
Declaration | |
---|---|
From | @warn_unqualified_access func print(_ sender: AnyObject?) |
To | @warn_unqualified_access func print(_ sender: Any?) |
Declaration | |
---|---|
From | func rectForSmartMagnificationAtPoint(_ location: NSPoint, inRect visibleRect: NSRect) -> NSRect |
To | func rectForSmartMagnification(at location: NSPoint, in visibleRect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func registerForDraggedTypes(_ newTypes: [String]) |
To | func register(forDraggedTypes newTypes: [String]) |
Declaration | |
---|---|
From | func resizeWithOldSuperviewSize(_ oldSize: NSSize) |
To | func resize(withOldSuperviewSize oldSize: NSSize) |
Declaration | |
---|---|
From | func resizeSubviewsWithOldSize(_ oldSize: NSSize) |
To | func resizeSubviews(withOldSize oldSize: NSSize) |
Modified NSView.rotate(byDegrees: CGFloat)
Declaration | |
---|---|
From | func rotateByAngle(_ angle: CGFloat) |
To | func rotate(byDegrees angle: CGFloat) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, didAddMarker marker: NSRulerMarker) |
To | func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, didMoveMarker marker: NSRulerMarker) |
To | func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, didRemoveMarker marker: NSRulerMarker) |
To | func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, handleMouseDown event: NSEvent) |
To | func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, locationForPoint aPoint: NSPoint) -> CGFloat |
To | func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, shouldAddMarker marker: NSRulerMarker) -> Bool |
To | func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, shouldMoveMarker marker: NSRulerMarker) -> Bool |
To | func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, shouldRemoveMarker marker: NSRulerMarker) -> Bool |
To | func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, willAddMarker marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat |
To | func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat |
Declaration | |
---|---|
From | func rulerView(_ ruler: NSRulerView, willMoveMarker marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat |
To | func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat |
Modified NSView.scaleUnitSquare(to: NSSize)
Declaration | |
---|---|
From | func scaleUnitSquareToSize(_ newUnitSize: NSSize) |
To | func scaleUnitSquare(to newUnitSize: NSSize) |
Modified NSView.scroll(_: NSPoint)
Declaration | |
---|---|
From | func scrollPoint(_ aPoint: NSPoint) |
To | func scroll(_ point: NSPoint) |
Modified NSView.scroll(_: NSRect, by: NSSize)
Declaration | |
---|---|
From | func scrollRect(_ aRect: NSRect, by delta: NSSize) |
To | func scroll(_ rect: NSRect, by delta: NSSize) |
Declaration | |
---|---|
From | func scrollClipView(_ aClipView: NSClipView, toPoint aPoint: NSPoint) |
To | func scroll(_ clipView: NSClipView, to point: NSPoint) |
Declaration | |
---|---|
From | func scrollRectToVisible(_ aRect: NSRect) -> Bool |
To | func scrollToVisible(_ rect: NSRect) -> Bool |
Declaration | |
---|---|
From | func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) |
To | func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) |
Declaration | |
---|---|
From | func setContentHuggingPriority(_ priority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation) |
To | func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) |
Declaration | |
---|---|
From | func setKeyboardFocusRingNeedsDisplayInRect(_ rect: NSRect) |
To | func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) |
Modified NSView.setNeedsDisplay(_: NSRect)
Declaration | |
---|---|
From | func setNeedsDisplayInRect(_ invalidRect: NSRect) |
To | func setNeedsDisplay(_ invalidRect: NSRect) |
Declaration | |
---|---|
From | func shouldDelayWindowOrderingForEvent(_ theEvent: NSEvent) -> Bool |
To | func shouldDelayWindowOrdering(for event: NSEvent) -> Bool |
Declaration | |
---|---|
From | func showDefinitionForAttributedString(_ attrString: NSAttributedString?, atPoint textBaselineOrigin: NSPoint) |
To | func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) |
Declaration | |
---|---|
From | func showDefinitionForAttributedString(_ attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : AnyObject]?, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)?) |
To | func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) |
Declaration | |
---|---|
From | func sortSubviewsUsingFunction(_ compare: (NSView, NSView, UnsafeMutablePointer<Void>) -> NSComparisonResult, context context: UnsafeMutablePointer<Void>) |
To | func sortSubviews(_ compare: (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context context: UnsafeMutableRawPointer?) |
Modified NSView.translateOrigin(to: NSPoint)
Declaration | |
---|---|
From | func translateOriginToPoint(_ translation: NSPoint) |
To | func translateOrigin(to translation: NSPoint) |
Declaration | |
---|---|
From | func translateRectsNeedingDisplayInRect(_ clipRect: NSRect, by delta: NSSize) |
To | func translateRectsNeedingDisplay(in clipRect: NSRect, by delta: NSSize) |
Declaration | |
---|---|
From | func viewWillMoveToSuperview(_ newSuperview: NSView?) |
To | func viewWillMove(toSuperview newSuperview: NSView?) |
Declaration | |
---|---|
From | func viewWillMoveToWindow(_ newWindow: NSWindow?) |
To | func viewWillMove(toWindow newWindow: NSWindow?) |
Declaration | |
---|---|
From | func willOpenMenu(_ menu: NSMenu, withEvent event: NSEvent) |
To | func willOpenMenu(_ menu: NSMenu, with event: NSEvent) |
Declaration | |
---|---|
From | func writeEPSInsideRect(_ rect: NSRect, toPasteboard pasteboard: NSPasteboard) |
To | func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) |
Declaration | |
---|---|
From | func writePDFInsideRect(_ rect: NSRect, toPasteboard pasteboard: NSPasteboard) |
To | func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) |
Modified NSViewAnimation
Declaration | |
---|---|
From | class NSViewAnimation : NSAnimation { init(viewAnimations viewAnimations: [[String : AnyObject]]) var viewAnimations: [[String : AnyObject]] } |
To | class NSViewAnimation : NSAnimation { init(viewAnimations viewAnimations: [[String : Any]]) var viewAnimations: [[String : Any]] } |
Declaration | |
---|---|
From | init(viewAnimations viewAnimations: [[String : AnyObject]]) |
To | init(viewAnimations viewAnimations: [[String : Any]]) |
Modified NSViewAnimation.viewAnimations
Declaration | |
---|---|
From | var viewAnimations: [[String : AnyObject]] |
To | var viewAnimations: [[String : Any]] |
Modified NSViewController
Declaration | Protocols | |
---|---|---|
From | class NSViewController : NSResponder, NSCoding, NSSeguePerforming, NSUserInterfaceItemIdentification { init?(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) init?(coder coder: NSCoder) var nibName: String? { get } var nibBundle: NSBundle? { get } var representedObject: AnyObject? var title: String? var view: NSView func loadView() func commitEditingWithDelegate(_ delegate: AnyObject?, didCommitSelector didCommitSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func commitEditing() -> Bool func discardEditing() func viewDidLoad() var viewLoaded: Bool { get } func viewWillAppear() func viewDidAppear() func viewWillDisappear() func viewDidDisappear() var preferredContentSize: NSSize func updateViewConstraints() func viewWillLayout() func viewDidLayout() } extension NSViewController { func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismissController(_ sender: AnyObject?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presentingViewController: NSViewController? { get } } extension NSViewController { func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeToRect positioningRect: NSRect, ofView positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transitionFromViewController(_ fromViewController: NSViewController, toViewController toViewController: NSViewController, options options: NSViewControllerTransitionOptions, completionHandler completion: (() -> Void)?) } extension NSViewController { var parentViewController: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, atIndex index: Int) func removeChildViewControllerAtIndex(_ index: Int) func preferredContentSizeDidChangeForViewController(_ viewController: NSViewController) func viewWillTransitionToSize(_ newSize: NSSize) } extension NSViewController { var storyboard: NSStoryboard? { get } } extension NSViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSViewController { func presentViewControllerInWidget(_ viewController: NSViewController!) } extension NSViewController : XCPlaygroundLiveViewable { func playgroundLiveViewRepresentation() -> XCPlayground.XCPlaygroundLiveViewRepresentation } | NSCoding, NSExtensionRequestHandling, NSSeguePerforming, NSUserInterfaceItemIdentification, XCPlaygroundLiveViewable |
To | class NSViewController : NSResponder, NSCoding, NSSeguePerforming, NSUserInterfaceItemIdentification { init?(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) init?(coder coder: NSCoder) var nibName: String? { get } var nibBundle: Bundle? { get } var representedObject: Any? var title: String? var view: NSView func loadView() func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditing() -> Bool func discardEditing() func viewDidLoad() var isViewLoaded: Bool { get } func viewWillAppear() func viewDidAppear() func viewWillDisappear() func viewDidDisappear() var preferredContentSize: NSSize func updateViewConstraints() func viewWillLayout() func viewDidLayout() func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Swift.Void)? = nil) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) var storyboard: NSStoryboard? { get } @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } } extension NSViewController : CVarArg { } extension NSViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSViewController : Equatable, Hashable { var hashValue: Int { get } } extension NSViewController { func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } } extension NSViewController { func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Swift.Void)? = nil) } extension NSViewController { var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) } extension NSViewController { var storyboard: NSStoryboard? { get } } extension NSViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSViewController { func present(inWidget viewController: NSViewController) } | CVarArg, Equatable, Hashable, NSCoding, NSExtensionRequestHandling, NSSeguePerforming, NSUserInterfaceItemIdentification |
Declaration | |
---|---|
From | func commitEditingWithDelegate(_ delegate: AnyObject?, didCommitSelector didCommitSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified NSViewController.dismiss(_: Any?)
Declaration | |
---|---|
From | @IBAction func dismissController(_ sender: AnyObject?) |
To | @IBAction func dismiss(_ sender: Any?) |
Declaration | |
---|---|
From | init?(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) |
To | init?(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) |
Declaration | |
---|---|
From | func insertChildViewController(_ childViewController: NSViewController, atIndex index: Int) |
To | func insertChildViewController(_ childViewController: NSViewController, at index: Int) |
Modified NSViewController.isViewLoaded
Declaration | |
---|---|
From | var viewLoaded: Bool { get } |
To | var isViewLoaded: Bool { get } |
Modified NSViewController.nibBundle
Declaration | |
---|---|
From | var nibBundle: NSBundle? { get } |
To | var nibBundle: Bundle? { get } |
Modified NSViewController.parent
Declaration | |
---|---|
From | var parentViewController: NSViewController? { get } |
To | var parent: NSViewController? { get } |
Declaration | |
---|---|
From | func preferredContentSizeDidChangeForViewController(_ viewController: NSViewController) |
To | func preferredContentSizeDidChange(for viewController: NSViewController) |
Modified NSViewController.presenting
Declaration | |
---|---|
From | unowned(unsafe) var presentingViewController: NSViewController? { get } |
To | unowned(unsafe) var presenting: NSViewController? { get } |
Declaration | |
---|---|
From | func presentViewController(_ viewController: NSViewController, asPopoverRelativeToRect positioningRect: NSRect, ofView positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) |
To | func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) |
Declaration | |
---|---|
From | func removeChildViewControllerAtIndex(_ index: Int) |
To | func removeChildViewController(at index: Int) |
Modified NSViewController.representedObject
Declaration | |
---|---|
From | var representedObject: AnyObject? |
To | var representedObject: Any? |
Declaration | |
---|---|
From | func transitionFromViewController(_ fromViewController: NSViewController, toViewController toViewController: NSViewController, options options: NSViewControllerTransitionOptions, completionHandler completion: (() -> Void)?) |
To | func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func viewWillTransitionToSize(_ newSize: NSSize) |
To | func viewWillTransition(to newSize: NSSize) |
Modified NSViewControllerPresentationAnimator
Declaration | |
---|---|
From | protocol NSViewControllerPresentationAnimator : NSObjectProtocol { func animatePresentationOfViewController(_ viewController: NSViewController, fromViewController fromViewController: NSViewController) func animateDismissalOfViewController(_ viewController: NSViewController, fromViewController fromViewController: NSViewController) } |
To | protocol NSViewControllerPresentationAnimator : NSObjectProtocol { func animatePresentation(of viewController: NSViewController, from fromViewController: NSViewController) func animateDismissal(of viewController: NSViewController, from fromViewController: NSViewController) } |
Modified NSViewControllerPresentationAnimator.animateDismissal(of: NSViewController, from: NSViewController)
Declaration | |
---|---|
From | func animateDismissalOfViewController(_ viewController: NSViewController, fromViewController fromViewController: NSViewController) |
To | func animateDismissal(of viewController: NSViewController, from fromViewController: NSViewController) |
Declaration | |
---|---|
From | func animatePresentationOfViewController(_ viewController: NSViewController, fromViewController fromViewController: NSViewController) |
To | func animatePresentation(of viewController: NSViewController, from fromViewController: NSViewController) |
Declaration | Protocols | |
---|---|---|
From | struct NSViewControllerTransitionOptions : OptionSetType { init(rawValue rawValue: UInt) static var None: NSViewControllerTransitionOptions { get } static var Crossfade: NSViewControllerTransitionOptions { get } static var SlideUp: NSViewControllerTransitionOptions { get } static var SlideDown: NSViewControllerTransitionOptions { get } static var SlideLeft: NSViewControllerTransitionOptions { get } static var SlideRight: NSViewControllerTransitionOptions { get } static var SlideForward: NSViewControllerTransitionOptions { get } static var SlideBackward: NSViewControllerTransitionOptions { get } static var AllowUserInteraction: NSViewControllerTransitionOptions { get } } | OptionSetType |
To | struct NSViewControllerTransitionOptions : OptionSet { init(rawValue rawValue: UInt) static var none: NSViewControllerTransitionOptions { get } static var crossfade: NSViewControllerTransitionOptions { get } static var slideUp: NSViewControllerTransitionOptions { get } static var slideDown: NSViewControllerTransitionOptions { get } static var slideLeft: NSViewControllerTransitionOptions { get } static var slideRight: NSViewControllerTransitionOptions { get } static var slideForward: NSViewControllerTransitionOptions { get } static var slideBackward: NSViewControllerTransitionOptions { get } static var allowUserInteraction: NSViewControllerTransitionOptions { get } func intersect(_ other: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions func exclusiveOr(_ other: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions mutating func unionInPlace(_ other: NSViewControllerTransitionOptions) mutating func intersectInPlace(_ other: NSViewControllerTransitionOptions) mutating func exclusiveOrInPlace(_ other: NSViewControllerTransitionOptions) func isSubsetOf(_ other: NSViewControllerTransitionOptions) -> Bool func isDisjointWith(_ other: NSViewControllerTransitionOptions) -> Bool func isSupersetOf(_ other: NSViewControllerTransitionOptions) -> Bool mutating func subtractInPlace(_ other: NSViewControllerTransitionOptions) func isStrictSupersetOf(_ other: NSViewControllerTransitionOptions) -> Bool func isStrictSubsetOf(_ other: NSViewControllerTransitionOptions) -> Bool } extension NSViewControllerTransitionOptions { func union(_ other: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions func intersection(_ other: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions func symmetricDifference(_ other: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions } extension NSViewControllerTransitionOptions { func contains(_ member: NSViewControllerTransitionOptions) -> Bool mutating func insert(_ newMember: NSViewControllerTransitionOptions) -> (inserted: Bool, memberAfterInsert: NSViewControllerTransitionOptions) mutating func remove(_ member: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions? mutating func update(with newMember: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions? } extension NSViewControllerTransitionOptions { convenience init() mutating func formUnion(_ other: NSViewControllerTransitionOptions) mutating func formIntersection(_ other: NSViewControllerTransitionOptions) mutating func formSymmetricDifference(_ other: NSViewControllerTransitionOptions) } extension NSViewControllerTransitionOptions { convenience init<S : Sequence where S.Iterator.Element == NSViewControllerTransitionOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSViewControllerTransitionOptions...) mutating func subtract(_ other: NSViewControllerTransitionOptions) func isSubset(of other: NSViewControllerTransitionOptions) -> Bool func isSuperset(of other: NSViewControllerTransitionOptions) -> Bool func isDisjoint(with other: NSViewControllerTransitionOptions) -> Bool func subtracting(_ other: NSViewControllerTransitionOptions) -> NSViewControllerTransitionOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSViewControllerTransitionOptions) -> Bool func isStrictSubset(of other: NSViewControllerTransitionOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var AllowUserInteraction: NSViewControllerTransitionOptions { get } |
To | static var allowUserInteraction: NSViewControllerTransitionOptions { get } |
Declaration | |
---|---|
From | static var Crossfade: NSViewControllerTransitionOptions { get } |
To | static var crossfade: NSViewControllerTransitionOptions { get } |
Declaration | |
---|---|
From | static var SlideBackward: NSViewControllerTransitionOptions { get } |
To | static var slideBackward: NSViewControllerTransitionOptions { get } |
Declaration | |
---|---|
From | static var SlideDown: NSViewControllerTransitionOptions { get } |
To | static var slideDown: NSViewControllerTransitionOptions { get } |
Declaration | |
---|---|
From | static var SlideForward: NSViewControllerTransitionOptions { get } |
To | static var slideForward: NSViewControllerTransitionOptions { get } |
Declaration | |
---|---|
From | static var SlideLeft: NSViewControllerTransitionOptions { get } |
To | static var slideLeft: NSViewControllerTransitionOptions { get } |
Declaration | |
---|---|
From | static var SlideRight: NSViewControllerTransitionOptions { get } |
To | static var slideRight: NSViewControllerTransitionOptions { get } |
Declaration | |
---|---|
From | static var SlideUp: NSViewControllerTransitionOptions { get } |
To | static var slideUp: NSViewControllerTransitionOptions { get } |
Modified NSViewLayerContentsPlacement [enum]
Declaration | |
---|---|
From | enum NSViewLayerContentsPlacement : Int { case ScaleAxesIndependently case ScaleProportionallyToFit case ScaleProportionallyToFill case Center case Top case TopRight case Right case BottomRight case Bottom case BottomLeft case Left case TopLeft } |
To | enum NSViewLayerContentsPlacement : Int { case scaleAxesIndependently case scaleProportionallyToFit case scaleProportionallyToFill case center case top case topRight case right case bottomRight case bottom case bottomLeft case left case topLeft } |
Modified NSViewLayerContentsPlacement.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Declaration | |
---|---|
From | case BottomLeft |
To | case bottomLeft |
Declaration | |
---|---|
From | case BottomRight |
To | case bottomRight |
Modified NSViewLayerContentsPlacement.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified NSViewLayerContentsPlacement.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified NSViewLayerContentsPlacement.right
Declaration | |
---|---|
From | case Right |
To | case right |
Declaration | |
---|---|
From | case ScaleAxesIndependently |
To | case scaleAxesIndependently |
Declaration | |
---|---|
From | case ScaleProportionallyToFill |
To | case scaleProportionallyToFill |
Declaration | |
---|---|
From | case ScaleProportionallyToFit |
To | case scaleProportionallyToFit |
Modified NSViewLayerContentsPlacement.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified NSViewLayerContentsPlacement.topLeft
Declaration | |
---|---|
From | case TopLeft |
To | case topLeft |
Declaration | |
---|---|
From | case TopRight |
To | case topRight |
Declaration | |
---|---|
From | enum NSViewLayerContentsRedrawPolicy : Int { case Never case OnSetNeedsDisplay case DuringViewResize case BeforeViewResize case Crossfade } |
To | enum NSViewLayerContentsRedrawPolicy : Int { case never case onSetNeedsDisplay case duringViewResize case beforeViewResize case crossfade } |
Declaration | |
---|---|
From | case BeforeViewResize |
To | case beforeViewResize |
Declaration | |
---|---|
From | case Crossfade |
To | case crossfade |
Declaration | |
---|---|
From | case DuringViewResize |
To | case duringViewResize |
Declaration | |
---|---|
From | case Never |
To | case never |
Declaration | |
---|---|
From | case OnSetNeedsDisplay |
To | case onSetNeedsDisplay |
Modified NSVisualEffectBlendingMode [enum]
Declaration | |
---|---|
From | enum NSVisualEffectBlendingMode : Int { case BehindWindow case WithinWindow } |
To | enum NSVisualEffectBlendingMode : Int { case behindWindow case withinWindow } |
Declaration | |
---|---|
From | case BehindWindow |
To | case behindWindow |
Declaration | |
---|---|
From | case WithinWindow |
To | case withinWindow |
Modified NSVisualEffectMaterial [enum]
Declaration | |
---|---|
From | enum NSVisualEffectMaterial : Int { case AppearanceBased case Titlebar case Menu case Popover case Sidebar case Light case Dark case MediumLight case UltraDark } |
To | enum NSVisualEffectMaterial : Int { case appearanceBased case titlebar case selection case menu case popover case sidebar case light case dark case mediumLight case ultraDark } |
Declaration | |
---|---|
From | case AppearanceBased |
To | case appearanceBased |
Modified NSVisualEffectMaterial.dark
Declaration | |
---|---|
From | case Dark |
To | case dark |
Modified NSVisualEffectMaterial.light
Declaration | |
---|---|
From | case Light |
To | case light |
Modified NSVisualEffectMaterial.mediumLight
Declaration | |
---|---|
From | case MediumLight |
To | case mediumLight |
Modified NSVisualEffectMaterial.menu
Declaration | |
---|---|
From | case Menu |
To | case menu |
Modified NSVisualEffectMaterial.popover
Declaration | |
---|---|
From | case Popover |
To | case popover |
Modified NSVisualEffectMaterial.sidebar
Declaration | |
---|---|
From | case Sidebar |
To | case sidebar |
Modified NSVisualEffectMaterial.titlebar
Declaration | |
---|---|
From | case Titlebar |
To | case titlebar |
Modified NSVisualEffectMaterial.ultraDark
Declaration | |
---|---|
From | case UltraDark |
To | case ultraDark |
Modified NSVisualEffectState [enum]
Declaration | |
---|---|
From | enum NSVisualEffectState : Int { case FollowsWindowActiveState case Active case Inactive } |
To | enum NSVisualEffectState : Int { case followsWindowActiveState case active case inactive } |
Modified NSVisualEffectState.active
Declaration | |
---|---|
From | case Active |
To | case active |
Declaration | |
---|---|
From | case FollowsWindowActiveState |
To | case followsWindowActiveState |
Modified NSVisualEffectState.inactive
Declaration | |
---|---|
From | case Inactive |
To | case inactive |
Modified NSVisualEffectView
Declaration | Protocols | |
---|---|---|
From | class NSVisualEffectView : NSView { var material: NSVisualEffectMaterial var interiorBackgroundStyle: NSBackgroundStyle { get } var blendingMode: NSVisualEffectBlendingMode var state: NSVisualEffectState var maskImage: NSImage? func viewDidMoveToWindow() func viewWillMoveToWindow(_ newWindow: NSWindow?) } | -- |
To | class NSVisualEffectView : NSView { var material: NSVisualEffectMaterial var interiorBackgroundStyle: NSBackgroundStyle { get } var blendingMode: NSVisualEffectBlendingMode var state: NSVisualEffectState var maskImage: NSImage? var isEmphasized: Bool func viewDidMoveToWindow() func viewWillMove(toWindow newWindow: NSWindow?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSVisualEffectView : CVarArg { } extension NSVisualEffectView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func viewWillMoveToWindow(_ newWindow: NSWindow?) |
To | func viewWillMove(toWindow newWindow: NSWindow?) |
Modified NSWindingRule [enum]
Declaration | |
---|---|
From | enum NSWindingRule : UInt { case NonZeroWindingRule case EvenOddWindingRule } |
To | enum NSWindingRule : UInt { case nonZeroWindingRule case evenOddWindingRule } |
Modified NSWindingRule.evenOddWindingRule
Declaration | |
---|---|
From | case EvenOddWindingRule |
To | case evenOddWindingRule |
Modified NSWindingRule.nonZeroWindingRule
Declaration | |
---|---|
From | case NonZeroWindingRule |
To | case nonZeroWindingRule |
Modified NSWindow
Declaration | Protocols | |
---|---|---|
From | class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { class func frameRectForContentRect(_ cRect: NSRect, styleMask aStyle: Int) -> NSRect class func contentRectForFrameRect(_ fRect: NSRect, styleMask aStyle: Int) -> NSRect class func minFrameWidthWithTitle(_ aTitle: String, styleMask aStyle: Int) -> CGFloat class func defaultDepthLimit() -> NSWindowDepth func frameRectForContentRect(_ contentRect: NSRect) -> NSRect func contentRectForFrameRect(_ frameRect: NSRect) -> NSRect init(contentRect contentRect: NSRect, styleMask aStyle: Int, backing bufferingType: NSBackingStoreType, defer flag: Bool) convenience init(contentRect contentRect: NSRect, styleMask aStyle: Int, backing bufferingType: NSBackingStoreType, defer flag: Bool, screen screen: NSScreen?) var title: String var titleVisibility: NSWindowTitleVisibility var titlebarAppearsTransparent: Bool var contentLayoutRect: NSRect { get } var contentLayoutGuide: AnyObject? { get } var titlebarAccessoryViewControllers: [NSTitlebarAccessoryViewController] func addTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController) func insertTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController, atIndex index: Int) func removeTitlebarAccessoryViewControllerAtIndex(_ index: Int) @NSCopying var representedURL: NSURL? var representedFilename: String func setTitleWithRepresentedFilename(_ filename: String) var excludedFromWindowsMenu: Bool var contentView: NSView? unowned(unsafe) var delegate: NSWindowDelegate? var windowNumber: Int { get } var styleMask: Int func fieldEditor(_ createFlag: Bool, forObject anObject: AnyObject?) -> NSText? func endEditingFor(_ anObject: AnyObject?) func constrainFrameRect(_ frameRect: NSRect, toScreen screen: NSScreen?) -> NSRect func setFrame(_ frameRect: NSRect, display flag: Bool) func setContentSize(_ aSize: NSSize) func setFrameOrigin(_ aPoint: NSPoint) func setFrameTopLeftPoint(_ aPoint: NSPoint) func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint var frame: NSRect { get } func animationResizeTime(_ newFrame: NSRect) -> NSTimeInterval func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool) var inLiveResize: Bool { get } var showsResizeIndicator: Bool var resizeIncrements: NSSize var aspectRatio: NSSize var contentResizeIncrements: NSSize var contentAspectRatio: NSSize func disableFlushWindow() func enableFlushWindow() var flushWindowDisabled: Bool { get } func flushWindow() func flushWindowIfNeeded() var viewsNeedDisplay: Bool func displayIfNeeded() func display() var autodisplay: Bool var preservesContentDuringLiveResize: Bool func update() func makeFirstResponder(_ aResponder: NSResponder?) -> Bool unowned(unsafe) var firstResponder: NSResponder { get } var resizeFlags: Int { get } func keyDown(_ theEvent: NSEvent) func close() var releasedWhenClosed: Bool func miniaturize(_ sender: AnyObject?) func deminiaturize(_ sender: AnyObject?) var zoomed: Bool { get } func zoom(_ sender: AnyObject?) var miniaturized: Bool { get } func tryToPerform(_ anAction: Selector, with anObject: AnyObject?) -> Bool func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? @NSCopying var backgroundColor: NSColor! func setContentBorderThickness(_ thickness: CGFloat, forEdge edge: NSRectEdge) func contentBorderThicknessForEdge(_ edge: NSRectEdge) -> CGFloat func setAutorecalculatesContentBorderThickness(_ flag: Bool, forEdge edge: NSRectEdge) func autorecalculatesContentBorderThicknessForEdge(_ edge: NSRectEdge) -> Bool var movable: Bool var movableByWindowBackground: Bool var hidesOnDeactivate: Bool var canHide: Bool func center() func makeKeyAndOrderFront(_ sender: AnyObject?) func orderFront(_ sender: AnyObject?) func orderBack(_ sender: AnyObject?) func orderOut(_ sender: AnyObject?) func orderWindow(_ place: NSWindowOrderingMode, relativeTo otherWin: Int) func orderFrontRegardless() var miniwindowImage: NSImage? var miniwindowTitle: String! var dockTile: NSDockTile { get } var documentEdited: Bool var visible: Bool { get } var keyWindow: Bool { get } var mainWindow: Bool { get } var canBecomeKeyWindow: Bool { get } var canBecomeMainWindow: Bool { get } func makeKeyWindow() func makeMainWindow() func becomeKeyWindow() func resignKeyWindow() func becomeMainWindow() func resignMainWindow() var worksWhenModal: Bool { get } var preventsApplicationTerminationWhenModal: Bool func convertRectToScreen(_ aRect: NSRect) -> NSRect func convertRectFromScreen(_ aRect: NSRect) -> NSRect func convertRectToBacking(_ aRect: NSRect) -> NSRect func convertRectFromBacking(_ aRect: NSRect) -> NSRect func backingAlignedRect(_ aRect: NSRect, options options: NSAlignmentOptions) -> NSRect var backingScaleFactor: CGFloat { get } func performClose(_ sender: AnyObject?) func performMiniaturize(_ sender: AnyObject?) func performZoom(_ sender: AnyObject?) var oneShot: Bool func dataWithEPSInsideRect(_ rect: NSRect) -> NSData func dataWithPDFInsideRect(_ rect: NSRect) -> NSData @warn_unqualified_access func print(_ sender: AnyObject?) func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRectsForView(_ aView: NSView) func resetCursorRects() var allowsToolTipsWhenApplicationIsInactive: Bool var backingType: NSBackingStoreType var level: Int var depthLimit: NSWindowDepth func setDynamicDepthLimit(_ flag: Bool) var hasDynamicDepthLimit: Bool { get } var screen: NSScreen? { get } var deepestScreen: NSScreen? { get } var hasShadow: Bool func invalidateShadow() var alphaValue: CGFloat var opaque: Bool var sharingType: NSWindowSharingType var preferredBackingLocation: NSWindowBackingLocation var backingLocation: NSWindowBackingLocation { get } var allowsConcurrentViewDrawing: Bool var displaysWhenScreenProfileChanges: Bool func disableScreenUpdatesUntilFlush() var canBecomeVisibleWithoutLogin: Bool var collectionBehavior: NSWindowCollectionBehavior var animationBehavior: NSWindowAnimationBehavior var onActiveSpace: Bool { get } func toggleFullScreen(_ sender: AnyObject?) var stringWithSavedFrame: String { get } func setFrameFromString(_ string: String) func saveFrameUsingName(_ name: String) func setFrameUsingName(_ name: String, force force: Bool) -> Bool func setFrameUsingName(_ name: String) -> Bool func setFrameAutosaveName(_ name: String) -> Bool var frameAutosaveName: String { get } class func removeFrameUsingName(_ name: String) func cacheImageInRect(_ aRect: NSRect) func restoreCachedImage() func discardCachedImage() var minSize: NSSize var maxSize: NSSize var contentMinSize: NSSize var contentMaxSize: NSSize var minFullScreenContentSize: NSSize var maxFullScreenContentSize: NSSize func trackEventsMatchingMask(_ mask: NSEventMask, timeout timeout: NSTimeInterval, mode mode: String, handler trackingHandler: (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Void) func nextEventMatchingMask(_ mask: Int) -> NSEvent? func nextEventMatchingMask(_ mask: Int, untilDate expiration: NSDate?, inMode mode: String, dequeue deqFlag: Bool) -> NSEvent? func discardEventsMatchingMask(_ mask: Int, beforeEvent lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var deviceDescription: [String : AnyObject] { get } func sendEvent(_ theEvent: NSEvent) var mouseLocationOutsideOfEventStream: NSPoint { get } unowned(unsafe) var windowController: NSWindowController? func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Void)?) func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Void)?) func endSheet(_ sheetWindow: NSWindow) func endSheet(_ sheetWindow: NSWindow, returnCode returnCode: NSModalResponse) var sheets: [NSWindow] { get } var attachedSheet: NSWindow? { get } var sheet: Bool { get } var sheetParent: NSWindow? { get } class func standardWindowButton(_ b: NSWindowButton, forStyleMask styleMask: Int) -> NSButton? func standardWindowButton(_ b: NSWindowButton) -> NSButton? func addChildWindow(_ childWin: NSWindow, ordered place: NSWindowOrderingMode) func removeChildWindow(_ childWin: NSWindow) var childWindows: [NSWindow]? { get } unowned(unsafe) var parentWindow: NSWindow? var graphicsContext: NSGraphicsContext? { get } var colorSpace: NSColorSpace? class func windowNumbersWithOptions(_ options: NSWindowNumberListOptions) -> [NSNumber]? class func windowNumberAtPoint(_ point: NSPoint, belowWindowWithWindowNumber windowNumber: Int) -> Int var occlusionState: NSWindowOcclusionState { get } var contentViewController: NSViewController? convenience init(contentViewController contentViewController: NSViewController) class func windowWithContentViewController(_ contentViewController: NSViewController) -> Self func performWindowDragWithEvent(_ event: NSEvent) } extension NSWindow { var drawers: [NSDrawer]? { get } } extension NSWindow { func updateConstraintsIfNeeded() func layoutIfNeeded() } extension NSWindow { func anchorAttributeForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, forOrientation orientation: NSLayoutConstraintOrientation) } extension NSWindow { func visualizeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSWindow { unowned(unsafe) var initialFirstResponder: NSView? func selectNextKeyView(_ sender: AnyObject?) func selectPreviousKeyView(_ sender: AnyObject?) func selectKeyViewFollowingView(_ aView: NSView) func selectKeyViewPrecedingView(_ aView: NSView) var keyViewSelectionDirection: NSSelectionDirection { get } var defaultButtonCell: NSButtonCell? func disableKeyEquivalentForDefaultButtonCell() func enableKeyEquivalentForDefaultButtonCell() var autorecalculatesKeyViewLoop: Bool func recalculateKeyViewLoop() } extension NSWindow { var toolbar: NSToolbar? func toggleToolbarShown(_ sender: AnyObject?) func runToolbarCustomizationPalette(_ sender: AnyObject?) var showsToolbarButton: Bool } extension NSWindow { func dragImage(_ anImage: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: AnyObject, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() } extension NSWindow { convenience init?(windowRef windowRef: UnsafeMutablePointer<Void>) var windowRef: UnsafeMutablePointer<Void> { get } } extension NSWindow { class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBaseToScreen(_ aPoint: NSPoint) -> NSPoint func convertScreenToBase(_ aPoint: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool } extension NSWindow { var restorable: Bool var restorationClass: AnyObject.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() } extension NSWindow { var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var floatingPanel: Bool { get } var miniaturizable: Bool { get } var modalPanel: Bool { get } var resizable: Bool { get } var zoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleCloseScriptCommand(_ command: NSCloseCommand) -> AnyObject? func handlePrintScriptCommand(_ command: NSScriptCommand) -> AnyObject? func handleSaveScriptCommand(_ command: NSScriptCommand) -> AnyObject? } | NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSUserInterfaceItemIdentification, NSUserInterfaceValidations |
To | class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect class func contentRect(forFrameRect fRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect class func minFrameWidth(withTitle title: String, styleMask style: NSWindowStyleMask) -> CGFloat class func defaultDepthLimit() -> NSWindowDepth func frameRect(forContentRect contentRect: NSRect) -> NSRect func contentRect(forFrameRect frameRect: NSRect) -> NSRect init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool) convenience init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool, screen screen: NSScreen?) convenience init(coder coder: NSCoder) var title: String var titleVisibility: NSWindowTitleVisibility var titlebarAppearsTransparent: Bool var contentLayoutRect: NSRect { get } var contentLayoutGuide: Any? { get } var titlebarAccessoryViewControllers: [NSTitlebarAccessoryViewController] func addTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController) func insertTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController, at index: Int) func removeTitlebarAccessoryViewController(at index: Int) var representedURL: URL? var representedFilename: String func setTitleWithRepresentedFilename(_ filename: String) var isExcludedFromWindowsMenu: Bool var contentView: NSView? unowned(unsafe) var delegate: NSWindowDelegate? var windowNumber: Int { get } var styleMask: NSWindowStyleMask func fieldEditor(_ createFlag: Bool, for object: Any?) -> NSText? func endEditing(for object: Any?) func constrainFrameRect(_ frameRect: NSRect, to screen: NSScreen?) -> NSRect func setFrame(_ frameRect: NSRect, display flag: Bool) func setContentSize(_ size: NSSize) func setFrameOrigin(_ point: NSPoint) func setFrameTopLeftPoint(_ point: NSPoint) func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint var frame: NSRect { get } func animationResizeTime(_ newFrame: NSRect) -> TimeInterval func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool) var inLiveResize: Bool { get } var showsResizeIndicator: Bool var resizeIncrements: NSSize var aspectRatio: NSSize var contentResizeIncrements: NSSize var contentAspectRatio: NSSize func disableFlushing() func enableFlushing() var isFlushWindowDisabled: Bool { get } func flush() func flushIfNeeded() var viewsNeedDisplay: Bool func displayIfNeeded() func display() var isAutodisplay: Bool var preservesContentDuringLiveResize: Bool func update() func makeFirstResponder(_ responder: NSResponder?) -> Bool unowned(unsafe) var firstResponder: NSResponder { get } var resizeFlags: Int { get } func keyDown(with event: NSEvent) func close() var isReleasedWhenClosed: Bool func miniaturize(_ sender: Any?) func deminiaturize(_ sender: Any?) var isZoomed: Bool { get } func zoom(_ sender: Any?) var isMiniaturized: Bool { get } func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? @NSCopying var backgroundColor: NSColor! func setContentBorderThickness(_ thickness: CGFloat, for edge: NSRectEdge) func contentBorderThickness(for edge: NSRectEdge) -> CGFloat func setAutorecalculatesContentBorderThickness(_ flag: Bool, for edge: NSRectEdge) func autorecalculatesContentBorderThickness(for edge: NSRectEdge) -> Bool var isMovable: Bool var isMovableByWindowBackground: Bool var hidesOnDeactivate: Bool var canHide: Bool func center() func makeKeyAndOrderFront(_ sender: Any?) func orderFront(_ sender: Any?) func orderBack(_ sender: Any?) func orderOut(_ sender: Any?) func order(_ place: NSWindowOrderingMode, relativeTo otherWin: Int) func orderFrontRegardless() var miniwindowImage: NSImage? var miniwindowTitle: String! var dockTile: NSDockTile { get } var isDocumentEdited: Bool var isVisible: Bool { get } var isKeyWindow: Bool { get } var isMainWindow: Bool { get } var canBecomeKey: Bool { get } var canBecomeMain: Bool { get } func makeKey() func makeMain() func becomeKey() func resignKey() func becomeMain() func resignMain() var worksWhenModal: Bool { get } var preventsApplicationTerminationWhenModal: Bool func convertToScreen(_ rect: NSRect) -> NSRect func convertFromScreen(_ rect: NSRect) -> NSRect func convertToBacking(_ rect: NSRect) -> NSRect func convertFromBacking(_ rect: NSRect) -> NSRect func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect var backingScaleFactor: CGFloat { get } func performClose(_ sender: Any?) func performMiniaturize(_ sender: Any?) func performZoom(_ sender: Any?) var isOneShot: Bool func dataWithEPS(inside rect: NSRect) -> Data func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) var allowsToolTipsWhenApplicationIsInactive: Bool var backingType: NSBackingStoreType var level: Int var depthLimit: NSWindowDepth func setDynamicDepthLimit(_ flag: Bool) var hasDynamicDepthLimit: Bool { get } var screen: NSScreen? { get } var deepestScreen: NSScreen? { get } var hasShadow: Bool func invalidateShadow() var alphaValue: CGFloat var isOpaque: Bool var sharingType: NSWindowSharingType var preferredBackingLocation: NSWindowBackingLocation var backingLocation: NSWindowBackingLocation { get } var allowsConcurrentViewDrawing: Bool var displaysWhenScreenProfileChanges: Bool func disableScreenUpdatesUntilFlush() var canBecomeVisibleWithoutLogin: Bool var collectionBehavior: NSWindowCollectionBehavior var animationBehavior: NSWindowAnimationBehavior var isOnActiveSpace: Bool { get } func toggleFullScreen(_ sender: Any?) var stringWithSavedFrame: String { get } func setFrameFrom(_ string: String) func saveFrame(usingName name: String) func setFrameUsingName(_ name: String, force force: Bool) -> Bool func setFrameUsingName(_ name: String) -> Bool func setFrameAutosaveName(_ name: String) -> Bool var frameAutosaveName: String { get } class func removeFrame(usingName name: String) func cacheImage(in rect: NSRect) func restoreCachedImage() func discardCachedImage() var minSize: NSSize var maxSize: NSSize var contentMinSize: NSSize var contentMaxSize: NSSize var minFullScreenContentSize: NSSize var maxFullScreenContentSize: NSSize var deviceDescription: [String : Any] { get } unowned(unsafe) var windowController: NSWindowController? func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) func endSheet(_ sheetWindow: NSWindow) func endSheet(_ sheetWindow: NSWindow, returnCode returnCode: NSModalResponse) var sheets: [NSWindow] { get } var attachedSheet: NSWindow? { get } var isSheet: Bool { get } var sheetParent: NSWindow? { get } class func standardWindowButton(_ b: NSWindowButton, for styleMask: NSWindowStyleMask) -> NSButton? func standardWindowButton(_ b: NSWindowButton) -> NSButton? func addChildWindow(_ childWin: NSWindow, ordered place: NSWindowOrderingMode) func removeChildWindow(_ childWin: NSWindow) var childWindows: [NSWindow]? { get } unowned(unsafe) var parent: NSWindow? var graphicsContext: NSGraphicsContext? { get } var colorSpace: NSColorSpace? func canRepresent(_ displayGamut: NSDisplayGamut) -> Bool class func windowNumbers(withOptions options: NSWindowNumberListOptions) -> [NSNumber]? class func windowNumber(at point: NSPoint, belowWindowWithWindowNumber windowNumber: Int) -> Int var occlusionState: NSWindowOcclusionState { get } var contentViewController: NSViewController? convenience init(contentViewController contentViewController: NSViewController) class func withContentViewController(_ contentViewController: NSViewController) -> Self func performDrag(with event: NSEvent) unowned(unsafe) var initialFirstResponder: NSView? func selectNextKeyView(_ sender: Any?) func selectPreviousKeyView(_ sender: Any?) func selectKeyView(following view: NSView) func selectKeyView(preceding view: NSView) var keyViewSelectionDirection: NSSelectionDirection { get } var defaultButtonCell: NSButtonCell? func disableKeyEquivalentForDefaultButtonCell() func enableKeyEquivalentForDefaultButtonCell() var autorecalculatesKeyViewLoop: Bool func recalculateKeyViewLoop() var toolbar: NSToolbar? func toggleToolbarShown(_ sender: Any?) func runToolbarCustomizationPalette(_ sender: Any?) var showsToolbarButton: Bool class var allowsAutomaticWindowTabbing: Bool class var userTabbingPreference: NSWindowUserTabbingPreference { get } var tabbingMode: NSWindowTabbingMode var tabbingIdentifier: String @IBAction func selectNextTab(_ sender: Any?) @IBAction func selectPreviousTab(_ sender: Any?) @IBAction func moveTabToNewWindow(_ sender: Any?) @IBAction func mergeAllWindows(_ sender: Any?) @IBAction func toggleTabBar(_ sender: Any?) var tabbedWindows: [NSWindow]? { get } func addTabbedWindow(_ window: NSWindow, ordered ordered: NSWindowOrderingMode) var windowTitlebarLayoutDirection: NSUserInterfaceLayoutDirection { get } func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool func updateConstraintsIfNeeded() func layoutIfNeeded() func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) func visualizeConstraints(_ constraints: [NSLayoutConstraint]) var drawers: [NSDrawer]? { get } var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSWindow { func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) } extension NSWindow { var drawers: [NSDrawer]? { get } } extension NSWindow { func updateConstraintsIfNeeded() func layoutIfNeeded() } extension NSWindow { func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) } extension NSWindow { func visualizeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSWindow : CVarArg { } extension NSWindow : Equatable, Hashable { var hashValue: Int { get } } extension NSWindow { func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } } extension NSWindow { func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() } extension NSWindow { func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() } extension NSWindow { convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } } extension NSWindow { class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool } extension NSWindow { var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() } extension NSWindow { var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSUserInterfaceItemIdentification, NSUserInterfaceValidations |
Declaration | |
---|---|
From | func anchorAttributeForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute |
To | func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute |
Declaration | |
---|---|
From | func animationResizeTime(_ newFrame: NSRect) -> NSTimeInterval |
To | func animationResizeTime(_ newFrame: NSRect) -> TimeInterval |
Declaration | |
---|---|
From | func autorecalculatesContentBorderThicknessForEdge(_ edge: NSRectEdge) -> Bool |
To | func autorecalculatesContentBorderThickness(for edge: NSRectEdge) -> Bool |
Declaration | |
---|---|
From | func backingAlignedRect(_ aRect: NSRect, options options: NSAlignmentOptions) -> NSRect |
To | func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect |
Modified NSWindow.becomeKey()
Declaration | |
---|---|
From | func becomeKeyWindow() |
To | func becomeKey() |
Modified NSWindow.becomeMain()
Declaration | |
---|---|
From | func becomeMainWindow() |
To | func becomeMain() |
Modified NSWindow.beginCriticalSheet(_: NSWindow, completionHandler: ( (NSModalResponse) -> Swift.Void)?)
Declaration | |
---|---|
From | func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Void)?) |
To | func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Void)?) |
To | func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) |
Modified NSWindow.cacheImage(in: NSRect)
Declaration | |
---|---|
From | func cacheImageInRect(_ aRect: NSRect) |
To | func cacheImage(in rect: NSRect) |
Modified NSWindow.canBecomeKey
Declaration | |
---|---|
From | var canBecomeKeyWindow: Bool { get } |
To | var canBecomeKey: Bool { get } |
Modified NSWindow.canBecomeMain
Declaration | |
---|---|
From | var canBecomeMainWindow: Bool { get } |
To | var canBecomeMain: Bool { get } |
Declaration | |
---|---|
From | func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint |
To | func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint |
Declaration | |
---|---|
From | func constrainFrameRect(_ frameRect: NSRect, toScreen screen: NSScreen?) -> NSRect |
To | func constrainFrameRect(_ frameRect: NSRect, to screen: NSScreen?) -> NSRect |
Declaration | |
---|---|
From | func contentBorderThicknessForEdge(_ edge: NSRectEdge) -> CGFloat |
To | func contentBorderThickness(for edge: NSRectEdge) -> CGFloat |
Modified NSWindow.contentLayoutGuide
Declaration | |
---|---|
From | var contentLayoutGuide: AnyObject? { get } |
To | var contentLayoutGuide: Any? { get } |
Declaration | |
---|---|
From | func contentRectForFrameRect(_ frameRect: NSRect) -> NSRect |
To | func contentRect(forFrameRect frameRect: NSRect) -> NSRect |
Declaration | |
---|---|
From | class func contentRectForFrameRect(_ fRect: NSRect, styleMask aStyle: Int) -> NSRect |
To | class func contentRect(forFrameRect fRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect |
Declaration | |
---|---|
From | func convertRectFromBacking(_ aRect: NSRect) -> NSRect |
To | func convertFromBacking(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func convertRectFromScreen(_ aRect: NSRect) -> NSRect |
To | func convertFromScreen(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func convertRectToBacking(_ aRect: NSRect) -> NSRect |
To | func convertToBacking(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func convertRectToScreen(_ aRect: NSRect) -> NSRect |
To | func convertToScreen(_ rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | func dataWithEPSInsideRect(_ rect: NSRect) -> NSData |
To | func dataWithEPS(inside rect: NSRect) -> Data |
Declaration | |
---|---|
From | func dataWithPDFInsideRect(_ rect: NSRect) -> NSData |
To | func dataWithPDF(inside rect: NSRect) -> Data |
Modified NSWindow.deminiaturize(_: Any?)
Declaration | |
---|---|
From | func deminiaturize(_ sender: AnyObject?) |
To | func deminiaturize(_ sender: Any?) |
Modified NSWindow.deviceDescription
Declaration | |
---|---|
From | var deviceDescription: [String : AnyObject] { get } |
To | var deviceDescription: [String : Any] { get } |
Modified NSWindow.disableFlushing()
Declaration | |
---|---|
From | func disableFlushWindow() |
To | func disableFlushing() |
Declaration | |
---|---|
From | func discardEventsMatchingMask(_ mask: Int, beforeEvent lastEvent: NSEvent?) |
To | func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) |
Declaration | |
---|---|
From | func dragImage(_ anImage: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: AnyObject, slideBack slideFlag: Bool) |
To | func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) |
Modified NSWindow.enableFlushing()
Declaration | |
---|---|
From | func enableFlushWindow() |
To | func enableFlushing() |
Modified NSWindow.endEditing(for: Any?)
Declaration | |
---|---|
From | func endEditingFor(_ anObject: AnyObject?) |
To | func endEditing(for object: Any?) |
Declaration | |
---|---|
From | func fieldEditor(_ createFlag: Bool, forObject anObject: AnyObject?) -> NSText? |
To | func fieldEditor(_ createFlag: Bool, for object: Any?) -> NSText? |
Modified NSWindow.flush()
Declaration | |
---|---|
From | func flushWindow() |
To | func flush() |
Modified NSWindow.flushIfNeeded()
Declaration | |
---|---|
From | func flushWindowIfNeeded() |
To | func flushIfNeeded() |
Declaration | |
---|---|
From | func frameRectForContentRect(_ contentRect: NSRect) -> NSRect |
To | func frameRect(forContentRect contentRect: NSRect) -> NSRect |
Declaration | |
---|---|
From | class func frameRectForContentRect(_ cRect: NSRect, styleMask aStyle: Int) -> NSRect |
To | class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect |
Declaration | |
---|---|
From | func handleCloseScriptCommand(_ command: NSCloseCommand) -> AnyObject? |
To | func handleClose(_ command: NSCloseCommand) -> Any? |
Declaration | |
---|---|
From | func handlePrintScriptCommand(_ command: NSScriptCommand) -> AnyObject? |
To | func handlePrint(_ command: NSScriptCommand) -> Any? |
Declaration | |
---|---|
From | func handleSaveScriptCommand(_ command: NSScriptCommand) -> AnyObject? |
To | func handleSave(_ command: NSScriptCommand) -> Any? |
Declaration | |
---|---|
From | init(contentRect contentRect: NSRect, styleMask aStyle: Int, backing bufferingType: NSBackingStoreType, defer flag: Bool) |
To | init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool) |
Declaration | |
---|---|
From | convenience init(contentRect contentRect: NSRect, styleMask aStyle: Int, backing bufferingType: NSBackingStoreType, defer flag: Bool, screen screen: NSScreen?) |
To | convenience init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool, screen screen: NSScreen?) |
Declaration | |
---|---|
From | convenience init?(windowRef windowRef: UnsafeMutablePointer<Void>) |
To | convenience init?(windowRef windowRef: UnsafeMutableRawPointer) |
Modified NSWindow.insertTitlebarAccessoryViewController(_: NSTitlebarAccessoryViewController, at: Int)
Declaration | |
---|---|
From | func insertTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController, atIndex index: Int) |
To | func insertTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController, at index: Int) |
Declaration | |
---|---|
From | func invalidateCursorRectsForView(_ aView: NSView) |
To | func invalidateCursorRects(for view: NSView) |
Modified NSWindow.isAutodisplay
Declaration | |
---|---|
From | var autodisplay: Bool |
To | var isAutodisplay: Bool |
Modified NSWindow.isDocumentEdited
Declaration | |
---|---|
From | var documentEdited: Bool |
To | var isDocumentEdited: Bool |
Modified NSWindow.isExcludedFromWindowsMenu
Declaration | |
---|---|
From | var excludedFromWindowsMenu: Bool |
To | var isExcludedFromWindowsMenu: Bool |
Modified NSWindow.isFloatingPanel
Declaration | |
---|---|
From | var floatingPanel: Bool { get } |
To | var isFloatingPanel: Bool { get } |
Modified NSWindow.isFlushWindowDisabled
Declaration | |
---|---|
From | var flushWindowDisabled: Bool { get } |
To | var isFlushWindowDisabled: Bool { get } |
Modified NSWindow.isKeyWindow
Declaration | |
---|---|
From | var keyWindow: Bool { get } |
To | var isKeyWindow: Bool { get } |
Modified NSWindow.isMainWindow
Declaration | |
---|---|
From | var mainWindow: Bool { get } |
To | var isMainWindow: Bool { get } |
Modified NSWindow.isMiniaturizable
Declaration | |
---|---|
From | var miniaturizable: Bool { get } |
To | var isMiniaturizable: Bool { get } |
Modified NSWindow.isMiniaturized
Declaration | |
---|---|
From | var miniaturized: Bool { get } |
To | var isMiniaturized: Bool { get } |
Modified NSWindow.isModalPanel
Declaration | |
---|---|
From | var modalPanel: Bool { get } |
To | var isModalPanel: Bool { get } |
Modified NSWindow.isMovable
Declaration | |
---|---|
From | var movable: Bool |
To | var isMovable: Bool |
Modified NSWindow.isMovableByWindowBackground
Declaration | |
---|---|
From | var movableByWindowBackground: Bool |
To | var isMovableByWindowBackground: Bool |
Modified NSWindow.isOnActiveSpace
Declaration | |
---|---|
From | var onActiveSpace: Bool { get } |
To | var isOnActiveSpace: Bool { get } |
Modified NSWindow.isOneShot
Declaration | |
---|---|
From | var oneShot: Bool |
To | var isOneShot: Bool |
Modified NSWindow.isOpaque
Declaration | |
---|---|
From | var opaque: Bool |
To | var isOpaque: Bool |
Modified NSWindow.isReleasedWhenClosed
Declaration | |
---|---|
From | var releasedWhenClosed: Bool |
To | var isReleasedWhenClosed: Bool |
Modified NSWindow.isResizable
Declaration | |
---|---|
From | var resizable: Bool { get } |
To | var isResizable: Bool { get } |
Modified NSWindow.isRestorable
Declaration | |
---|---|
From | var restorable: Bool |
To | var isRestorable: Bool |
Modified NSWindow.isSheet
Declaration | |
---|---|
From | var sheet: Bool { get } |
To | var isSheet: Bool { get } |
Modified NSWindow.isVisible
Declaration | |
---|---|
From | var visible: Bool { get } |
To | var isVisible: Bool { get } |
Modified NSWindow.isZoomable
Declaration | |
---|---|
From | var zoomable: Bool { get } |
To | var isZoomable: Bool { get } |
Modified NSWindow.isZoomed
Declaration | |
---|---|
From | var zoomed: Bool { get } |
To | var isZoomed: Bool { get } |
Modified NSWindow.keyDown(with: NSEvent)
Declaration | |
---|---|
From | func keyDown(_ theEvent: NSEvent) |
To | func keyDown(with event: NSEvent) |
Modified NSWindow.makeKey()
Declaration | |
---|---|
From | func makeKeyWindow() |
To | func makeKey() |
Declaration | |
---|---|
From | func makeKeyAndOrderFront(_ sender: AnyObject?) |
To | func makeKeyAndOrderFront(_ sender: Any?) |
Modified NSWindow.makeMain()
Declaration | |
---|---|
From | func makeMainWindow() |
To | func makeMain() |
Declaration | |
---|---|
From | class func minFrameWidthWithTitle(_ aTitle: String, styleMask aStyle: Int) -> CGFloat |
To | class func minFrameWidth(withTitle title: String, styleMask style: NSWindowStyleMask) -> CGFloat |
Modified NSWindow.miniaturize(_: Any?)
Declaration | |
---|---|
From | func miniaturize(_ sender: AnyObject?) |
To | func miniaturize(_ sender: Any?) |
Declaration | |
---|---|
From | func nextEventMatchingMask(_ mask: Int) -> NSEvent? |
To | func nextEvent(matching mask: NSEventMask) -> NSEvent? |
Declaration | |
---|---|
From | func nextEventMatchingMask(_ mask: Int, untilDate expiration: NSDate?, inMode mode: String, dequeue deqFlag: Bool) -> NSEvent? |
To | func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? |
Declaration | |
---|---|
From | func orderWindow(_ place: NSWindowOrderingMode, relativeTo otherWin: Int) |
To | func order(_ place: NSWindowOrderingMode, relativeTo otherWin: Int) |
Modified NSWindow.orderBack(_: Any?)
Declaration | |
---|---|
From | func orderBack(_ sender: AnyObject?) |
To | func orderBack(_ sender: Any?) |
Modified NSWindow.orderFront(_: Any?)
Declaration | |
---|---|
From | func orderFront(_ sender: AnyObject?) |
To | func orderFront(_ sender: Any?) |
Modified NSWindow.orderOut(_: Any?)
Declaration | |
---|---|
From | func orderOut(_ sender: AnyObject?) |
To | func orderOut(_ sender: Any?) |
Modified NSWindow.parent
Declaration | |
---|---|
From | unowned(unsafe) var parentWindow: NSWindow? |
To | unowned(unsafe) var parent: NSWindow? |
Modified NSWindow.performClose(_: Any?)
Declaration | |
---|---|
From | func performClose(_ sender: AnyObject?) |
To | func performClose(_ sender: Any?) |
Modified NSWindow.performDrag(with: NSEvent)
Declaration | |
---|---|
From | func performWindowDragWithEvent(_ event: NSEvent) |
To | func performDrag(with event: NSEvent) |
Modified NSWindow.performMiniaturize(_: Any?)
Declaration | |
---|---|
From | func performMiniaturize(_ sender: AnyObject?) |
To | func performMiniaturize(_ sender: Any?) |
Modified NSWindow.performZoom(_: Any?)
Declaration | |
---|---|
From | func performZoom(_ sender: AnyObject?) |
To | func performZoom(_ sender: Any?) |
Modified NSWindow.print(_: Any?)
Declaration | |
---|---|
From | @warn_unqualified_access func print(_ sender: AnyObject?) |
To | @warn_unqualified_access func print(_ sender: Any?) |
Declaration | |
---|---|
From | class func removeFrameUsingName(_ name: String) |
To | class func removeFrame(usingName name: String) |
Declaration | |
---|---|
From | func removeTitlebarAccessoryViewControllerAtIndex(_ index: Int) |
To | func removeTitlebarAccessoryViewController(at index: Int) |
Modified NSWindow.representedURL
Declaration | |
---|---|
From | @NSCopying var representedURL: NSURL? |
To | var representedURL: URL? |
Modified NSWindow.resignKey()
Declaration | |
---|---|
From | func resignKeyWindow() |
To | func resignKey() |
Modified NSWindow.resignMain()
Declaration | |
---|---|
From | func resignMainWindow() |
To | func resignMain() |
Modified NSWindow.restorationClass
Declaration | |
---|---|
From | var restorationClass: AnyObject.Type? |
To | var restorationClass: NSWindowRestoration.Type? |
Declaration | |
---|---|
From | func runToolbarCustomizationPalette(_ sender: AnyObject?) |
To | func runToolbarCustomizationPalette(_ sender: Any?) |
Declaration | |
---|---|
From | func saveFrameUsingName(_ name: String) |
To | func saveFrame(usingName name: String) |
Declaration | |
---|---|
From | func selectKeyViewFollowingView(_ aView: NSView) |
To | func selectKeyView(following view: NSView) |
Declaration | |
---|---|
From | func selectKeyViewPrecedingView(_ aView: NSView) |
To | func selectKeyView(preceding view: NSView) |
Modified NSWindow.selectNextKeyView(_: Any?)
Declaration | |
---|---|
From | func selectNextKeyView(_ sender: AnyObject?) |
To | func selectNextKeyView(_ sender: Any?) |
Declaration | |
---|---|
From | func selectPreviousKeyView(_ sender: AnyObject?) |
To | func selectPreviousKeyView(_ sender: Any?) |
Declaration | |
---|---|
From | func setAnchorAttribute(_ attr: NSLayoutAttribute, forOrientation orientation: NSLayoutConstraintOrientation) |
To | func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) |
Declaration | |
---|---|
From | func setAutorecalculatesContentBorderThickness(_ flag: Bool, forEdge edge: NSRectEdge) |
To | func setAutorecalculatesContentBorderThickness(_ flag: Bool, for edge: NSRectEdge) |
Declaration | |
---|---|
From | func setContentBorderThickness(_ thickness: CGFloat, forEdge edge: NSRectEdge) |
To | func setContentBorderThickness(_ thickness: CGFloat, for edge: NSRectEdge) |
Modified NSWindow.setFrameFrom(_: String)
Declaration | |
---|---|
From | func setFrameFromString(_ string: String) |
To | func setFrameFrom(_ string: String) |
Modified NSWindow.standardWindowButton(_: NSWindowButton, for: NSWindowStyleMask) -> NSButton? [class]
Declaration | |
---|---|
From | class func standardWindowButton(_ b: NSWindowButton, forStyleMask styleMask: Int) -> NSButton? |
To | class func standardWindowButton(_ b: NSWindowButton, for styleMask: NSWindowStyleMask) -> NSButton? |
Modified NSWindow.styleMask
Declaration | |
---|---|
From | var styleMask: Int |
To | var styleMask: NSWindowStyleMask |
Modified NSWindow.toggleFullScreen(_: Any?)
Declaration | |
---|---|
From | func toggleFullScreen(_ sender: AnyObject?) |
To | func toggleFullScreen(_ sender: Any?) |
Modified NSWindow.toggleToolbarShown(_: Any?)
Declaration | |
---|---|
From | func toggleToolbarShown(_ sender: AnyObject?) |
To | func toggleToolbarShown(_ sender: Any?) |
Declaration | |
---|---|
From | func trackEventsMatchingMask(_ mask: NSEventMask, timeout timeout: NSTimeInterval, mode mode: String, handler trackingHandler: (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func tryToPerform(_ anAction: Selector, with anObject: AnyObject?) -> Bool |
To | func `try`(toPerform action: Selector, with object: Any?) -> Bool |
Declaration | |
---|---|
From | func validRequestorForSendType(_ sendType: String, returnType returnType: String) -> AnyObject? |
To | func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? |
Declaration | |
---|---|
From | class func windowNumberAtPoint(_ point: NSPoint, belowWindowWithWindowNumber windowNumber: Int) -> Int |
To | class func windowNumber(at point: NSPoint, belowWindowWithWindowNumber windowNumber: Int) -> Int |
Declaration | |
---|---|
From | class func windowNumbersWithOptions(_ options: NSWindowNumberListOptions) -> [NSNumber]? |
To | class func windowNumbers(withOptions options: NSWindowNumberListOptions) -> [NSNumber]? |
Modified NSWindow.windowRef
Declaration | |
---|---|
From | var windowRef: UnsafeMutablePointer<Void> { get } |
To | var windowRef: UnsafeMutableRawPointer { get } |
Modified NSWindow.zoom(_: Any?)
Declaration | |
---|---|
From | func zoom(_ sender: AnyObject?) |
To | func zoom(_ sender: Any?) |
Modified NSWindowAnimationBehavior [enum]
Declaration | |
---|---|
From | enum NSWindowAnimationBehavior : Int { case Default case None case DocumentWindow case UtilityWindow case AlertPanel } |
To | enum NSWindowAnimationBehavior : Int { case `default` case none case documentWindow case utilityWindow case alertPanel } |
Modified NSWindowAnimationBehavior.alertPanel
Declaration | |
---|---|
From | case AlertPanel |
To | case alertPanel |
Modified NSWindowAnimationBehavior.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Declaration | |
---|---|
From | case DocumentWindow |
To | case documentWindow |
Modified NSWindowAnimationBehavior.none
Declaration | |
---|---|
From | case None |
To | case none |
Declaration | |
---|---|
From | case UtilityWindow |
To | case utilityWindow |
Modified NSWindowBackingLocation [enum]
Declaration | |
---|---|
From | enum NSWindowBackingLocation : UInt { case Default case VideoMemory case MainMemory } |
To | enum NSWindowBackingLocation : UInt { case `default` case videoMemory case mainMemory } |
Modified NSWindowBackingLocation.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified NSWindowBackingLocation.mainMemory
Declaration | |
---|---|
From | case MainMemory |
To | case mainMemory |
Modified NSWindowBackingLocation.videoMemory
Declaration | |
---|---|
From | case VideoMemory |
To | case videoMemory |
Modified NSWindowButton [enum]
Declaration | |
---|---|
From | enum NSWindowButton : UInt { case CloseButton case MiniaturizeButton case ZoomButton case ToolbarButton case DocumentIconButton case DocumentVersionsButton case FullScreenButton } |
To | enum NSWindowButton : UInt { case closeButton case miniaturizeButton case zoomButton case toolbarButton case documentIconButton case documentVersionsButton case fullScreenButton } |
Modified NSWindowButton.closeButton
Declaration | |
---|---|
From | case CloseButton |
To | case closeButton |
Modified NSWindowButton.documentIconButton
Declaration | |
---|---|
From | case DocumentIconButton |
To | case documentIconButton |
Declaration | |
---|---|
From | case DocumentVersionsButton |
To | case documentVersionsButton |
Modified NSWindowButton.fullScreenButton
Declaration | Deprecation | |
---|---|---|
From | case FullScreenButton | -- |
To | case fullScreenButton | OS X 10.12 |
Modified NSWindowButton.miniaturizeButton
Declaration | |
---|---|
From | case MiniaturizeButton |
To | case miniaturizeButton |
Modified NSWindowButton.toolbarButton
Declaration | |
---|---|
From | case ToolbarButton |
To | case toolbarButton |
Modified NSWindowButton.zoomButton
Declaration | |
---|---|
From | case ZoomButton |
To | case zoomButton |
Modified NSWindowCollectionBehavior [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSWindowCollectionBehavior : OptionSetType { init(rawValue rawValue: UInt) static var Default: NSWindowCollectionBehavior { get } static var CanJoinAllSpaces: NSWindowCollectionBehavior { get } static var MoveToActiveSpace: NSWindowCollectionBehavior { get } static var Managed: NSWindowCollectionBehavior { get } static var Transient: NSWindowCollectionBehavior { get } static var Stationary: NSWindowCollectionBehavior { get } static var ParticipatesInCycle: NSWindowCollectionBehavior { get } static var IgnoresCycle: NSWindowCollectionBehavior { get } static var FullScreenPrimary: NSWindowCollectionBehavior { get } static var FullScreenAuxiliary: NSWindowCollectionBehavior { get } static var FullScreenAllowsTiling: NSWindowCollectionBehavior { get } static var FullScreenDisallowsTiling: NSWindowCollectionBehavior { get } } | OptionSetType |
To | struct NSWindowCollectionBehavior : OptionSet { init(rawValue rawValue: UInt) static var `default`: NSWindowCollectionBehavior { get } static var canJoinAllSpaces: NSWindowCollectionBehavior { get } static var moveToActiveSpace: NSWindowCollectionBehavior { get } static var managed: NSWindowCollectionBehavior { get } static var transient: NSWindowCollectionBehavior { get } static var stationary: NSWindowCollectionBehavior { get } static var participatesInCycle: NSWindowCollectionBehavior { get } static var ignoresCycle: NSWindowCollectionBehavior { get } static var fullScreenPrimary: NSWindowCollectionBehavior { get } static var fullScreenAuxiliary: NSWindowCollectionBehavior { get } static var fullScreenNone: NSWindowCollectionBehavior { get } static var fullScreenAllowsTiling: NSWindowCollectionBehavior { get } static var fullScreenDisallowsTiling: NSWindowCollectionBehavior { get } func intersect(_ other: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior func exclusiveOr(_ other: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior mutating func unionInPlace(_ other: NSWindowCollectionBehavior) mutating func intersectInPlace(_ other: NSWindowCollectionBehavior) mutating func exclusiveOrInPlace(_ other: NSWindowCollectionBehavior) func isSubsetOf(_ other: NSWindowCollectionBehavior) -> Bool func isDisjointWith(_ other: NSWindowCollectionBehavior) -> Bool func isSupersetOf(_ other: NSWindowCollectionBehavior) -> Bool mutating func subtractInPlace(_ other: NSWindowCollectionBehavior) func isStrictSupersetOf(_ other: NSWindowCollectionBehavior) -> Bool func isStrictSubsetOf(_ other: NSWindowCollectionBehavior) -> Bool } extension NSWindowCollectionBehavior { func union(_ other: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior func intersection(_ other: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior func symmetricDifference(_ other: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior } extension NSWindowCollectionBehavior { func contains(_ member: NSWindowCollectionBehavior) -> Bool mutating func insert(_ newMember: NSWindowCollectionBehavior) -> (inserted: Bool, memberAfterInsert: NSWindowCollectionBehavior) mutating func remove(_ member: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior? mutating func update(with newMember: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior? } extension NSWindowCollectionBehavior { convenience init() mutating func formUnion(_ other: NSWindowCollectionBehavior) mutating func formIntersection(_ other: NSWindowCollectionBehavior) mutating func formSymmetricDifference(_ other: NSWindowCollectionBehavior) } extension NSWindowCollectionBehavior { convenience init<S : Sequence where S.Iterator.Element == NSWindowCollectionBehavior>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSWindowCollectionBehavior...) mutating func subtract(_ other: NSWindowCollectionBehavior) func isSubset(of other: NSWindowCollectionBehavior) -> Bool func isSuperset(of other: NSWindowCollectionBehavior) -> Bool func isDisjoint(with other: NSWindowCollectionBehavior) -> Bool func subtracting(_ other: NSWindowCollectionBehavior) -> NSWindowCollectionBehavior var isEmpty: Bool { get } func isStrictSuperset(of other: NSWindowCollectionBehavior) -> Bool func isStrictSubset(of other: NSWindowCollectionBehavior) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var CanJoinAllSpaces: NSWindowCollectionBehavior { get } |
To | static var canJoinAllSpaces: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var FullScreenAllowsTiling: NSWindowCollectionBehavior { get } |
To | static var fullScreenAllowsTiling: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var FullScreenAuxiliary: NSWindowCollectionBehavior { get } |
To | static var fullScreenAuxiliary: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var FullScreenDisallowsTiling: NSWindowCollectionBehavior { get } |
To | static var fullScreenDisallowsTiling: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var FullScreenPrimary: NSWindowCollectionBehavior { get } |
To | static var fullScreenPrimary: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var IgnoresCycle: NSWindowCollectionBehavior { get } |
To | static var ignoresCycle: NSWindowCollectionBehavior { get } |
Modified NSWindowCollectionBehavior.managed
Declaration | |
---|---|
From | static var Managed: NSWindowCollectionBehavior { get } |
To | static var managed: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var MoveToActiveSpace: NSWindowCollectionBehavior { get } |
To | static var moveToActiveSpace: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var ParticipatesInCycle: NSWindowCollectionBehavior { get } |
To | static var participatesInCycle: NSWindowCollectionBehavior { get } |
Declaration | |
---|---|
From | static var Stationary: NSWindowCollectionBehavior { get } |
To | static var stationary: NSWindowCollectionBehavior { get } |
Modified NSWindowCollectionBehavior.transient
Declaration | |
---|---|
From | static var Transient: NSWindowCollectionBehavior { get } |
To | static var transient: NSWindowCollectionBehavior { get } |
Modified NSWindowController
Declaration | Protocols | |
---|---|---|
From | class NSWindowController : NSResponder, NSCoding, NSSeguePerforming { init(window window: NSWindow?) init?(coder coder: NSCoder) convenience init(windowNibName windowNibName: String) convenience init(windowNibName windowNibName: String, owner owner: AnyObject) convenience init(windowNibPath windowNibPath: String, owner owner: AnyObject) var windowNibName: String? { get } var windowNibPath: String? { get } unowned(unsafe) var owner: AnyObject { get } var windowFrameAutosaveName: String? var shouldCascadeWindows: Bool unowned(unsafe) var document: AnyObject? func setDocumentEdited(_ dirtyFlag: Bool) var shouldCloseDocument: Bool func synchronizeWindowTitleWithDocumentName() func windowTitleForDocumentDisplayName(_ displayName: String) -> String var contentViewController: NSViewController? var window: NSWindow? var windowLoaded: Bool { get } func windowWillLoad() func windowDidLoad() func loadWindow() func close() @IBAction func showWindow(_ sender: AnyObject?) } extension NSWindowController { var storyboard: NSStoryboard? { get } } extension NSWindowController { @IBAction func dismissController(_ sender: AnyObject?) } | NSCoding, NSSeguePerforming |
To | class NSWindowController : NSResponder, NSCoding, NSSeguePerforming { init(window window: NSWindow?) init?(coder coder: NSCoder) convenience init(windowNibName windowNibName: String) convenience init(windowNibName windowNibName: String, owner owner: Any) convenience init(windowNibPath windowNibPath: String, owner owner: Any) var windowNibName: String? { get } var windowNibPath: String? { get } unowned(unsafe) var owner: AnyObject { get } var windowFrameAutosaveName: String? var shouldCascadeWindows: Bool unowned(unsafe) var document: AnyObject? func setDocumentEdited(_ dirtyFlag: Bool) var shouldCloseDocument: Bool func synchronizeWindowTitleWithDocumentName() func windowTitle(forDocumentDisplayName displayName: String) -> String var contentViewController: NSViewController? var window: NSWindow? var isWindowLoaded: Bool { get } func windowWillLoad() func windowDidLoad() func loadWindow() func close() @IBAction func showWindow(_ sender: Any?) var storyboard: NSStoryboard? { get } @IBAction func dismissController(_ sender: Any?) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool } extension NSWindowController : CVarArg { } extension NSWindowController : Equatable, Hashable { var hashValue: Int { get } } extension NSWindowController { var storyboard: NSStoryboard? { get } } extension NSWindowController { @IBAction func dismissController(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSCoding, NSSeguePerforming |
Declaration | |
---|---|
From | @IBAction func dismissController(_ sender: AnyObject?) |
To | @IBAction func dismissController(_ sender: Any?) |
Declaration | |
---|---|
From | convenience init(windowNibName windowNibName: String, owner owner: AnyObject) |
To | convenience init(windowNibName windowNibName: String, owner owner: Any) |
Declaration | |
---|---|
From | convenience init(windowNibPath windowNibPath: String, owner owner: AnyObject) |
To | convenience init(windowNibPath windowNibPath: String, owner owner: Any) |
Modified NSWindowController.isWindowLoaded
Declaration | |
---|---|
From | var windowLoaded: Bool { get } |
To | var isWindowLoaded: Bool { get } |
Declaration | |
---|---|
From | @IBAction func showWindow(_ sender: AnyObject?) |
To | @IBAction func showWindow(_ sender: Any?) |
Declaration | |
---|---|
From | func windowTitleForDocumentDisplayName(_ displayName: String) -> String |
To | func windowTitle(forDocumentDisplayName displayName: String) -> String |
Modified NSWindowDelegate
Declaration | |
---|---|
From | protocol NSWindowDelegate : NSObjectProtocol { optional func windowShouldClose(_ sender: AnyObject) -> Bool optional func windowWillReturnFieldEditor(_ sender: NSWindow, toObject client: AnyObject?) -> AnyObject? optional func windowWillResize(_ sender: NSWindow, toSize frameSize: NSSize) -> NSSize optional func windowWillUseStandardFrame(_ window: NSWindow, defaultFrame newFrame: NSRect) -> NSRect optional func windowShouldZoom(_ window: NSWindow, toFrame newFrame: NSRect) -> Bool optional func windowWillReturnUndoManager(_ window: NSWindow) -> NSUndoManager? optional func window(_ window: NSWindow, willPositionSheet sheet: NSWindow, usingRect rect: NSRect) -> NSRect optional func window(_ window: NSWindow, shouldPopUpDocumentPathMenu menu: NSMenu) -> Bool optional func window(_ window: NSWindow, shouldDragDocumentWithEvent event: NSEvent, from dragImageLocation: NSPoint, withPasteboard pasteboard: NSPasteboard) -> Bool optional func window(_ window: NSWindow, willUseFullScreenContentSize proposedSize: NSSize) -> NSSize optional func window(_ window: NSWindow, willUseFullScreenPresentationOptions proposedOptions: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow) -> [NSWindow]? optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenWithDuration duration: NSTimeInterval) optional func windowDidFailToEnterFullScreen(_ window: NSWindow) optional func customWindowsToExitFullScreenForWindow(_ window: NSWindow) -> [NSWindow]? optional func window(_ window: NSWindow, startCustomAnimationToExitFullScreenWithDuration duration: NSTimeInterval) optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow, onScreen screen: NSScreen) -> [NSWindow]? optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenOnScreen screen: NSScreen, withDuration duration: NSTimeInterval) optional func windowDidFailToExitFullScreen(_ window: NSWindow) optional func window(_ window: NSWindow, willResizeForVersionBrowserWithMaxPreferredSize maxPreferredFrameSize: NSSize, maxAllowedSize maxAllowedFrameSize: NSSize) -> NSSize optional func window(_ window: NSWindow, willEncodeRestorableState state: NSCoder) optional func window(_ window: NSWindow, didDecodeRestorableState state: NSCoder) optional func windowDidResize(_ notification: NSNotification) optional func windowDidExpose(_ notification: NSNotification) optional func windowWillMove(_ notification: NSNotification) optional func windowDidMove(_ notification: NSNotification) optional func windowDidBecomeKey(_ notification: NSNotification) optional func windowDidResignKey(_ notification: NSNotification) optional func windowDidBecomeMain(_ notification: NSNotification) optional func windowDidResignMain(_ notification: NSNotification) optional func windowWillClose(_ notification: NSNotification) optional func windowWillMiniaturize(_ notification: NSNotification) optional func windowDidMiniaturize(_ notification: NSNotification) optional func windowDidDeminiaturize(_ notification: NSNotification) optional func windowDidUpdate(_ notification: NSNotification) optional func windowDidChangeScreen(_ notification: NSNotification) optional func windowDidChangeScreenProfile(_ notification: NSNotification) optional func windowDidChangeBackingProperties(_ notification: NSNotification) optional func windowWillBeginSheet(_ notification: NSNotification) optional func windowDidEndSheet(_ notification: NSNotification) optional func windowWillStartLiveResize(_ notification: NSNotification) optional func windowDidEndLiveResize(_ notification: NSNotification) optional func windowWillEnterFullScreen(_ notification: NSNotification) optional func windowDidEnterFullScreen(_ notification: NSNotification) optional func windowWillExitFullScreen(_ notification: NSNotification) optional func windowDidExitFullScreen(_ notification: NSNotification) optional func windowWillEnterVersionBrowser(_ notification: NSNotification) optional func windowDidEnterVersionBrowser(_ notification: NSNotification) optional func windowWillExitVersionBrowser(_ notification: NSNotification) optional func windowDidExitVersionBrowser(_ notification: NSNotification) optional func windowDidChangeOcclusionState(_ notification: NSNotification) } |
To | protocol NSWindowDelegate : NSObjectProtocol { optional func windowShouldClose(_ sender: Any) -> Bool optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any? optional func windowWillResize(_ sender: NSWindow, to frameSize: NSSize) -> NSSize optional func windowWillUseStandardFrame(_ window: NSWindow, defaultFrame newFrame: NSRect) -> NSRect optional func windowShouldZoom(_ window: NSWindow, toFrame newFrame: NSRect) -> Bool optional func windowWillReturnUndoManager(_ window: NSWindow) -> UndoManager? optional func window(_ window: NSWindow, willPositionSheet sheet: NSWindow, using rect: NSRect) -> NSRect optional func window(_ window: NSWindow, shouldPopUpDocumentPathMenu menu: NSMenu) -> Bool optional func window(_ window: NSWindow, shouldDragDocumentWith event: NSEvent, from dragImageLocation: NSPoint, with pasteboard: NSPasteboard) -> Bool optional func window(_ window: NSWindow, willUseFullScreenContentSize proposedSize: NSSize) -> NSSize optional func window(_ window: NSWindow, willUseFullScreenPresentationOptions proposedOptions: NSApplicationPresentationOptions = []) -> NSApplicationPresentationOptions optional func customWindowsToEnterFullScreen(for window: NSWindow) -> [NSWindow]? optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenWithDuration duration: TimeInterval) optional func windowDidFailToEnterFullScreen(_ window: NSWindow) optional func customWindowsToExitFullScreen(for window: NSWindow) -> [NSWindow]? optional func window(_ window: NSWindow, startCustomAnimationToExitFullScreenWithDuration duration: TimeInterval) optional func customWindowsToEnterFullScreen(for window: NSWindow, on screen: NSScreen) -> [NSWindow]? optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenOn screen: NSScreen, withDuration duration: TimeInterval) optional func windowDidFailToExitFullScreen(_ window: NSWindow) optional func window(_ window: NSWindow, willResizeForVersionBrowserWithMaxPreferredSize maxPreferredFrameSize: NSSize, maxAllowedSize maxAllowedFrameSize: NSSize) -> NSSize optional func window(_ window: NSWindow, willEncodeRestorableState state: NSCoder) optional func window(_ window: NSWindow, didDecodeRestorableState state: NSCoder) optional func windowDidResize(_ notification: Notification) optional func windowDidExpose(_ notification: Notification) optional func windowWillMove(_ notification: Notification) optional func windowDidMove(_ notification: Notification) optional func windowDidBecomeKey(_ notification: Notification) optional func windowDidResignKey(_ notification: Notification) optional func windowDidBecomeMain(_ notification: Notification) optional func windowDidResignMain(_ notification: Notification) optional func windowWillClose(_ notification: Notification) optional func windowWillMiniaturize(_ notification: Notification) optional func windowDidMiniaturize(_ notification: Notification) optional func windowDidDeminiaturize(_ notification: Notification) optional func windowDidUpdate(_ notification: Notification) optional func windowDidChangeScreen(_ notification: Notification) optional func windowDidChangeScreenProfile(_ notification: Notification) optional func windowDidChangeBackingProperties(_ notification: Notification) optional func windowWillBeginSheet(_ notification: Notification) optional func windowDidEndSheet(_ notification: Notification) optional func windowWillStartLiveResize(_ notification: Notification) optional func windowDidEndLiveResize(_ notification: Notification) optional func windowWillEnterFullScreen(_ notification: Notification) optional func windowDidEnterFullScreen(_ notification: Notification) optional func windowWillExitFullScreen(_ notification: Notification) optional func windowDidExitFullScreen(_ notification: Notification) optional func windowWillEnterVersionBrowser(_ notification: Notification) optional func windowDidEnterVersionBrowser(_ notification: Notification) optional func windowWillExitVersionBrowser(_ notification: Notification) optional func windowDidExitVersionBrowser(_ notification: Notification) optional func windowDidChangeOcclusionState(_ notification: Notification) } |
Declaration | |
---|---|
From | optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow) -> [NSWindow]? |
To | optional func customWindowsToEnterFullScreen(for window: NSWindow) -> [NSWindow]? |
Modified NSWindowDelegate.customWindowsToEnterFullScreen(for: NSWindow, on: NSScreen) -> [NSWindow]?
Declaration | |
---|---|
From | optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow, onScreen screen: NSScreen) -> [NSWindow]? |
To | optional func customWindowsToEnterFullScreen(for window: NSWindow, on screen: NSScreen) -> [NSWindow]? |
Declaration | |
---|---|
From | optional func customWindowsToExitFullScreenForWindow(_ window: NSWindow) -> [NSWindow]? |
To | optional func customWindowsToExitFullScreen(for window: NSWindow) -> [NSWindow]? |
Declaration | |
---|---|
From | optional func window(_ window: NSWindow, shouldDragDocumentWithEvent event: NSEvent, from dragImageLocation: NSPoint, withPasteboard pasteboard: NSPasteboard) -> Bool |
To | optional func window(_ window: NSWindow, shouldDragDocumentWith event: NSEvent, from dragImageLocation: NSPoint, with pasteboard: NSPasteboard) -> Bool |
Declaration | |
---|---|
From | optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenOnScreen screen: NSScreen, withDuration duration: NSTimeInterval) |
To | optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenOn screen: NSScreen, withDuration duration: TimeInterval) |
Declaration | |
---|---|
From | optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenWithDuration duration: NSTimeInterval) |
To | optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenWithDuration duration: TimeInterval) |
Modified NSWindowDelegate.window(_: NSWindow, startCustomAnimationToExitFullScreenWithDuration: TimeInterval)
Declaration | |
---|---|
From | optional func window(_ window: NSWindow, startCustomAnimationToExitFullScreenWithDuration duration: NSTimeInterval) |
To | optional func window(_ window: NSWindow, startCustomAnimationToExitFullScreenWithDuration duration: TimeInterval) |
Declaration | |
---|---|
From | optional func window(_ window: NSWindow, willPositionSheet sheet: NSWindow, usingRect rect: NSRect) -> NSRect |
To | optional func window(_ window: NSWindow, willPositionSheet sheet: NSWindow, using rect: NSRect) -> NSRect |
Declaration | |
---|---|
From | optional func window(_ window: NSWindow, willUseFullScreenPresentationOptions proposedOptions: NSApplicationPresentationOptions) -> NSApplicationPresentationOptions |
To | optional func window(_ window: NSWindow, willUseFullScreenPresentationOptions proposedOptions: NSApplicationPresentationOptions = []) -> NSApplicationPresentationOptions |
Declaration | |
---|---|
From | optional func windowDidBecomeKey(_ notification: NSNotification) |
To | optional func windowDidBecomeKey(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidBecomeMain(_ notification: NSNotification) |
To | optional func windowDidBecomeMain(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidChangeBackingProperties(_ notification: NSNotification) |
To | optional func windowDidChangeBackingProperties(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidChangeOcclusionState(_ notification: NSNotification) |
To | optional func windowDidChangeOcclusionState(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidChangeScreen(_ notification: NSNotification) |
To | optional func windowDidChangeScreen(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidChangeScreenProfile(_ notification: NSNotification) |
To | optional func windowDidChangeScreenProfile(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidDeminiaturize(_ notification: NSNotification) |
To | optional func windowDidDeminiaturize(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidEndLiveResize(_ notification: NSNotification) |
To | optional func windowDidEndLiveResize(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidEndSheet(_ notification: NSNotification) |
To | optional func windowDidEndSheet(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidEnterFullScreen(_ notification: NSNotification) |
To | optional func windowDidEnterFullScreen(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidEnterVersionBrowser(_ notification: NSNotification) |
To | optional func windowDidEnterVersionBrowser(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidExitFullScreen(_ notification: NSNotification) |
To | optional func windowDidExitFullScreen(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidExitVersionBrowser(_ notification: NSNotification) |
To | optional func windowDidExitVersionBrowser(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidExpose(_ notification: NSNotification) |
To | optional func windowDidExpose(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidMiniaturize(_ notification: NSNotification) |
To | optional func windowDidMiniaturize(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidMove(_ notification: NSNotification) |
To | optional func windowDidMove(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidResignKey(_ notification: NSNotification) |
To | optional func windowDidResignKey(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidResignMain(_ notification: NSNotification) |
To | optional func windowDidResignMain(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidResize(_ notification: NSNotification) |
To | optional func windowDidResize(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowDidUpdate(_ notification: NSNotification) |
To | optional func windowDidUpdate(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowShouldClose(_ sender: AnyObject) -> Bool |
To | optional func windowShouldClose(_ sender: Any) -> Bool |
Declaration | |
---|---|
From | optional func windowWillBeginSheet(_ notification: NSNotification) |
To | optional func windowWillBeginSheet(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillClose(_ notification: NSNotification) |
To | optional func windowWillClose(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillEnterFullScreen(_ notification: NSNotification) |
To | optional func windowWillEnterFullScreen(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillEnterVersionBrowser(_ notification: NSNotification) |
To | optional func windowWillEnterVersionBrowser(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillExitFullScreen(_ notification: NSNotification) |
To | optional func windowWillExitFullScreen(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillExitVersionBrowser(_ notification: NSNotification) |
To | optional func windowWillExitVersionBrowser(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillMiniaturize(_ notification: NSNotification) |
To | optional func windowWillMiniaturize(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillMove(_ notification: NSNotification) |
To | optional func windowWillMove(_ notification: Notification) |
Declaration | |
---|---|
From | optional func windowWillResize(_ sender: NSWindow, toSize frameSize: NSSize) -> NSSize |
To | optional func windowWillResize(_ sender: NSWindow, to frameSize: NSSize) -> NSSize |
Declaration | |
---|---|
From | optional func windowWillReturnFieldEditor(_ sender: NSWindow, toObject client: AnyObject?) -> AnyObject? |
To | optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any? |
Declaration | |
---|---|
From | optional func windowWillReturnUndoManager(_ window: NSWindow) -> NSUndoManager? |
To | optional func windowWillReturnUndoManager(_ window: NSWindow) -> UndoManager? |
Declaration | |
---|---|
From | optional func windowWillStartLiveResize(_ notification: NSNotification) |
To | optional func windowWillStartLiveResize(_ notification: Notification) |
Modified NSWindowOcclusionState [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSWindowOcclusionState : OptionSetType { init(rawValue rawValue: UInt) static var Visible: NSWindowOcclusionState { get } } | OptionSetType |
To | struct NSWindowOcclusionState : OptionSet { init(rawValue rawValue: UInt) static var visible: NSWindowOcclusionState { get } func intersect(_ other: NSWindowOcclusionState) -> NSWindowOcclusionState func exclusiveOr(_ other: NSWindowOcclusionState) -> NSWindowOcclusionState mutating func unionInPlace(_ other: NSWindowOcclusionState) mutating func intersectInPlace(_ other: NSWindowOcclusionState) mutating func exclusiveOrInPlace(_ other: NSWindowOcclusionState) func isSubsetOf(_ other: NSWindowOcclusionState) -> Bool func isDisjointWith(_ other: NSWindowOcclusionState) -> Bool func isSupersetOf(_ other: NSWindowOcclusionState) -> Bool mutating func subtractInPlace(_ other: NSWindowOcclusionState) func isStrictSupersetOf(_ other: NSWindowOcclusionState) -> Bool func isStrictSubsetOf(_ other: NSWindowOcclusionState) -> Bool } extension NSWindowOcclusionState { func union(_ other: NSWindowOcclusionState) -> NSWindowOcclusionState func intersection(_ other: NSWindowOcclusionState) -> NSWindowOcclusionState func symmetricDifference(_ other: NSWindowOcclusionState) -> NSWindowOcclusionState } extension NSWindowOcclusionState { func contains(_ member: NSWindowOcclusionState) -> Bool mutating func insert(_ newMember: NSWindowOcclusionState) -> (inserted: Bool, memberAfterInsert: NSWindowOcclusionState) mutating func remove(_ member: NSWindowOcclusionState) -> NSWindowOcclusionState? mutating func update(with newMember: NSWindowOcclusionState) -> NSWindowOcclusionState? } extension NSWindowOcclusionState { convenience init() mutating func formUnion(_ other: NSWindowOcclusionState) mutating func formIntersection(_ other: NSWindowOcclusionState) mutating func formSymmetricDifference(_ other: NSWindowOcclusionState) } extension NSWindowOcclusionState { convenience init<S : Sequence where S.Iterator.Element == NSWindowOcclusionState>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSWindowOcclusionState...) mutating func subtract(_ other: NSWindowOcclusionState) func isSubset(of other: NSWindowOcclusionState) -> Bool func isSuperset(of other: NSWindowOcclusionState) -> Bool func isDisjoint(with other: NSWindowOcclusionState) -> Bool func subtracting(_ other: NSWindowOcclusionState) -> NSWindowOcclusionState var isEmpty: Bool { get } func isStrictSuperset(of other: NSWindowOcclusionState) -> Bool func isStrictSubset(of other: NSWindowOcclusionState) -> Bool } | OptionSet |
Modified NSWindowOcclusionState.visible
Declaration | |
---|---|
From | static var Visible: NSWindowOcclusionState { get } |
To | static var visible: NSWindowOcclusionState { get } |
Modified NSWindowOrderingMode [enum]
Declaration | |
---|---|
From | enum NSWindowOrderingMode : Int { case Above case Below case Out } |
To | enum NSWindowOrderingMode : Int { case above case below case out } |
Modified NSWindowOrderingMode.above
Declaration | |
---|---|
From | case Above |
To | case above |
Modified NSWindowOrderingMode.below
Declaration | |
---|---|
From | case Below |
To | case below |
Modified NSWindowOrderingMode.out
Declaration | |
---|---|
From | case Out |
To | case out |
Modified NSWindowRestoration
Declaration | |
---|---|
From | protocol NSWindowRestoration : NSObjectProtocol { static func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void) } |
To | protocol NSWindowRestoration : NSObjectProtocol { static func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) } |
Declaration | |
---|---|
From | static func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void) |
To | static func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) |
Modified NSWindowSharingType [enum]
Declaration | |
---|---|
From | enum NSWindowSharingType : UInt { case None case ReadOnly case ReadWrite } |
To | enum NSWindowSharingType : UInt { case none case readOnly case readWrite } |
Modified NSWindowSharingType.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified NSWindowSharingType.readOnly
Declaration | |
---|---|
From | case ReadOnly |
To | case readOnly |
Modified NSWindowSharingType.readWrite
Declaration | |
---|---|
From | case ReadWrite |
To | case readWrite |
Modified NSWindowTitleVisibility [enum]
Declaration | |
---|---|
From | enum NSWindowTitleVisibility : Int { case Visible case Hidden } |
To | enum NSWindowTitleVisibility : Int { case visible case hidden } |
Modified NSWindowTitleVisibility.hidden
Declaration | |
---|---|
From | case Hidden |
To | case hidden |
Modified NSWindowTitleVisibility.visible
Declaration | |
---|---|
From | case Visible |
To | case visible |
Modified NSWorkspace
Declaration | Protocols | |
---|---|---|
From | class NSWorkspace : NSObject { class func sharedWorkspace() -> NSWorkspace var notificationCenter: NSNotificationCenter { get } func openFile(_ fullPath: String) -> Bool func openFile(_ fullPath: String, withApplication appName: String?) -> Bool func openFile(_ fullPath: String, withApplication appName: String?, andDeactivate flag: Bool) -> Bool func openURL(_ url: NSURL) -> Bool func launchApplication(_ appName: String) -> Bool func launchApplicationAtURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication func openURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication func openURLs(_ urls: [NSURL], withApplicationAtURL applicationURL: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication func launchApplication(_ appName: String, showIcon showIcon: Bool, autolaunch autolaunch: Bool) -> Bool func fullPathForApplication(_ appName: String) -> String? func selectFile(_ fullPath: String?, inFileViewerRootedAtPath rootFullPath: String) -> Bool func activateFileViewerSelectingURLs(_ fileURLs: [NSURL]) func showSearchResultsForQueryString(_ queryString: String) -> Bool func noteFileSystemChanged(_ path: String) func getInfoForFile(_ fullPath: String, application appName: AutoreleasingUnsafeMutablePointer<NSString?>, type type: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool func isFilePackageAtPath(_ fullPath: String) -> Bool func iconForFile(_ fullPath: String) -> NSImage func iconForFiles(_ fullPaths: [String]) -> NSImage? func iconForFileType(_ fileType: String) -> NSImage func setIcon(_ image: NSImage?, forFile fullPath: String, options options: NSWorkspaceIconCreationOptions) -> Bool var fileLabels: [String] { get } var fileLabelColors: [NSColor] { get } func recycleURLs(_ URLs: [NSURL], completionHandler handler: (([NSURL : NSURL], NSError?) -> Void)?) func duplicateURLs(_ URLs: [NSURL], completionHandler handler: (([NSURL : NSURL], NSError?) -> Void)?) func getFileSystemInfoForPath(_ fullPath: String, isRemovable removableFlag: UnsafeMutablePointer<ObjCBool>, isWritable writableFlag: UnsafeMutablePointer<ObjCBool>, isUnmountable unmountableFlag: UnsafeMutablePointer<ObjCBool>, description description: AutoreleasingUnsafeMutablePointer<NSString?>, type fileSystemType: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool func unmountAndEjectDeviceAtPath(_ path: String) -> Bool func unmountAndEjectDeviceAtURL(_ url: NSURL) throws func extendPowerOffBy(_ requested: Int) -> Int func hideOtherApplications() func URLForApplicationWithBundleIdentifier(_ bundleIdentifier: String) -> NSURL? func URLForApplicationToOpenURL(_ url: NSURL) -> NSURL? func absolutePathForAppBundleWithIdentifier(_ bundleIdentifier: String) -> String? func launchAppWithBundleIdentifier(_ bundleIdentifier: String, options options: NSWorkspaceLaunchOptions, additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifier identifier: AutoreleasingUnsafeMutablePointer<NSNumber?>) -> Bool func openURLs(_ urls: [NSURL], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions, additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool var frontmostApplication: NSRunningApplication? { get } var menuBarOwningApplication: NSRunningApplication? { get } func typeOfFile(_ absoluteFilePath: String) throws -> String func localizedDescriptionForType(_ typeName: String) -> String? func preferredFilenameExtensionForType(_ typeName: String) -> String? func filenameExtension(_ filenameExtension: String, isValidForType typeName: String) -> Bool func type(_ firstTypeName: String, conformsToType secondTypeName: String) -> Bool } extension NSWorkspace { var accessibilityDisplayShouldIncreaseContrast: Bool { get } var accessibilityDisplayShouldDifferentiateWithoutColor: Bool { get } var accessibilityDisplayShouldReduceTransparency: Bool { get } } extension NSWorkspace { var runningApplications: [NSRunningApplication] { get } } extension NSWorkspace { func setDesktopImageURL(_ url: NSURL, forScreen screen: NSScreen, options options: [String : AnyObject]) throws func desktopImageURLForScreen(_ screen: NSScreen) -> NSURL? func desktopImageOptionsForScreen(_ screen: NSScreen) -> [String : AnyObject]? } extension NSWorkspace { func openTempFile(_ fullPath: String) -> Bool func findApplications() func noteUserDefaultsChanged() func slideImage(_ image: NSImage, from fromPoint: NSPoint, to toPoint: NSPoint) func checkForRemovableMedia() func noteFileSystemChanged() func fileSystemChanged() -> Bool func userDefaultsChanged() -> Bool func mountNewRemovableMedia() -> [AnyObject]? func activeApplication() -> [NSObject : AnyObject]? func mountedLocalVolumePaths() -> [AnyObject]? func mountedRemovableMedia() -> [AnyObject]? func launchedApplications() -> [AnyObject]? func openFile(_ fullPath: String, fromImage anImage: NSImage?, at point: NSPoint, inView aView: NSView?) -> Bool func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [AnyObject], tag tag: UnsafeMutablePointer<Int>) -> Bool } | -- |
To | class NSWorkspace : NSObject { class func shared() -> NSWorkspace var notificationCenter: NotificationCenter { get } func openFile(_ fullPath: String) -> Bool func openFile(_ fullPath: String, withApplication appName: String?) -> Bool func openFile(_ fullPath: String, withApplication appName: String?, andDeactivate flag: Bool) -> Bool func open(_ url: URL) -> Bool func launchApplication(_ appName: String) -> Bool func launchApplication(at url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func open(_ url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func open(_ urls: [URL], withApplicationAt applicationURL: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func launchApplication(_ appName: String, showIcon showIcon: Bool, autolaunch autolaunch: Bool) -> Bool func fullPath(forApplication appName: String) -> String? func selectFile(_ fullPath: String?, inFileViewerRootedAtPath rootFullPath: String) -> Bool func activateFileViewerSelecting(_ fileURLs: [URL]) func showSearchResults(forQueryString queryString: String) -> Bool func noteFileSystemChanged(_ path: String) func getInfoForFile(_ fullPath: String, application appName: AutoreleasingUnsafeMutablePointer<NSString?>?, type type: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool func isFilePackage(atPath fullPath: String) -> Bool func icon(forFile fullPath: String) -> NSImage func icon(forFiles fullPaths: [String]) -> NSImage? func icon(forFileType fileType: String) -> NSImage func setIcon(_ image: NSImage?, forFile fullPath: String, options options: NSWorkspaceIconCreationOptions = []) -> Bool var fileLabels: [String] { get } var fileLabelColors: [NSColor] { get } func recycle(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) func duplicate(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) func getFileSystemInfo(forPath fullPath: String, isRemovable removableFlag: UnsafeMutablePointer<ObjCBool>?, isWritable writableFlag: UnsafeMutablePointer<ObjCBool>?, isUnmountable unmountableFlag: UnsafeMutablePointer<ObjCBool>?, description description: AutoreleasingUnsafeMutablePointer<NSString?>?, type fileSystemType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool func unmountAndEjectDevice(atPath path: String) -> Bool func unmountAndEjectDevice(at url: URL) throws func extendPowerOff(by requested: Int) -> Int func hideOtherApplications() func urlForApplication(withBundleIdentifier bundleIdentifier: String) -> URL? func urlForApplication(toOpen url: URL) -> URL? func absolutePathForApplication(withBundleIdentifier bundleIdentifier: String) -> String? func launchApplication(withBundleIdentifier bundleIdentifier: String, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifier identifier: AutoreleasingUnsafeMutablePointer<NSNumber?>?) -> Bool func open(_ urls: [URL], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> Bool var frontmostApplication: NSRunningApplication? { get } var menuBarOwningApplication: NSRunningApplication? { get } func type(ofFile absoluteFilePath: String) throws -> String func localizedDescription(forType typeName: String) -> String? func preferredFilenameExtension(forType typeName: String) -> String? func filenameExtension(_ filenameExtension: String, isValidForType typeName: String) -> Bool func type(_ firstTypeName: String, conformsToType secondTypeName: String) -> Bool func setDesktopImageURL(_ url: URL, for screen: NSScreen, options options: [String : Any] = [:]) throws func desktopImageURL(for screen: NSScreen) -> URL? func desktopImageOptions(for screen: NSScreen) -> [String : Any]? func openTempFile(_ fullPath: String) -> Bool func findApplications() func noteUserDefaultsChanged() func slideImage(_ image: NSImage, from fromPoint: NSPoint, to toPoint: NSPoint) func checkForRemovableMedia() func noteFileSystemChanged() func fileSystemChanged() -> Bool func userDefaultsChanged() -> Bool func mountNewRemovableMedia() -> [Any]? func activeApplication() -> [AnyHashable : Any]? func mountedLocalVolumePaths() -> [Any]? func mountedRemovableMedia() -> [Any]? func launchedApplications() -> [Any]? func openFile(_ fullPath: String, from image: NSImage?, at point: NSPoint, in view: NSView?) -> Bool func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [Any], tag tag: UnsafeMutablePointer<Int>?) -> Bool var accessibilityDisplayShouldIncreaseContrast: Bool { get } var accessibilityDisplayShouldDifferentiateWithoutColor: Bool { get } var accessibilityDisplayShouldReduceTransparency: Bool { get } var accessibilityDisplayShouldReduceMotion: Bool { get } var accessibilityDisplayShouldInvertColors: Bool { get } var runningApplications: [NSRunningApplication] { get } func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classCode: FourCharCode { get } var className: String { get } } extension NSWorkspace { var accessibilityDisplayShouldIncreaseContrast: Bool { get } var accessibilityDisplayShouldDifferentiateWithoutColor: Bool { get } var accessibilityDisplayShouldReduceTransparency: Bool { get } var accessibilityDisplayShouldReduceMotion: Bool { get } var accessibilityDisplayShouldInvertColors: Bool { get } } extension NSWorkspace { var runningApplications: [NSRunningApplication] { get } } extension NSWorkspace : CVarArg { } extension NSWorkspace : Equatable, Hashable { var hashValue: Int { get } } extension NSWorkspace { func setDesktopImageURL(_ url: URL, for screen: NSScreen, options options: [String : Any] = [:]) throws func desktopImageURL(for screen: NSScreen) -> URL? func desktopImageOptions(for screen: NSScreen) -> [String : Any]? } extension NSWorkspace { func openTempFile(_ fullPath: String) -> Bool func findApplications() func noteUserDefaultsChanged() func slideImage(_ image: NSImage, from fromPoint: NSPoint, to toPoint: NSPoint) func checkForRemovableMedia() func noteFileSystemChanged() func fileSystemChanged() -> Bool func userDefaultsChanged() -> Bool func mountNewRemovableMedia() -> [Any]? func activeApplication() -> [AnyHashable : Any]? func mountedLocalVolumePaths() -> [Any]? func mountedRemovableMedia() -> [Any]? func launchedApplications() -> [Any]? func openFile(_ fullPath: String, from image: NSImage?, at point: NSPoint, in view: NSView?) -> Bool func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [Any], tag tag: UnsafeMutablePointer<Int>?) -> Bool } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func absolutePathForAppBundleWithIdentifier(_ bundleIdentifier: String) -> String? |
To | func absolutePathForApplication(withBundleIdentifier bundleIdentifier: String) -> String? |
Declaration | |
---|---|
From | func activateFileViewerSelectingURLs(_ fileURLs: [NSURL]) |
To | func activateFileViewerSelecting(_ fileURLs: [URL]) |
Declaration | |
---|---|
From | func activeApplication() -> [NSObject : AnyObject]? |
To | func activeApplication() -> [AnyHashable : Any]? |
Declaration | |
---|---|
From | func desktopImageOptionsForScreen(_ screen: NSScreen) -> [String : AnyObject]? |
To | func desktopImageOptions(for screen: NSScreen) -> [String : Any]? |
Declaration | |
---|---|
From | func desktopImageURLForScreen(_ screen: NSScreen) -> NSURL? |
To | func desktopImageURL(for screen: NSScreen) -> URL? |
Modified NSWorkspace.duplicate(_: [URL], completionHandler: ( ([URL : URL], Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func duplicateURLs(_ URLs: [NSURL], completionHandler handler: (([NSURL : NSURL], NSError?) -> Void)?) |
To | func duplicate(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func extendPowerOffBy(_ requested: Int) -> Int |
To | func extendPowerOff(by requested: Int) -> Int |
Declaration | |
---|---|
From | func fullPathForApplication(_ appName: String) -> String? |
To | func fullPath(forApplication appName: String) -> String? |
Declaration | |
---|---|
From | func getFileSystemInfoForPath(_ fullPath: String, isRemovable removableFlag: UnsafeMutablePointer<ObjCBool>, isWritable writableFlag: UnsafeMutablePointer<ObjCBool>, isUnmountable unmountableFlag: UnsafeMutablePointer<ObjCBool>, description description: AutoreleasingUnsafeMutablePointer<NSString?>, type fileSystemType: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | func getFileSystemInfo(forPath fullPath: String, isRemovable removableFlag: UnsafeMutablePointer<ObjCBool>?, isWritable writableFlag: UnsafeMutablePointer<ObjCBool>?, isUnmountable unmountableFlag: UnsafeMutablePointer<ObjCBool>?, description description: AutoreleasingUnsafeMutablePointer<NSString?>?, type fileSystemType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
Declaration | |
---|---|
From | func getInfoForFile(_ fullPath: String, application appName: AutoreleasingUnsafeMutablePointer<NSString?>, type type: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | func getInfoForFile(_ fullPath: String, application appName: AutoreleasingUnsafeMutablePointer<NSString?>?, type type: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
Declaration | |
---|---|
From | func iconForFile(_ fullPath: String) -> NSImage |
To | func icon(forFile fullPath: String) -> NSImage |
Declaration | |
---|---|
From | func iconForFiles(_ fullPaths: [String]) -> NSImage? |
To | func icon(forFiles fullPaths: [String]) -> NSImage? |
Declaration | |
---|---|
From | func iconForFileType(_ fileType: String) -> NSImage |
To | func icon(forFileType fileType: String) -> NSImage |
Declaration | |
---|---|
From | func isFilePackageAtPath(_ fullPath: String) -> Bool |
To | func isFilePackage(atPath fullPath: String) -> Bool |
Declaration | |
---|---|
From | func launchApplicationAtURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication |
To | func launchApplication(at url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication |
Declaration | |
---|---|
From | func launchAppWithBundleIdentifier(_ bundleIdentifier: String, options options: NSWorkspaceLaunchOptions, additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifier identifier: AutoreleasingUnsafeMutablePointer<NSNumber?>) -> Bool |
To | func launchApplication(withBundleIdentifier bundleIdentifier: String, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifier identifier: AutoreleasingUnsafeMutablePointer<NSNumber?>?) -> Bool |
Declaration | |
---|---|
From | func localizedDescriptionForType(_ typeName: String) -> String? |
To | func localizedDescription(forType typeName: String) -> String? |
Declaration | |
---|---|
From | func mountedLocalVolumePaths() -> [AnyObject]? |
To | func mountedLocalVolumePaths() -> [Any]? |
Declaration | |
---|---|
From | func mountedRemovableMedia() -> [AnyObject]? |
To | func mountedRemovableMedia() -> [Any]? |
Modified NSWorkspace.notificationCenter
Declaration | |
---|---|
From | var notificationCenter: NSNotificationCenter { get } |
To | var notificationCenter: NotificationCenter { get } |
Modified NSWorkspace.open(_: URL) -> Bool
Declaration | |
---|---|
From | func openURL(_ url: NSURL) -> Bool |
To | func open(_ url: URL) -> Bool |
Declaration | |
---|---|
From | func openURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication |
To | func open(_ url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication |
Declaration | |
---|---|
From | func openURLs(_ urls: [NSURL], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions, additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool |
To | func open(_ urls: [URL], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> Bool |
Declaration | |
---|---|
From | func openURLs(_ urls: [NSURL], withApplicationAtURL applicationURL: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication |
To | func open(_ urls: [URL], withApplicationAt applicationURL: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication |
Declaration | |
---|---|
From | func openFile(_ fullPath: String, fromImage anImage: NSImage?, at point: NSPoint, inView aView: NSView?) -> Bool |
To | func openFile(_ fullPath: String, from image: NSImage?, at point: NSPoint, in view: NSView?) -> Bool |
Declaration | |
---|---|
From | func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [AnyObject], tag tag: UnsafeMutablePointer<Int>) -> Bool |
To | func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [Any], tag tag: UnsafeMutablePointer<Int>?) -> Bool |
Declaration | |
---|---|
From | func preferredFilenameExtensionForType(_ typeName: String) -> String? |
To | func preferredFilenameExtension(forType typeName: String) -> String? |
Declaration | |
---|---|
From | func recycleURLs(_ URLs: [NSURL], completionHandler handler: (([NSURL : NSURL], NSError?) -> Void)?) |
To | func recycle(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func setDesktopImageURL(_ url: NSURL, forScreen screen: NSScreen, options options: [String : AnyObject]) throws |
To | func setDesktopImageURL(_ url: URL, for screen: NSScreen, options options: [String : Any] = [:]) throws |
Modified NSWorkspace.setIcon(_: NSImage?, forFile: String, options: NSWorkspaceIconCreationOptions) -> Bool
Declaration | |
---|---|
From | func setIcon(_ image: NSImage?, forFile fullPath: String, options options: NSWorkspaceIconCreationOptions) -> Bool |
To | func setIcon(_ image: NSImage?, forFile fullPath: String, options options: NSWorkspaceIconCreationOptions = []) -> Bool |
Declaration | |
---|---|
From | class func sharedWorkspace() -> NSWorkspace |
To | class func shared() -> NSWorkspace |
Declaration | |
---|---|
From | func showSearchResultsForQueryString(_ queryString: String) -> Bool |
To | func showSearchResults(forQueryString queryString: String) -> Bool |
Declaration | |
---|---|
From | func typeOfFile(_ absoluteFilePath: String) throws -> String |
To | func type(ofFile absoluteFilePath: String) throws -> String |
Declaration | |
---|---|
From | func unmountAndEjectDeviceAtURL(_ url: NSURL) throws |
To | func unmountAndEjectDevice(at url: URL) throws |
Declaration | |
---|---|
From | func unmountAndEjectDeviceAtPath(_ path: String) -> Bool |
To | func unmountAndEjectDevice(atPath path: String) -> Bool |
Declaration | |
---|---|
From | func URLForApplicationToOpenURL(_ url: NSURL) -> NSURL? |
To | func urlForApplication(toOpen url: URL) -> URL? |
Declaration | |
---|---|
From | func URLForApplicationWithBundleIdentifier(_ bundleIdentifier: String) -> NSURL? |
To | func urlForApplication(withBundleIdentifier bundleIdentifier: String) -> URL? |
Declaration | Protocols | |
---|---|---|
From | struct NSWorkspaceIconCreationOptions : OptionSetType { init(rawValue rawValue: UInt) static var ExcludeQuickDrawElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } static var Exclude10_4ElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } } | OptionSetType |
To | struct NSWorkspaceIconCreationOptions : OptionSet { init(rawValue rawValue: UInt) static var excludeQuickDrawElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } static var exclude10_4ElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } func intersect(_ other: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions func exclusiveOr(_ other: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions mutating func unionInPlace(_ other: NSWorkspaceIconCreationOptions) mutating func intersectInPlace(_ other: NSWorkspaceIconCreationOptions) mutating func exclusiveOrInPlace(_ other: NSWorkspaceIconCreationOptions) func isSubsetOf(_ other: NSWorkspaceIconCreationOptions) -> Bool func isDisjointWith(_ other: NSWorkspaceIconCreationOptions) -> Bool func isSupersetOf(_ other: NSWorkspaceIconCreationOptions) -> Bool mutating func subtractInPlace(_ other: NSWorkspaceIconCreationOptions) func isStrictSupersetOf(_ other: NSWorkspaceIconCreationOptions) -> Bool func isStrictSubsetOf(_ other: NSWorkspaceIconCreationOptions) -> Bool } extension NSWorkspaceIconCreationOptions { func union(_ other: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions func intersection(_ other: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions func symmetricDifference(_ other: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions } extension NSWorkspaceIconCreationOptions { func contains(_ member: NSWorkspaceIconCreationOptions) -> Bool mutating func insert(_ newMember: NSWorkspaceIconCreationOptions) -> (inserted: Bool, memberAfterInsert: NSWorkspaceIconCreationOptions) mutating func remove(_ member: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions? mutating func update(with newMember: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions? } extension NSWorkspaceIconCreationOptions { convenience init() mutating func formUnion(_ other: NSWorkspaceIconCreationOptions) mutating func formIntersection(_ other: NSWorkspaceIconCreationOptions) mutating func formSymmetricDifference(_ other: NSWorkspaceIconCreationOptions) } extension NSWorkspaceIconCreationOptions { convenience init<S : Sequence where S.Iterator.Element == NSWorkspaceIconCreationOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSWorkspaceIconCreationOptions...) mutating func subtract(_ other: NSWorkspaceIconCreationOptions) func isSubset(of other: NSWorkspaceIconCreationOptions) -> Bool func isSuperset(of other: NSWorkspaceIconCreationOptions) -> Bool func isDisjoint(with other: NSWorkspaceIconCreationOptions) -> Bool func subtracting(_ other: NSWorkspaceIconCreationOptions) -> NSWorkspaceIconCreationOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSWorkspaceIconCreationOptions) -> Bool func isStrictSubset(of other: NSWorkspaceIconCreationOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var Exclude10_4ElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } |
To | static var exclude10_4ElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } |
Declaration | |
---|---|
From | static var ExcludeQuickDrawElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } |
To | static var excludeQuickDrawElementsIconCreationOption: NSWorkspaceIconCreationOptions { get } |
Modified NSWorkspaceLaunchOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSWorkspaceLaunchOptions : OptionSetType { init(rawValue rawValue: UInt) static var AndPrint: NSWorkspaceLaunchOptions { get } static var WithErrorPresentation: NSWorkspaceLaunchOptions { get } static var InhibitingBackgroundOnly: NSWorkspaceLaunchOptions { get } static var WithoutAddingToRecents: NSWorkspaceLaunchOptions { get } static var WithoutActivation: NSWorkspaceLaunchOptions { get } static var Async: NSWorkspaceLaunchOptions { get } static var NewInstance: NSWorkspaceLaunchOptions { get } static var AndHide: NSWorkspaceLaunchOptions { get } static var AndHideOthers: NSWorkspaceLaunchOptions { get } static var Default: NSWorkspaceLaunchOptions { get } static var AllowingClassicStartup: NSWorkspaceLaunchOptions { get } static var PreferringClassic: NSWorkspaceLaunchOptions { get } } | OptionSetType |
To | struct NSWorkspaceLaunchOptions : OptionSet { init(rawValue rawValue: UInt) static var andPrint: NSWorkspaceLaunchOptions { get } static var withErrorPresentation: NSWorkspaceLaunchOptions { get } static var inhibitingBackgroundOnly: NSWorkspaceLaunchOptions { get } static var withoutAddingToRecents: NSWorkspaceLaunchOptions { get } static var withoutActivation: NSWorkspaceLaunchOptions { get } static var async: NSWorkspaceLaunchOptions { get } static var newInstance: NSWorkspaceLaunchOptions { get } static var andHide: NSWorkspaceLaunchOptions { get } static var andHideOthers: NSWorkspaceLaunchOptions { get } static var `default`: NSWorkspaceLaunchOptions { get } static var allowingClassicStartup: NSWorkspaceLaunchOptions { get } static var preferringClassic: NSWorkspaceLaunchOptions { get } func intersect(_ other: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions func exclusiveOr(_ other: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions mutating func unionInPlace(_ other: NSWorkspaceLaunchOptions) mutating func intersectInPlace(_ other: NSWorkspaceLaunchOptions) mutating func exclusiveOrInPlace(_ other: NSWorkspaceLaunchOptions) func isSubsetOf(_ other: NSWorkspaceLaunchOptions) -> Bool func isDisjointWith(_ other: NSWorkspaceLaunchOptions) -> Bool func isSupersetOf(_ other: NSWorkspaceLaunchOptions) -> Bool mutating func subtractInPlace(_ other: NSWorkspaceLaunchOptions) func isStrictSupersetOf(_ other: NSWorkspaceLaunchOptions) -> Bool func isStrictSubsetOf(_ other: NSWorkspaceLaunchOptions) -> Bool } extension NSWorkspaceLaunchOptions { func union(_ other: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions func intersection(_ other: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions func symmetricDifference(_ other: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions } extension NSWorkspaceLaunchOptions { func contains(_ member: NSWorkspaceLaunchOptions) -> Bool mutating func insert(_ newMember: NSWorkspaceLaunchOptions) -> (inserted: Bool, memberAfterInsert: NSWorkspaceLaunchOptions) mutating func remove(_ member: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions? mutating func update(with newMember: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions? } extension NSWorkspaceLaunchOptions { convenience init() mutating func formUnion(_ other: NSWorkspaceLaunchOptions) mutating func formIntersection(_ other: NSWorkspaceLaunchOptions) mutating func formSymmetricDifference(_ other: NSWorkspaceLaunchOptions) } extension NSWorkspaceLaunchOptions { convenience init<S : Sequence where S.Iterator.Element == NSWorkspaceLaunchOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSWorkspaceLaunchOptions...) mutating func subtract(_ other: NSWorkspaceLaunchOptions) func isSubset(of other: NSWorkspaceLaunchOptions) -> Bool func isSuperset(of other: NSWorkspaceLaunchOptions) -> Bool func isDisjoint(with other: NSWorkspaceLaunchOptions) -> Bool func subtracting(_ other: NSWorkspaceLaunchOptions) -> NSWorkspaceLaunchOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSWorkspaceLaunchOptions) -> Bool func isStrictSubset(of other: NSWorkspaceLaunchOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var AllowingClassicStartup: NSWorkspaceLaunchOptions { get } |
To | static var allowingClassicStartup: NSWorkspaceLaunchOptions { get } |
Modified NSWorkspaceLaunchOptions.andHide
Declaration | |
---|---|
From | static var AndHide: NSWorkspaceLaunchOptions { get } |
To | static var andHide: NSWorkspaceLaunchOptions { get } |
Declaration | |
---|---|
From | static var AndHideOthers: NSWorkspaceLaunchOptions { get } |
To | static var andHideOthers: NSWorkspaceLaunchOptions { get } |
Modified NSWorkspaceLaunchOptions.andPrint
Declaration | |
---|---|
From | static var AndPrint: NSWorkspaceLaunchOptions { get } |
To | static var andPrint: NSWorkspaceLaunchOptions { get } |
Modified NSWorkspaceLaunchOptions.async
Declaration | |
---|---|
From | static var Async: NSWorkspaceLaunchOptions { get } |
To | static var async: NSWorkspaceLaunchOptions { get } |
Modified NSWorkspaceLaunchOptions.default
Declaration | |
---|---|
From | static var Default: NSWorkspaceLaunchOptions { get } |
To | static var `default`: NSWorkspaceLaunchOptions { get } |
Declaration | |
---|---|
From | static var InhibitingBackgroundOnly: NSWorkspaceLaunchOptions { get } |
To | static var inhibitingBackgroundOnly: NSWorkspaceLaunchOptions { get } |
Modified NSWorkspaceLaunchOptions.newInstance
Declaration | |
---|---|
From | static var NewInstance: NSWorkspaceLaunchOptions { get } |
To | static var newInstance: NSWorkspaceLaunchOptions { get } |
Declaration | |
---|---|
From | static var PreferringClassic: NSWorkspaceLaunchOptions { get } |
To | static var preferringClassic: NSWorkspaceLaunchOptions { get } |
Declaration | |
---|---|
From | static var WithErrorPresentation: NSWorkspaceLaunchOptions { get } |
To | static var withErrorPresentation: NSWorkspaceLaunchOptions { get } |
Declaration | |
---|---|
From | static var WithoutActivation: NSWorkspaceLaunchOptions { get } |
To | static var withoutActivation: NSWorkspaceLaunchOptions { get } |
Declaration | |
---|---|
From | static var WithoutAddingToRecents: NSWorkspaceLaunchOptions { get } |
To | static var withoutAddingToRecents: NSWorkspaceLaunchOptions { get } |
Modified NSWritingDirection [enum]
Declaration | |
---|---|
From | enum NSWritingDirection : Int { case Natural case LeftToRight case RightToLeft } |
To | enum NSWritingDirection : Int { case natural case leftToRight case rightToLeft } |
Modified NSWritingDirection.leftToRight
Declaration | |
---|---|
From | case LeftToRight |
To | case leftToRight |
Modified NSWritingDirection.natural
Declaration | |
---|---|
From | case Natural |
To | case natural |
Modified NSWritingDirection.rightToLeft
Declaration | |
---|---|
From | case RightToLeft |
To | case rightToLeft |
Modified NSWritingDirectionFormatType [enum]
Declaration | |
---|---|
From | enum NSWritingDirectionFormatType : Int { case Embedding case Override } |
To | enum NSWritingDirectionFormatType : Int { case embedding case override } |
Declaration | |
---|---|
From | case Embedding |
To | case embedding |
Declaration | |
---|---|
From | case Override |
To | case override |
Modified RunLoopMode.eventTrackingRunLoopMode
Name | Declaration | |
---|---|---|
From | NSEventTrackingRunLoopMode | let NSEventTrackingRunLoopMode: String |
To | eventTrackingRunLoopMode | static let eventTrackingRunLoopMode: RunLoopMode |
Modified RunLoopMode.modalPanelRunLoopMode
Name | Declaration | |
---|---|---|
From | NSModalPanelRunLoopMode | let NSModalPanelRunLoopMode: String |
To | modalPanelRunLoopMode | static let modalPanelRunLoopMode: RunLoopMode |
Declaration | |
---|---|
From | func NSAccessibilityPostNotification(_ element: AnyObject, _ notification: String) |
To | func NSAccessibilityPostNotification(_ element: Any, _ notification: String) |
Declaration | |
---|---|
From | func NSAccessibilityPostNotificationWithUserInfo(_ element: AnyObject, _ notification: String, _ userInfo: [NSObject : AnyObject]) |
To | func NSAccessibilityPostNotificationWithUserInfo(_ element: Any, _ notification: String, _ userInfo: [AnyHashable : Any]) |
Declaration | |
---|---|
From | func NSAccessibilityRaiseBadArgumentException(_ element: AnyObject!, _ attribute: String!, _ value: AnyObject!) |
To | func NSAccessibilityRaiseBadArgumentException(_ element: Any!, _ attribute: String!, _ value: Any!) |
Declaration | |
---|---|
From | func NSAccessibilityRoleDescriptionForUIElement(_ element: AnyObject) -> String? |
To | func NSAccessibilityRoleDescriptionForUIElement(_ element: Any) -> String? |
Declaration | |
---|---|
From | func NSAccessibilityUnignoredAncestor(_ element: AnyObject) -> AnyObject? |
To | func NSAccessibilityUnignoredAncestor(_ element: Any) -> Any? |
Declaration | |
---|---|
From | func NSAccessibilityUnignoredChildren(_ originalChildren: [AnyObject]) -> [AnyObject] |
To | func NSAccessibilityUnignoredChildren(_ originalChildren: [Any]) -> [Any] |
Declaration | |
---|---|
From | func NSAccessibilityUnignoredChildrenForOnlyChild(_ originalChild: AnyObject) -> [AnyObject] |
To | func NSAccessibilityUnignoredChildrenForOnlyChild(_ originalChild: Any) -> [Any] |
Declaration | |
---|---|
From | func NSAccessibilityUnignoredDescendant(_ element: AnyObject) -> AnyObject? |
To | func NSAccessibilityUnignoredDescendant(_ element: Any) -> Any? |
Declaration | |
---|---|
From | func NSApplicationMain(_ argc: Int32, _ argv: UnsafeMutablePointer<UnsafePointer<Int8>>) -> Int32 |
To | func NSApplicationMain(_ argc: Int32, _ argv: UnsafeMutablePointer<UnsafePointer<Int8>>!) -> Int32 |
Modified NSBestDepth(_: String, _: Int, _: Int, _: Bool, _: UnsafeMutablePointer<ObjCBool>?) -> NSWindowDepth
Declaration | |
---|---|
From | func NSBestDepth(_ colorSpace: String, _ bps: Int, _ bpp: Int, _ planar: Bool, _ exactMatch: UnsafeMutablePointer<ObjCBool>) -> NSWindowDepth |
To | func NSBestDepth(_ colorSpace: String, _ bps: Int, _ bpp: Int, _ planar: Bool, _ exactMatch: UnsafeMutablePointer<ObjCBool>?) -> NSWindowDepth |
Modified NSBorderlessWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSBorderlessWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSBorderlessWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSCenterTextAlignment
Introduction | Deprecation | |
---|---|---|
From | OS X 10.11 | -- |
To | OS X 10.0 | OS X 10.12 |
Modified NSClosableWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSClosableWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSClosableWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSDocModalWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSDocModalWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSDocModalWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | func NSDrawBitmap(_ rect: NSRect, _ width: Int, _ height: Int, _ bps: Int, _ spp: Int, _ bpp: Int, _ bpr: Int, _ isPlanar: Bool, _ hasAlpha: Bool, _ colorSpaceName: String, _ data: UnsafePointer<UnsafePointer<UInt8>>) |
To | func NSDrawBitmap(_ rect: NSRect, _ width: Int, _ height: Int, _ bps: Int, _ spp: Int, _ bpp: Int, _ bpr: Int, _ isPlanar: Bool, _ hasAlpha: Bool, _ colorSpaceName: String, _ data: UnsafePointer<UnsafePointer<UInt8>?>!) |
Declaration | |
---|---|
From | func NSDrawColorTiledRects(_ boundsRect: NSRect, _ clipRect: NSRect, _ sides: UnsafePointer<NSRectEdge>, _ colors: AutoreleasingUnsafeMutablePointer<NSColor?>, _ count: Int) -> NSRect |
To | func NSDrawColorTiledRects(_ boundsRect: NSRect, _ clipRect: NSRect, _ sides: UnsafePointer<NSRectEdge>, _ colors: AutoreleasingUnsafeMutablePointer<NSColor>, _ count: Int) -> NSRect |
Declaration | |
---|---|
From | func NSDrawNinePartImage(_ frame: NSRect, _ topLeftCorner: NSImage, _ topEdgeFill: NSImage, _ topRightCorner: NSImage, _ leftEdgeFill: NSImage, _ centerFill: NSImage, _ rightEdgeFill: NSImage, _ bottomLeftCorner: NSImage, _ bottomEdgeFill: NSImage, _ bottomRightCorner: NSImage, _ op: NSCompositingOperation, _ alphaFraction: CGFloat, _ flipped: Bool) |
To | func NSDrawNinePartImage(_ frame: NSRect, _ topLeftCorner: NSImage?, _ topEdgeFill: NSImage?, _ topRightCorner: NSImage?, _ leftEdgeFill: NSImage?, _ centerFill: NSImage?, _ rightEdgeFill: NSImage?, _ bottomLeftCorner: NSImage?, _ bottomEdgeFill: NSImage?, _ bottomRightCorner: NSImage?, _ op: NSCompositingOperation, _ alphaFraction: CGFloat, _ flipped: Bool) |
Modified NSFullScreenWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSFullScreenWindowMask: Int { get } | OS X 10.7 | -- |
To | let NSFullScreenWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSFullSizeContentViewWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSFullSizeContentViewWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSFullSizeContentViewWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | func NSGetWindowServerMemory(_ context: Int, _ virtualMemory: UnsafeMutablePointer<Int>, _ windowBackingMemory: UnsafeMutablePointer<Int>, _ windowDumpString: AutoreleasingUnsafeMutablePointer<NSString?>) -> Int |
To | func NSGetWindowServerMemory(_ context: Int, _ virtualMemory: UnsafeMutablePointer<Int>, _ windowBackingMemory: UnsafeMutablePointer<Int>, _ windowDumpString: AutoreleasingUnsafeMutablePointer<NSString>) -> Int |
Modified NSHUDWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSHUDWindowMask: Int { get } | OS X 10.6 | -- |
To | let NSHUDWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | func NSIsControllerMarker(_ object: AnyObject?) -> Bool |
To | func NSIsControllerMarker(_ object: Any?) -> Bool |
Modified NSJustifiedTextAlignment
Introduction | Deprecation | |
---|---|---|
From | OS X 10.11 | -- |
To | OS X 10.0 | OS X 10.12 |
Modified NSLeftTextAlignment
Introduction | Deprecation | |
---|---|---|
From | OS X 10.11 | -- |
To | OS X 10.0 | OS X 10.12 |
Modified NSMiniaturizableWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSMiniaturizableWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSMiniaturizableWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSModalSession
Declaration | |
---|---|
From | typealias NSModalSession = COpaquePointer |
To | typealias NSModalSession = OpaquePointer |
Modified NSNaturalTextAlignment
Introduction | Deprecation | |
---|---|---|
From | OS X 10.11 | -- |
To | OS X 10.0 | OS X 10.12 |
Modified NSNonactivatingPanelMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSNonactivatingPanelMask: Int { get } | OS X 10.10 | -- |
To | let NSNonactivatingPanelMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | func NSOpenGLGetVersion(_ major: UnsafeMutablePointer<GLint>, _ minor: UnsafeMutablePointer<GLint>) |
To | func NSOpenGLGetVersion(_ major: UnsafeMutablePointer<GLint>?, _ minor: UnsafeMutablePointer<GLint>?) |
Modified NSOpenGLPFAStereo
Introduction | Deprecation | |
---|---|---|
From | OS X 10.10 | -- |
To | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | func NSRectFillListWithColors(_ rects: UnsafePointer<NSRect>, _ colors: UnsafePointer<NSColor?>, _ num: Int) |
To | func NSRectFillListWithColors(_ rects: UnsafePointer<NSRect>, _ colors: UnsafePointer<NSColor>, _ num: Int) |
Declaration | |
---|---|
From | func NSRectFillListWithColorsUsingOperation(_ rects: UnsafePointer<NSRect>, _ colors: UnsafePointer<NSColor?>, _ num: Int, _ op: NSCompositingOperation) |
To | func NSRectFillListWithColorsUsingOperation(_ rects: UnsafePointer<NSRect>, _ colors: UnsafePointer<NSColor>, _ num: Int, _ op: NSCompositingOperation) |
Declaration | |
---|---|
From | func NSRegisterServicesProvider(_ provider: AnyObject?, _ name: String) |
To | func NSRegisterServicesProvider(_ provider: Any?, _ name: String) |
Modified NSReleaseAlertPanel(_: Any!)
Declaration | |
---|---|
From | func NSReleaseAlertPanel(_ panel: AnyObject!) |
To | func NSReleaseAlertPanel(_ panel: Any!) |
Modified NSResizableWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSResizableWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSResizableWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSRightTextAlignment
Introduction | Deprecation | |
---|---|---|
From | OS X 10.11 | -- |
To | OS X 10.0 | OS X 10.12 |
Declaration | |
---|---|
From | func NSShowAnimationEffect(_ animationEffect: NSAnimationEffect, _ centerLocation: NSPoint, _ size: NSSize, _ animationDelegate: AnyObject?, _ didEndSelector: Selector, _ contextInfo: UnsafeMutablePointer<Void>) |
To | func NSShowAnimationEffect(_ animationEffect: NSAnimationEffect, _ centerLocation: NSPoint, _ size: NSSize, _ animationDelegate: Any?, _ didEndSelector: Selector?, _ contextInfo: UnsafeMutableRawPointer?) |
Modified NSTexturedBackgroundWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSTexturedBackgroundWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSTexturedBackgroundWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSTitledWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSTitledWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSTitledWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSUnifiedTitleAndToolbarWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSUnifiedTitleAndToolbarWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSUnifiedTitleAndToolbarWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |
Modified NSUtilityWindowMask
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | var NSUtilityWindowMask: Int { get } | OS X 10.10 | -- |
To | let NSUtilityWindowMask: NSWindowStyleMask | OS X 10.0 | OS X 10.12 |