Documentation Archive Developer
Search

AppKit Changes for Swift

AppKit

Removed NSAnimatablePropertyContainer.animations() -> [NSObject : AnyObject]
Removed NSAnimatablePropertyContainer.setAnimations(_: [NSObject : AnyObject]!)
Removed NSApplicationActivationOptions.init(_: UInt)
Removed NSApplicationOcclusionState.init(_: UInt)
Removed NSApplicationPresentationOptions.init(_: UInt)
Removed NSAttributedString.size
Removed NSAutoresizingMaskOptions.init(_: UInt)
Removed NSBitmapFormat.init(_: UInt)
Removed NSBitmapImageRep.init(data: NSData!)
Removed NSBrowser.sendAction
Removed NSCellHitResult.init(_: UInt)
Removed NSCellStyleMask.init(_: UInt)
Removed NSCIImageRep.init(CIImage: CIImage!)
Removed NSColorPanelOptions.init(_: UInt)
Removed NSControl.cell() -> AnyObject?
Removed NSControl.refusesFirstResponder() -> Bool
Removed NSControl.setCell(_: NSCell?)
Removed NSControl.setRefusesFirstResponder(_: Bool)
Removed NSCursor.getMirror() -> MirrorType
Removed NSDatePickerElementFlags.init(_: UInt)
Removed NSDocumentController.defaultType() -> String?
Removed NSDraggingImageComponent.key() -> String!
Removed NSDraggingImageComponent.setKey(_: String!)
Removed NSDraggingItemEnumerationOptions.init(_: UInt)
Removed NSDragOperation.init(_: UInt)
Removed NSEPSImageRep.init(data: NSData!)
Removed NSEventButtonMask.init(_: UInt)
Removed NSEventMask.init(_: UInt64)
Removed NSEventModifierFlags.init(_: UInt)
Removed NSEventPhase.init(_: UInt)
Removed NSEventSwipeTrackingOptions.init(_: UInt)
Removed NSFontCollectionOptions.init(_: UInt)
Removed NSFontCollectionVisibility.init(_: UInt)
Removed NSFontTraitMask.init(_: UInt)
Removed NSImage.setTemplate(_: Bool)
Removed NSLayoutFormatOptions.init(_: UInt)
Removed NSMediaLibrary.init(_: UInt)
Removed NSMenuProperties.init(_: UInt)
Removed NSObject.isExplicitlyIncluded() -> Bool
Removed NSObject.key() -> String?
Removed NSObject.localizedKey() -> String?
Removed NSObject.setKey(_: String?)
Removed NSObject.setLocalizedKey(_: String?)
Removed NSObject.setValue(_: AnyObject?)
Removed NSObject.value() -> AnyObject?
Removed NSOpenGLGlobalOption.value
Removed NSPasteboardReadingOptions.init(_: UInt)
Removed NSPasteboardWritingOptions.init(_: UInt)
Removed NSPDFImageRep.init(data: NSData!)
Removed NSPDFPanelOptions.init(_: Int)
Removed NSPICTImageRep.init(data: NSData!)
Removed NSPrintPanelOptions.init(_: UInt)
Removed NSRemoteNotificationType.init(_: UInt)
Removed NSSegmentedControl.doubleValueForSelectedSegment() -> Double
Removed NSStringDrawingOptions.init(_: UInt)
Removed NSStringDrawingOptions.init(rawValue: UInt)
Removed NSTableColumnResizingOptions.init(_: UInt)
Removed NSTableViewAnimationOptions.init(_: UInt)
Removed NSTableViewGridLineStyle.init(_: UInt)
Removed NSTextAlignment.CenterTextAlignment
Removed NSTextAlignment.JustifiedTextAlignment
Removed NSTextAlignment.LeftTextAlignment
Removed NSTextAlignment.NaturalTextAlignment
Removed NSTextAlignment.RightTextAlignment
Removed NSTextAttachmentCellProtocol.attachment() -> NSTextAttachment?
Removed NSTextAttachmentCellProtocol.setAttachment(_: NSTextAttachment?)
Removed NSTextLayoutOrientationProvider.layoutOrientation() -> NSTextLayoutOrientation
Removed NSTextListOptions.init(_: UInt)
Removed NSTextStorageEditedOptions [struct]
Removed NSTextStorageEditedOptions.Attributes
Removed NSTextStorageEditedOptions.Characters
Removed NSTextStorageEditedOptions.init(_: UInt)
Removed NSTextStorageEditedOptions.init(rawValue: UInt)
Removed NSTouchPhase.init(_: UInt)
Removed NSTrackingAreaOptions.init(_: UInt)
Removed NSTypesetterControlCharacterAction.init(_: UInt)
Removed NSView.getMirror() -> MirrorType
Removed NSViewControllerTransitionOptions.init(_: UInt)
Removed NSWindow.defaultButtonCell() -> NSButtonCell?
Removed NSWindow.frameAutosaveName() -> String?
Removed NSWindow.setDefaultButtonCell(_: NSButtonCell?)
Removed NSWindow.setWindowController(_: NSWindowController?)
Removed NSWindow.windowController() -> AnyObject?
Removed NSWindowCollectionBehavior.init(_: UInt)
Removed NSWindowOcclusionState.init(_: UInt)
Removed NSWorkspaceIconCreationOptions.init(_: UInt)
Removed NSWorkspaceLaunchOptions.init(_: UInt)
Removed REPLApplication
Removed NSNoUnderlineStyle
Removed NSSingleUnderlineStyle
Removed NSUnderlinePatternDash
Removed NSUnderlinePatternDashDot
Removed NSUnderlinePatternDashDotDot
Removed NSUnderlinePatternDot
Removed NSUnderlinePatternSolid
Removed NSUnderlineStyleDouble
Removed NSUnderlineStyleNone
Removed NSUnderlineStyleSingle
Removed NSUnderlineStyleThick
Removed replApplicationMain()
Added NSCocoaError.isServiceError
Added NSCocoaError.isSharingServiceError
Added NSCocoaError.isTextReadWriteError
Added NSCocoaError.ServiceApplicationLaunchFailedError
Added NSCocoaError.ServiceApplicationNotFoundError
Added NSCocoaError.ServiceInvalidPasteboardDataError
Added NSCocoaError.ServiceMalformedServiceDictionaryError
Added NSCocoaError.ServiceMiscellaneousError
Added NSCocoaError.ServiceRequestTimedOutError
Added NSCocoaError.SharingServiceNotConfiguredError
Added NSCocoaError.TextReadInapplicableDocumentTypeError
Added NSCocoaError.TextWriteInapplicableDocumentTypeError
Added NSCollectionViewScrollPosition.init(rawValue: UInt)
Added NSOpenGLGlobalOption.init(rawValue: UInt32)
Added NSOpenGLGlobalOption.rawValue
Added NSSpringLoadingOptions.init(rawValue: UInt)
Added NSStringDrawingOptions.init(rawValue: Int)
Added NSTextStorageEditActions.init(rawValue: UInt)
Declaration
From
init?(color color: NSColor)
To
convenience init?(color color: NSColor)

Declaration
From
To
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)
}

Declaration
From
func accessibilityAllowedValues() -> [AnyObject]!
To
func accessibilityAllowedValues() -> [NSNumber]?

Declaration
From
func accessibilityApplicationFocusedUIElement() -> AnyObject!
To
func accessibilityApplicationFocusedUIElement() -> AnyObject?

Declaration
From
func accessibilityCancelButton() -> AnyObject!
To
func accessibilityCancelButton() -> AnyObject?

Declaration
From
func accessibilityChildren() -> [AnyObject]!
To
func accessibilityChildren() -> [AnyObject]?

Declaration
From
func accessibilityClearButton() -> AnyObject!
To
func accessibilityClearButton() -> AnyObject?

Declaration
From
func accessibilityCloseButton() -> AnyObject!
To
func accessibilityCloseButton() -> AnyObject?

Declaration
From
func accessibilityColumnHeaderUIElements() -> [AnyObject]!
To
func accessibilityColumnHeaderUIElements() -> [AnyObject]?

Declaration
From
func accessibilityColumns() -> [AnyObject]!
To
func accessibilityColumns() -> [AnyObject]?

Declaration
From
func accessibilityColumnTitles() -> [AnyObject]!
To
func accessibilityColumnTitles() -> [AnyObject]?

Declaration
From
func accessibilityContents() -> [AnyObject]!
To
func accessibilityContents() -> [AnyObject]?

Declaration
From
func accessibilityCriticalValue() -> AnyObject!
To
func accessibilityCriticalValue() -> AnyObject?

Declaration
From
func accessibilityDecrementButton() -> AnyObject!
To
func accessibilityDecrementButton() -> AnyObject?

Declaration
From
func accessibilityDefaultButton() -> AnyObject!
To
func accessibilityDefaultButton() -> AnyObject?

Declaration
From
func accessibilityDisclosedByRow() -> AnyObject!
To
func accessibilityDisclosedByRow() -> AnyObject?

Declaration
From
func accessibilityDisclosedRows() -> AnyObject!
To
func accessibilityDisclosedRows() -> AnyObject?

Declaration
From
func accessibilityDocument() -> String!
To
func accessibilityDocument() -> String?

Declaration
From
func accessibilityExtrasMenuBar() -> AnyObject!
To
func accessibilityExtrasMenuBar() -> AnyObject?

Declaration
From
func accessibilityFilename() -> String!
To
func accessibilityFilename() -> String?

Declaration
From
func accessibilityFocusedWindow() -> AnyObject!
To
func accessibilityFocusedWindow() -> AnyObject?

Declaration
From
func accessibilityFullScreenButton() -> AnyObject!
To
func accessibilityFullScreenButton() -> AnyObject?

Declaration
From
func accessibilityGrowArea() -> AnyObject!
To
func accessibilityGrowArea() -> AnyObject?

Declaration
From
func accessibilityHandles() -> [AnyObject]!
To
func accessibilityHandles() -> [AnyObject]?

Declaration
From
func accessibilityHeader() -> AnyObject!
To
func accessibilityHeader() -> AnyObject?

Declaration
From
func accessibilityHelp() -> String!
To
func accessibilityHelp() -> String?

Declaration
From
func accessibilityHorizontalScrollBar() -> AnyObject!
To
func accessibilityHorizontalScrollBar() -> AnyObject?

Declaration
From
func accessibilityHorizontalUnitDescription() -> String!
To
func accessibilityHorizontalUnitDescription() -> String?

Declaration
From
func accessibilityIdentifier() -> String!
To
func accessibilityIdentifier() -> String?

Declaration
From
func accessibilityIncrementButton() -> AnyObject!
To
func accessibilityIncrementButton() -> AnyObject?

Declaration
From
func accessibilityLabel() -> String!
To
func accessibilityLabel() -> String?

Declaration
From
func accessibilityLabelUIElements() -> [AnyObject]!
To
func accessibilityLabelUIElements() -> [AnyObject]?

Declaration
From
func accessibilityLinkedUIElements() -> [AnyObject]!
To
func accessibilityLinkedUIElements() -> [AnyObject]?

Declaration
From
func accessibilityMainWindow() -> AnyObject!
To
func accessibilityMainWindow() -> AnyObject?

Declaration
From
func accessibilityMarkerGroupUIElement() -> AnyObject!
To
func accessibilityMarkerGroupUIElement() -> AnyObject?

Declaration
From
func accessibilityMarkerTypeDescription() -> String!
To
func accessibilityMarkerTypeDescription() -> String?

Declaration
From
func accessibilityMarkerUIElements() -> [AnyObject]!
To
func accessibilityMarkerUIElements() -> [AnyObject]?

Declaration
From
func accessibilityMarkerValues() -> AnyObject!
To
func accessibilityMarkerValues() -> AnyObject?

Declaration
From
func accessibilityMaxValue() -> AnyObject!
To
func accessibilityMaxValue() -> AnyObject?

Declaration
From
func accessibilityMenuBar() -> AnyObject!
To
func accessibilityMenuBar() -> AnyObject?

Declaration
From
func accessibilityMinimizeButton() -> AnyObject!
To
func accessibilityMinimizeButton() -> AnyObject?

Declaration
From
func accessibilityMinValue() -> AnyObject!
To
func accessibilityMinValue() -> AnyObject?

Declaration
From
func accessibilityNextContents() -> [AnyObject]!
To
func accessibilityNextContents() -> [AnyObject]?

Declaration
From
func accessibilityOverflowButton() -> AnyObject!
To
func accessibilityOverflowButton() -> AnyObject?

Declaration
From
func accessibilityParent() -> AnyObject!
To
func accessibilityParent() -> AnyObject?

Declaration
From
func accessibilityPlaceholderValue() -> String!
To
func accessibilityPlaceholderValue() -> String?

Declaration
From
func accessibilityPreviousContents() -> [AnyObject]!
To
func accessibilityPreviousContents() -> [AnyObject]?

Declaration
From
func accessibilityProxy() -> AnyObject!
To
func accessibilityProxy() -> AnyObject?

Declaration
From
func accessibilityRole() -> String!
To
func accessibilityRole() -> String?

Declaration
From
func accessibilityRoleDescription() -> String!
To
func accessibilityRoleDescription() -> String?

Declaration
From
func accessibilityRowHeaderUIElements() -> [AnyObject]!
To
func accessibilityRowHeaderUIElements() -> [AnyObject]?

Declaration
From
func accessibilityRows() -> [AnyObject]!
To
func accessibilityRows() -> [AnyObject]?

Declaration
From
func accessibilitySearchButton() -> AnyObject!
To
func accessibilitySearchButton() -> AnyObject?

Declaration
From
func accessibilitySearchMenu() -> AnyObject!
To
func accessibilitySearchMenu() -> AnyObject?

Declaration
From
func accessibilitySelectedCells() -> [AnyObject]!
To
func accessibilitySelectedCells() -> [AnyObject]?

Declaration
From
func accessibilitySelectedChildren() -> [AnyObject]!
To
func accessibilitySelectedChildren() -> [AnyObject]?

Declaration
From
func accessibilitySelectedColumns() -> [AnyObject]!
To
func accessibilitySelectedColumns() -> [AnyObject]?

Declaration
From
func accessibilitySelectedRows() -> [AnyObject]!
To
func accessibilitySelectedRows() -> [AnyObject]?

Declaration
From
func accessibilitySelectedText() -> String!
To
func accessibilitySelectedText() -> String?

Declaration
From
func accessibilitySelectedTextRanges() -> [AnyObject]!
To
func accessibilitySelectedTextRanges() -> [NSValue]?

Declaration
From
func accessibilityServesAsTitleForUIElements() -> [AnyObject]!
To
func accessibilityServesAsTitleForUIElements() -> [AnyObject]?

Declaration
From
func accessibilitySharedFocusElements() -> [AnyObject]!
To
func accessibilitySharedFocusElements() -> [AnyObject]?

Declaration
From
func accessibilitySharedTextUIElements() -> [AnyObject]!
To
func accessibilitySharedTextUIElements() -> [AnyObject]?

Declaration
From
func accessibilityShownMenu() -> AnyObject!
To
func accessibilityShownMenu() -> AnyObject?

Declaration
From
func accessibilitySplitters() -> [AnyObject]!
To
func accessibilitySplitters() -> [AnyObject]?

Declaration
From
func accessibilitySubrole() -> String!
To
func accessibilitySubrole() -> String?

Declaration
From
func accessibilityTabs() -> [AnyObject]!
To
func accessibilityTabs() -> [AnyObject]?

Declaration
From
func accessibilityTitle() -> String!
To
func accessibilityTitle() -> String?

Declaration
From
func accessibilityTitleUIElement() -> AnyObject!
To
func accessibilityTitleUIElement() -> AnyObject?

Declaration
From
func accessibilityToolbarButton() -> AnyObject!
To
func accessibilityToolbarButton() -> AnyObject?

Declaration
From
func accessibilityTopLevelUIElement() -> AnyObject!
To
func accessibilityTopLevelUIElement() -> AnyObject?

Declaration
From
func accessibilityUnitDescription() -> String!
To
func accessibilityUnitDescription() -> String?

Declaration
From
func accessibilityURL() -> NSURL!
To
func accessibilityURL() -> NSURL?

Declaration
From
func accessibilityValue() -> AnyObject!
To
func accessibilityValue() -> AnyObject?

Declaration
From
func accessibilityValueDescription() -> String!
To
func accessibilityValueDescription() -> String?

Declaration
From
func accessibilityVerticalScrollBar() -> AnyObject!
To
func accessibilityVerticalScrollBar() -> AnyObject?

Declaration
From
func accessibilityVerticalUnitDescription() -> String!
To
func accessibilityVerticalUnitDescription() -> String?

Declaration
From
func accessibilityVisibleCells() -> [AnyObject]!
To
func accessibilityVisibleCells() -> [AnyObject]?

Declaration
From
func accessibilityVisibleChildren() -> [AnyObject]!
To
func accessibilityVisibleChildren() -> [AnyObject]?

Declaration
From
func accessibilityVisibleColumns() -> [AnyObject]!
To
func accessibilityVisibleColumns() -> [AnyObject]?

Declaration
From
func accessibilityVisibleRows() -> [AnyObject]!
To
func accessibilityVisibleRows() -> [AnyObject]?

Declaration
From
func accessibilityWarningValue() -> AnyObject!
To
func accessibilityWarningValue() -> AnyObject?

Declaration
From
func accessibilityWindow() -> AnyObject!
To
func accessibilityWindow() -> AnyObject?

Declaration
From
func accessibilityWindows() -> [AnyObject]!
To
func accessibilityWindows() -> [AnyObject]?

Declaration
From
func accessibilityZoomButton() -> AnyObject!
To
func accessibilityZoomButton() -> AnyObject?

Declaration
From
func setAccessibilityAllowedValues(_ accessibilityAllowedValues: [AnyObject]!)
To
func setAccessibilityAllowedValues(_ accessibilityAllowedValues: [NSNumber]?)

Declaration
From
func setAccessibilityApplicationFocusedUIElement(_ accessibilityApplicationFocusedUIElement: AnyObject!)
To
func setAccessibilityApplicationFocusedUIElement(_ accessibilityApplicationFocusedUIElement: AnyObject?)

Declaration
From
func setAccessibilityCancelButton(_ accessibilityCancelButton: AnyObject!)
To
func setAccessibilityCancelButton(_ accessibilityCancelButton: AnyObject?)

Declaration
From
func setAccessibilityChildren(_ accessibilityChildren: [AnyObject]!)
To
func setAccessibilityChildren(_ accessibilityChildren: [AnyObject]?)

Declaration
From
func setAccessibilityClearButton(_ accessibilityClearButton: AnyObject!)
To
func setAccessibilityClearButton(_ accessibilityClearButton: AnyObject?)

Declaration
From
func setAccessibilityCloseButton(_ accessibilityCloseButton: AnyObject!)
To
func setAccessibilityCloseButton(_ accessibilityCloseButton: AnyObject?)

Declaration
From
func setAccessibilityColumnHeaderUIElements(_ accessibilityColumnHeaderUIElements: [AnyObject]!)
To
func setAccessibilityColumnHeaderUIElements(_ accessibilityColumnHeaderUIElements: [AnyObject]?)

Declaration
From
func setAccessibilityColumns(_ accessibilityColumns: [AnyObject]!)
To
func setAccessibilityColumns(_ accessibilityColumns: [AnyObject]?)

Declaration
From
func setAccessibilityColumnTitles(_ accessibilityColumnTitles: [AnyObject]!)
To
func setAccessibilityColumnTitles(_ accessibilityColumnTitles: [AnyObject]?)

Declaration
From
func setAccessibilityContents(_ accessibilityContents: [AnyObject]!)
To
func setAccessibilityContents(_ accessibilityContents: [AnyObject]?)

Declaration
From
func setAccessibilityCriticalValue(_ accessibilityCriticalValue: AnyObject!)
To
func setAccessibilityCriticalValue(_ accessibilityCriticalValue: AnyObject?)

Declaration
From
func setAccessibilityDecrementButton(_ accessibilityDecrementButton: AnyObject!)
To
func setAccessibilityDecrementButton(_ accessibilityDecrementButton: AnyObject?)

Declaration
From
func setAccessibilityDefaultButton(_ accessibilityDefaultButton: AnyObject!)
To
func setAccessibilityDefaultButton(_ accessibilityDefaultButton: AnyObject?)

Declaration
From
func setAccessibilityDisclosedByRow(_ accessibilityDisclosedByRow: AnyObject!)
To
func setAccessibilityDisclosedByRow(_ accessibilityDisclosedByRow: AnyObject?)

Declaration
From
func setAccessibilityDisclosedRows(_ accessibilityDisclosedRows: AnyObject!)
To
func setAccessibilityDisclosedRows(_ accessibilityDisclosedRows: AnyObject?)

Declaration
From
func setAccessibilityDocument(_ accessibilityDocument: String!)
To
func setAccessibilityDocument(_ accessibilityDocument: String?)

Declaration
From
func setAccessibilityExtrasMenuBar(_ accessibilityExtrasMenuBar: AnyObject!)
To
func setAccessibilityExtrasMenuBar(_ accessibilityExtrasMenuBar: AnyObject?)

Declaration
From
func setAccessibilityFilename(_ accessibilityFilename: String!)
To
func setAccessibilityFilename(_ accessibilityFilename: String?)

Declaration
From
func setAccessibilityFocusedWindow(_ accessibilityFocusedWindow: AnyObject!)
To
func setAccessibilityFocusedWindow(_ accessibilityFocusedWindow: AnyObject?)

Declaration
From
func setAccessibilityFullScreenButton(_ accessibilityFullScreenButton: AnyObject!)
To
func setAccessibilityFullScreenButton(_ accessibilityFullScreenButton: AnyObject?)

Declaration
From
func setAccessibilityGrowArea(_ accessibilityGrowArea: AnyObject!)
To
func setAccessibilityGrowArea(_ accessibilityGrowArea: AnyObject?)

Declaration
From
func setAccessibilityHandles(_ accessibilityHandles: [AnyObject]!)
To
func setAccessibilityHandles(_ accessibilityHandles: [AnyObject]?)

Declaration
From
func setAccessibilityHeader(_ accessibilityHeader: AnyObject!)
To
func setAccessibilityHeader(_ accessibilityHeader: AnyObject?)

Declaration
From
func setAccessibilityHelp(_ accessibilityHelp: String!)
To
func setAccessibilityHelp(_ accessibilityHelp: String?)

Declaration
From
func setAccessibilityHorizontalScrollBar(_ accessibilityHorizontalScrollBar: AnyObject!)
To
func setAccessibilityHorizontalScrollBar(_ accessibilityHorizontalScrollBar: AnyObject?)

Declaration
From
func setAccessibilityHorizontalUnitDescription(_ accessibilityHorizontalUnitDescription: String!)
To
func setAccessibilityHorizontalUnitDescription(_ accessibilityHorizontalUnitDescription: String?)

Declaration
From
func setAccessibilityIdentifier(_ accessibilityIdentifier: String!)
To
func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)

Declaration
From
func setAccessibilityIncrementButton(_ accessibilityIncrementButton: AnyObject!)
To
func setAccessibilityIncrementButton(_ accessibilityIncrementButton: AnyObject?)

Declaration
From
func setAccessibilityLabel(_ accessibilityLabel: String!)
To
func setAccessibilityLabel(_ accessibilityLabel: String?)

Declaration
From
func setAccessibilityLabelUIElements(_ accessibilityLabelUIElements: [AnyObject]!)
To
func setAccessibilityLabelUIElements(_ accessibilityLabelUIElements: [AnyObject]?)

Declaration
From
func setAccessibilityLinkedUIElements(_ accessibilityLinkedUIElements: [AnyObject]!)
To
func setAccessibilityLinkedUIElements(_ accessibilityLinkedUIElements: [AnyObject]?)

Declaration
From
func setAccessibilityMainWindow(_ accessibilityMainWindow: AnyObject!)
To
func setAccessibilityMainWindow(_ accessibilityMainWindow: AnyObject?)

Declaration
From
func setAccessibilityMarkerGroupUIElement(_ accessibilityMarkerGroupUIElement: AnyObject!)
To
func setAccessibilityMarkerGroupUIElement(_ accessibilityMarkerGroupUIElement: AnyObject?)

Declaration
From
func setAccessibilityMarkerTypeDescription(_ accessibilityMarkerTypeDescription: String!)
To
func setAccessibilityMarkerTypeDescription(_ accessibilityMarkerTypeDescription: String?)

Declaration
From
func setAccessibilityMarkerUIElements(_ accessibilityMarkerUIElements: [AnyObject]!)
To
func setAccessibilityMarkerUIElements(_ accessibilityMarkerUIElements: [AnyObject]?)

Declaration
From
func setAccessibilityMarkerValues(_ accessibilityMarkerValues: AnyObject!)
To
func setAccessibilityMarkerValues(_ accessibilityMarkerValues: AnyObject?)

Declaration
From
func setAccessibilityMaxValue(_ accessibilityMaxValue: AnyObject!)
To
func setAccessibilityMaxValue(_ accessibilityMaxValue: AnyObject?)

Declaration
From
func setAccessibilityMenuBar(_ accessibilityMenuBar: AnyObject!)
To
func setAccessibilityMenuBar(_ accessibilityMenuBar: AnyObject?)

Declaration
From
func setAccessibilityMinimizeButton(_ accessibilityMinimizeButton: AnyObject!)
To
func setAccessibilityMinimizeButton(_ accessibilityMinimizeButton: AnyObject?)

Declaration
From
func setAccessibilityMinValue(_ accessibilityMinValue: AnyObject!)
To
func setAccessibilityMinValue(_ accessibilityMinValue: AnyObject?)

Declaration
From
func setAccessibilityNextContents(_ accessibilityNextContents: [AnyObject]!)
To
func setAccessibilityNextContents(_ accessibilityNextContents: [AnyObject]?)

Declaration
From
func setAccessibilityOverflowButton(_ accessibilityOverflowButton: AnyObject!)
To
func setAccessibilityOverflowButton(_ accessibilityOverflowButton: AnyObject?)

Declaration
From
func setAccessibilityParent(_ accessibilityParent: AnyObject!)
To
func setAccessibilityParent(_ accessibilityParent: AnyObject?)

Declaration
From
func setAccessibilityPlaceholderValue(_ accessibilityPlaceholderValue: String!)
To
func setAccessibilityPlaceholderValue(_ accessibilityPlaceholderValue: String?)

Declaration
From
func setAccessibilityPreviousContents(_ accessibilityPreviousContents: [AnyObject]!)
To
func setAccessibilityPreviousContents(_ accessibilityPreviousContents: [AnyObject]?)

Declaration
From
func setAccessibilityProxy(_ accessibilityProxy: AnyObject!)
To
func setAccessibilityProxy(_ accessibilityProxy: AnyObject?)

Declaration
From
func setAccessibilityRole(_ accessibilityRole: String!)
To
func setAccessibilityRole(_ accessibilityRole: String?)

Declaration
From
func setAccessibilityRoleDescription(_ accessibilityRoleDescription: String!)
To
func setAccessibilityRoleDescription(_ accessibilityRoleDescription: String?)

Declaration
From
func setAccessibilityRowHeaderUIElements(_ accessibilityRowHeaderUIElements: [AnyObject]!)
To
func setAccessibilityRowHeaderUIElements(_ accessibilityRowHeaderUIElements: [AnyObject]?)

Declaration
From
func setAccessibilityRows(_ accessibilityRows: [AnyObject]!)
To
func setAccessibilityRows(_ accessibilityRows: [AnyObject]?)

Declaration
From
func setAccessibilitySearchButton(_ accessibilitySearchButton: AnyObject!)
To
func setAccessibilitySearchButton(_ accessibilitySearchButton: AnyObject?)

Declaration
From
func setAccessibilitySearchMenu(_ accessibilitySearchMenu: AnyObject!)
To
func setAccessibilitySearchMenu(_ accessibilitySearchMenu: AnyObject?)

Declaration
From
func setAccessibilitySelectedCells(_ accessibilitySelectedCells: [AnyObject]!)
To
func setAccessibilitySelectedCells(_ accessibilitySelectedCells: [AnyObject]?)

Declaration
From
func setAccessibilitySelectedChildren(_ accessibilitySelectedChildren: [AnyObject]!)
To
func setAccessibilitySelectedChildren(_ accessibilitySelectedChildren: [AnyObject]?)

Declaration
From
func setAccessibilitySelectedColumns(_ accessibilitySelectedColumns: [AnyObject]!)
To
func setAccessibilitySelectedColumns(_ accessibilitySelectedColumns: [AnyObject]?)

Declaration
From
func setAccessibilitySelectedRows(_ accessibilitySelectedRows: [AnyObject]!)
To
func setAccessibilitySelectedRows(_ accessibilitySelectedRows: [AnyObject]?)

Declaration
From
func setAccessibilitySelectedText(_ accessibilitySelectedText: String!)
To
func setAccessibilitySelectedText(_ accessibilitySelectedText: String?)

Declaration
From
func setAccessibilitySelectedTextRanges(_ accessibilitySelectedTextRanges: [AnyObject]!)
To
func setAccessibilitySelectedTextRanges(_ accessibilitySelectedTextRanges: [NSValue]?)

Declaration
From
func setAccessibilityServesAsTitleForUIElements(_ accessibilityServesAsTitleForUIElements: [AnyObject]!)
To
func setAccessibilityServesAsTitleForUIElements(_ accessibilityServesAsTitleForUIElements: [AnyObject]?)

Declaration
From
func setAccessibilitySharedFocusElements(_ accessibilitySharedFocusElements: [AnyObject]!)
To
func setAccessibilitySharedFocusElements(_ accessibilitySharedFocusElements: [AnyObject]?)

Declaration
From
func setAccessibilitySharedTextUIElements(_ accessibilitySharedTextUIElements: [AnyObject]!)
To
func setAccessibilitySharedTextUIElements(_ accessibilitySharedTextUIElements: [AnyObject]?)

Declaration
From
func setAccessibilityShownMenu(_ accessibilityShownMenu: AnyObject!)
To
func setAccessibilityShownMenu(_ accessibilityShownMenu: AnyObject?)

Declaration
From
func setAccessibilitySplitters(_ accessibilitySplitters: [AnyObject]!)
To
func setAccessibilitySplitters(_ accessibilitySplitters: [AnyObject]?)

Declaration
From
func setAccessibilitySubrole(_ accessibilitySubrole: String!)
To
func setAccessibilitySubrole(_ accessibilitySubrole: String?)

Declaration
From
func setAccessibilityTabs(_ accessibilityTabs: [AnyObject]!)
To
func setAccessibilityTabs(_ accessibilityTabs: [AnyObject]?)

Declaration
From
func setAccessibilityTitle(_ accessibilityTitle: String!)
To
func setAccessibilityTitle(_ accessibilityTitle: String?)

Declaration
From
func setAccessibilityTitleUIElement(_ accessibilityTitleUIElement: AnyObject!)
To
func setAccessibilityTitleUIElement(_ accessibilityTitleUIElement: AnyObject?)

Declaration
From
func setAccessibilityToolbarButton(_ accessibilityToolbarButton: AnyObject!)
To
func setAccessibilityToolbarButton(_ accessibilityToolbarButton: AnyObject?)

Declaration
From
func setAccessibilityTopLevelUIElement(_ accessibilityTopLevelUIElement: AnyObject!)
To
func setAccessibilityTopLevelUIElement(_ accessibilityTopLevelUIElement: AnyObject?)

Declaration
From
func setAccessibilityUnitDescription(_ accessibilityUnitDescription: String!)
To
func setAccessibilityUnitDescription(_ accessibilityUnitDescription: String?)

Declaration
From
func setAccessibilityURL(_ accessibilityURL: NSURL!)
To
func setAccessibilityURL(_ accessibilityURL: NSURL?)

Declaration
From
func setAccessibilityValue(_ accessibilityValue: AnyObject!)
To
func setAccessibilityValue(_ accessibilityValue: AnyObject?)

Declaration
From
func setAccessibilityValueDescription(_ accessibilityValueDescription: String!)
To
func setAccessibilityValueDescription(_ accessibilityValueDescription: String?)

Declaration
From
func setAccessibilityVerticalScrollBar(_ accessibilityVerticalScrollBar: AnyObject!)
To
func setAccessibilityVerticalScrollBar(_ accessibilityVerticalScrollBar: AnyObject?)

Declaration
From
func setAccessibilityVerticalUnitDescription(_ accessibilityVerticalUnitDescription: String!)
To
func setAccessibilityVerticalUnitDescription(_ accessibilityVerticalUnitDescription: String?)

Declaration
From
func setAccessibilityVisibleCells(_ accessibilityVisibleCells: [AnyObject]!)
To
func setAccessibilityVisibleCells(_ accessibilityVisibleCells: [AnyObject]?)

Declaration
From
func setAccessibilityVisibleChildren(_ accessibilityVisibleChildren: [AnyObject]!)
To
func setAccessibilityVisibleChildren(_ accessibilityVisibleChildren: [AnyObject]?)

Declaration
From
func setAccessibilityVisibleColumns(_ accessibilityVisibleColumns: [AnyObject]!)
To
func setAccessibilityVisibleColumns(_ accessibilityVisibleColumns: [AnyObject]?)

Declaration
From
func setAccessibilityVisibleRows(_ accessibilityVisibleRows: [AnyObject]!)
To
func setAccessibilityVisibleRows(_ accessibilityVisibleRows: [AnyObject]?)

Declaration
From
func setAccessibilityWarningValue(_ accessibilityWarningValue: AnyObject!)
To
func setAccessibilityWarningValue(_ accessibilityWarningValue: AnyObject?)

Declaration
From
func setAccessibilityWindow(_ accessibilityWindow: AnyObject!)
To
func setAccessibilityWindow(_ accessibilityWindow: AnyObject?)

Declaration
From
func setAccessibilityWindows(_ accessibilityWindows: [AnyObject]!)
To
func setAccessibilityWindows(_ accessibilityWindows: [AnyObject]?)

Declaration
From
func setAccessibilityZoomButton(_ accessibilityZoomButton: AnyObject!)
To
func setAccessibilityZoomButton(_ accessibilityZoomButton: AnyObject?)

Declaration
From
class NSAccessibilityElement : NSObject, NSAccessibility, NSObjectProtocol {
    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)
}
To
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)
}

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
protocol NSAccessibilityTable : NSAccessibilityGroup, NSAccessibilityElementProtocol, NSObjectProtocol {
    func accessibilityLabel() -> String?
    func accessibilityRows() -> [AnyObject]?
    optional func accessibilitySelectedRows() -> [AnyObject]?
    optional func setAccessibilitySelectedRows(_ selectedRows: [AnyObject])
    optional func accessibilityVisibleRows() -> [AnyObject]?
    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, NSAccessibilityElementProtocol, NSObjectProtocol {
    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]?
}

Declaration
From
func accessibilityRows() -> [AnyObject]?
To
func accessibilityRows() -> [NSAccessibilityRow]?

Declaration
From
optional func accessibilitySelectedRows() -> [AnyObject]?
To
optional func accessibilitySelectedRows() -> [NSAccessibilityRow]?

Declaration
From
optional func accessibilityVisibleRows() -> [AnyObject]?
To
optional func accessibilityVisibleRows() -> [NSAccessibilityRow]?

Declaration
From
optional func setAccessibilitySelectedRows(_ selectedRows: [AnyObject])
To
optional func setAccessibilitySelectedRows(_ selectedRows: [NSAccessibilityRow])

Raw Value Type
From--
ToInt

Modified NSAlert
Declaration
From
class NSAlert : NSObject {
    init(error error: NSError) -> NSAlert
    class func alertWithError(_ error: NSError) -> NSAlert
    var messageText: String?
    var informativeText: String?
    var icon: NSImage!
    func addButtonWithTitle(_ title: String) -> NSButton
    var buttons: [AnyObject] { 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: AnyObject { get }
}
To
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 }
}

Declaration
From
var buttons: [AnyObject] { get }
To
var buttons: [NSButton] { get }

Declaration
From
var informativeText: String?
To
var informativeText: String

Declaration
From
init(error error: NSError) -> NSAlert
To
init(error error: NSError)

Declaration
From
var messageText: String?
To
var messageText: String

Declaration
From
var window: AnyObject { get }
To
var window: NSWindow { get }

Raw Value Type
From--
ToUInt

Declaration
From
protocol NSAnimatablePropertyContainer {
    func animator() -> Self
    func animations() -> [NSObject : AnyObject]
    func setAnimations(_ animations: [NSObject : AnyObject]!)
    func animationForKey(_ key: String) -> AnyObject?
    static func defaultAnimationForKey(_ key: String!) -> AnyObject!
}
To
protocol NSAnimatablePropertyContainer {
    func animator() -> Self
    var animations: [String : AnyObject] { get set }
    func animationForKey(_ key: String) -> AnyObject?
    static func defaultAnimationForKey(_ key: String) -> AnyObject?
}

Declaration
From
static func defaultAnimationForKey(_ key: String!) -> AnyObject!
To
static func defaultAnimationForKey(_ key: String) -> AnyObject?

Modified NSAnimation
Declaration
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: [AnyObject]
    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: [AnyObject]? { get }
}
To
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 }
}

Declaration
From
var progressMarks: [AnyObject]
To
var progressMarks: [NSNumber]

Declaration
From
var runLoopModesForAnimating: [AnyObject]? { get }
To
var runLoopModesForAnimating: [String]? { get }

Raw Value Type
From--
ToUInt

Declaration
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) -> 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
}

Declaration
From
class func runAnimationGroup(_ changes: (NSAnimationContext!) -> Void, completionHandler completionHandler: (() -> Void)?)
To
class func runAnimationGroup(_ changes: (NSAnimationContext) -> Void, completionHandler completionHandler: (() -> Void)?)

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSAppearance
Declaration
From
class NSAppearance : NSObject, NSCoding {
    var name: String { get }
    class func currentAppearance() -> NSAppearance
    class func setCurrentAppearance(_ appearance: NSAppearance?)
    init?(named name: String) -> NSAppearance
    class func appearanceNamed(_ name: String) -> NSAppearance?
    init?(appearanceNamed name: String, bundle bundle: NSBundle?)
    var allowsVibrancy: Bool { get }
}
To
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 }
}

Declaration
From
init?(named name: String) -> NSAppearance
To
init?(named name: String)

Modified NSApplication
Declaration
From
class NSApplication : NSResponder, NSUserInterfaceValidations, NSAccessibilityElementProtocol, NSObjectProtocol, 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: [AnyObject] { 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: [AnyObject], returnTypes returnTypes: [AnyObject])
}
extension NSApplication {
    var servicesProvider: AnyObject?
}
extension NSApplication {
    func orderFrontStandardAboutPanel(_ sender: AnyObject?)
    func orderFrontStandardAboutPanelWithOptions(_ optionsDictionary: [NSObject : 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: [AnyObject]!)
    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: [AnyObject] { get }
    var orderedWindows: [AnyObject] { 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()
}
To
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()
}

Declaration
From
var orderedDocuments: [AnyObject] { get }
To
var orderedDocuments: [NSDocument] { get }

Declaration
From
var orderedWindows: [AnyObject] { get }
To
var orderedWindows: [NSWindow] { get }

Declaration
From
func orderFrontStandardAboutPanelWithOptions(_ optionsDictionary: [NSObject : AnyObject])
To
func orderFrontStandardAboutPanelWithOptions(_ optionsDictionary: [String : AnyObject])

Declaration
From
func registerServicesMenuSendTypes(_ sendTypes: [AnyObject], returnTypes returnTypes: [AnyObject])
To
func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String])

Declaration
From
func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow!, NSError!) -> Void) -> Bool
To
func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void) -> Bool

Declaration
From
var windows: [AnyObject] { get }
To
var windows: [NSWindow] { get }

DeclarationProtocols
From
struct NSApplicationActivationOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var ActivateAllWindows: NSApplicationActivationOptions { get }
    static var ActivateIgnoringOtherApps: NSApplicationActivationOptions { get }
}
RawOptionSetType
To
struct NSApplicationActivationOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var ActivateAllWindows: NSApplicationActivationOptions { get }
    static var ActivateIgnoringOtherApps: NSApplicationActivationOptions { get }
}
OptionSetType

Raw Value Type
From--
ToInt

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: [AnyObject])
    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: [AnyObject], withSettings printSettings: [NSObject : 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: [NSObject : 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: 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)
}

Declaration
From
optional func application(_ application: NSApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]!) -> Void) -> Bool
To
optional func application(_ application: NSApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]) -> Void) -> Bool

Declaration
From
optional func application(_ application: NSApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject])
To
optional func application(_ application: NSApplication, didReceiveRemoteNotification userInfo: [String : AnyObject])

Declaration
From
optional func application(_ sender: NSApplication, openFiles filenames: [AnyObject])
To
optional func application(_ sender: NSApplication, openFiles filenames: [String])

Declaration
From
optional func application(_ application: NSApplication, printFiles fileNames: [AnyObject], withSettings printSettings: [NSObject : AnyObject], showPrintPanels showPrintPanels: Bool) -> NSApplicationPrintReply
To
optional func application(_ application: NSApplication, printFiles fileNames: [String], withSettings printSettings: [String : AnyObject], showPrintPanels showPrintPanels: Bool) -> NSApplicationPrintReply

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSApplicationOcclusionState : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var Visible: NSApplicationOcclusionState { get }
}
RawOptionSetType
To
struct NSApplicationOcclusionState : OptionSetType {
    init(rawValue rawValue: UInt)
    static var Visible: NSApplicationOcclusionState { get }
}
OptionSetType

DeclarationProtocols
From
struct NSApplicationPresentationOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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 }
}
OptionSetType

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Declaration
From
class NSArrayController : NSObjectController {
    func rearrangeObjects()
    var automaticallyRearrangesObjects: Bool
    var automaticRearrangementKeyPaths: [AnyObject]? { get }
    func didChangeArrangementCriteria()
    var sortDescriptors: [AnyObject]!
    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 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])
}

Declaration
From
var automaticRearrangementKeyPaths: [AnyObject]? { get }
To
var automaticRearrangementKeyPaths: [String]? { get }

Declaration
From
func setSelectionIndexes(_ indexes: NSIndexSet!) -> Bool
To
func setSelectionIndexes(_ indexes: NSIndexSet) -> Bool

Declaration
From
var sortDescriptors: [AnyObject]!
To
var sortDescriptors: [NSSortDescriptor]

DeclarationIntroduction
From
func dataFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject], error error: NSErrorPointer) -> NSData?
OS X 10.10
To
func dataFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSData
OS X 10.0

Declaration
From
func docFormatFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject]?) -> NSData?
To
func docFormatFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData?

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

DeclarationIntroduction
From
func fileWrapperFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject], error error: NSErrorPointer) -> NSFileWrapper?
OS X 10.10
To
func fileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSFileWrapper
OS X 10.0

Declaration
From
func fontAttributesInRange(_ range: NSRange) -> [NSObject : AnyObject]
To
func fontAttributesInRange(_ range: NSRange) -> [String : AnyObject]

DeclarationIntroduction
From
init(attachment attachment: NSTextAttachment) -> NSAttributedString
OS X 10.10
To
init(attachment attachment: NSTextAttachment)
OS X 10.0

DeclarationIntroduction
From
init?(data data: NSData, options options: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer)
OS X 10.10
To
init(data data: NSData, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws
OS X 10.0

Declaration
From
init?(HTML data: NSData, options options: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
To
init?(HTML data: NSData, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

DeclarationIntroduction
From
init?(URL url: NSURL, options options: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer)
OS X 10.10
To
init(URL url: NSURL, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws
OS X 10.11

Declaration
From
func RTFDFileWrapperFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject]?) -> NSFileWrapper?
To
func RTFDFileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSFileWrapper?

Declaration
From
func RTFDFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject]?) -> NSData?
To
func RTFDFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData?

Declaration
From
func RTFFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject]?) -> NSData?
To
func RTFFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData?

Declaration
From
func rulerAttributesInRange(_ range: NSRange) -> [NSObject : AnyObject]?
To
func rulerAttributesInRange(_ range: NSRange) -> [String : AnyObject]

Declaration
From
class func textTypes() -> [AnyObject]
To
class func textTypes() -> [String]

Declaration
From
class func textUnfilteredTypes() -> [AnyObject]
To
class func textUnfilteredTypes() -> [String]

Deprecation
From--
ToOS X 10.11

DeclarationProtocols
From
struct NSAutoresizingMaskOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

DeclarationRaw Value Type
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
}
--
To
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 }
}
UInt

Modified NSBezierPath
Declaration
From
class NSBezierPath : NSObject, NSCopying, NSCoding {
    init!() -> NSBezierPath
    class func bezierPath() -> NSBezierPath!
    init(rect rect: NSRect) -> NSBezierPath
    class func bezierPathWithRect(_ rect: NSRect) -> NSBezierPath
    init(ovalInRect rect: NSRect) -> NSBezierPath
    class func bezierPathWithOvalInRect(_ rect: NSRect) -> NSBezierPath
    init(roundedRect rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) -> NSBezierPath
    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)
}
To
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)
}

Declaration
From
init(ovalInRect rect: NSRect) -> NSBezierPath
To
init(ovalInRect rect: NSRect)

Declaration
From
init(rect rect: NSRect) -> NSBezierPath
To
init(rect rect: NSRect)

Declaration
From
init(roundedRect rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat) -> NSBezierPath
To
init(roundedRect rect: NSRect, xRadius xRadius: CGFloat, yRadius yRadius: CGFloat)

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSBitmapFormat : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToUInt

Declaration
From
class NSBitmapImageRep : NSImageRep, NSSecureCoding, NSCoding {
    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) -> [AnyObject]
    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: [AnyObject]) -> NSData?
    class func TIFFRepresentationOfImageRepsInArray(_ array: [AnyObject], 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: [AnyObject], usingType storageType: NSBitmapImageFileType, properties properties: [NSObject : AnyObject]) -> NSData?
    func representationUsingType(_ storageType: NSBitmapImageFileType, properties properties: [NSObject : 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 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?
}

Declaration
From
class func imageRepsWithData(_ data: NSData) -> [AnyObject]
To
class func imageRepsWithData(_ data: NSData) -> [NSImageRep]

Declaration
From
class func representationOfImageRepsInArray(_ imageReps: [AnyObject], usingType storageType: NSBitmapImageFileType, properties properties: [NSObject : AnyObject]) -> NSData?
To
class func representationOfImageRepsInArray(_ imageReps: [NSImageRep], usingType storageType: NSBitmapImageFileType, properties properties: [String : AnyObject]) -> NSData?

Declaration
From
func representationUsingType(_ storageType: NSBitmapImageFileType, properties properties: [NSObject : AnyObject]) -> NSData?
To
func representationUsingType(_ storageType: NSBitmapImageFileType, properties properties: [String : AnyObject]) -> NSData?

Declaration
From
class func TIFFRepresentationOfImageRepsInArray(_ array: [AnyObject]) -> NSData?
To
class func TIFFRepresentationOfImageRepsInArray(_ array: [NSImageRep]) -> NSData?

Declaration
From
class func TIFFRepresentationOfImageRepsInArray(_ array: [AnyObject], usingCompression comp: NSTIFFCompression, factor factor: Float) -> NSData?
To
class func TIFFRepresentationOfImageRepsInArray(_ array: [NSImageRep], usingCompression comp: NSTIFFCompression, factor factor: Float) -> NSData?

Raw Value Type
From--
ToUInt

Modified NSBox
Declaration
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: AnyObject?
    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: 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!)
}

Declaration
From
unowned(unsafe) var contentView: AnyObject?
To
unowned(unsafe) var contentView: NSView?

Raw Value Type
From--
ToUInt

Modified NSBrowser
Declaration
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: [AnyObject]? { get }
    func selectRow(_ row: Int, inColumn column: Int)
    func selectedRowInColumn(_ column: Int) -> Int
    @NSCopying var selectionIndexPath: NSIndexPath
    var selectionIndexPaths: [AnyObject]
    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?)
    var sendAction: Bool { get }
    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() -> 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?
}

Declaration
From
func selectedCell() -> AnyObject!
To
func selectedCell() -> AnyObject?

Declaration
From
var selectedCells: [AnyObject]? { get }
To
var selectedCells: [NSCell]? { get }

Declaration
From
var selectionIndexPaths: [AnyObject]
To
var selectionIndexPaths: [NSIndexPath]

Modified NSBrowserCell
Declaration
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 {
    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?
}

Declaration
From
class func branchImage() -> NSImage
To
class func branchImage() -> NSImage?

Declaration
From
class func highlightedBranchImage() -> NSImage!
To
class func highlightedBranchImage() -> NSImage?

Declaration
From
var image: NSImage!
To
var image: NSImage?

Raw Value Type
From--
ToUInt

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) -> [AnyObject]
    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, 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
}

Declaration
From
optional func browser(_ browser: NSBrowser, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int) -> [AnyObject]
To
optional func browser(_ browser: NSBrowser, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes rowIndexes: NSIndexSet, inColumn column: Int) -> [String]

Raw Value Type
From--
ToUInt

Declaration
From
func loadNibNamed(_ nibName: String, owner owner: AnyObject!, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool
To
func loadNibNamed(_ nibName: String, owner owner: AnyObject?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool

Modified NSButton
Declaration
From
class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSAccessibilityElementProtocol, NSObjectProtocol {
    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!)
}
To
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!)
}

DeclarationRaw Value Type
From
enum NSButtonType : UInt {
    case MomentaryLightButton
    case PushOnPushOffButton
    case ToggleButton
    case SwitchButton
    case RadioButton
    case MomentaryChangeButton
    case OnOffButton
    case MomentaryPushInButton
    case AcceleratorButton
    case MultiLevelAcceleratorButton
}
--
To
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 }
}
UInt

Modified NSCell
Declaration
From
class NSCell : NSObject, NSCopying, NSCoding, NSUserInterfaceItemIdentification, NSAccessibilityElementProtocol, NSObjectProtocol, 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: AnyObject?
    @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) -> [AnyObject]
}
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!)
}
To
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)
}

Declaration
From
func draggingImageComponentsWithFrame(_ frame: NSRect, inView view: NSView) -> [AnyObject]
To
func draggingImageComponentsWithFrame(_ frame: NSRect, inView view: NSView) -> [NSDraggingImageComponent]

Declaration
From
var formatter: AnyObject?
To
var formatter: NSFormatter?

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSCellHitResult : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var None: NSCellHitResult { get }
    static var ContentArea: NSCellHitResult { get }
    static var EditableTextArea: NSCellHitResult { get }
    static var TrackableArea: NSCellHitResult { get }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSCellStyleMask : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

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 imageRepWithCIImage(_ image: CIImage) -> Self
    init(CIImage image: CIImage)
    var CIImage: CIImage { get }
}

Declaration
From
class NSClickGestureRecognizer : NSGestureRecognizer, NSCoding {
    var buttonMask: Int
    var numberOfClicksRequired: Int
}
To
class NSClickGestureRecognizer : NSGestureRecognizer {
    var buttonMask: Int
    var numberOfClicksRequired: Int
}

Declaration
From
class NSCollectionView : NSView, NSDraggingSource, NSObjectProtocol, NSDraggingDestination {
    unowned(unsafe) var delegate: NSCollectionViewDelegate?
    var firstResponder: Bool { get }
    var content: [AnyObject]!
    var selectable: Bool
    var allowsMultipleSelection: Bool
    @NSCopying var selectionIndexes: NSIndexSet!
    func newItemForRepresentedObject(_ object: AnyObject!) -> NSCollectionViewItem!
    var itemPrototype: NSCollectionViewItem!
    var maxNumberOfRows: Int
    var maxNumberOfColumns: Int
    var minItemSize: NSSize
    var maxItemSize: NSSize
    var backgroundColors: [AnyObject]!
    func itemAtIndex(_ index: Int) -> NSCollectionViewItem!
    func frameForItemAtIndex(_ index: Int) -> NSRect
    func frameForItemAtIndex(_ index: Int, withNumberOfItems numberOfItems: Int) -> NSRect
    func setDraggingSourceOperationMask(_ dragOperationMask: NSDragOperation, forLocal localDestination: Bool)
    func draggingImageForItemsAtIndexes(_ indexes: NSIndexSet!, withEvent event: NSEvent!, offset dragImageOffset: NSPointPointer) -> NSImage!
}
To
class NSCollectionView : NSView, NSDraggingSource {
    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
}

Declaration
From
var backgroundColors: [AnyObject]!
To
var backgroundColors: [NSColor]!

Declaration
From
var content: [AnyObject]!
To
var content: [AnyObject]

Declaration
From
func draggingImageForItemsAtIndexes(_ indexes: NSIndexSet!, withEvent event: NSEvent!, offset dragImageOffset: NSPointPointer) -> NSImage!
To
func draggingImageForItemsAtIndexes(_ indexes: NSIndexSet, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage

Declaration
From
func itemAtIndex(_ index: Int) -> NSCollectionViewItem!
To
func itemAtIndex(_ index: Int) -> NSCollectionViewItem?

Declaration
From
var itemPrototype: NSCollectionViewItem!
To
var itemPrototype: NSCollectionViewItem?

Declaration
From
func newItemForRepresentedObject(_ object: AnyObject!) -> NSCollectionViewItem!
To
func newItemForRepresentedObject(_ object: AnyObject) -> NSCollectionViewItem

Declaration
From
@NSCopying var selectionIndexes: NSIndexSet!
To
@NSCopying var selectionIndexes: NSIndexSet

Declaration
From
protocol NSCollectionViewDelegate : NSObjectProtocol {
    optional func collectionView(_ collectionView: NSCollectionView, canDragItemsAtIndexes indexes: NSIndexSet, withEvent event: NSEvent) -> Bool
    optional func collectionView(_ collectionView: NSCollectionView, writeItemsAtIndexes indexes: NSIndexSet, toPasteboard pasteboard: NSPasteboard) -> Bool
    optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: NSURL!, forDraggedItemsAtIndexes indexes: NSIndexSet!) -> [AnyObject]!
    optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAtIndexes indexes: NSIndexSet!, withEvent event: NSEvent!, offset dragImageOffset: NSPointPointer) -> NSImage!
    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, index index: Int, dropOperation dropOperation: NSCollectionViewDropOperation) -> Bool
    optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAtIndex index: Int) -> NSPasteboardWriting!
    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)
}
To
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
}

Declaration
From
optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAtIndexes indexes: NSIndexSet!, withEvent event: NSEvent!, offset dragImageOffset: NSPointPointer) -> NSImage!
To
optional func collectionView(_ collectionView: NSCollectionView, draggingImageForItemsAtIndexes indexes: NSIndexSet, withEvent event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage

Introduction
FromOS X 10.10
ToOS X 10.7

DeclarationIntroduction
From
optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession!, willBeginAtPoint screenPoint: NSPoint, forItemsAtIndexes indexes: NSIndexSet!)
OS X 10.10
To
optional func collectionView(_ collectionView: NSCollectionView, draggingSession session: NSDraggingSession, willBeginAtPoint screenPoint: NSPoint, forItemsAtIndexes indexes: NSIndexSet)
OS X 10.7

Declaration
From
optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: NSURL!, forDraggedItemsAtIndexes indexes: NSIndexSet!) -> [AnyObject]!
To
optional func collectionView(_ collectionView: NSCollectionView, namesOfPromisedFilesDroppedAtDestination dropURL: NSURL, forDraggedItemsAtIndexes indexes: NSIndexSet) -> [String]

DeclarationIntroduction
From
optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAtIndex index: Int) -> NSPasteboardWriting!
OS X 10.10
To
optional func collectionView(_ collectionView: NSCollectionView, pasteboardWriterForItemAtIndex index: Int) -> NSPasteboardWriting?
OS X 10.5

Introduction
FromOS X 10.10
ToOS X 10.5

Raw Value Type
From--
ToInt

DeclarationProtocols
From
class NSCollectionViewItem : NSViewController, NSCopying {
    var collectionView: NSCollectionView! { get }
    var selected: Bool
    @IBOutlet unowned(unsafe) var imageView: NSImageView!
    @IBOutlet unowned(unsafe) var textField: NSTextField!
    var draggingImageComponents: [AnyObject] { get }
}
AnyObject, NSCopying
To
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 }
}
AnyObject, NSCollectionViewElement, NSCopying, NSObjectProtocol, NSUserInterfaceItemIdentification

Declaration
From
var collectionView: NSCollectionView! { get }
To
var collectionView: NSCollectionView { get }

Declaration
From
var draggingImageComponents: [AnyObject] { get }
To
var draggingImageComponents: [NSDraggingImageComponent] { get }

Declaration
From
@IBOutlet unowned(unsafe) var imageView: NSImageView!
To
@IBOutlet unowned(unsafe) var imageView: NSImageView?

Declaration
From
@IBOutlet unowned(unsafe) var textField: NSTextField!
To
@IBOutlet unowned(unsafe) var textField: NSTextField?

Modified NSColor
Declaration
From
class NSColor : NSObject, NSCopying, NSSecureCoding, NSCoding, NSPasteboardReading, NSObjectProtocol, NSPasteboardWriting {
    init()
    init?(coder coder: NSCoder)
    init(calibratedWhite white: CGFloat, alpha alpha: CGFloat) -> NSColor
    class func colorWithCalibratedWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor
    init(calibratedHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor
    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) -> NSColor
    class func colorWithCalibratedRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
    init(deviceWhite white: CGFloat, alpha alpha: CGFloat) -> NSColor
    class func colorWithDeviceWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor
    init(deviceHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor
    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) -> NSColor
    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) -> NSColor
    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) -> NSColor
    class func colorWithCatalogName(_ listName: String, colorName colorName: String) -> NSColor?
    init(colorSpace space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) -> NSColor
    class func colorWithColorSpace(_ space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) -> NSColor
    init(genericGamma22White white: CGFloat, alpha alpha: CGFloat) -> NSColor
    class func colorWithGenericGamma22White(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor
    init(SRGBRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
    class func colorWithSRGBRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
    init(white white: CGFloat, alpha alpha: CGFloat) -> NSColor
    class func colorWithWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor
    init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
    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) -> NSColor
    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() -> [AnyObject]
    func highlightWithLevel(_ val: CGFloat) -> NSColor?
    func shadowWithLevel(_ val: CGFloat) -> NSColor?
    init(forControlTint controlTint: NSControlTint) -> NSColor
    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: [NSObject : 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) -> NSColor
    class func colorFromPasteboard(_ pasteBoard: NSPasteboard) -> NSColor?
    func writeToPasteboard(_ pasteBoard: NSPasteboard)
    init(patternImage image: NSImage) -> NSColor
    class func colorWithPatternImage(_ image: NSImage) -> NSColor
    var patternImage: NSImage { get }
    func drawSwatchInRect(_ rect: NSRect)
    init?(CGColor cgColor: CGColor) -> NSColor
    class func colorWithCGColor(_ cgColor: CGColor) -> NSColor?
    var CGColor: CGColor { get }
    class func setIgnoresAlpha(_ flag: Bool)
    class func ignoresAlpha() -> Bool
}
extension NSColor {
    init(CIColor color: CIColor) -> NSColor
    class func colorWithCIColor(_ color: CIColor) -> NSColor
}
To
class NSColor : NSObject, NSCopying, NSSecureCoding, NSCoding, 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 {
     init(CIColor color: CIColor)
    class func colorWithCIColor(_ color: CIColor) -> NSColor
}

Declaration
From
func colorUsingColorSpaceName(_ colorSpace: String?, device deviceDescription: [NSObject : AnyObject]?) -> NSColor?
To
func colorUsingColorSpaceName(_ colorSpace: String?, device deviceDescription: [String : AnyObject]?) -> NSColor?

Declaration
From
class func controlAlternatingRowBackgroundColors() -> [AnyObject]
To
class func controlAlternatingRowBackgroundColors() -> [NSColor]

Declaration
From
init(calibratedHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(calibratedHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(calibratedRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(calibratedRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(calibratedWhite white: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(calibratedWhite white: CGFloat, alpha alpha: CGFloat)

Declaration
From
init?(catalogName listName: String, colorName colorName: String) -> NSColor
To
init?(catalogName listName: String, colorName colorName: String)

Declaration
From
init?(CGColor cgColor: CGColor) -> NSColor
To
init?(CGColor cgColor: CGColor)

Declaration
From
init(CIColor color: CIColor) -> NSColor
To
init(CIColor color: CIColor)

Declaration
From
init(colorSpace space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) -> NSColor
To
init(colorSpace space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int)

Declaration
From
init(deviceCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(deviceCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(deviceHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(deviceHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(deviceRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(deviceRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(deviceWhite white: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(deviceWhite white: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(forControlTint controlTint: NSControlTint) -> NSColor
To
init(forControlTint controlTint: NSControlTint)

Declaration
From
init?(fromPasteboard pasteBoard: NSPasteboard) -> NSColor
To
init?(fromPasteboard pasteBoard: NSPasteboard)

Declaration
From
init(genericGamma22White white: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(genericGamma22White white: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(patternImage image: NSImage) -> NSColor
To
init(patternImage image: NSImage)

Declaration
From
init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(SRGBRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(SRGBRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat)

Declaration
From
init(white white: CGFloat, alpha alpha: CGFloat) -> NSColor
To
init(white white: CGFloat, alpha alpha: CGFloat)

Modified NSColorList
DeclarationProtocols
From
class NSColorList : NSObject, NSCoding {
    class func availableColorLists() -> [AnyObject]
    init?(named name: String) -> NSColorList
    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: [AnyObject] { get }
    var editable: Bool { get }
    func writeToFile(_ path: String?) -> Bool
    func removeFile()
}
AnyObject, NSCoding
To
class NSColorList : NSObject, NSSecureCoding, NSCoding {
    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()
}
AnyObject, NSCoding, NSSecureCoding

Declaration
From
var allKeys: [AnyObject] { get }
To
var allKeys: [String] { get }

Declaration
From
class func availableColorLists() -> [AnyObject]
To
class func availableColorLists() -> [NSColorList]

Declaration
From
init?(named name: String) -> NSColorList
To
init?(named name: String)

Raw Value Type
From--
ToInt

DeclarationProtocols
From
struct NSColorPanelOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToInt

Modified NSColorSpace
Declaration
From
class NSColorSpace : NSObject, NSSecureCoding, NSCoding {
    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) -> [AnyObject]
}
To
class NSColorSpace : NSObject, NSSecureCoding, NSCoding {
    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]
}

Declaration
From
class func availableColorSpacesWithModel(_ model: NSColorSpaceModel) -> [AnyObject]
To
class func availableColorSpacesWithModel(_ model: NSColorSpaceModel) -> [NSColorSpace]

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Modified NSControl
Declaration
From
class NSControl : NSView {
    weak var target: AnyObject?
    var action: Selector
    var tag: Int
    var ignoresMultiClick: Bool
    var continuous: Bool
    var enabled: Bool
    var highlighted: Bool
    var controlSize: NSControlSize
    var formatter: AnyObject?
    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?)
    func setRefusesFirstResponder(_ flag: Bool)
    func refusesFirstResponder() -> Bool
}
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?
    func cell() -> AnyObject?
    func setCell(_ aCell: NSCell?)
    func selectedCell() -> AnyObject?
    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 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)
}

Declaration
From
var formatter: AnyObject?
To
var formatter: NSFormatter?

Declaration
From
func selectedCell() -> AnyObject?
To
func selectedCell() -> NSCell?

Modified NSController
Declaration
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 }
}
To
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 }
}

Declaration
From
func objectDidBeginEditing(_ editor: AnyObject!)
To
func objectDidBeginEditing(_ editor: AnyObject)

Declaration
From
func objectDidEndEditing(_ editor: AnyObject!)
To
func objectDidEndEditing(_ editor: AnyObject)

Raw Value Type
From--
ToUInt

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: [AnyObject], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [AnyObject]
}
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: 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]
}

Declaration
From
optional func control(_ control: NSControl, textView textView: NSTextView, completions words: [AnyObject], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [AnyObject]
To
optional func control(_ control: NSControl, textView textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Modified NSCursor
DeclarationProtocols
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 {
    func getMirror() -> MirrorType
}
extension NSCursor : Reflectable {
    func getMirror() -> MirrorType
}
AnyObject, NSCoding, Reflectable
To
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 {
}
AnyObject, NSCoding

DeclarationProtocols
From
struct NSDatePickerElementFlags : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Declaration
From
class NSDictionaryController : NSArrayController {
    func newObject() -> AnyObject
    var initialKey: String
    var initialValue: AnyObject
    var includedKeys: [AnyObject]
    var excludedKeys: [AnyObject]
    var localizedKeyDictionary: [NSObject : AnyObject]
    var localizedKeyTable: String?
}
To
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?
}

Declaration
From
var excludedKeys: [AnyObject]
To
var excludedKeys: [String]

Declaration
From
var includedKeys: [AnyObject]
To
var includedKeys: [String]

Declaration
From
var localizedKeyDictionary: [NSObject : AnyObject]
To
var localizedKeyDictionary: [String : String]

Declaration
From
func newObject() -> AnyObject
To
func newObject() -> NSDictionaryControllerKeyValuePair

Declaration
From
protocol NSDockTilePlugIn : NSObjectProtocol {
    func setDockTile(_ dockTile: NSDockTile!)
    optional func dockMenu() -> NSMenu!
}
To
protocol NSDockTilePlugIn : NSObjectProtocol {
    func setDockTile(_ dockTile: NSDockTile?)
    optional func dockMenu() -> NSMenu?
}

Declaration
From
optional func dockMenu() -> NSMenu!
To
optional func dockMenu() -> NSMenu?

DeclarationIntroduction
From
func setDockTile(_ dockTile: NSDockTile!)
OS X 10.10
To
func setDockTile(_ dockTile: NSDockTile?)
OS X 10.5

Modified NSDocument
Declaration
From
class NSDocument : NSObject, NSFilePresenter, NSObjectProtocol, NSUserInterfaceValidations {
    init()
    convenience init?(type typeName: String, error outError: NSErrorPointer)
    class func canConcurrentlyReadDocumentsOfType(_ typeName: String) -> Bool
    convenience init?(contentsOfURL url: NSURL, ofType typeName: String, error outError: NSErrorPointer)
    convenience init?(forURL urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String, error outError: NSErrorPointer)
    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, error outError: NSErrorPointer) -> Bool
    func readFromURL(_ url: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> Bool
    func readFromFileWrapper(_ fileWrapper: NSFileWrapper, ofType typeName: String, error outError: NSErrorPointer) -> Bool
    func readFromData(_ data: NSData, ofType typeName: String, error outError: NSErrorPointer) -> Bool
    var entireFileLoaded: Bool { get }
    func writeToURL(_ url: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> Bool
    func fileWrapperOfType(_ typeName: String, error outError: NSErrorPointer) -> NSFileWrapper?
    func dataOfType(_ typeName: String, error outError: NSErrorPointer) -> NSData?
    func unblockUserInteraction()
    var autosavingIsImplicitlyCancellable: Bool { get }
    func writeSafelyToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, error outError: NSErrorPointer) -> Bool
    func writeToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?, error outError: NSErrorPointer) -> Bool
    func fileAttributesToWriteToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?, error outError: NSErrorPointer) -> [NSObject : 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 checkAutosavingSafetyAndReturnError(_ outError: NSErrorPointer) -> Bool
    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 duplicateAndReturnError(_ outError: NSErrorPointer) -> 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: [NSObject : AnyObject], showPrintPanel showPrintPanel: Bool, delegate delegate: AnyObject?, didPrintSelector didPrintSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>)
    func printOperationWithSettings(_ printSettings: [NSObject : AnyObject], error outError: NSErrorPointer) -> 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: [AnyObject] { 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() -> [AnyObject]
    class func writableTypes() -> [AnyObject]
    class func isNativeType(_ type: String) -> Bool
    func writableTypesForSaveOperation(_ saveOperation: NSSaveOperationType) -> [AnyObject]
    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, error outError: NSErrorPointer) -> Bool
    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() -> [AnyObject]
}
To
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]
}

Declaration
From
func autosaveWithImplicitCancellability(_ autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: (NSError!) -> Void)
To
func autosaveWithImplicitCancellability(_ autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: (NSError?) -> Void)

Declaration
From
func checkAutosavingSafetyAndReturnError(_ outError: NSErrorPointer) -> Bool
To
func checkAutosavingSafety() throws

Declaration
From
func dataOfType(_ typeName: String, error outError: NSErrorPointer) -> NSData?
To
func dataOfType(_ typeName: String) throws -> NSData

Declaration
From
func duplicateAndReturnError(_ outError: NSErrorPointer) -> NSDocument?
To
func duplicate() throws -> NSDocument

Declaration
From
func fileAttributesToWriteToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?, error outError: NSErrorPointer) -> [NSObject : AnyObject]?
To
func fileAttributesToWriteToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws -> [String : AnyObject]

Declaration
From
func fileWrapperOfType(_ typeName: String, error outError: NSErrorPointer) -> NSFileWrapper?
To
func fileWrapperOfType(_ typeName: String) throws -> NSFileWrapper

Declaration
From
convenience init?(contentsOfURL url: NSURL, ofType typeName: String, error outError: NSErrorPointer)
To
convenience init(contentsOfURL url: NSURL, ofType typeName: String) throws

Declaration
From
convenience init?(forURL urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String, error outError: NSErrorPointer)
To
convenience init(forURL urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String) throws

Declaration
From
convenience init?(type typeName: String, error outError: NSErrorPointer)
To
convenience init(type typeName: String) throws

Declaration
From
func lockWithCompletionHandler(_ completionHandler: ((NSError!) -> Void)?)
To
func lockWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?)

Declaration
From
func moveToURL(_ url: NSURL, completionHandler completionHandler: ((NSError!) -> Void)?)
To
func moveToURL(_ url: NSURL, completionHandler completionHandler: ((NSError?) -> Void)?)

Declaration
From
func performActivityWithSynchronousWaiting(_ waitSynchronously: Bool, usingBlock block: ((() -> Void)!) -> Void)
To
func performActivityWithSynchronousWaiting(_ waitSynchronously: Bool, usingBlock block: (() -> Void) -> Void)

Declaration
From
func performAsynchronousFileAccessUsingBlock(_ block: ((() -> Void)!) -> Void)
To
func performAsynchronousFileAccessUsingBlock(_ block: (() -> Void) -> Void)

Declaration
From
func printDocumentWithSettings(_ printSettings: [NSObject : AnyObject], showPrintPanel showPrintPanel: Bool, delegate delegate: AnyObject?, didPrintSelector didPrintSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>)
To
func printDocumentWithSettings(_ printSettings: [String : AnyObject], showPrintPanel showPrintPanel: Bool, delegate delegate: AnyObject?, didPrintSelector didPrintSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>)

Declaration
From
func printOperationWithSettings(_ printSettings: [NSObject : AnyObject], error outError: NSErrorPointer) -> NSPrintOperation?
To
func printOperationWithSettings(_ printSettings: [String : AnyObject]) throws -> NSPrintOperation

Declaration
From
class func readableTypes() -> [AnyObject]
To
class func readableTypes() -> [String]

Declaration
From
func readFromData(_ data: NSData, ofType typeName: String, error outError: NSErrorPointer) -> Bool
To
func readFromData(_ data: NSData, ofType typeName: String) throws

Declaration
From
func readFromFileWrapper(_ fileWrapper: NSFileWrapper, ofType typeName: String, error outError: NSErrorPointer) -> Bool
To
func readFromFileWrapper(_ fileWrapper: NSFileWrapper, ofType typeName: String) throws

Declaration
From
func readFromURL(_ url: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> Bool
To
func readFromURL(_ url: NSURL, ofType typeName: String) throws

Declaration
From
class func restorableStateKeyPaths() -> [AnyObject]
To
class func restorableStateKeyPaths() -> [String]

Declaration
From
func restoreDocumentWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow!, NSError!) -> Void)
To
func restoreDocumentWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void)

Declaration
From
func revertToContentsOfURL(_ url: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> Bool
To
func revertToContentsOfURL(_ url: NSURL, ofType typeName: String) throws

Declaration
From
func saveToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, completionHandler completionHandler: (NSError!) -> Void)
To
func saveToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, completionHandler completionHandler: (NSError?) -> Void)

Declaration
From
func unlockWithCompletionHandler(_ completionHandler: ((NSError!) -> Void)?)
To
func unlockWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?)

Declaration
From
var windowControllers: [AnyObject] { get }
To
var windowControllers: [NSWindowController] { get }

Declaration
From
class func writableTypes() -> [AnyObject]
To
class func writableTypes() -> [String]

Declaration
From
func writableTypesForSaveOperation(_ saveOperation: NSSaveOperationType) -> [AnyObject]
To
func writableTypesForSaveOperation(_ saveOperation: NSSaveOperationType) -> [String]

Declaration
From
func writeSafelyToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, error outError: NSErrorPointer) -> Bool
To
func writeSafelyToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType) throws

Declaration
From
func writeToURL(_ url: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> Bool
To
func writeToURL(_ url: NSURL, ofType typeName: String) throws

Declaration
From
func writeToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?, error outError: NSErrorPointer) -> Bool
To
func writeToURL(_ url: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws

Raw Value Type
From--
ToUInt

Declaration
From
class NSDocumentController : NSObject, NSCoding, NSUserInterfaceValidations {
    class func sharedDocumentController() -> AnyObject
    init()
    init?(coder coder: NSCoder)
    var documents: [AnyObject] { get }
    var currentDocument: AnyObject? { get }
    var currentDirectory: String? { get }
    func documentForURL(_ url: NSURL) -> AnyObject?
    func documentForWindow(_ window: NSWindow) -> AnyObject?
    func addDocument(_ document: NSDocument)
    func removeDocument(_ document: NSDocument)
    @IBAction func newDocument(_ sender: AnyObject?)
    func openUntitledDocumentAndDisplay(_ displayDocument: Bool, error outError: NSErrorPointer) -> AnyObject?
    func makeUntitledDocumentOfType(_ typeName: String, error outError: NSErrorPointer) -> AnyObject?
    @IBAction func openDocument(_ sender: AnyObject?)
    var URLsFromRunningOpenPanel: [AnyObject]? { get }
    func runModalOpenPanel(_ openPanel: NSOpenPanel, forTypes types: [AnyObject]) -> Int
    func beginOpenPanelWithCompletionHandler(_ completionHandler: ([AnyObject]!) -> Void)
    func beginOpenPanel(_ openPanel: NSOpenPanel, forTypes inTypes: [AnyObject], completionHandler completionHandler: (Int) -> Void)
    func openDocumentWithContentsOfURL(_ url: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument!, Bool, NSError!) -> Void)
    func makeDocumentWithContentsOfURL(_ url: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> AnyObject?
    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, error outError: NSErrorPointer) -> AnyObject?
    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?, error outError: NSErrorPointer) -> 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: [AnyObject] { get }
    func defaultType() -> String?
    func typeForContentsOfURL(_ url: NSURL, error outError: NSErrorPointer) -> String?
    var documentClassNames: [AnyObject] { 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, error outError: NSErrorPointer) -> AnyObject?
    func reopenDocumentForURL(_ url: NSURL!, withContentsOfURL contentsURL: NSURL!, error outError: NSErrorPointer) -> Bool
    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, NSObjectProtocol {
}
To
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 {
}

Declaration
From
func beginOpenPanel(_ openPanel: NSOpenPanel, forTypes inTypes: [AnyObject], completionHandler completionHandler: (Int) -> Void)
To
func beginOpenPanel(_ openPanel: NSOpenPanel, forTypes inTypes: [String]?, completionHandler completionHandler: (Int) -> Void)

Declaration
From
func beginOpenPanelWithCompletionHandler(_ completionHandler: ([AnyObject]!) -> Void)
To
func beginOpenPanelWithCompletionHandler(_ completionHandler: ([NSURL]?) -> Void)

Declaration
From
var currentDocument: AnyObject? { get }
To
var currentDocument: NSDocument? { get }

Declaration
From
var documentClassNames: [AnyObject] { get }
To
var documentClassNames: [String] { get }

Declaration
From
func documentForURL(_ url: NSURL) -> AnyObject?
To
func documentForURL(_ url: NSURL) -> NSDocument?

Declaration
From
func documentForWindow(_ window: NSWindow) -> AnyObject?
To
func documentForWindow(_ window: NSWindow) -> NSDocument?

Declaration
From
var documents: [AnyObject] { get }
To
var documents: [NSDocument] { get }

Declaration
From
func duplicateDocumentWithContentsOfURL(_ url: NSURL, copying duplicateByCopying: Bool, displayName displayNameOrNil: String?, error outError: NSErrorPointer) -> NSDocument?
To
func duplicateDocumentWithContentsOfURL(_ url: NSURL, copying duplicateByCopying: Bool, displayName displayNameOrNil: String?) throws -> NSDocument

Declaration
From
func makeDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> AnyObject?
To
func makeDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, ofType typeName: String) throws -> NSDocument

Declaration
From
func makeDocumentWithContentsOfURL(_ url: NSURL, ofType typeName: String, error outError: NSErrorPointer) -> AnyObject?
To
func makeDocumentWithContentsOfURL(_ url: NSURL, ofType typeName: String) throws -> NSDocument

Declaration
From
func makeUntitledDocumentOfType(_ typeName: String, error outError: NSErrorPointer) -> AnyObject?
To
func makeUntitledDocumentOfType(_ typeName: String) throws -> NSDocument

Declaration
From
func openDocumentWithContentsOfURL(_ url: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument!, Bool, NSError!) -> Void)
To
func openDocumentWithContentsOfURL(_ url: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument?, Bool, NSError?) -> Void)

Declaration
From
func openUntitledDocumentAndDisplay(_ displayDocument: Bool, error outError: NSErrorPointer) -> AnyObject?
To
func openUntitledDocumentAndDisplay(_ displayDocument: Bool) throws -> NSDocument

Declaration
From
var recentDocumentURLs: [AnyObject] { get }
To
var recentDocumentURLs: [NSURL] { get }

Declaration
From
func reopenDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument!, Bool, NSError!) -> Void)
To
func reopenDocumentForURL(_ urlOrNil: NSURL?, withContentsOfURL contentsURL: NSURL, display displayDocument: Bool, completionHandler completionHandler: (NSDocument?, Bool, NSError?) -> Void)

Declaration
From
func runModalOpenPanel(_ openPanel: NSOpenPanel, forTypes types: [AnyObject]) -> Int
To
func runModalOpenPanel(_ openPanel: NSOpenPanel, forTypes types: [String]?) -> Int

Declaration
From
class func sharedDocumentController() -> AnyObject
To
class func sharedDocumentController() -> NSDocumentController

Declaration
From
func typeForContentsOfURL(_ url: NSURL, error outError: NSErrorPointer) -> String?
To
func typeForContentsOfURL(_ url: NSURL) throws -> String

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Declaration
From
class NSDraggingImageComponent : NSObject {
    init!(key key: String!) -> NSDraggingImageComponent
    class func draggingImageComponentWithKey(_ key: String!) -> NSDraggingImageComponent!
    init!(key key: String!)
    var contents: AnyObject!
    var frame: NSRect
    func key() -> String!
    func setKey(_ key: String!)
}
To
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
}

Declaration
From
var contents: AnyObject!
To
var contents: AnyObject?

Declaration
From
init!(key key: String!)
To
init(key key: String)

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) -> [AnyObject]!
    var draggingFormation: NSDraggingFormation { get set }
    var animatesToDestination: Bool { get set }
    var numberOfValidItemsForDrop: Int { get set }
    func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView, classes classArray: [AnyObject], searchOptions searchOptions: [NSObject : AnyObject], usingBlock block: (NSDraggingItem!, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
}
To
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()
}

Declaration
From
func draggingDestinationWindow() -> NSWindow!
To
func draggingDestinationWindow() -> NSWindow?

Declaration
From
func draggingPasteboard() -> NSPasteboard!
To
func draggingPasteboard() -> NSPasteboard

Declaration
From
func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView, classes classArray: [AnyObject], searchOptions searchOptions: [NSObject : AnyObject], usingBlock block: (NSDraggingItem!, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
To
func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView, classes classArray: [AnyClass], searchOptions searchOptions: [String : AnyObject], usingBlock block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Void)

Declaration
From
func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [AnyObject]!
To
func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [String]?

Declaration
From
class NSDraggingItem : NSObject {
    init(pasteboardWriter pasteboardWriter: NSPasteboardWriting)
    var item: AnyObject! { get }
    var draggingFrame: NSRect
    var imageComponentsProvider: (() -> [AnyObject]!)?
    func setDraggingFrame(_ frame: NSRect, contents contents: AnyObject)
    var imageComponents: [AnyObject]! { get }
}
To
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 }
}

Declaration
From
var imageComponents: [AnyObject]! { get }
To
var imageComponents: [NSDraggingImageComponent]? { get }

Declaration
From
var imageComponentsProvider: (() -> [AnyObject]!)?
To
var imageComponentsProvider: (() -> [NSDraggingImageComponent])?

Declaration
From
var item: AnyObject! { get }
To
var item: AnyObject { get }

DeclarationProtocols
From
struct NSDraggingItemEnumerationOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var Concurrent: NSDraggingItemEnumerationOptions { get }
    static var ClearNonenumeratedImages: NSDraggingItemEnumerationOptions { get }
}
RawOptionSetType
To
struct NSDraggingItemEnumerationOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var Concurrent: NSDraggingItemEnumerationOptions { get }
    static var ClearNonenumeratedImages: NSDraggingItemEnumerationOptions { get }
}
OptionSetType

Declaration
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: [AnyObject]!, searchOptions searchOptions: [NSObject : 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 enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView?, classes classArray: [AnyClass], searchOptions searchOptions: [String : AnyObject], usingBlock block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
}

Declaration
From
var draggingPasteboard: NSPasteboard! { get }
To
var draggingPasteboard: NSPasteboard { get }

Declaration
From
func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView!, classes classArray: [AnyObject]!, searchOptions searchOptions: [NSObject : AnyObject]!, usingBlock block: ((NSDraggingItem!, Int, UnsafeMutablePointer<ObjCBool>) -> Void)!)
To
func enumerateDraggingItemsWithOptions(_ enumOpts: NSDraggingItemEnumerationOptions, forView view: NSView?, classes classArray: [AnyClass], searchOptions searchOptions: [String : AnyObject], usingBlock block: (NSDraggingItem, Int, UnsafeMutablePointer<ObjCBool>) -> Void)

Introduction
FromOS X 10.10
ToOS X 10.7

Introduction
FromOS X 10.10
ToOS X 10.7

Introduction
FromOS X 10.10
ToOS X 10.7

Introduction
FromOS X 10.10
ToOS X 10.7

Introduction
FromOS X 10.10
ToOS X 10.7

DeclarationProtocols
From
struct NSDragOperation : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Modified NSDrawer
Declaration
From
class NSDrawer : NSResponder, NSAccessibilityElementProtocol, NSObjectProtocol, 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
}
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 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
}

Raw Value Type
From--
ToUInt

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: NSData)
    class func imageRepWithData(_ epsData: NSData) -> Self?
    init?(data epsData: NSData)
    func prepareGState()
    @NSCopying var EPSRepresentation: NSData { get }
    var boundingBox: NSRect { get }
}

Modified NSEvent
Declaration
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>) -> NSEvent
    class func eventWithEventRef(_ eventRef: UnsafePointer<Void>) -> NSEvent?
    var CGEvent: CGEvent? { get }
    init?(CGEvent cgEvent: CGEvent) -> NSEvent
    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<NSObject>
    var phase: NSEventPhase { get }
    var stage: Int { get }
    var stageTransition: CGFloat { get }
    var associatedEventsMask: NSEventMask { 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
}
To
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
}

Declaration
From
class func addGlobalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent!) -> Void) -> AnyObject?
To
class func addGlobalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent) -> Void) -> AnyObject?

Declaration
From
class func addLocalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent!) -> NSEvent!) -> AnyObject?
To
class func addLocalMonitorForEventsMatchingMask(_ mask: NSEventMask, handler block: (NSEvent) -> NSEvent?) -> AnyObject?

Declaration
From
init?(CGEvent cgEvent: CGEvent) -> NSEvent
To
init?(CGEvent cgEvent: CGEvent)

Declaration
From
init?(eventRef eventRef: UnsafePointer<Void>) -> NSEvent
To
init?(eventRef eventRef: UnsafePointer<Void>)

Declaration
From
func touchesMatchingPhase(_ phase: NSTouchPhase, inView view: NSView?) -> Set<NSObject>
To
func touchesMatchingPhase(_ phase: NSTouchPhase, inView view: NSView?) -> Set<NSTouch>

DeclarationProtocols
From
struct NSEventButtonMask : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var PenTipMask: NSEventButtonMask { get }
    static var PenLowerSideMask: NSEventButtonMask { get }
    static var PenUpperSideMask: NSEventButtonMask { get }
}
RawOptionSetType
To
struct NSEventButtonMask : OptionSetType {
    init(rawValue rawValue: UInt)
    static var PenTipMask: NSEventButtonMask { get }
    static var PenLowerSideMask: NSEventButtonMask { get }
    static var PenUpperSideMask: NSEventButtonMask { get }
}
OptionSetType

Raw Value Type
From--
ToInt

DeclarationProtocols
From
struct NSEventMask : RawOptionSetType {
    init(_ rawValue: UInt64)
    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 }
}
RawOptionSetType
To
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

DeclarationProtocols
From
struct NSEventModifierFlags : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

DeclarationProtocols
From
struct NSEventPhase : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

DeclarationRaw Value Type
From
enum NSEventSubtype : Int16 {
    case NSWindowExposedEventType
    case NSApplicationActivatedEventType
    case NSApplicationDeactivatedEventType
    case NSWindowMovedEventType
    case NSScreenChangedEventType
    case NSAWTEventType
    case NSTouchEventSubtype
}
--
To
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
}
Int16

DeclarationProtocols
From
struct NSEventSwipeTrackingOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var LockDirection: NSEventSwipeTrackingOptions { get }
    static var ClampGestureAmount: NSEventSwipeTrackingOptions { get }
}
RawOptionSetType
To
struct NSEventSwipeTrackingOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var LockDirection: NSEventSwipeTrackingOptions { get }
    static var ClampGestureAmount: NSEventSwipeTrackingOptions { get }
}
OptionSetType

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSFont
Declaration
From
class NSFont : NSObject, NSCopying, NSSecureCoding, NSCoding {
    init?(name fontName: String, size fontSize: CGFloat) -> NSFont
    class func fontWithName(_ fontName: String, size fontSize: CGFloat) -> NSFont?
    init?(name fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>) -> NSFont
    class func fontWithName(_ fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>) -> NSFont?
    init?(descriptor fontDescriptor: NSFontDescriptor, size fontSize: CGFloat) -> NSFont
    class func fontWithDescriptor(_ fontDescriptor: NSFontDescriptor, size fontSize: CGFloat) -> NSFont?
    init?(descriptor fontDescriptor: NSFontDescriptor, textTransform textTransform: NSAffineTransform?) -> NSFont
    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 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 }
}
To
class NSFont : NSObject, NSCopying, NSSecureCoding, NSCoding {
     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 }
}

Declaration
From
init?(descriptor fontDescriptor: NSFontDescriptor, size fontSize: CGFloat) -> NSFont
To
init?(descriptor fontDescriptor: NSFontDescriptor, size fontSize: CGFloat)

Declaration
From
init?(descriptor fontDescriptor: NSFontDescriptor, textTransform textTransform: NSAffineTransform?) -> NSFont
To
init?(descriptor fontDescriptor: NSFontDescriptor, textTransform textTransform: NSAffineTransform?)

Declaration
From
init?(name fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>) -> NSFont
To
init?(name fontName: String, matrix fontMatrix: UnsafePointer<CGFloat>)

Declaration
From
init?(name fontName: String, size fontSize: CGFloat) -> NSFont
To
init?(name fontName: String, size fontSize: CGFloat)

Raw Value Type
From--
ToUInt

Declaration
From
class NSFontCollection : NSObject, NSCopying, NSMutableCopying, NSCoding {
    init(descriptors queryDescriptors: [AnyObject]) -> NSFontCollection
    class func fontCollectionWithDescriptors(_ queryDescriptors: [AnyObject]) -> NSFontCollection
    class func fontCollectionWithAllAvailableDescriptors() -> NSFontCollection
    init?(locale locale: NSLocale) -> NSFontCollection
    class func fontCollectionWithLocale(_ locale: NSLocale) -> NSFontCollection?
    class func showFontCollection(_ collection: NSFontCollection, withName name: String, visibility visibility: NSFontCollectionVisibility, error error: NSErrorPointer) -> Bool
    class func hideFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility, error error: NSErrorPointer) -> Bool
    class func renameFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility, toName name: String, error error: NSErrorPointer) -> Bool
    class func allFontCollectionNames() -> [AnyObject]
    init?(name name: String) -> NSFontCollection
    class func fontCollectionWithName(_ name: String) -> NSFontCollection?
    init?(name name: String, visibility visibility: NSFontCollectionVisibility) -> NSFontCollection
    class func fontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility) -> NSFontCollection?
    var queryDescriptors: [AnyObject]? { get }
    var exclusionDescriptors: [AnyObject]? { get }
    var matchingDescriptors: [AnyObject]? { get }
    func matchingDescriptorsWithOptions(_ options: [NSObject : AnyObject]?) -> [AnyObject]?
    func matchingDescriptorsForFamily(_ family: String) -> [AnyObject]?
    func matchingDescriptorsForFamily(_ family: String, options options: [NSObject : AnyObject]?) -> [AnyObject]?
}
To
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]?
}

Declaration
From
class func allFontCollectionNames() -> [AnyObject]
To
class func allFontCollectionNames() -> [String]

Declaration
From
var exclusionDescriptors: [AnyObject]? { get }
To
var exclusionDescriptors: [NSFontDescriptor]? { get }

Declaration
From
class func hideFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility, error error: NSErrorPointer) -> Bool
To
class func hideFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility) throws

Declaration
From
init(descriptors queryDescriptors: [AnyObject]) -> NSFontCollection
To
init(descriptors queryDescriptors: [NSFontDescriptor])

Declaration
From
init?(locale locale: NSLocale) -> NSFontCollection
To
init?(locale locale: NSLocale)

Declaration
From
init?(name name: String) -> NSFontCollection
To
init?(name name: String)

Declaration
From
init?(name name: String, visibility visibility: NSFontCollectionVisibility) -> NSFontCollection
To
init?(name name: String, visibility visibility: NSFontCollectionVisibility)

Declaration
From
var matchingDescriptors: [AnyObject]? { get }
To
var matchingDescriptors: [NSFontDescriptor]? { get }

Declaration
From
func matchingDescriptorsForFamily(_ family: String) -> [AnyObject]?
To
func matchingDescriptorsForFamily(_ family: String) -> [NSFontDescriptor]?

Declaration
From
func matchingDescriptorsForFamily(_ family: String, options options: [NSObject : AnyObject]?) -> [AnyObject]?
To
func matchingDescriptorsForFamily(_ family: String, options options: [String : NSNumber]?) -> [NSFontDescriptor]?

Declaration
From
func matchingDescriptorsWithOptions(_ options: [NSObject : AnyObject]?) -> [AnyObject]?
To
func matchingDescriptorsWithOptions(_ options: [String : NSNumber]?) -> [NSFontDescriptor]?

Declaration
From
var queryDescriptors: [AnyObject]? { get }
To
var queryDescriptors: [NSFontDescriptor]? { get }

Declaration
From
class func renameFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility, toName name: String, error error: NSErrorPointer) -> Bool
To
class func renameFontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility, toName name: String) throws

Declaration
From
class func showFontCollection(_ collection: NSFontCollection, withName name: String, visibility visibility: NSFontCollectionVisibility, error error: NSErrorPointer) -> Bool
To
class func showFontCollection(_ collection: NSFontCollection, withName name: String, visibility visibility: NSFontCollectionVisibility) throws

DeclarationProtocols
From
struct NSFontCollectionOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var ApplicationOnlyMask: NSFontCollectionOptions { get }
}
RawOptionSetType
To
struct NSFontCollectionOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var ApplicationOnlyMask: NSFontCollectionOptions { get }
}
OptionSetType

DeclarationProtocols
From
struct NSFontCollectionVisibility : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var Process: NSFontCollectionVisibility { get }
    static var User: NSFontCollectionVisibility { get }
    static var Computer: NSFontCollectionVisibility { get }
}
RawOptionSetType
To
struct NSFontCollectionVisibility : OptionSetType {
    init(rawValue rawValue: UInt)
    static var Process: NSFontCollectionVisibility { get }
    static var User: NSFontCollectionVisibility { get }
    static var Computer: NSFontCollectionVisibility { get }
}
OptionSetType

Declaration
From
class NSFontDescriptor : NSObject, NSCopying, NSSecureCoding, NSCoding {
    var postscriptName: String? { get }
    var pointSize: CGFloat { get }
    @NSCopying var matrix: NSAffineTransform? { get }
    var symbolicTraits: NSFontSymbolicTraits { get }
    func objectForKey(_ anAttribute: String) -> AnyObject?
    var fontAttributes: [NSObject : AnyObject] { get }
    init(fontAttributes attributes: [NSObject : AnyObject]?) -> NSFontDescriptor
    class func fontDescriptorWithFontAttributes(_ attributes: [NSObject : AnyObject]?) -> NSFontDescriptor
    init(name fontName: String, size size: CGFloat) -> NSFontDescriptor
    class func fontDescriptorWithName(_ fontName: String, size size: CGFloat) -> NSFontDescriptor
    init(name fontName: String, matrix matrix: NSAffineTransform) -> NSFontDescriptor
    class func fontDescriptorWithName(_ fontName: String, matrix matrix: NSAffineTransform) -> NSFontDescriptor
    init(fontAttributes attributes: [NSObject : AnyObject]?)
    func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<NSObject>?) -> [AnyObject]
    func matchingFontDescriptorWithMandatoryKeys(_ mandatoryKeys: Set<NSObject>?) -> NSFontDescriptor?
    func fontDescriptorByAddingAttributes(_ attributes: [NSObject : 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
}
To
class NSFontDescriptor : NSObject, NSCopying, NSSecureCoding, NSCoding {
    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
}

Declaration
From
var fontAttributes: [NSObject : AnyObject] { get }
To
var fontAttributes: [String : AnyObject] { get }

Declaration
From
func fontDescriptorByAddingAttributes(_ attributes: [NSObject : AnyObject]) -> NSFontDescriptor
To
func fontDescriptorByAddingAttributes(_ attributes: [String : AnyObject]) -> NSFontDescriptor

Declaration
From
init(fontAttributes attributes: [NSObject : AnyObject]?)
To
init(fontAttributes attributes: [String : AnyObject]?)

Declaration
From
init(name fontName: String, matrix matrix: NSAffineTransform) -> NSFontDescriptor
To
init(name fontName: String, matrix matrix: NSAffineTransform)

Declaration
From
init(name fontName: String, size size: CGFloat) -> NSFontDescriptor
To
init(name fontName: String, size size: CGFloat)

Declaration
From
func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<NSObject>?) -> [AnyObject]
To
func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> [NSFontDescriptor]

Declaration
From
func matchingFontDescriptorWithMandatoryKeys(_ mandatoryKeys: Set<NSObject>?) -> NSFontDescriptor?
To
func matchingFontDescriptorWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> NSFontDescriptor?

Modified NSFontManager
Declaration
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: [AnyObject] { get }
    var availableFontFamilies: [AnyObject] { 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
    var sendAction: Bool { get }
    unowned(unsafe) var delegate: AnyObject?
    func localizedNameForFamily(_ family: String, face faceKey: String?) -> String
    func setSelectedAttributes(_ attributes: [NSObject : AnyObject], isMultiple flag: Bool)
    func convertAttributes(_ attributes: [NSObject : AnyObject]) -> [NSObject : 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) -> [AnyObject]?
    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: 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?)
}

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
var availableFontFamilies: [AnyObject] { get }
To
var availableFontFamilies: [String] { get }

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func availableFontNamesWithTraits(_ someTraits: NSFontTraitMask) -> [AnyObject]?
To
func availableFontNamesWithTraits(_ someTraits: NSFontTraitMask) -> [String]?

Declaration
From
var availableFonts: [AnyObject] { get }
To
var availableFonts: [String] { get }

Declaration
From
func availableMembersOfFontFamily(_ fam: String) -> [AnyObject]?
To
func availableMembersOfFontFamily(_ fam: String) -> [[AnyObject]]?

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func convertAttributes(_ attributes: [NSObject : AnyObject]) -> [NSObject : AnyObject]
To
func convertAttributes(_ attributes: [String : AnyObject]) -> [String : AnyObject]

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func setSelectedAttributes(_ attributes: [NSObject : AnyObject], isMultiple flag: Bool)
To
func setSelectedAttributes(_ attributes: [String : AnyObject], isMultiple flag: Bool)

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSFontTraitMask : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Declaration
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 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!)
}
To
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)
}

Declaration
From
func pressureChangeWithEvent(_ event: NSEvent!)
To
func pressureChangeWithEvent(_ event: NSEvent)

Declaration
From
protocol NSGestureRecognizerDelegate : NSObjectProtocol {
    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, 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
}

DeclarationRaw Value Type
From
enum NSGestureRecognizerState : Int {
    case Possible
    case Began
    case Changed
    case Ended
    case Cancelled
    case Failed
}
--
To
enum NSGestureRecognizerState : Int {
    case Possible
    case Began
    case Changed
    case Ended
    case Cancelled
    case Failed
    static var Recognized: NSGestureRecognizerState { get }
}
Int

Modified NSGlyphInfo
Declaration
From
class NSGlyphInfo : NSObject, NSCopying, NSSecureCoding, NSCoding {
    init?(glyphName glyphName: String, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo
    class func glyphInfoWithGlyphName(_ glyphName: String, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo?
    init?(glyph glyph: NSGlyph, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo
    class func glyphInfoWithGlyph(_ glyph: NSGlyph, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo?
    init?(characterIdentifier cid: Int, collection characterCollection: NSCharacterCollection, baseString theString: String) -> NSGlyphInfo
    class func glyphInfoWithCharacterIdentifier(_ cid: Int, collection characterCollection: NSCharacterCollection, baseString theString: String) -> NSGlyphInfo?
    var glyphName: String? { get }
    var characterIdentifier: Int { get }
    var characterCollection: NSCharacterCollection { get }
}
To
class NSGlyphInfo : NSObject, NSCopying, NSSecureCoding, NSCoding {
     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 }
}

Declaration
From
init?(characterIdentifier cid: Int, collection characterCollection: NSCharacterCollection, baseString theString: String) -> NSGlyphInfo
To
init?(characterIdentifier cid: Int, collection characterCollection: NSCharacterCollection, baseString theString: String)

Declaration
From
init?(glyph glyph: NSGlyph, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo
To
init?(glyph glyph: NSGlyph, forFont font: NSFont, baseString theString: String)

Declaration
From
init?(glyphName glyphName: String, forFont font: NSFont, baseString theString: String) -> NSGlyphInfo
To
init?(glyphName glyphName: String, forFont font: NSFont, baseString theString: String)

IntroductionDeprecationRaw Value Type
FromOS X 10.10----
ToOS X 10.0OS X 10.11UInt

Introduction
FromOS X 10.10
ToOS X 10.0

Modified NSGradient
Declaration
From
class NSGradient : NSObject, NSCopying, NSCoding {
    convenience init(startingColor startingColor: NSColor, endingColor endingColor: NSColor)
    convenience init!(colors colorArray: [AnyObject])
    init(colors colorArray: [AnyObject], 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)...)
}
To
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)...)
}

Declaration
From
convenience init!(colors colorArray: [AnyObject])
To
convenience init?(colors colorArray: [NSColor])

Declaration
From
init(colors colorArray: [AnyObject], atLocations locations: UnsafePointer<CGFloat>, colorSpace colorSpace: NSColorSpace)
To
init?(colors colorArray: [NSColor], atLocations locations: UnsafePointer<CGFloat>, colorSpace colorSpace: NSColorSpace)

Modified NSGradient.init(colorsAndLocations: (NSColor, CGFloat))
DeclarationIntroduction
From
convenience init(colorsAndLocations objects: (NSColor, CGFloat)...)
OS X 10.10
To
convenience init?(colorsAndLocations objects: (NSColor, CGFloat)...)
OS X 10.11

Declaration
From
convenience init(startingColor startingColor: NSColor, endingColor endingColor: NSColor)
To
convenience init?(startingColor startingColor: NSColor, endingColor endingColor: NSColor)

Raw Value Type
From--
ToUInt

Declaration
From
class NSGraphicsContext : NSObject {
    init?(attributes attributes: [NSObject : AnyObject]) -> NSGraphicsContext
    class func graphicsContextWithAttributes(_ attributes: [NSObject : AnyObject]) -> NSGraphicsContext?
    init(window window: NSWindow) -> NSGraphicsContext
    class func graphicsContextWithWindow(_ window: NSWindow) -> NSGraphicsContext
    init?(bitmapImageRep bitmapRep: NSBitmapImageRep) -> NSGraphicsContext
    class func graphicsContextWithBitmapImageRep(_ bitmapRep: NSBitmapImageRep) -> NSGraphicsContext?
    init(CGContext graphicsPort: CGContext, flipped initialFlippedState: Bool) -> NSGraphicsContext
    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: [NSObject : 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) -> NSGraphicsContext
    class func graphicsContextWithGraphicsPort(_ graphicsPort: UnsafeMutablePointer<Void>, flipped initialFlippedState: Bool) -> NSGraphicsContext
    var graphicsPort: UnsafeMutablePointer<Void> { get }
}
To
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 }
}

Declaration
From
var attributes: [NSObject : AnyObject]? { get }
To
var attributes: [String : AnyObject]? { get }

Declaration
From
init?(attributes attributes: [NSObject : AnyObject]) -> NSGraphicsContext
To
init?(attributes attributes: [String : AnyObject])

Declaration
From
init?(bitmapImageRep bitmapRep: NSBitmapImageRep) -> NSGraphicsContext
To
init?(bitmapImageRep bitmapRep: NSBitmapImageRep)

Declaration
From
init(CGContext graphicsPort: CGContext, flipped initialFlippedState: Bool) -> NSGraphicsContext
To
init(CGContext graphicsPort: CGContext, flipped initialFlippedState: Bool)

Declaration
From
init(graphicsPort graphicsPort: UnsafeMutablePointer<Void>, flipped initialFlippedState: Bool) -> NSGraphicsContext
To
init(graphicsPort graphicsPort: UnsafeMutablePointer<Void>, flipped initialFlippedState: Bool)

Declaration
From
init(window window: NSWindow) -> NSGraphicsContext
To
init(window window: NSWindow)

Modified NSImage
Declaration
From
class NSImage : NSObject, NSCopying, NSCoding, NSSecureCoding, NSPasteboardReading, NSObjectProtocol, NSPasteboardWriting {
    init?(named name: String) -> NSImage
    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) -> NSImage
    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: [NSObject : 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: [AnyObject] { get }
    func addRepresentations(_ imageReps: [AnyObject])
    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() -> [AnyObject]
    class func imageUnfilteredPasteboardTypes() -> [AnyObject]
    class func imageFileTypes() -> [AnyObject]
    class func imagePasteboardTypes() -> [AnyObject]
    class func imageTypes() -> [AnyObject]
    class func imageUnfilteredTypes() -> [AnyObject]
    class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool
    func cancelIncrementalLoad()
    var cacheMode: NSImageCacheMode
    var alignmentRect: NSRect
    func isTemplate() -> Bool
    func setTemplate(_ isTemplate: Bool)
    var accessibilityDescription: String?
    init(CGImage cgImage: CGImage, size size: NSSize)
    func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context referenceContext: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?) -> Unmanaged<CGImage>?
    func bestRepresentationForRect(_ rect: NSRect, context referenceContext: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?) -> NSImageRep?
    func hitTestRect(_ testRectDestSpace: NSRect, withImageDestinationRect imageRectDestSpace: NSRect, context context: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?, flipped flipped: Bool) -> Bool
    func recommendedLayerContentsScale(_ preferredContentsScale: CGFloat) -> CGFloat
    func layerContentsForContentsScale(_ layerContentsScale: CGFloat) -> AnyObject
    var capInsets: NSEdgeInsets
    var resizingMode: NSImageResizingMode
}
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
}
To
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 {
    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
}

Declaration
From
func addRepresentations(_ imageReps: [AnyObject])
To
func addRepresentations(_ imageReps: [NSImageRep])

Declaration
From
func bestRepresentationForRect(_ rect: NSRect, context referenceContext: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?) -> NSImageRep?
To
func bestRepresentationForRect(_ rect: NSRect, context referenceContext: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> NSImageRep?

Declaration
From
func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context referenceContext: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?) -> Unmanaged<CGImage>?
To
func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context referenceContext: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> CGImage?

Declaration
From
func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [NSObject : AnyObject]?)
To
func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : AnyObject]?)

Declaration
From
func hitTestRect(_ testRectDestSpace: NSRect, withImageDestinationRect imageRectDestSpace: NSRect, context context: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?, flipped flipped: Bool) -> Bool
To
func hitTestRect(_ testRectDestSpace: NSRect, withImageDestinationRect imageRectDestSpace: NSRect, context context: NSGraphicsContext?, hints hints: [String : AnyObject]?, flipped flipped: Bool) -> Bool

Declaration
From
class func imageFileTypes() -> [AnyObject]
To
class func imageFileTypes() -> [String]

Declaration
From
class func imagePasteboardTypes() -> [AnyObject]
To
class func imagePasteboardTypes() -> [String]

Declaration
From
class func imageTypes() -> [AnyObject]
To
class func imageTypes() -> [String]

Declaration
From
class func imageUnfilteredFileTypes() -> [AnyObject]
To
class func imageUnfilteredFileTypes() -> [String]

Declaration
From
class func imageUnfilteredPasteboardTypes() -> [AnyObject]
To
class func imageUnfilteredPasteboardTypes() -> [String]

Declaration
From
class func imageUnfilteredTypes() -> [AnyObject]
To
class func imageUnfilteredTypes() -> [String]

Declaration
From
init?(named name: String) -> NSImage
To
init?(named name: String)

Declaration
From
init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: (NSRect) -> Bool) -> NSImage
To
init(size size: NSSize, flipped drawingHandlerShouldBeCalledWithFlippedContext: Bool, drawingHandler drawingHandler: (NSRect) -> Bool)

Declaration
From
var representations: [AnyObject] { get }
To
var representations: [NSImageRep] { get }

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSImageCell
Declaration
From
class NSImageCell : NSCell, NSCopying, NSCoding {
    var imageAlignment: NSImageAlignment
    var imageScaling: NSImageScaling
    var imageFrameStyle: NSImageFrameStyle
}
To
class NSImageCell : NSCell {
    var imageAlignment: NSImageAlignment
    var imageScaling: NSImageScaling
    var imageFrameStyle: NSImageFrameStyle
}

Declaration
From
protocol NSImageDelegate : NSObjectProtocol {
    optional func imageDidNotDraw(_ sender: AnyObject!, 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, 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)
}

Declaration
From
optional func image(_ image: NSImage, didLoadRepresentation rep: NSImageRep!, withStatus status: NSImageLoadStatus)
To
optional func image(_ image: NSImage, didLoadRepresentation rep: NSImageRep, withStatus status: NSImageLoadStatus)

Declaration
From
optional func imageDidNotDraw(_ sender: AnyObject!, inRect aRect: NSRect) -> NSImage?
To
optional func imageDidNotDraw(_ sender: NSImage, inRect aRect: NSRect) -> NSImage?

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSImageRep
Declaration
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: [NSObject : 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() -> [AnyObject]
    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() -> [AnyObject]
    class func imageUnfilteredPasteboardTypes() -> [AnyObject]
    class func imageFileTypes() -> [AnyObject]
    class func imagePasteboardTypes() -> [AnyObject]
    class func imageUnfilteredTypes() -> [AnyObject]
    class func imageTypes() -> [AnyObject]
    class func canInitWithPasteboard(_ pasteboard: NSPasteboard) -> Bool
    class func imageRepsWithContentsOfFile(_ filename: String) -> [AnyObject]?
    class func imageRepWithContentsOfFile(_ filename: String) -> AnyObject?
    class func imageRepsWithContentsOfURL(_ url: NSURL) -> [AnyObject]?
    class func imageRepWithContentsOfURL(_ url: NSURL) -> AnyObject?
    class func imageRepsWithPasteboard(_ pasteboard: NSPasteboard) -> [AnyObject]?
    class func imageRepWithPasteboard(_ pasteboard: NSPasteboard) -> AnyObject?
    func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context context: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?) -> Unmanaged<CGImage>?
}
To
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?
}

Declaration
From
func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context context: NSGraphicsContext?, hints hints: [NSObject : AnyObject]?) -> Unmanaged<CGImage>?
To
func CGImageForProposedRect(_ proposedDestRect: UnsafeMutablePointer<NSRect>, context context: NSGraphicsContext?, hints hints: [String : AnyObject]?) -> CGImage?

Declaration
From
func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [NSObject : AnyObject]?) -> Bool
To
func drawInRect(_ dstSpacePortionRect: NSRect, fromRect srcSpacePortionRect: NSRect, operation op: NSCompositingOperation, fraction requestedAlpha: CGFloat, respectFlipped respectContextIsFlipped: Bool, hints hints: [String : AnyObject]?) -> Bool

Declaration
From
class func imageFileTypes() -> [AnyObject]
To
class func imageFileTypes() -> [String]

Declaration
From
class func imagePasteboardTypes() -> [AnyObject]
To
class func imagePasteboardTypes() -> [String]

Declaration
From
class func imageRepsWithContentsOfFile(_ filename: String) -> [AnyObject]?
To
class func imageRepsWithContentsOfFile(_ filename: String) -> [NSImageRep]?

Declaration
From
class func imageRepsWithContentsOfURL(_ url: NSURL) -> [AnyObject]?
To
class func imageRepsWithContentsOfURL(_ url: NSURL) -> [NSImageRep]?

Declaration
From
class func imageRepsWithPasteboard(_ pasteboard: NSPasteboard) -> [AnyObject]?
To
class func imageRepsWithPasteboard(_ pasteboard: NSPasteboard) -> [NSImageRep]?

Declaration
From
class func imageTypes() -> [AnyObject]
To
class func imageTypes() -> [String]

Declaration
From
class func imageUnfilteredFileTypes() -> [AnyObject]
To
class func imageUnfilteredFileTypes() -> [String]

Declaration
From
class func imageUnfilteredPasteboardTypes() -> [AnyObject]
To
class func imageUnfilteredPasteboardTypes() -> [String]

Declaration
From
class func imageUnfilteredTypes() -> [AnyObject]
To
class func imageUnfilteredTypes() -> [String]

NameDeclarationIntroduction
FromimageRepWithContentsOfFile(_:)
class func imageRepWithContentsOfFile(_ filename: String) -> AnyObject?
OS X 10.10
Toinit(contentsOfFile:)
init?(contentsOfFile filename: String)
OS X 10.11

NameDeclarationIntroduction
FromimageRepWithContentsOfURL(_:)
class func imageRepWithContentsOfURL(_ url: NSURL) -> AnyObject?
OS X 10.10
Toinit(contentsOfURL:)
init?(contentsOfURL url: NSURL)
OS X 10.11

NameDeclarationIntroduction
FromimageRepWithPasteboard(_:)
class func imageRepWithPasteboard(_ pasteboard: NSPasteboard) -> AnyObject?
OS X 10.10
Toinit(pasteboard:)
init?(pasteboard pasteboard: NSPasteboard)
OS X 10.11

Declaration
From
class func registeredImageRepClasses() -> [AnyObject]
To
class func registeredImageRepClasses() -> [AnyClass]

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

DeclarationRaw Value Type
From
enum NSImageScaling : UInt {
    case ImageScaleProportionallyDown
    case ImageScaleAxesIndependently
    case ImageScaleNone
    case ImageScaleProportionallyUpOrDown
}
--
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 }
}
UInt

Declaration
From
case ImageScaleAxesIndependently
To
case ScaleAxesIndependently

Declaration
From
case ImageScaleNone
To
case ScaleNone

Declaration
From
case ImageScaleProportionallyDown
To
case ScaleProportionallyDown

Declaration
From
case ImageScaleProportionallyUpOrDown
To
case ScaleProportionallyUpOrDown

Modified NSImageView
Declaration
From
class NSImageView : NSControl, NSAccessibilityImage, NSAccessibilityElementProtocol, NSObjectProtocol {
    var image: NSImage?
    var imageAlignment: NSImageAlignment
    var imageScaling: NSImageScaling
    var imageFrameStyle: NSImageFrameStyle
    var editable: Bool
    var animates: Bool
    var allowsCutCopyPaste: Bool
}
To
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
}

DeclarationRaw Value Type
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
    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 Baseline
    static var LastBaseline: NSLayoutAttribute { get }
    case FirstBaseline
    case NotAnAttribute
}
Int

Declaration
From
class NSLayoutConstraint : NSObject, NSAnimatablePropertyContainer {
    class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [NSObject : AnyObject]?, views views: [NSObject : AnyObject]) -> [AnyObject]
    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: [AnyObject])
    class func deactivateConstraints(_ constraints: [AnyObject])
}
extension NSLayoutConstraint {
    var identifier: String?
}
To
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?
}

Declaration
From
class func activateConstraints(_ constraints: [AnyObject])
To
class func activateConstraints(_ constraints: [NSLayoutConstraint])

Declaration
From
class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [NSObject : AnyObject]?, views views: [NSObject : AnyObject]) -> [AnyObject]
To
class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [String : NSNumber]?, views views: [String : AnyObject]) -> [NSLayoutConstraint]

Declaration
From
class func deactivateConstraints(_ constraints: [AnyObject])
To
class func deactivateConstraints(_ constraints: [NSLayoutConstraint])

Raw Value Type
From--
ToInt

DeclarationProtocols
From
struct NSLayoutFormatOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 AlignmentMask: NSLayoutFormatOptions { get }
    static var DirectionLeadingToTrailing: NSLayoutFormatOptions { get }
    static var DirectionLeftToRight: NSLayoutFormatOptions { get }
    static var DirectionRightToLeft: NSLayoutFormatOptions { get }
    static var DirectionMask: NSLayoutFormatOptions { get }
}
RawOptionSetType
To
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

DeclarationIntroduction
From
extension NSLayoutManager {
    func rulerMarkersForTextView(_ view: NSTextView?, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [AnyObject]
    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 }
    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: [NSObject : AnyObject]?, inContext graphicsContext: NSGraphicsContext?)
    func showPackedGlyphs(_ glyphs: UnsafeMutablePointer<Int8>, length glyphLen: Int, glyphRange glyphRange: NSRange, atPoint point: NSPoint, font font: NSFont!, color color: NSColor!, printingAdjustment printingAdjustment: NSSize)
    func showAttachmentCell(_ cell: NSCell, inRect rect: NSRect, characterIndex attachmentIndex: Int)
    func fillBackgroundRectArray(_ rectArray: NSRectArray, count rectCount: Int, forCharacterRange charRange: NSRange, color color: NSColor)
    func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: Int, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
    func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: Int, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
    func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: Int, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
    func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: Int, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
}
OS X 10.10
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, 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 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 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)
}
OS X 10.0

Declaration
From
func addTemporaryAttributes(_ attrs: [NSObject : AnyObject], forCharacterRange charRange: NSRange)
To
func addTemporaryAttributes(_ attrs: [String : AnyObject], forCharacterRange charRange: NSRange)

Introduction
FromOS X 10.6
ToOS X 10.10

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: Int, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
To
func drawStrikethroughForGlyphRange(_ 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: Int, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
To
func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)

Introduction
FromOS X 10.5
ToOS X 10.10

Introduction
FromOS X 10.5
ToOS X 10.10

Introduction
FromOS X 10.5
ToOS X 10.10

Introduction
FromOS X 10.5
ToOS X 10.10

Introduction
FromOS X 10.5
ToOS X 10.10

Introduction
FromOS X 10.5
ToOS X 10.10

Declaration
From
func fillBackgroundRectArray(_ rectArray: NSRectArray, count rectCount: Int, forCharacterRange charRange: NSRange, color color: NSColor)
To
func fillBackgroundRectArray(_ rectArray: UnsafePointer<NSRect>, count rectCount: Int, forCharacterRange charRange: NSRange, color color: NSColor)

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Introduction
FromOS X 10.5
ToOS X 10.10

Declaration
From
var glyphGenerator: NSGlyphGenerator!
To
var glyphGenerator: NSGlyphGenerator

Introduction
FromOS X 10.5
ToOS X 10.10

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Deprecation
From--
ToOS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func rulerAccessoryViewForTextView(_ view: NSTextView?, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView, enabled isEnabled: Bool) -> NSView?
To
func rulerAccessoryViewForTextView(_ view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView, enabled isEnabled: Bool) -> NSView?

Declaration
From
func rulerMarkersForTextView(_ view: NSTextView?, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [AnyObject]
To
func rulerMarkersForTextView(_ view: NSTextView, paragraphStyle style: NSParagraphStyle, ruler ruler: NSRulerView) -> [NSRulerMarker]

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func setExtraLineFragmentRect(_ fragmentRect: NSRect, usedRect usedRect: NSRect, textContainer container: NSTextContainer?)
To
func setExtraLineFragmentRect(_ fragmentRect: NSRect, usedRect usedRect: NSRect, textContainer container: NSTextContainer)

Deprecation
From--
ToOS X 10.11

Declaration
From
func setTemporaryAttributes(_ attrs: [NSObject : AnyObject]?, forCharacterRange charRange: NSRange)
To
func setTemporaryAttributes(_ attrs: [String : AnyObject], forCharacterRange charRange: NSRange)

Declaration
From
func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<NSPoint>, count glyphCount: Int, font font: NSFont, matrix textMatrix: NSAffineTransform?, attributes attributes: [NSObject : AnyObject]?, inContext graphicsContext: NSGraphicsContext?)
To
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)

Declaration
From
func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: Int, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
To
func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func temporaryAttributesAtCharacterIndex(_ charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [NSObject : AnyObject]
To
func temporaryAttributesAtCharacterIndex(_ charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [String : AnyObject]

Declaration
From
func temporaryAttributesAtCharacterIndex(_ location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> [NSObject : AnyObject]
To
func temporaryAttributesAtCharacterIndex(_ location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> [String : AnyObject]

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
var textContainers: [AnyObject] { get }
To
var textContainers: [NSTextContainer] { get }

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
var typesetter: NSTypesetter!
To
var typesetter: NSTypesetter

Declaration
From
func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: Int, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)
To
func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, lineFragmentRect lineRect: NSRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: NSPoint)

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
protocol NSLayoutManagerDelegate : NSObjectProtocol {
    optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager)
    optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool)
    optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseTemporaryAttributes attrs: [NSObject : AnyObject], forDrawingToScreen toScreen: Bool, atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [NSObject : 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, 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]?
}

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseTemporaryAttributes attrs: [NSObject : AnyObject], forDrawingToScreen toScreen: Bool, atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [NSObject : AnyObject]?
To
optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseTemporaryAttributes attrs: [String : AnyObject], forDrawingToScreen toScreen: Bool, atCharacterIndex charIndex: Int, effectiveRange effectiveCharRange: NSRangePointer) -> [String : AnyObject]?

Introduction
FromOS X 10.10
ToOS X 10.0

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

IntroductionRaw Value Type
FromOS X 10.10--
ToOS X 10.0UInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSMatrix
Declaration
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: AnyObject?
    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: [AnyObject] { get }
    func sortUsingSelector(_ comparator: Selector)
    func sortUsingFunction(_ compare: CFunctionPointer<((AnyObject!, AnyObject!, UnsafeMutablePointer<Void>) -> Int)>, context context: UnsafeMutablePointer<Void>)
    var selectedCells: [AnyObject] { 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) -> AnyObject?
    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: [AnyObject])
    func insertRow(_ row: Int)
    func insertRow(_ row: Int, withCells newCells: [AnyObject])
    func removeRow(_ row: Int)
    func addColumn()
    func addColumnWithCells(_ newCells: [AnyObject])
    func insertColumn(_ column: Int)
    func insertColumn(_ column: Int, withCells newCells: [AnyObject])
    func removeColumn(_ col: Int)
    func cellWithTag(_ anInt: Int) -> AnyObject?
    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) -> AnyObject?
    func acceptsFirstMouse(_ theEvent: NSEvent) -> Bool
    func resetCursorRects()
    func setToolTip(_ toolTipString: String?, forCell cell: NSCell)
    func toolTipForCell(_ cell: NSCell) -> String?
    var autorecalculatesCellSize: Bool
    func selectedCell() -> AnyObject!
}
extension NSMatrix {
    var tabKeyTraversesCells: Bool
    unowned(unsafe) var keyCell: AnyObject?
}
To
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?
}

Declaration
From
func acceptsFirstMouse(_ theEvent: NSEvent) -> Bool
To
func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool

Declaration
From
func addColumnWithCells(_ newCells: [AnyObject])
To
func addColumnWithCells(_ newCells: [NSCell])

Declaration
From
func addRowWithCells(_ newCells: [AnyObject])
To
func addRowWithCells(_ newCells: [NSCell])

Declaration
From
func cellAtRow(_ row: Int, column col: Int) -> AnyObject?
To
func cellAtRow(_ row: Int, column col: Int) -> NSCell?

Declaration
From
var cells: [AnyObject] { get }
To
var cells: [NSCell] { get }

Declaration
From
func cellWithTag(_ anInt: Int) -> AnyObject?
To
func cellWithTag(_ anInt: Int) -> NSCell?

Declaration
From
func insertColumn(_ column: Int, withCells newCells: [AnyObject])
To
func insertColumn(_ column: Int, withCells newCells: [NSCell])

Declaration
From
func insertRow(_ row: Int, withCells newCells: [AnyObject])
To
func insertRow(_ row: Int, withCells newCells: [NSCell])

Declaration
From
unowned(unsafe) var keyCell: AnyObject?
To
unowned(unsafe) var keyCell: NSCell?

Declaration
From
@NSCopying var prototype: AnyObject?
To
@NSCopying var prototype: NSCell?

Declaration
From
func selectedCell() -> AnyObject!
To
func selectedCell() -> NSCell?

Declaration
From
var selectedCells: [AnyObject] { get }
To
var selectedCells: [NSCell] { get }

Declaration
From
func selectTextAtRow(_ row: Int, column col: Int) -> AnyObject?
To
func selectTextAtRow(_ row: Int, column col: Int) -> NSCell?

Declaration
From
func sortUsingFunction(_ compare: CFunctionPointer<((AnyObject!, AnyObject!, UnsafeMutablePointer<Void>) -> Int)>, context context: UnsafeMutablePointer<Void>)
To
func sortUsingFunction(_ compare: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>)

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSMediaLibrary : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var Audio: NSMediaLibrary { get }
    static var Image: NSMediaLibrary { get }
    static var Movie: NSMediaLibrary { get }
}
RawOptionSetType
To
struct NSMediaLibrary : OptionSetType {
    init(rawValue rawValue: UInt)
    static var Audio: NSMediaLibrary { get }
    static var Image: NSMediaLibrary { get }
    static var Movie: NSMediaLibrary { get }
}
OptionSetType

Modified NSMenu
Declaration
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: [AnyObject] { get }
    var numberOfItems: Int { get }
    func itemAtIndex(_ index: Int) -> NSMenuItem?
    func indexOfItem(_ index: 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
    class func menuZone() -> NSZone
    var menuChangedMessagesEnabled: Bool
    func helpRequested(_ eventPtr: NSEvent)
    var tornOff: Bool { get }
}
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 setMenuZone(_ aZone: NSZone)
    func attachedMenu() -> NSMenu!
    func isAttached() -> Bool
    func sizeToFit()
    func locationForSubmenu(_ aSubmenu: NSMenu!) -> NSPoint
}
To
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 }
}

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
var itemArray: [AnyObject] { get }
To
var itemArray: [NSMenuItem] { get }

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

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 { get }
}
To
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
}

Declaration
From
var tag: Int { get }
To
var tag: Int

DeclarationProtocols
From
struct NSMenuProperties : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToUInt

Introduction
FromOS X 10.10
ToOS X 10.0

DeclarationIntroductionDeprecation
From
func readFromData(_ data: NSData, options options: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool
OS X 10.10--
To
func readFromData(_ data: NSData, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool
OS X 10.0OS X 10.11

DeclarationIntroduction
From
func readFromData(_ data: NSData, options opts: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer) -> Bool
OS X 10.10
To
func readFromData(_ data: NSData, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: ()) throws
OS X 10.0

DeclarationIntroductionDeprecation
From
func readFromURL(_ url: NSURL, options options: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool
OS X 10.10--
To
func readFromURL(_ url: NSURL, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool
OS X 10.0OS X 10.11

DeclarationIntroduction
From
func readFromURL(_ url: NSURL, options opts: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer) -> Bool
OS X 10.10
To
func readFromURL(_ url: NSURL, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: ()) throws
OS X 10.11

Declaration
From
class NSMutableFontCollection : NSFontCollection {
    init(descriptors queryDescriptors: [AnyObject]) -> NSMutableFontCollection
    class func fontCollectionWithDescriptors(_ queryDescriptors: [AnyObject]) -> NSMutableFontCollection
    class func fontCollectionWithAllAvailableDescriptors() -> NSMutableFontCollection
    init(locale locale: NSLocale) -> NSMutableFontCollection
    class func fontCollectionWithLocale(_ locale: NSLocale) -> NSMutableFontCollection
    init?(name name: String) -> NSMutableFontCollection
    class func fontCollectionWithName(_ name: String) -> NSMutableFontCollection?
    init?(name name: String, visibility visibility: NSFontCollectionVisibility) -> NSMutableFontCollection
    class func fontCollectionWithName(_ name: String, visibility visibility: NSFontCollectionVisibility) -> NSMutableFontCollection?
    var queryDescriptors: [AnyObject]?
    var exclusionDescriptors: [AnyObject]?
    func addQueryForDescriptors(_ descriptors: [AnyObject])
    func removeQueryForDescriptors(_ descriptors: [AnyObject])
}
To
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])
}

Declaration
From
func addQueryForDescriptors(_ descriptors: [AnyObject])
To
func addQueryForDescriptors(_ descriptors: [NSFontDescriptor])

Declaration
From
var exclusionDescriptors: [AnyObject]?
To
var exclusionDescriptors: [NSFontDescriptor]?

Declaration
From
init(descriptors queryDescriptors: [AnyObject]) -> NSMutableFontCollection
To
init(descriptors queryDescriptors: [NSFontDescriptor])

Declaration
From
init(locale locale: NSLocale) -> NSMutableFontCollection
To
init(locale locale: NSLocale)

Declaration
From
init?(name name: String) -> NSMutableFontCollection
To
init?(name name: String)

Declaration
From
init?(name name: String, visibility visibility: NSFontCollectionVisibility) -> NSMutableFontCollection
To
init?(name name: String, visibility visibility: NSFontCollectionVisibility)

Declaration
From
var queryDescriptors: [AnyObject]?
To
var queryDescriptors: [NSFontDescriptor]?

Declaration
From
func removeQueryForDescriptors(_ descriptors: [AnyObject])
To
func removeQueryForDescriptors(_ descriptors: [NSFontDescriptor])

DeclarationIntroduction
From
class NSMutableParagraphStyle : NSParagraphStyle {
    var lineSpacing: CGFloat
    var paragraphSpacing: CGFloat
    var alignment: NSTextAlignment
    var headIndent: CGFloat
    var tailIndent: CGFloat
    var firstLineHeadIndent: CGFloat
    func addTabStop(_ anObject: NSTextTab)
    func removeTabStop(_ anObject: NSTextTab)
    var tabStops: [AnyObject]?
    var minimumLineHeight: CGFloat
    var maximumLineHeight: CGFloat
    var lineBreakMode: NSLineBreakMode
    func setParagraphStyle(_ obj: NSParagraphStyle)
    var baseWritingDirection: NSWritingDirection
    var lineHeightMultiple: CGFloat
    var paragraphSpacingBefore: CGFloat
    var defaultTabInterval: CGFloat
    var textBlocks: [AnyObject]?
    var textLists: [AnyObject]?
    var hyphenationFactor: Float
    var tighteningFactorForTruncation: Float
    var headerLevel: Int
}
OS X 10.10
To
class NSMutableParagraphStyle : NSParagraphStyle {
    var lineSpacing: CGFloat
    var paragraphSpacing: CGFloat
    var alignment: NSTextAlignment
    var firstLineHeadIndent: CGFloat
    var headIndent: CGFloat
    var tailIndent: CGFloat
    var lineBreakMode: NSLineBreakMode
    var minimumLineHeight: CGFloat
    var maximumLineHeight: CGFloat
    var baseWritingDirection: NSWritingDirection
    var lineHeightMultiple: CGFloat
    var paragraphSpacingBefore: CGFloat
    var hyphenationFactor: Float
    var tabStops: [NSTextTab]!
    var defaultTabInterval: CGFloat
    var allowsDefaultTighteningForTruncation: Bool
    func addTabStop(_ anObject: NSTextTab)
    func removeTabStop(_ anObject: NSTextTab)
    func setParagraphStyle(_ obj: NSParagraphStyle)
    var tighteningFactorForTruncation: Float
    var textBlocks: [NSTextBlock]
    var textLists: [NSTextList]
    var headerLevel: Int
}
OS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

DeclarationIntroduction
From
var tabStops: [AnyObject]?
OS X 10.10
To
var tabStops: [NSTextTab]!
OS X 10.0

Declaration
From
var textBlocks: [AnyObject]?
To
var textBlocks: [NSTextBlock]

Declaration
From
var textLists: [AnyObject]?
To
var textLists: [NSTextList]

Declaration
From
func bind(_ binding: String, toObject observable: AnyObject, withKeyPath keyPath: String, options options: [NSObject : AnyObject]?)
To
func bind(_ binding: String, toObject observable: AnyObject, withKeyPath keyPath: String, options options: [String : AnyObject]?)

Declaration
From
func commitEditingAndReturnError(_ error: NSErrorPointer) -> Bool
To
func commitEditingAndReturnError() throws

Declaration
From
var exposedBindings: [AnyObject] { get }
To
var exposedBindings: [String] { get }

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func infoForBinding(_ binding: String) -> [NSObject : AnyObject]?
To
func infoForBinding(_ binding: String) -> [String : AnyObject]?

Declaration
From
func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [AnyObject]?
To
func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [String]?

Declaration
From
func optionDescriptionsForBinding(_ aBinding: String) -> [AnyObject]
To
func optionDescriptionsForBinding(_ aBinding: String) -> [NSAttributeDescription]

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, error error: NSErrorPointer) -> Bool
    func fetch(_ sender: AnyObject?)
    var usesLazyFetching: Bool
    func defaultFetchRequest() -> NSFetchRequest
}
To
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
}

Declaration
From
func fetchWithRequest(_ fetchRequest: NSFetchRequest?, merge merge: Bool, error error: NSErrorPointer) -> Bool
To
func fetchWithRequest(_ fetchRequest: NSFetchRequest?, merge merge: Bool) throws

Declaration
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)
}
To
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)
}

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, shareContext share: NSOpenGLContext?)

Declaration
From
var pixelFormat: NSOpenGLPixelFormat! { get }
To
var pixelFormat: NSOpenGLPixelFormat { get }

Declaration
From
unowned(unsafe) var view: NSView!
To
unowned(unsafe) var view: NSView?

Raw Value Type
From--
ToInt

DeclarationProtocols
From
struct NSOpenGLGlobalOption {
    init(_ value: UInt32)
    var value: UInt32
}
--
To
struct NSOpenGLGlobalOption : RawRepresentable {
    init(_ rawValue: UInt32)
    init(rawValue rawValue: UInt32)
    var rawValue: UInt32
}
RawRepresentable

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 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>)
}

Declaration
From
func canDrawInOpenGLContext(_ context: NSOpenGLContext!, pixelFormat pixelFormat: NSOpenGLPixelFormat!, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) -> Bool
To
func canDrawInOpenGLContext(_ 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 drawInOpenGLContext(_ context: NSOpenGLContext, pixelFormat pixelFormat: NSOpenGLPixelFormat, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>)

Declaration
From
var openGLContext: NSOpenGLContext!
To
var openGLContext: NSOpenGLContext?

Declaration
From
func openGLContextForPixelFormat(_ pixelFormat: NSOpenGLPixelFormat!) -> NSOpenGLContext!
To
func openGLContextForPixelFormat(_ pixelFormat: NSOpenGLPixelFormat) -> NSOpenGLContext

Declaration
From
var openGLPixelFormat: NSOpenGLPixelFormat!
To
var openGLPixelFormat: NSOpenGLPixelFormat?

Declaration
From
func openGLPixelFormatForDisplayMask(_ mask: UInt32) -> NSOpenGLPixelFormat!
To
func openGLPixelFormatForDisplayMask(_ mask: UInt32) -> NSOpenGLPixelFormat

Declaration
From
unowned(unsafe) var view: NSView!
To
unowned(unsafe) var view: NSView?

Declaration
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 }
}
To
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 }
}

Declaration
From
init!(attributes attribs: UnsafePointer<NSOpenGLPixelFormatAttribute>)
To
init?(attributes attribs: UnsafePointer<NSOpenGLPixelFormatAttribute>)

Declaration
From
init!(CGLPixelFormatObj format: COpaquePointer)
To
init?(CGLPixelFormatObj format: COpaquePointer)

Modified NSOpenGLView
Declaration
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()
}

Declaration
From
init?(frame frameRect: NSRect, pixelFormat format: NSOpenGLPixelFormat!)
To
init?(frame frameRect: NSRect, pixelFormat format: NSOpenGLPixelFormat?)

Declaration
From
var openGLContext: NSOpenGLContext!
To
var openGLContext: NSOpenGLContext?

Modified NSOpenPanel
Declaration
From
class NSOpenPanel : NSSavePanel {
    init!() -> NSOpenPanel
    class func openPanel() -> NSOpenPanel!
    var URLs: [AnyObject] { get }
    var resolvesAliases: Bool
    var canChooseDirectories: Bool
    var allowsMultipleSelection: Bool
    var canChooseFiles: Bool
    var canResolveUbiquitousConflicts: Bool
    var canDownloadUbiquitousContents: 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: [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
}

Declaration
From
var URLs: [AnyObject] { get }
To
var URLs: [NSURL] { get }

Declaration
From
protocol NSOpenSavePanelDelegate : NSObjectProtocol {
    optional func panel(_ sender: AnyObject, shouldEnableURL url: NSURL) -> Bool
    optional func panel(_ sender: AnyObject, validateURL url: NSURL, error outError: NSErrorPointer) -> Bool
    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: 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?)
}

Declaration
From
optional func panel(_ sender: AnyObject!, didChangeToDirectoryURL url: NSURL?)
To
optional func panel(_ sender: AnyObject, didChangeToDirectoryURL url: NSURL?)

Declaration
From
optional func panel(_ sender: AnyObject, validateURL url: NSURL, error outError: NSErrorPointer) -> Bool
To
optional func panel(_ sender: AnyObject, validateURL url: NSURL) throws

Modified NSOutlineView
Declaration
From
class NSOutlineView : NSTableView, NSAccessibilityOutline, NSAccessibilityTable, NSAccessibilityGroup, NSAccessibilityElementProtocol, NSObjectProtocol {
    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 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
}
To
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
}

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: [AnyObject])
    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]) -> [AnyObject]
}
To
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]
}

Declaration
From
optional func outlineView(_ outlineView: NSOutlineView, itemForPersistentObject object: AnyObject) -> AnyObject!
To
optional func outlineView(_ outlineView: NSOutlineView, itemForPersistentObject object: AnyObject) -> AnyObject?

Declaration
From
optional func outlineView(_ outlineView: NSOutlineView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedItems items: [AnyObject]) -> [AnyObject]
To
optional func outlineView(_ outlineView: NSOutlineView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedItems items: [AnyObject]) -> [String]

Declaration
From
optional func outlineView(_ outlineView: NSOutlineView, pasteboardWriterForItem item: AnyObject?) -> NSPasteboardWriting!
To
optional func outlineView(_ outlineView: NSOutlineView, pasteboardWriterForItem item: AnyObject) -> NSPasteboardWriting?

Declaration
From
optional func outlineView(_ outlineView: NSOutlineView, persistentObjectForItem item: AnyObject?) -> AnyObject!
To
optional func outlineView(_ outlineView: NSOutlineView, persistentObjectForItem item: AnyObject?) -> AnyObject?

Declaration
From
optional func outlineView(_ outlineView: NSOutlineView, sortDescriptorsDidChange oldDescriptors: [AnyObject])
To
optional func outlineView(_ outlineView: NSOutlineView, sortDescriptorsDidChange oldDescriptors: [NSSortDescriptor])

Declaration
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?)
}
To
class NSPageController : NSViewController, NSAnimatablePropertyContainer {
    @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?)
}

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, 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)
}

DeclarationIntroduction
From
optional func pageController(_ pageController: NSPageController, didTransitionToObject object: AnyObject!)
OS X 10.10
To
optional func pageController(_ pageController: NSPageController, didTransitionToObject object: AnyObject)
OS X 10.8

DeclarationIntroduction
From
optional func pageController(_ pageController: NSPageController, frameForObject object: AnyObject!) -> NSRect
OS X 10.10
To
optional func pageController(_ pageController: NSPageController, frameForObject object: AnyObject) -> NSRect
OS X 10.8

DeclarationIntroduction
From
optional func pageController(_ pageController: NSPageController, identifierForObject object: AnyObject!) -> String!
OS X 10.10
To
optional func pageController(_ pageController: NSPageController, identifierForObject object: AnyObject) -> String
OS X 10.8

DeclarationIntroduction
From
optional func pageController(_ pageController: NSPageController, prepareViewController viewController: NSViewController!, withObject object: AnyObject!)
OS X 10.10
To
optional func pageController(_ pageController: NSPageController, prepareViewController viewController: NSViewController, withObject object: AnyObject)
OS X 10.8

DeclarationIntroduction
From
optional func pageController(_ pageController: NSPageController, viewControllerForIdentifier identifier: String!) -> NSViewController!
OS X 10.10
To
optional func pageController(_ pageController: NSPageController, viewControllerForIdentifier identifier: String) -> NSViewController
OS X 10.8

Introduction
FromOS X 10.10
ToOS X 10.8

Introduction
FromOS X 10.10
ToOS X 10.8

Raw Value Type
From--
ToInt

Modified NSPageLayout
Declaration
From
class NSPageLayout : NSObject {
    init!() -> NSPageLayout
    class func pageLayout() -> NSPageLayout!
    func addAccessoryController(_ accessoryController: NSViewController)
    func removeAccessoryController(_ accessoryController: NSViewController)
    var accessoryControllers: [AnyObject] { 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 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()
}

Declaration
From
var accessoryControllers: [AnyObject] { get }
To
var accessoryControllers: [NSViewController] { get }

Declaration
From
var printInfo: NSPrintInfo! { get }
To
var printInfo: NSPrintInfo? { get }

Declaration
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
}
To
class NSPanGestureRecognizer : NSGestureRecognizer {
    var buttonMask: Int
    func translationInView(_ view: NSView?) -> NSPoint
    func setTranslation(_ translation: NSPoint, inView view: NSView?)
    func velocityInView(_ view: NSView?) -> NSPoint
}

Raw Value Type
From--
ToInt

DeclarationIntroduction
From
class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
    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 tabStops: [AnyObject]? { 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 defaultTabInterval: CGFloat { get }
    var textBlocks: [AnyObject]? { get }
    var textLists: [AnyObject]? { get }
    var hyphenationFactor: Float { get }
    var tighteningFactorForTruncation: Float { get }
    var headerLevel: Int { get }
}
OS X 10.10
To
class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
    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 }
}
OS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

DeclarationIntroduction
From
var tabStops: [AnyObject]? { get }
OS X 10.10
To
var tabStops: [NSTextTab] { get }
OS X 10.0

Declaration
From
var textBlocks: [AnyObject]? { get }
To
var textBlocks: [NSTextBlock] { get }

Declaration
From
var textLists: [AnyObject]? { get }
To
var textLists: [NSTextList] { get }

Modified NSPasteboard
Declaration
From
class NSPasteboard : NSObject {
    class func generalPasteboard() -> NSPasteboard
    init(name name: String) -> NSPasteboard
    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: [AnyObject]) -> Bool
    func readObjectsForClasses(_ classArray: [AnyObject], options options: [NSObject : AnyObject]?) -> [AnyObject]?
    var pasteboardItems: [AnyObject]? { get }
    func indexOfPasteboardItem(_ pasteboardItem: NSPasteboardItem) -> Int
    func canReadItemWithDataConformingToTypes(_ types: [AnyObject]) -> Bool
    func canReadObjectForClasses(_ classArray: [AnyObject], options options: [NSObject : AnyObject]?) -> Bool
    func declareTypes(_ newTypes: [AnyObject], owner newOwner: AnyObject?) -> Int
    func addTypes(_ newTypes: [AnyObject], owner newOwner: AnyObject?) -> Int
    var types: [AnyObject]? { get }
    func availableTypeFromArray(_ types: [AnyObject]) -> 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) -> [AnyObject]
    init(byFilteringFile filename: String) -> NSPasteboard
    class func pasteboardByFilteringFile(_ filename: String) -> NSPasteboard
    init(byFilteringData data: NSData, ofType type: String) -> NSPasteboard
    class func pasteboardByFilteringData(_ data: NSData, ofType type: String) -> NSPasteboard
    init(byFilteringTypesInPasteboard pboard: NSPasteboard) -> 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 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?
}

Declaration
From
func addTypes(_ newTypes: [AnyObject], owner newOwner: AnyObject?) -> Int
To
func addTypes(_ newTypes: [String], owner newOwner: AnyObject?) -> Int

Declaration
From
func availableTypeFromArray(_ types: [AnyObject]) -> String?
To
func availableTypeFromArray(_ types: [String]) -> String?

Declaration
From
func canReadItemWithDataConformingToTypes(_ types: [AnyObject]) -> Bool
To
func canReadItemWithDataConformingToTypes(_ types: [String]) -> Bool

Declaration
From
func canReadObjectForClasses(_ classArray: [AnyObject], options options: [NSObject : AnyObject]?) -> Bool
To
func canReadObjectForClasses(_ classArray: [AnyClass], options options: [String : AnyObject]?) -> Bool

Declaration
From
func declareTypes(_ newTypes: [AnyObject], owner newOwner: AnyObject?) -> Int
To
func declareTypes(_ newTypes: [String], owner newOwner: AnyObject?) -> Int

Declaration
From
init(byFilteringData data: NSData, ofType type: String) -> NSPasteboard
To
init(byFilteringData data: NSData, ofType type: String)

Declaration
From
init(byFilteringFile filename: String) -> NSPasteboard
To
init(byFilteringFile filename: String)

Declaration
From
init(byFilteringTypesInPasteboard pboard: NSPasteboard) -> NSPasteboard
To
init(byFilteringTypesInPasteboard pboard: NSPasteboard)

Declaration
From
init(name name: String) -> NSPasteboard
To
init(name name: String)

Declaration
From
var pasteboardItems: [AnyObject]? { get }
To
var pasteboardItems: [NSPasteboardItem]? { get }

Declaration
From
func readObjectsForClasses(_ classArray: [AnyObject], options options: [NSObject : AnyObject]?) -> [AnyObject]?
To
func readObjectsForClasses(_ classArray: [AnyClass], options options: [String : AnyObject]?) -> [AnyObject]?

Declaration
From
func setData(_ data: NSData, forType dataType: String) -> Bool
To
func setData(_ data: NSData?, forType dataType: String) -> Bool

Declaration
From
var types: [AnyObject]? { get }
To
var types: [String]? { get }

Declaration
From
class func typesFilterableTo(_ type: String) -> [AnyObject]
To
class func typesFilterableTo(_ type: String) -> [String]

Declaration
From
func writeObjects(_ objects: [AnyObject]) -> Bool
To
func writeObjects(_ objects: [NSPasteboardWriting]) -> Bool

Declaration
From
class NSPasteboardItem : NSObject, NSPasteboardWriting, NSObjectProtocol, NSPasteboardReading {
    var types: [AnyObject]! { get }
    func availableTypeFromArray(_ types: [AnyObject]) -> 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?
}
To
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?
}

Declaration
From
func availableTypeFromArray(_ types: [AnyObject]) -> String?
To
func availableTypeFromArray(_ types: [String]) -> String?

Declaration
From
func setData(_ data: NSData!, forType type: String) -> Bool
To
func setData(_ data: NSData?, forType type: String) -> Bool

Declaration
From
func setDataProvider(_ dataProvider: NSPasteboardItemDataProvider!, forTypes types: [AnyObject]) -> Bool
To
func setDataProvider(_ dataProvider: NSPasteboardItemDataProvider, forTypes types: [AnyObject]) -> Bool

Declaration
From
func setPropertyList(_ propertyList: AnyObject!, forType type: String) -> Bool
To
func setPropertyList(_ propertyList: AnyObject?, forType type: String) -> Bool

Declaration
From
func setString(_ string: String!, forType type: String) -> Bool
To
func setString(_ string: String?, forType type: String) -> Bool

Declaration
From
var types: [AnyObject]! { get }
To
var types: [String] { get }

Declaration
From
protocol NSPasteboardItemDataProvider : NSObjectProtocol {
    func pasteboard(_ pasteboard: NSPasteboard!, item item: NSPasteboardItem!, provideDataForType type: String!)
    optional func pasteboardFinishedWithDataProvider(_ pasteboard: NSPasteboard!)
}
To
protocol NSPasteboardItemDataProvider : NSObjectProtocol {
    func pasteboard(_ pasteboard: NSPasteboard?, item item: NSPasteboardItem, provideDataForType type: String)
    optional func pasteboardFinishedWithDataProvider(_ pasteboard: NSPasteboard)
}

DeclarationIntroduction
From
func pasteboard(_ pasteboard: NSPasteboard!, item item: NSPasteboardItem!, provideDataForType type: String!)
OS X 10.10
To
func pasteboard(_ pasteboard: NSPasteboard?, item item: NSPasteboardItem, provideDataForType type: String)
OS X 10.6

Declaration
From
optional func pasteboardFinishedWithDataProvider(_ pasteboard: NSPasteboard!)
To
optional func pasteboardFinishedWithDataProvider(_ pasteboard: NSPasteboard)

Declaration
From
protocol NSPasteboardReading : NSObjectProtocol {
    static func readableTypesForPasteboard(_ pasteboard: NSPasteboard!) -> [AnyObject]!
    optional static func readingOptionsForType(_ type: String!, pasteboard pasteboard: NSPasteboard!) -> NSPasteboardReadingOptions
    init!(pasteboardPropertyList propertyList: AnyObject!, ofType type: String!)
}
To
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)
}

Declaration
From
init!(pasteboardPropertyList propertyList: AnyObject!, ofType type: String!)
To
init?(pasteboardPropertyList propertyList: AnyObject, ofType type: String)

Declaration
From
static func readableTypesForPasteboard(_ pasteboard: NSPasteboard!) -> [AnyObject]!
To
static func readableTypesForPasteboard(_ pasteboard: NSPasteboard) -> [String]

DeclarationIntroduction
From
optional static func readingOptionsForType(_ type: String!, pasteboard pasteboard: NSPasteboard!) -> NSPasteboardReadingOptions
OS X 10.10
To
optional static func readingOptionsForType(_ type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardReadingOptions
OS X 10.6

DeclarationProtocols
From
struct NSPasteboardReadingOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var AsData: NSPasteboardReadingOptions { get }
    static var AsString: NSPasteboardReadingOptions { get }
    static var AsPropertyList: NSPasteboardReadingOptions { get }
    static var AsKeyedArchive: NSPasteboardReadingOptions { get }
}
RawOptionSetType
To
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

Declaration
From
protocol NSPasteboardWriting : NSObjectProtocol {
    func writableTypesForPasteboard(_ pasteboard: NSPasteboard!) -> [AnyObject]!
    optional func writingOptionsForType(_ type: String!, pasteboard pasteboard: NSPasteboard!) -> NSPasteboardWritingOptions
    func pasteboardPropertyListForType(_ type: String!) -> AnyObject!
}
To
protocol NSPasteboardWriting : NSObjectProtocol {
    func writableTypesForPasteboard(_ pasteboard: NSPasteboard) -> [String]
    optional func writingOptionsForType(_ type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardWritingOptions
    func pasteboardPropertyListForType(_ type: String) -> AnyObject?
}

Declaration
From
func pasteboardPropertyListForType(_ type: String!) -> AnyObject!
To
func pasteboardPropertyListForType(_ type: String) -> AnyObject?

Declaration
From
func writableTypesForPasteboard(_ pasteboard: NSPasteboard!) -> [AnyObject]!
To
func writableTypesForPasteboard(_ pasteboard: NSPasteboard) -> [String]

DeclarationIntroduction
From
optional func writingOptionsForType(_ type: String!, pasteboard pasteboard: NSPasteboard!) -> NSPasteboardWritingOptions
OS X 10.10
To
optional func writingOptionsForType(_ type: String, pasteboard pasteboard: NSPasteboard) -> NSPasteboardWritingOptions
OS X 10.6

DeclarationProtocols
From
struct NSPasteboardWritingOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var Promised: NSPasteboardWritingOptions { get }
}
RawOptionSetType
To
struct NSPasteboardWritingOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var Promised: NSPasteboardWritingOptions { get }
}
OptionSetType

Modified NSPathCell
Declaration
From
class NSPathCell : NSActionCell, NSOpenSavePanelDelegate, NSObjectProtocol {
    var pathStyle: NSPathStyle
    @NSCopying var URL: NSURL?
    func setObjectValue(_ obj: NSCopying?)
    var allowedTypes: [AnyObject]?
    unowned(unsafe) var delegate: NSPathCellDelegate?
    class func pathComponentCellClass() -> AnyClass
    var pathComponentCells: [AnyObject]
    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
    @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?
}

Declaration
From
var allowedTypes: [AnyObject]?
To
var allowedTypes: [String]?

Declaration
From
var pathComponentCells: [AnyObject]
To
var pathComponentCells: [NSPathComponentCell]

Introduction
FromOS X 10.10
ToOS X 10.5

Introduction
FromOS X 10.10
ToOS X 10.5

Modified NSPathControl
Declaration
From
class NSPathControl : NSControl {
    var editable: Bool
    var allowedTypes: [AnyObject]?
    var placeholderString: String?
    @NSCopying var placeholderAttributedString: NSAttributedString?
    @NSCopying var URL: NSURL?
    var doubleAction: Selector
    var pathStyle: NSPathStyle
    var clickedPathItem: NSPathControlItem? { get }
    var pathItems: [AnyObject]
    @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() -> [AnyObject]
    func setPathComponentCells(_ cells: [AnyObject])
}
To
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])
}

Declaration
From
var allowedTypes: [AnyObject]?
To
var allowedTypes: [String]?

Declaration
From
func pathComponentCells() -> [AnyObject]
To
func pathComponentCells() -> [NSPathComponentCell]

Declaration
From
var pathItems: [AnyObject]
To
var pathItems: [NSPathControlItem]

Declaration
From
func setPathComponentCells(_ cells: [AnyObject])
To
func setPathComponentCells(_ cells: [NSPathComponentCell])

Introduction
FromOS X 10.10
ToOS X 10.5

Introduction
FromOS X 10.10
ToOS X 10.5

Introduction
FromOS X 10.10
ToOS X 10.5

Introduction
FromOS X 10.10
ToOS X 10.5

Introduction
FromOS X 10.10
ToOS X 10.5

Declaration
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: NSURL? { get }
}

Declaration
From
@NSCopying var attributedTitle: NSAttributedString!
To
@NSCopying var attributedTitle: NSAttributedString

Declaration
From
var title: String!
To
var title: String

Raw Value Type
From--
ToInt

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: 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 }
}

Modified NSPDFInfo
Declaration
From
class NSPDFInfo : NSObject, NSCopying, NSCoding {
    @NSCopying var URL: NSURL!
    var fileExtensionHidden: Bool
    var tagNames: [AnyObject]!
    var orientation: NSPaperOrientation
    var paperSize: NSSize
    var attributes: NSMutableDictionary! { get }
}
To
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 }
}

Declaration
From
var attributes: NSMutableDictionary! { get }
To
var attributes: NSMutableDictionary { get }

Declaration
From
var tagNames: [AnyObject]!
To
var tagNames: [String]

Modified NSPDFInfo.URL
Declaration
From
@NSCopying var URL: NSURL!
To
@NSCopying var URL: NSURL?

Modified NSPDFPanel
Declaration
From
class NSPDFPanel : NSObject {
    init!() -> NSPDFPanel
    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 beginSheetWithPDFInfo(_ pdfInfo: NSPDFInfo, modalForWindow docWindow: NSWindow?, completionHandler completionHandler: (Int) -> Void)
}

Declaration
From
func beginSheetWithPDFInfo(_ pdfInfo: NSPDFInfo!, modalForWindow docWindow: NSWindow!, completionHandler completionHandler: ((Int) -> Void)!)
To
func beginSheetWithPDFInfo(_ pdfInfo: NSPDFInfo, modalForWindow docWindow: NSWindow?, completionHandler completionHandler: (Int) -> Void)

Declaration
From
var defaultFileName: String!
To
var defaultFileName: String

DeclarationProtocols
From
struct NSPDFPanelOptions : RawOptionSetType {
    init(_ rawValue: Int)
    init(rawValue rawValue: Int)
    static var ShowsPaperSize: NSPDFPanelOptions { get }
    static var ShowsOrientation: NSPDFPanelOptions { get }
    static var RequestsParentDirectory: NSPDFPanelOptions { get }
}
RawOptionSetType
To
struct NSPDFPanelOptions : OptionSetType {
    init(rawValue rawValue: Int)
    static var ShowsPaperSize: NSPDFPanelOptions { get }
    static var ShowsOrientation: NSPDFPanelOptions { get }
    static var RequestsParentDirectory: NSPDFPanelOptions { get }
}
OptionSetType

Declaration
From
class NSPersistentDocument : NSDocument {
    var managedObjectContext: NSManagedObjectContext!
    var managedObjectModel: AnyObject! { get }
    func configurePersistentStoreCoordinatorForURL(_ url: NSURL!, ofType fileType: String!, modelConfiguration configuration: String?, storeOptions storeOptions: [NSObject : AnyObject]!, error error: NSErrorPointer) -> Bool
    func persistentStoreTypeForFileType(_ fileType: String!) -> String!
    func writeToURL(_ absoluteURL: NSURL!, ofType typeName: String!, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL!, error error: NSErrorPointer) -> Bool
    func readFromURL(_ absoluteURL: NSURL!, ofType typeName: String!, error error: NSErrorPointer) -> Bool
    func revertToContentsOfURL(_ inAbsoluteURL: NSURL!, ofType inTypeName: String!, error outError: NSErrorPointer) -> Bool
}
extension NSPersistentDocument {
    func configurePersistentStoreCoordinatorForURL(_ url: NSURL!, ofType fileType: String!, error error: NSErrorPointer) -> Bool
}
To
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
}

Declaration
From
func configurePersistentStoreCoordinatorForURL(_ url: NSURL!, ofType fileType: String!, modelConfiguration configuration: String?, storeOptions storeOptions: [NSObject : AnyObject]!, error error: NSErrorPointer) -> Bool
To
func configurePersistentStoreCoordinatorForURL(_ url: NSURL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions storeOptions: [String : AnyObject]?) throws

Declaration
From
var managedObjectContext: NSManagedObjectContext!
To
var managedObjectContext: NSManagedObjectContext?

Declaration
From
var managedObjectModel: AnyObject! { get }
To
var managedObjectModel: NSManagedObjectModel? { get }

Declaration
From
func persistentStoreTypeForFileType(_ fileType: String!) -> String!
To
func persistentStoreTypeForFileType(_ fileType: String) -> String

Declaration
From
func readFromURL(_ absoluteURL: NSURL!, ofType typeName: String!, error error: NSErrorPointer) -> Bool
To
func readFromURL(_ absoluteURL: NSURL, ofType typeName: String) throws

Declaration
From
func revertToContentsOfURL(_ inAbsoluteURL: NSURL!, ofType inTypeName: String!, error outError: NSErrorPointer) -> Bool
To
func revertToContentsOfURL(_ inAbsoluteURL: NSURL, ofType inTypeName: String) throws

Declaration
From
func writeToURL(_ absoluteURL: NSURL!, ofType typeName: String!, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL!, error error: NSErrorPointer) -> Bool
To
func writeToURL(_ absoluteURL: NSURL, ofType typeName: String, forSaveOperation saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws

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: NSData)
    class func imageRepWithData(_ pictData: NSData) -> Self?
    init?(data pictData: NSData)
    @NSCopying var PICTRepresentation: NSData { get }
    var boundingBox: NSRect { get }
}

Raw Value Type
From--
ToUInt

Modified NSPopover
Declaration
From
class NSPopover : NSResponder, NSAppearanceCustomization, NSObjectProtocol, 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 positioningRect: NSRect
    func showRelativeToRect(_ positioningRect: NSRect, ofView positioningView: NSView, preferredEdge preferredEdge: NSRectEdge)
    @IBAction func performClose(_ sender: AnyObject?)
    func close()
}
To
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()
}

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Declaration
From
protocol NSPopoverDelegate : NSObjectProtocol {
    optional func popoverShouldClose(_ popover: NSPopover) -> Bool
    optional func popoverShouldDetach(_ popover: NSPopover) -> Bool
    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 detachableWindowForPopover(_ popover: NSPopover) -> NSWindow?
    optional func popoverWillShow(_ notification: NSNotification)
    optional func popoverDidShow(_ notification: NSNotification)
    optional func popoverWillClose(_ notification: NSNotification)
    optional func popoverDidClose(_ notification: NSNotification)
}

Introduction
FromOS X 10.10
ToOS X 10.7

Introduction
FromOS X 10.10
ToOS X 10.7

Raw Value Type
From--
ToUInt

Modified NSPopUpButton
Declaration
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: [AnyObject])
    func insertItemWithTitle(_ title: String, atIndex index: Int)
    func removeItemWithTitle(_ title: String)
    func removeItemAtIndex(_ index: Int)
    func removeAllItems()
    var itemArray: [AnyObject] { 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: [AnyObject] { 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 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
}

Declaration
From
func addItemsWithTitles(_ itemTitles: [AnyObject])
To
func addItemsWithTitles(_ itemTitles: [String])

Declaration
From
var itemArray: [AnyObject] { get }
To
var itemArray: [NSMenuItem] { get }

Declaration
From
var itemTitles: [AnyObject] { get }
To
var itemTitles: [String] { get }

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: [AnyObject])
    func insertItemWithTitle(_ title: String, atIndex index: Int)
    func removeItemWithTitle(_ title: String)
    func removeItemAtIndex(_ index: Int)
    func removeAllItems()
    var itemArray: [AnyObject] { 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: [AnyObject] { 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)
    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
}

Declaration
From
func addItemsWithTitles(_ itemTitles: [AnyObject])
To
func addItemsWithTitles(_ itemTitles: [String])

Declaration
From
var itemArray: [AnyObject] { get }
To
var itemArray: [NSMenuItem] { get }

Declaration
From
var itemTitles: [AnyObject] { get }
To
var itemTitles: [String] { get }

Declaration
From
func setTitle(_ aString: String)
To
func setTitle(_ aString: String?)

Declaration
From
class NSPredicateEditor : NSRuleEditor {
    var rowTemplates: [AnyObject]
}
To
class NSPredicateEditor : NSRuleEditor {
    var rowTemplates: [NSPredicateEditorRowTemplate]
}

Declaration
From
var rowTemplates: [AnyObject]
To
var rowTemplates: [NSPredicateEditorRowTemplate]

Declaration
From
class NSPredicateEditorRowTemplate : NSObject, NSCoding, NSCopying {
    func matchForPredicate(_ predicate: NSPredicate!) -> Double
    var templateViews: [AnyObject]! { get }
    func setPredicate(_ predicate: NSPredicate!)
    func predicateWithSubpredicates(_ subpredicates: [AnyObject]!) -> NSPredicate!
    func displayableSubpredicatesOfPredicate(_ predicate: NSPredicate!) -> [AnyObject]?
    init!(leftExpressions leftExpressions: [AnyObject]!, rightExpressions rightExpressions: [AnyObject]!, modifier modifier: NSComparisonPredicateModifier, operators operators: [AnyObject]!, options options: Int)
    init!(leftExpressions leftExpressions: [AnyObject]!, rightExpressionAttributeType attributeType: NSAttributeType, modifier modifier: NSComparisonPredicateModifier, operators operators: [AnyObject]!, options options: Int)
    init!(compoundTypes compoundTypes: [AnyObject]!)
    var leftExpressions: [AnyObject]! { get }
    var rightExpressions: [AnyObject]! { get }
    var rightExpressionAttributeType: NSAttributeType { get }
    var modifier: NSComparisonPredicateModifier { get }
    var operators: [AnyObject]! { get }
    var options: Int { get }
    var compoundTypes: [AnyObject]! { get }
    class func templatesWithAttributeKeyPaths(_ keyPaths: [AnyObject]!, inEntityDescription entityDescription: NSEntityDescription!) -> [AnyObject]!
}
To
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]
}

Declaration
From
var compoundTypes: [AnyObject]! { get }
To
var compoundTypes: [NSNumber]? { get }

Declaration
From
func displayableSubpredicatesOfPredicate(_ predicate: NSPredicate!) -> [AnyObject]?
To
func displayableSubpredicatesOfPredicate(_ predicate: NSPredicate) -> [NSPredicate]?

Declaration
From
init!(compoundTypes compoundTypes: [AnyObject]!)
To
init(compoundTypes compoundTypes: [NSNumber])

Declaration
From
init!(leftExpressions leftExpressions: [AnyObject]!, rightExpressionAttributeType attributeType: NSAttributeType, modifier modifier: NSComparisonPredicateModifier, operators operators: [AnyObject]!, options options: Int)
To
init(leftExpressions leftExpressions: [NSExpression], rightExpressionAttributeType attributeType: NSAttributeType, modifier modifier: NSComparisonPredicateModifier, operators operators: [NSNumber], options options: Int)

Declaration
From
init!(leftExpressions leftExpressions: [AnyObject]!, rightExpressions rightExpressions: [AnyObject]!, modifier modifier: NSComparisonPredicateModifier, operators operators: [AnyObject]!, options options: Int)
To
init(leftExpressions leftExpressions: [NSExpression], rightExpressions rightExpressions: [NSExpression], modifier modifier: NSComparisonPredicateModifier, operators operators: [NSNumber], options options: Int)

Declaration
From
var leftExpressions: [AnyObject]! { get }
To
var leftExpressions: [NSExpression]? { get }

Declaration
From
func matchForPredicate(_ predicate: NSPredicate!) -> Double
To
func matchForPredicate(_ predicate: NSPredicate) -> Double

Declaration
From
var operators: [AnyObject]! { get }
To
var operators: [NSNumber]? { get }

Declaration
From
func predicateWithSubpredicates(_ subpredicates: [AnyObject]!) -> NSPredicate!
To
func predicateWithSubpredicates(_ subpredicates: [NSPredicate]?) -> NSPredicate

Declaration
From
var rightExpressions: [AnyObject]! { get }
To
var rightExpressions: [NSExpression]? { get }

Declaration
From
func setPredicate(_ predicate: NSPredicate!)
To
func setPredicate(_ predicate: NSPredicate)

Declaration
From
class func templatesWithAttributeKeyPaths(_ keyPaths: [AnyObject]!, inEntityDescription entityDescription: NSEntityDescription!) -> [AnyObject]!
To
class func templatesWithAttributeKeyPaths(_ keyPaths: [String], inEntityDescription entityDescription: NSEntityDescription) -> [NSPredicateEditorRowTemplate]

Declaration
From
var templateViews: [AnyObject]! { get }
To
var templateViews: [NSView] { get }

Declaration
From
class NSPressGestureRecognizer : NSGestureRecognizer, NSCoding {
    var buttonMask: Int
    var minimumPressDuration: NSTimeInterval
    var allowableMovement: CGFloat
}
To
class NSPressGestureRecognizer : NSGestureRecognizer {
    var buttonMask: Int
    var minimumPressDuration: NSTimeInterval
    var allowableMovement: CGFloat
}

Modified NSPrinter
Declaration
From
class NSPrinter : NSObject, NSCopying, NSCoding {
    class func printerNames() -> [AnyObject]
    class func printerTypes() -> [AnyObject]
    init?(name name: String) -> NSPrinter
    class func printerWithName(_ name: String) -> NSPrinter?
    init?(type type: String) -> NSPrinter
    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: [NSObject : 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) -> NSPrinter
    class func printerWithName(_ name: String, domain domain: String?, includeUnavailable flag: Bool) -> NSPrinter?
    func domain() -> String!
    func host() -> String!
    func note() -> String!
}
To
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
}

Declaration
From
var deviceDescription: [NSObject : AnyObject] { get }
To
var deviceDescription: [String : AnyObject] { get }

Declaration
From
init?(name name: String) -> NSPrinter
To
init?(name name: String)

Declaration
From
init?(type type: String) -> NSPrinter
To
init?(type type: String)

Declaration
From
class func printerNames() -> [AnyObject]
To
class func printerNames() -> [String]

Declaration
From
class func printerTypes() -> [AnyObject]
To
class func printerTypes() -> [String]

Raw Value Type
From--
ToUInt

Modified NSPrintInfo
Declaration
From
class NSPrintInfo : NSObject, NSCopying, NSCoding {
    class func setSharedPrintInfo(_ printInfo: NSPrintInfo)
    class func sharedPrintInfo() -> NSPrintInfo
    init(dictionary attributes: [NSObject : 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
}
To
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
}

Declaration
From
init(dictionary attributes: [NSObject : AnyObject])
To
init(dictionary attributes: [String : AnyObject])

Declaration
From
var localizedPaperName: String! { get }
To
var localizedPaperName: String? { get }

Declaration
From
var paperName: String!
To
var paperName: String?

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Declaration
From
class NSPrintOperation : NSObject {
    init(view view: NSView, printInfo printInfo: NSPrintInfo) -> NSPrintOperation
    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) -> NSPrintOperation
    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 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
}

Declaration
From
init(view view: NSView) -> NSPrintOperation
To
init(view view: NSView)

Declaration
From
init(view view: NSView, printInfo printInfo: NSPrintInfo) -> NSPrintOperation
To
init(view view: NSView, printInfo printInfo: NSPrintInfo)

Modified NSPrintPanel
Declaration
From
class NSPrintPanel : NSObject {
    init!() -> NSPrintPanel
    class func printPanel() -> NSPrintPanel!
    func addAccessoryController(_ accessoryController: NSViewController)
    func removeAccessoryController(_ accessoryController: NSViewController)
    var accessoryControllers: [AnyObject] { 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 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()
}

Declaration
From
var accessoryControllers: [AnyObject] { get }
To
var accessoryControllers: [NSViewController] { get }

Declaration
From
protocol NSPrintPanelAccessorizing {
    func localizedSummaryItems() -> [AnyObject]!
    optional func keyPathsForValuesAffectingPreview() -> Set<NSObject>!
}
To
protocol NSPrintPanelAccessorizing {
    func localizedSummaryItems() -> [[String : String]]
    optional func keyPathsForValuesAffectingPreview() -> Set<String>
}

Declaration
From
optional func keyPathsForValuesAffectingPreview() -> Set<NSObject>!
To
optional func keyPathsForValuesAffectingPreview() -> Set<String>

Declaration
From
func localizedSummaryItems() -> [AnyObject]!
To
func localizedSummaryItems() -> [[String : String]]

DeclarationProtocols
From
struct NSPrintPanelOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToInt

Declaration
From
class NSProgressIndicator : NSView, NSAccessibilityProgressIndicator, NSAccessibilityGroup, NSAccessibilityElementProtocol, NSObjectProtocol {
    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?)
}
To
class NSProgressIndicator : NSView, NSAccessibilityProgressIndicator, NSAccessibilityGroup {
    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?)
}

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSRemoteNotificationType : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var None: NSRemoteNotificationType { get }
    static var Badge: NSRemoteNotificationType { get }
    static var Sound: NSRemoteNotificationType { get }
    static var Alert: NSRemoteNotificationType { get }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToUInt

Modified NSResponder
Declaration
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: [AnyObject])
    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() -> [AnyObject]
}
To
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]
}

Declaration
From
func interpretKeyEvents(_ eventArray: [AnyObject])
To
func interpretKeyEvents(_ eventArray: [NSEvent])

Declaration
From
func pressureChangeWithEvent(_ event: NSEvent!)
To
func pressureChangeWithEvent(_ event: NSEvent)

Declaration
From
class func restorableStateKeyPaths() -> [AnyObject]
To
class func restorableStateKeyPaths() -> [String]

Modified NSRuleEditor
Declaration
From
class NSRuleEditor : NSControl {
    unowned(unsafe) var delegate: NSRuleEditorDelegate?
    var formattingStringsFilename: String?
    var formattingDictionary: [NSObject : AnyObject]?
    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 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
}

Declaration
From
var formattingDictionary: [NSObject : AnyObject]?
To
var formattingDictionary: [String : String]?

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) -> [NSObject : AnyObject]!
    optional func ruleEditorRowsDidChange(_ notification: NSNotification!)
}
To
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)
}

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: AnyObject?, withRowType rowType: NSRuleEditorRowType) -> AnyObject

Declaration
From
func ruleEditor(_ editor: NSRuleEditor, displayValueForCriterion criterion: AnyObject!, inRow row: Int) -> AnyObject!
To
func ruleEditor(_ editor: NSRuleEditor, displayValueForCriterion criterion: AnyObject, inRow row: Int) -> AnyObject

Declaration
From
func ruleEditor(_ editor: NSRuleEditor, numberOfChildrenForCriterion criterion: AnyObject!, withRowType rowType: NSRuleEditorRowType) -> Int
To
func ruleEditor(_ editor: NSRuleEditor, numberOfChildrenForCriterion criterion: AnyObject?, withRowType rowType: NSRuleEditorRowType) -> Int

Declaration
From
optional func ruleEditor(_ editor: NSRuleEditor, predicatePartsForCriterion criterion: AnyObject!, withDisplayValue value: AnyObject!, inRow row: Int) -> [NSObject : AnyObject]!
To
optional func ruleEditor(_ editor: NSRuleEditor, predicatePartsForCriterion criterion: AnyObject, withDisplayValue value: AnyObject, inRow row: Int) -> [String : AnyObject]?

Declaration
From
optional func ruleEditorRowsDidChange(_ notification: NSNotification!)
To
optional func ruleEditorRowsDidChange(_ notification: NSNotification)

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSRulerView
Declaration
From
class NSRulerView : NSView {
    class func registerUnitWithName(_ unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [AnyObject], stepDownCycle stepDownCycle: [AnyObject])
    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: [AnyObject]?
    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 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 }
}

Declaration
From
var markers: [AnyObject]?
To
var markers: [NSRulerMarker]?

Declaration
From
class func registerUnitWithName(_ unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [AnyObject], stepDownCycle stepDownCycle: [AnyObject])
To
class func registerUnitWithName(_ unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [NSNumber], stepDownCycle stepDownCycle: [NSNumber])

Declaration
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) -> [AnyObject]
    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 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()
}

Declaration
From
class func runningApplicationsWithBundleIdentifier(_ bundleIdentifier: String) -> [AnyObject]
To
class func runningApplicationsWithBundleIdentifier(_ bundleIdentifier: String) -> [NSRunningApplication]

DeclarationRaw Value Type
From
enum NSSaveOperationType : UInt {
    case SaveOperation
    case SaveAsOperation
    case SaveToOperation
    case AutosaveInPlaceOperation
    case AutosaveElsewhereOperation
    case AutosaveAsOperation
}
--
To
enum NSSaveOperationType : UInt {
    case SaveOperation
    case SaveAsOperation
    case SaveToOperation
    case AutosaveInPlaceOperation
    case AutosaveElsewhereOperation
    case AutosaveAsOperation
    static var AutosaveOperation: NSSaveOperationType { get }
}
UInt

Modified NSSavePanel
Declaration
From
class NSSavePanel : NSPanel {
    init!() -> NSSavePanel
    class func savePanel() -> NSSavePanel!
    @NSCopying var URL: NSURL? { get }
    @NSCopying var directoryURL: NSURL?
    var allowedFileTypes: [AnyObject]?
    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: [AnyObject]?
    @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
    @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?)
}

Declaration
From
var allowedFileTypes: [AnyObject]?
To
var allowedFileTypes: [String]?

Declaration
From
var message: String?
To
var message: String!

Declaration
From
var nameFieldLabel: String?
To
var nameFieldLabel: String!

Declaration
From
var prompt: String?
To
var prompt: String!

Declaration
From
var tagNames: [AnyObject]?
To
var tagNames: [String]?

Declaration
From
var title: String?
To
var title: String!

Modified NSScreen
Declaration
From
class NSScreen : NSObject {
    class func screens() -> [AnyObject]?
    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: [NSObject : 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 {
    func userSpaceScaleFactor() -> CGFloat
}
To
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
}

Declaration
From
var deviceDescription: [NSObject : AnyObject] { get }
To
var deviceDescription: [String : AnyObject] { get }

Declaration
From
class func screens() -> [AnyObject]?
To
class func screens() -> [NSScreen]?

DeclarationRaw Value Type
From
enum NSScrollArrowPosition : UInt {
    case ScrollerArrowsMaxEnd
    case ScrollerArrowsMinEnd
    case ScrollerArrowsNone
}
--
To
enum NSScrollArrowPosition : UInt {
    case ScrollerArrowsMaxEnd
    case ScrollerArrowsMinEnd
    static var ScrollerArrowsDefaultSetting: NSScrollArrowPosition { get }
    case ScrollerArrowsNone
}
UInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToInt

Modified NSScrollView
Declaration
From
class NSScrollView : NSView, NSTextFinderBarContainer, NSObjectProtocol {
    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
}
To
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
}

Raw Value Type
From--
ToInt

Modified NSSearchField
Declaration
From
class NSSearchField : NSTextField {
    var recentSearches: [AnyObject]
    var recentsAutosaveName: String?
    var searchMenuTemplate: NSMenu?
    var sendsWholeSearchString: Bool
    var maximumRecents: Int
    var sendsSearchStringImmediately: Bool
}
To
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
}

Declaration
From
var recentSearches: [AnyObject]
To
var recentSearches: [String]

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: [AnyObject]!
    var recentsAutosaveName: String?
    var sendsSearchStringImmediately: Bool
}
To
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
}

Declaration
From
var recentSearches: [AnyObject]!
To
var recentSearches: [String]!

Declaration
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
    func doubleValueForSelectedSegment() -> Double
}
To
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 }
}

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Declaration
From
protocol NSServicesMenuRequestor : NSObjectProtocol {
    optional func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [AnyObject]) -> Bool
    optional func readSelectionFromPasteboard(_ pboard: NSPasteboard) -> Bool
}
To
protocol NSServicesMenuRequestor : NSObjectProtocol {
    optional func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [String]) -> Bool
    optional func readSelectionFromPasteboard(_ pboard: NSPasteboard) -> Bool
}

Declaration
From
optional func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [AnyObject]) -> Bool
To
optional func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [String]) -> Bool

Raw Value Type
From--
ToInt

Declaration
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: [AnyObject]?
    var subject: String?
    var messageBody: String? { get }
    @NSCopying var permanentLink: NSURL? { get }
    var accountName: String? { get }
    var attachmentFileURLs: [AnyObject]? { get }
    class func sharingServicesForItems(_ items: [AnyObject]) -> [AnyObject]?
    init?(named serviceName: String) -> NSSharingService
    class func sharingServiceNamed(_ serviceName: String) -> NSSharingService?
    init(title title: String, image image: NSImage, alternateImage alternateImage: NSImage?, handler block: () -> Void)
    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 }
    @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])
}

Declaration
From
var attachmentFileURLs: [AnyObject]? { get }
To
var attachmentFileURLs: [NSURL]? { get }

Declaration
From
init?(named serviceName: String) -> NSSharingService
To
init?(named serviceName: String)

Declaration
From
var menuItemTitle: String?
To
var menuItemTitle: String

Declaration
From
var recipients: [AnyObject]?
To
var recipients: [String]?

Declaration
From
class func sharingServicesForItems(_ items: [AnyObject]) -> [AnyObject]?
To
class func sharingServicesForItems(_ items: [AnyObject]) -> [NSSharingService]

Declaration
From
var title: String? { get }
To
var title: String { get }

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: NSPasteboardWriting) -> NSRect
    optional func sharingService(_ sharingService: NSSharingService, transitionImageForShareItem item: NSPasteboardWriting, 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: [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?
}

Introduction
FromOS X 10.10
ToOS X 10.8

Introduction
FromOS X 10.10
ToOS X 10.8

DeclarationIntroduction
From
optional func sharingService(_ sharingService: NSSharingService, sourceFrameOnScreenForShareItem item: NSPasteboardWriting) -> NSRect
OS X 10.10
To
optional func sharingService(_ sharingService: NSSharingService, sourceFrameOnScreenForShareItem item: AnyObject) -> NSRect
OS X 10.8

Introduction
FromOS X 10.10
ToOS X 10.8

DeclarationIntroduction
From
optional func sharingService(_ sharingService: NSSharingService, transitionImageForShareItem item: NSPasteboardWriting, contentRect contentRect: UnsafeMutablePointer<NSRect>) -> NSImage?
OS X 10.10
To
optional func sharingService(_ sharingService: NSSharingService, transitionImageForShareItem item: AnyObject, contentRect contentRect: UnsafeMutablePointer<NSRect>) -> NSImage
OS X 10.8

Introduction
FromOS X 10.10
ToOS X 10.8

Declaration
From
class NSSharingServicePicker : NSObject {
    unowned(unsafe) var delegate: NSSharingServicePickerDelegate?
    init(items items: [AnyObject])
    func showRelativeToRect(_ rect: NSRect, ofView view: NSView, preferredEdge preferredEdge: NSRectEdge)
}
To
class NSSharingServicePicker : NSObject {
    unowned(unsafe) var delegate: NSSharingServicePickerDelegate?
    init(items items: [AnyObject])
    convenience init()
    func showRelativeToRect(_ rect: NSRect, ofView view: NSView, preferredEdge preferredEdge: NSRectEdge)
}

Declaration
From
protocol NSSharingServicePickerDelegate : NSObjectProtocol {
    optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [AnyObject], proposedSharingServices proposedServices: [AnyObject]) -> [AnyObject]
    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: [AnyObject], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService]
    optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, delegateForSharingService sharingService: NSSharingService) -> NSSharingServiceDelegate?
    optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChooseSharingService service: NSSharingService?)
}

Introduction
FromOS X 10.10
ToOS X 10.8

DeclarationIntroduction
From
optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChooseSharingService service: NSSharingService)
OS X 10.10
To
optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, didChooseSharingService service: NSSharingService?)
OS X 10.8

DeclarationIntroduction
From
optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [AnyObject], proposedSharingServices proposedServices: [AnyObject]) -> [AnyObject]
OS X 10.10
To
optional func sharingServicePicker(_ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [AnyObject], proposedSharingServices proposedServices: [NSSharingService]) -> [NSSharingService]
OS X 10.8

Modified NSSlider
Declaration
From
class NSSlider : NSControl, NSAccessibilitySlider, NSAccessibilityElementProtocol, NSObjectProtocol {
    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
}
To
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
}

Declaration
From
func acceptsFirstMouse(_ theEvent: NSEvent) -> Bool
To
func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool

Raw Value Type
From--
ToUInt

Modified NSSound
Declaration
From
class NSSound : NSObject, NSCopying, NSCoding, NSPasteboardReading, NSObjectProtocol, NSPasteboardWriting {
    init?(named name: String) -> NSSound
    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() -> [AnyObject]
    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]!
}
To
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]!
}

Declaration
From
init?(named name: String) -> NSSound
To
init?(named name: String)

Declaration
From
class func soundUnfilteredTypes() -> [AnyObject]
To
class func soundUnfilteredTypes() -> [String]

Raw Value Type
From--
ToUInt

Declaration
From
class NSSpeechRecognizer : NSObject {
    init()
    func startListening()
    func stopListening()
    unowned(unsafe) var delegate: NSSpeechRecognizerDelegate?
    var commands: [AnyObject]?
    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
}

Declaration
From
var commands: [AnyObject]?
To
var commands: [String]?

Declaration
From
init()
To
init?()

Declaration
From
protocol NSSpeechRecognizerDelegate : NSObjectProtocol {
    optional func speechRecognizer(_ sender: NSSpeechRecognizer, didRecognizeCommand command: AnyObject?)
}
To
protocol NSSpeechRecognizerDelegate : NSObjectProtocol {
    optional func speechRecognizer(_ sender: NSSpeechRecognizer, didRecognizeCommand command: String)
}

Declaration
From
optional func speechRecognizer(_ sender: NSSpeechRecognizer, didRecognizeCommand command: AnyObject?)
To
optional func speechRecognizer(_ sender: NSSpeechRecognizer, didRecognizeCommand command: String)

Declaration
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: [NSObject : AnyObject])
    func phonemesFromText(_ text: String) -> String!
    func objectForProperty(_ property: String, error outError: NSErrorPointer) -> AnyObject?
    func setObject(_ object: AnyObject?, forProperty property: String, error outError: NSErrorPointer) -> Bool
    class func isAnyApplicationSpeaking() -> Bool
    class func defaultVoice() -> String!
    class func availableVoices() -> [AnyObject]?
    class func attributesForVoice(_ voice: String) -> [NSObject : AnyObject]?
}
To
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]
}

Declaration
From
func addSpeechDictionary(_ speechDictionary: [NSObject : AnyObject])
To
func addSpeechDictionary(_ speechDictionary: [String : AnyObject])

Declaration
From
class func attributesForVoice(_ voice: String) -> [NSObject : AnyObject]?
To
class func attributesForVoice(_ voice: String) -> [String : AnyObject]

Declaration
From
class func availableVoices() -> [AnyObject]?
To
class func availableVoices() -> [String]

Declaration
From
class func defaultVoice() -> String!
To
class func defaultVoice() -> String

Declaration
From
init!(voice voice: String?)
To
init?(voice voice: String?)

Declaration
From
func objectForProperty(_ property: String, error outError: NSErrorPointer) -> AnyObject?
To
func objectForProperty(_ property: String) throws -> AnyObject

Declaration
From
func phonemesFromText(_ text: String) -> String!
To
func phonemesFromText(_ text: String) -> String

Declaration
From
func setObject(_ object: AnyObject?, forProperty property: String, error outError: NSErrorPointer) -> Bool
To
func setObject(_ object: AnyObject?, forProperty property: String) throws

Declaration
From
func startSpeakingString(_ string: String!) -> Bool
To
func startSpeakingString(_ string: String) -> Bool

Declaration
From
func startSpeakingString(_ string: String!, toURL url: NSURL!) -> Bool
To
func startSpeakingString(_ string: String, toURL url: NSURL) -> Bool

Declaration
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: [NSObject : AnyObject]?, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>, wordCount wordCount: UnsafeMutablePointer<Int>) -> [AnyObject]
    func requestCheckingOfString(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [NSObject : AnyObject]?, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: ((Int, [AnyObject]!, NSOrthography!, Int) -> Void)!) -> Int
    func menuForResult(_ result: NSTextCheckingResult, string checkedString: String, options options: [NSObject : AnyObject]?, atLocation location: NSPoint, inView view: NSView) -> NSMenu?
    func userQuotesArrayForLanguage(_ language: String) -> [AnyObject]
    var userReplacementsDictionary: [NSObject : AnyObject] { get }
    func updateSpellingPanelWithMisspelledWord(_ word: String)
    func updateSpellingPanelWithGrammarString(_ string: String, detail detail: [NSObject : 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) -> [AnyObject]?
    func setIgnoredWords(_ words: [AnyObject], inSpellDocumentWithTag tag: Int)
    func guessesForWordRange(_ range: NSRange, inString string: String, language language: String!, inSpellDocumentWithTag tag: Int) -> [AnyObject]?
    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) -> [AnyObject]?
    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: [AnyObject]!, forStringInRect rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: ((String!) -> Void)?)
    func dismissCorrectionIndicatorForView(_ view: NSView)
    var availableLanguages: [AnyObject] { get }
    var userPreferredLanguages: [AnyObject] { 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 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!)
}

Declaration
From
var availableLanguages: [AnyObject] { get }
To
var availableLanguages: [String] { get }

Declaration
From
func checkString(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [NSObject : AnyObject]?, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>, wordCount wordCount: UnsafeMutablePointer<Int>) -> [AnyObject]
To
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]

Declaration
From
func completionsForPartialWordRange(_ range: NSRange, inString string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [AnyObject]?
To
func completionsForPartialWordRange(_ range: NSRange, inString string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]?

Declaration
From
func countWordsInString(_ stringToCount: String, language language: String!) -> Int
To
func countWordsInString(_ stringToCount: String, language language: String?) -> Int

Declaration
From
func guessesForWordRange(_ range: NSRange, inString string: String, language language: String!, inSpellDocumentWithTag tag: Int) -> [AnyObject]?
To
func guessesForWordRange(_ range: NSRange, inString string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]?

Declaration
From
func ignoredWordsInSpellDocumentWithTag(_ tag: Int) -> [AnyObject]?
To
func ignoredWordsInSpellDocumentWithTag(_ tag: Int) -> [String]?

Declaration
From
func menuForResult(_ result: NSTextCheckingResult, string checkedString: String, options options: [NSObject : AnyObject]?, atLocation location: NSPoint, inView view: NSView) -> NSMenu?
To
func menuForResult(_ result: NSTextCheckingResult, string checkedString: String, options options: [String : AnyObject]?, atLocation location: NSPoint, inView view: NSView) -> NSMenu?

Declaration
From
func recordResponse(_ response: NSCorrectionResponse, toCorrection correction: String, forWord word: String, language language: String!, inSpellDocumentWithTag tag: Int)
To
func recordResponse(_ 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: [NSObject : AnyObject]?, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: ((Int, [AnyObject]!, NSOrthography!, Int) -> Void)!) -> Int
To
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

Declaration
From
func setIgnoredWords(_ words: [AnyObject], inSpellDocumentWithTag tag: Int)
To
func setIgnoredWords(_ words: [String], inSpellDocumentWithTag tag: Int)

Declaration
From
func showCorrectionIndicatorOfType(_ type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [AnyObject]!, forStringInRect rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: ((String!) -> Void)?)
To
func showCorrectionIndicatorOfType(_ type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringInRect rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: ((String!) -> Void)?)

Declaration
From
var substitutionsPanelAccessoryViewController: NSViewController!
To
var substitutionsPanelAccessoryViewController: NSViewController?

Declaration
From
func updateSpellingPanelWithGrammarString(_ string: String, detail detail: [NSObject : AnyObject]!)
To
func updateSpellingPanelWithGrammarString(_ string: String, detail detail: [String : AnyObject])

Declaration
From
var userPreferredLanguages: [AnyObject] { get }
To
var userPreferredLanguages: [String] { get }

Declaration
From
func userQuotesArrayForLanguage(_ language: String) -> [AnyObject]
To
func userQuotesArrayForLanguage(_ language: String) -> [String]

Declaration
From
var userReplacementsDictionary: [NSObject : AnyObject] { get }
To
var userReplacementsDictionary: [String : String] { get }

Modified NSSplitView
Declaration
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 {
    func setIsPaneSplitter(_ flag: Bool)
    func isPaneSplitter() -> Bool
}
To
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
}

Declaration
From
class NSSplitViewController : NSViewController, NSSplitViewDelegate, NSObjectProtocol {
    var splitView: NSSplitView
    var splitViewItems: [AnyObject]
    func addSplitViewItem(_ splitViewItem: NSSplitViewItem)
    func insertSplitViewItem(_ splitViewItem: NSSplitViewItem, atIndex index: Int)
    func removeSplitViewItem(_ splitViewItem: NSSplitViewItem)
    func splitViewItemForViewController(_ viewController: NSViewController) -> NSSplitViewItem?
    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
}
To
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?)
}

Declaration
From
var splitViewItems: [AnyObject]
To
var splitViewItems: [NSSplitViewItem]

Raw Value Type
From--
ToInt

Declaration
From
class NSSplitViewItem : NSObject, NSAnimatablePropertyContainer, NSCoding {
    convenience init(viewController viewController: NSViewController)
    class func splitViewItemWithViewController(_ viewController: NSViewController) -> Self
    var viewController: NSViewController
    var collapsed: Bool
    var canCollapse: Bool
    var holdingPriority: NSLayoutPriority
}
To
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
}

Modified NSStackView
Declaration
From
class NSStackView : NSView {
    convenience init(views views: [AnyObject])
    class func stackViewWithViews(_ views: [AnyObject]) -> 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) -> [AnyObject]
    func setViews(_ views: [AnyObject], inGravity gravity: NSStackViewGravity)
    var views: [AnyObject] { get }
    var detachedViews: [AnyObject] { get }
    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 hasEqualSpacing: Bool
    func clippingResistancePriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority
    func setClippingResistancePriority(_ clippingResistancePriority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation)
    func huggingPriorityForOrientation(_ orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority
    func setHuggingPriority(_ huggingPriority: NSLayoutPriority, forOrientation orientation: NSLayoutConstraintOrientation)
}
To
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
}

Declaration
From
var detachedViews: [AnyObject] { get }
To
var detachedViews: [NSView] { get }

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.9OS X 10.11

Declaration
From
convenience init(views views: [AnyObject])
To
convenience init(views views: [NSView])

Declaration
From
func setViews(_ views: [AnyObject], inGravity gravity: NSStackViewGravity)
To
func setViews(_ views: [NSView], inGravity gravity: NSStackViewGravity)

Declaration
From
var views: [AnyObject] { get }
To
var views: [NSView] { get }

Declaration
From
func viewsInGravity(_ gravity: NSStackViewGravity) -> [AnyObject]
To
func viewsInGravity(_ gravity: NSStackViewGravity) -> [NSView]

Declaration
From
protocol NSStackViewDelegate : NSObjectProtocol {
    optional func stackView(_ stackView: NSStackView, willDetachViews views: [AnyObject])
    optional func stackView(_ stackView: NSStackView, didReattachViews views: [AnyObject])
}
To
protocol NSStackViewDelegate : NSObjectProtocol {
    optional func stackView(_ stackView: NSStackView, willDetachViews views: [NSView])
    optional func stackView(_ stackView: NSStackView, didReattachViews views: [NSView])
}

DeclarationIntroduction
From
optional func stackView(_ stackView: NSStackView, didReattachViews views: [AnyObject])
OS X 10.10
To
optional func stackView(_ stackView: NSStackView, didReattachViews views: [NSView])
OS X 10.9

DeclarationIntroduction
From
optional func stackView(_ stackView: NSStackView, willDetachViews views: [AnyObject])
OS X 10.10
To
optional func stackView(_ stackView: NSStackView, willDetachViews views: [NSView])
OS X 10.9

DeclarationRaw Value Type
From
enum NSStackViewGravity : Int {
    case Top
    case Center
    case Bottom
}
--
To
enum NSStackViewGravity : Int {
    case Top
    static var Leading: NSStackViewGravity { get }
    case Center
    case Bottom
    static var Trailing: NSStackViewGravity { get }
}
Int

Modified NSStepper
Declaration
From
class NSStepper : NSControl, NSAccessibilityStepper, NSAccessibilityElementProtocol, NSObjectProtocol {
    var minValue: Double
    var maxValue: Double
    var increment: Double
    var valueWraps: Bool
    var autorepeat: Bool
}
To
class NSStepper : NSControl, NSAccessibilityStepper {
    var minValue: Double
    var maxValue: Double
    var increment: Double
    var valueWraps: Bool
    var autorepeat: Bool
}

Modified NSStoryboard
Declaration
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: NSBundle?)
    class func storyboardWithName(_ name: String, bundle storyboardBundleOrNil: NSBundle?) -> Self
    func instantiateInitialController() -> AnyObject?
    func instantiateControllerWithIdentifier(_ identifier: String) -> AnyObject
}

Declaration
From
convenience init?(name name: String, bundle storyboardBundleOrNil: NSBundle?)
To
convenience init(name name: String, bundle storyboardBundleOrNil: NSBundle?)

Declaration
From
func instantiateControllerWithIdentifier(_ identifier: String) -> AnyObject?
To
func instantiateControllerWithIdentifier(_ identifier: String) -> AnyObject

Declaration
From
func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, attributes attributes: [NSObject : AnyObject]?) -> NSRect
To
func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?) -> NSRect

DeclarationIntroduction
From
func drawAtPoint(_ point: NSPoint, withAttributes attrs: [NSObject : AnyObject]?)
OS X 10.10
To
func drawAtPoint(_ point: NSPoint, withAttributes attrs: [String : AnyObject]?)
OS X 10.0

DeclarationIntroduction
From
func drawInRect(_ rect: NSRect, withAttributes attrs: [NSObject : AnyObject]?)
OS X 10.10
To
func drawInRect(_ rect: NSRect, withAttributes attrs: [String : AnyObject]?)
OS X 10.0

Declaration
From
func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, attributes attributes: [NSObject : AnyObject]?)
To
func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?)

DeclarationIntroduction
From
func sizeWithAttributes(_ attrs: [NSObject : AnyObject]?) -> NSSize
OS X 10.10
To
func sizeWithAttributes(_ attrs: [String : AnyObject]?) -> NSSize
OS X 10.0

DeclarationProtocolsIntroduction
From
struct NSStringDrawingOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var TruncatesLastVisibleLine: NSStringDrawingOptions { get }
    static var UsesLineFragmentOrigin: NSStringDrawingOptions { get }
    static var UsesFontLeading: NSStringDrawingOptions { get }
    static var DisableScreenFontSubstitution: NSStringDrawingOptions { get }
    static var UsesDeviceMetrics: NSStringDrawingOptions { get }
    static var OneShot: NSStringDrawingOptions { get }
}
RawOptionSetTypeOS X 10.10
To
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 }
}
OptionSetTypeOS X 10.0

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
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: [AnyObject] { get }
}
To
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 }
}

Declaration
From
var draggingImageComponents: [AnyObject] { get }
To
var draggingImageComponents: [NSDraggingImageComponent] { get }

Modified NSTableColumn
Declaration
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: AnyObject
    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
}
To
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
}

Declaration
From
var headerCell: AnyObject
To
var headerCell: NSTableHeaderCell

Declaration
From
var identifier: String!
To
var identifier: String

Declaration
From
init(identifier identifier: String!)
To
init(identifier identifier: String)

DeclarationProtocols
From
struct NSTableColumnResizingOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var NoResizing: NSTableColumnResizingOptions { get }
    static var AutoresizingMask: NSTableColumnResizingOptions { get }
    static var UserResizingMask: NSTableColumnResizingOptions { get }
}
RawOptionSetType
To
struct NSTableColumnResizingOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var NoResizing: NSTableColumnResizingOptions { get }
    static var AutoresizingMask: NSTableColumnResizingOptions { get }
    static var UserResizingMask: NSTableColumnResizingOptions { get }
}
OptionSetType

Declaration
From
class NSTableRowView : NSView, NSAccessibilityRow, NSAccessibilityGroup, NSAccessibilityElementProtocol, NSObjectProtocol {
    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 }
}
To
class NSTableRowView : NSView, NSAccessibilityRow, NSAccessibilityGroup {
    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 }
}

Modified NSTableView
Declaration
From
class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSTextDelegate, NSObjectProtocol, NSDraggingSource, NSAccessibilityTable, NSAccessibilityGroup, NSAccessibilityElementProtocol {
    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: [AnyObject] { 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: [AnyObject]
    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: [AnyObject], 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) -> AnyObject?
    func rowViewAtRow(_ row: Int, makeIfNecessary makeIfNecessary: Bool) -> AnyObject?
    func rowForView(_ view: NSView) -> Int
    func columnForView(_ view: NSView) -> Int
    func makeViewWithIdentifier(_ identifier: String, owner owner: AnyObject?) -> AnyObject?
    func enumerateAvailableRowViewsUsingBlock(_ handler: (NSTableRowView!, Int) -> Void)
    var floatsGroupRows: 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 registerNib(_ nib: NSNib, forIdentifier identifier: String)
    var registeredNibsByIdentifier: [NSObject : AnyObject]? { 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)
}
To
class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSTextDelegate, NSDraggingSource, NSAccessibilityTable, NSAccessibilityGroup {
    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)
}

Declaration
From
func columnWithIdentifier(_ identifier: String?) -> Int
To
func columnWithIdentifier(_ identifier: String) -> Int

Declaration
From
func dragImageForRowsWithIndexes(_ dragRows: NSIndexSet, tableColumns tableColumns: [AnyObject], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage
To
func dragImageForRowsWithIndexes(_ dragRows: NSIndexSet, tableColumns tableColumns: [NSTableColumn], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage

Declaration
From
func enumerateAvailableRowViewsUsingBlock(_ handler: (NSTableRowView!, Int) -> Void)
To
func enumerateAvailableRowViewsUsingBlock(_ handler: (NSTableRowView, Int) -> Void)

Declaration
From
func makeViewWithIdentifier(_ identifier: String, owner owner: AnyObject?) -> AnyObject?
To
func makeViewWithIdentifier(_ identifier: String, owner owner: AnyObject?) -> NSView?

Declaration
From
var registeredNibsByIdentifier: [NSObject : AnyObject]? { get }
To
var registeredNibsByIdentifier: [String : NSNib]? { get }

Declaration
From
func registerNib(_ nib: NSNib, forIdentifier identifier: String)
To
func registerNib(_ nib: NSNib?, forIdentifier identifier: String)

Declaration
From
func rowViewAtRow(_ row: Int, makeIfNecessary makeIfNecessary: Bool) -> AnyObject?
To
func rowViewAtRow(_ row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSTableRowView?

Declaration
From
var sortDescriptors: [AnyObject]
To
var sortDescriptors: [NSSortDescriptor]

Declaration
From
var tableColumns: [AnyObject] { get }
To
var tableColumns: [NSTableColumn] { get }

Declaration
From
func tableColumnWithIdentifier(_ identifier: String?) -> NSTableColumn?
To
func tableColumnWithIdentifier(_ identifier: String) -> NSTableColumn?

Declaration
From
func viewAtColumn(_ column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> AnyObject?
To
func viewAtColumn(_ column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSView?

DeclarationProtocols
From
struct NSTableViewAnimationOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToUInt

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: [AnyObject])
    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) -> [AnyObject]
}
To
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]
}

Declaration
From
optional func tableView(_ tableView: NSTableView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes indexSet: NSIndexSet) -> [AnyObject]
To
optional func tableView(_ tableView: NSTableView, namesOfPromisedFilesDroppedAtDestination dropDestination: NSURL, forDraggedRowsWithIndexes indexSet: NSIndexSet) -> [String]

Declaration
From
optional func tableView(_ tableView: NSTableView, sortDescriptorsDidChange oldDescriptors: [AnyObject])
To
optional func tableView(_ tableView: NSTableView, sortDescriptorsDidChange oldDescriptors: [NSSortDescriptor])

Declaration
From
protocol NSTableViewDelegate : NSControlTextEditingDelegate, NSObjectProtocol {
    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 tableViewSelectionDidChange(_ notification: NSNotification)
    optional func tableViewColumnDidMove(_ notification: NSNotification)
    optional func tableViewColumnDidResize(_ notification: NSNotification)
    optional func tableViewSelectionIsChanging(_ notification: NSNotification)
}
To
protocol NSTableViewDelegate : NSControlTextEditingDelegate, NSObjectProtocol {
    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)
}

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSTableViewGridLineStyle : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var GridNone: NSTableViewGridLineStyle { get }
    static var SolidVerticalGridLineMask: NSTableViewGridLineStyle { get }
    static var SolidHorizontalGridLineMask: NSTableViewGridLineStyle { get }
    static var DashedHorizontalGridLineMask: NSTableViewGridLineStyle { get }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Modified NSTabView
Declaration
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: [AnyObject] { 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 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
}

Declaration
From
var tabViewItems: [AnyObject] { get }
To
var tabViewItems: [NSTabViewItem] { get }

Declaration
From
class NSTabViewController : NSViewController, NSTabViewDelegate, NSObjectProtocol, NSToolbarDelegate {
    var tabStyle: NSTabViewControllerTabStyle
    var tabView: NSTabView
    var transitionOptions: NSViewControllerTransitionOptions
    var canPropagateSelectedChildViewControllerTitle: Bool
    var tabViewItems: [AnyObject]
    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) -> [AnyObject]?
    func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]?
    func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]?
}
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, 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]
}

Declaration
From
func tabView(_ tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem)
To
func tabView(_ tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem?)

Declaration
From
func tabView(_ tabView: NSTabView, shouldSelectTabViewItem tabViewItem: NSTabViewItem) -> Bool
To
func tabView(_ tabView: NSTabView, shouldSelectTabViewItem tabViewItem: NSTabViewItem?) -> Bool

Declaration
From
func tabView(_ tabView: NSTabView, willSelectTabViewItem tabViewItem: NSTabViewItem)
To
func tabView(_ tabView: NSTabView, willSelectTabViewItem tabViewItem: NSTabViewItem?)

Declaration
From
var tabViewItems: [AnyObject]
To
var tabViewItems: [NSTabViewItem]

Declaration
From
func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]?
To
func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String]

Declaration
From
func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]?
To
func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String]

Declaration
From
func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]?
To
func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String]

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

DeclarationRaw Value Type
From
enum NSTextAlignment : UInt {
    case LeftTextAlignment
    case RightTextAlignment
    case CenterTextAlignment
    case JustifiedTextAlignment
    case NaturalTextAlignment
}
--
To
enum NSTextAlignment : UInt {
    case Left
    case Right
    case Center
    case Justified
    case Natural
}
UInt

Declaration
From
class NSTextAlternatives : NSObject {
    init(primaryString primaryString: String, alternativeStrings alternativeStrings: [AnyObject])
    var primaryString: String { get }
    var alternativeStrings: [AnyObject] { 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)
}

Declaration
From
var alternativeStrings: [AnyObject] { get }
To
var alternativeStrings: [String] { get }

Declaration
From
init(primaryString primaryString: String, alternativeStrings alternativeStrings: [AnyObject])
To
init(primaryString primaryString: String, alternativeStrings alternativeStrings: [String])

DeclarationProtocolsIntroduction
From
class NSTextAttachment : NSObject, NSCoding {
    init(fileWrapper fileWrapper: NSFileWrapper?)
    var fileWrapper: NSFileWrapper?
    var attachmentCell: NSTextAttachmentCellProtocol!
}
AnyObject, NSCodingOS X 10.10
To
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?
}
AnyObject, NSCoding, NSObjectProtocol, NSTextAttachmentContainerOS X 10.0

Declaration
From
var attachmentCell: NSTextAttachmentCellProtocol!
To
var attachmentCell: NSTextAttachmentCellProtocol?

Declaration
From
init(fileWrapper fileWrapper: NSFileWrapper?)
To
convenience init(fileWrapper fileWrapper: NSFileWrapper?)

Declaration
From
class NSTextAttachmentCell : NSCell, NSTextAttachmentCellProtocol, NSObjectProtocol {
}
To
class NSTextAttachmentCell : NSCell, 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
    func setAttachment(_ anObject: NSTextAttachment?)
    func attachment() -> NSTextAttachment?
    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 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
}

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView)
To
func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?)

Declaration
From
func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView, characterIndex charIndex: Int)
To
func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?, characterIndex charIndex: Int)

DeclarationIntroduction
From
func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView, characterIndex charIndex: Int, layoutManager layoutManager: NSLayoutManager)
OS X 10.10
To
func drawWithFrame(_ cellFrame: NSRect, inView controlView: NSView?, characterIndex charIndex: Int, layoutManager layoutManager: NSLayoutManager)
OS X 10.0

Declaration
From
func highlight(_ flag: Bool, withFrame cellFrame: NSRect, inView controlView: NSView)
To
func highlight(_ flag: Bool, withFrame cellFrame: NSRect, inView controlView: NSView?)

Declaration
From
func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView, atCharacterIndex charIndex: Int, untilMouseUp flag: Bool) -> Bool
To
func trackMouse(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView 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(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, untilMouseUp flag: Bool) -> Bool

Declaration
From
func wantsToTrackMouseForEvent(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView, atCharacterIndex charIndex: Int) -> Bool
To
func wantsToTrackMouseForEvent(_ theEvent: NSEvent, inRect cellFrame: NSRect, ofView controlView: NSView?, atCharacterIndex charIndex: Int) -> Bool

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

DeclarationIntroduction
From
class NSTextContainer : NSObject, NSCoding, NSTextLayoutOrientationProvider {
    init(containerSize size: NSSize)
    unowned(unsafe) var layoutManager: NSLayoutManager?
    func replaceLayoutManager(_ newLayoutManager: NSLayoutManager?)
    var textView: NSTextView?
    var widthTracksTextView: Bool
    var heightTracksTextView: Bool
    var containerSize: NSSize
    var lineFragmentPadding: CGFloat
    func lineFragmentRectForProposedRect(_ proposedRect: NSRect, sweepDirection sweepDirection: NSLineSweepDirection, movementDirection movementDirection: NSLineMovementDirection, remainingRect remainingRect: NSRectPointer) -> NSRect
    var simpleRectangularTextContainer: Bool { get }
    func containsPoint(_ point: NSPoint) -> Bool
}
OS X 10.10
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 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
}
OS X 10.0

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
init(containerSize size: NSSize)
To
convenience init(containerSize aContainerSize: NSSize)

DeclarationIntroduction
From
func replaceLayoutManager(_ newLayoutManager: NSLayoutManager?)
OS X 10.10
To
func replaceLayoutManager(_ newLayoutManager: NSLayoutManager)
OS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Modified NSTextField
Declaration
From
class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText, NSAccessibilityStaticText, NSAccessibilityElementProtocol, NSObjectProtocol {
    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
}
extension NSTextField {
    var allowsEditingTextAttributes: Bool
    var importsGraphics: Bool
}
extension NSTextField {
    func setTitleWithMnemonic(_ stringWithAmpersand: String!)
}
To
class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText, NSAccessibilityStaticText {
    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!)
}

Raw Value Type
From--
ToUInt

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: [AnyObject]?
}
To
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]?
}

Declaration
From
var allowedInputSourceLocales: [AnyObject]?
To
var allowedInputSourceLocales: [String]?

Modified NSTextFinder
Declaration
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: [AnyObject] { get }
    class func drawIncrementalMatchHighlightInRect(_ rect: NSRect)
    func noteClientStringWillChange()
}
To
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()
}

Declaration
From
var incrementalMatchRanges: [AnyObject] { get }
To
var incrementalMatchRanges: [NSValue] { get }

Raw Value Type
From--
ToInt

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 findBarVisible: Bool { get set }
    func findBarViewDidChangeHeight()
    optional func contentView() -> NSView?
}

Declaration
From
optional func contentView() -> NSView
To
optional func contentView() -> NSView?

Declaration
From
var findBarView: NSView { get set }
To
var findBarView: NSView? { get set }

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: [AnyObject] { get set }
    optional func scrollRangeToVisible(_ range: NSRange)
    optional func shouldReplaceCharactersInRanges(_ ranges: [AnyObject], withStrings strings: [AnyObject]) -> 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) -> [AnyObject]?
    optional var visibleCharacterRanges: [AnyObject] { get }
    optional func drawCharactersInRange(_ range: NSRange, forContentView view: NSView)
}
To
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)
}

Declaration
From
optional func rectsForCharacterRange(_ range: NSRange) -> [AnyObject]?
To
optional func rectsForCharacterRange(_ range: NSRange) -> [NSValue]?

Declaration
From
optional var selectedRanges: [AnyObject] { get set }
To
optional var selectedRanges: [NSValue] { get set }

Declaration
From
optional func shouldReplaceCharactersInRanges(_ ranges: [AnyObject], withStrings strings: [AnyObject]) -> Bool
To
optional func shouldReplaceCharactersInRanges(_ ranges: [NSValue], withStrings strings: [String]) -> Bool

Declaration
From
optional var visibleCharacterRanges: [AnyObject] { get }
To
optional var visibleCharacterRanges: [NSValue] { get }

Raw Value Type
From--
ToInt

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() -> [AnyObject]
    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(_ 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
}

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func validAttributesForMarkedText() -> [AnyObject]
To
func validAttributesForMarkedText() -> [String]

Declaration
From
class NSTextInputContext : NSObject {
    class func currentInputContext() -> NSTextInputContext?
    init(client theClient: NSTextInputClient)
    var client: NSTextInputClient { get }
    var acceptsGlyphInfo: Bool
    var allowedInputSourceLocales: [AnyObject]?
    func activate()
    func deactivate()
    func handleEvent(_ theEvent: NSEvent) -> Bool
    func discardMarkedText()
    func invalidateCharacterCoordinates()
    var keyboardInputSources: [AnyObject]? { get }
    var selectedKeyboardInputSource: String?
    class func localizedNameForInputSource(_ inputSourceIdentifier: String) -> String?
}
To
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?
}

Declaration
From
var allowedInputSourceLocales: [AnyObject]?
To
var allowedInputSourceLocales: [String]?

Declaration
From
var keyboardInputSources: [AnyObject]? { get }
To
var keyboardInputSources: [String]? { get }

IntroductionRaw Value Type
FromOS X 10.10--
ToOS X 10.7Int

Declaration
From
protocol NSTextLayoutOrientationProvider {
    func layoutOrientation() -> NSTextLayoutOrientation
}
To
protocol NSTextLayoutOrientationProvider {
    var layoutOrientation: NSTextLayoutOrientation { get }
}

DeclarationProtocols
From
struct NSTextListOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var PrependEnclosingMarker: NSTextListOptions { get }
}
RawOptionSetType
To
struct NSTextListOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var PrependEnclosingMarker: NSTextListOptions { get }
}
OptionSetType

Modified NSTextStorage
DeclarationIntroduction
From
class NSTextStorage : NSMutableAttributedString {
    func addLayoutManager(_ obj: NSLayoutManager)
    func removeLayoutManager(_ obj: NSLayoutManager)
    var layoutManagers: [AnyObject] { get }
    func edited(_ editedMask: Int, range range: NSRange, changeInLength delta: Int)
    func processEditing()
    func invalidateAttributesInRange(_ range: NSRange)
    func ensureAttributesAreFixedInRange(_ range: NSRange)
    var fixesAttributesLazily: Bool { get }
    var editedMask: Int { get }
    var editedRange: NSRange { get }
    var changeInLength: Int { get }
    unowned(unsafe) var delegate: NSTextStorageDelegate?
}
extension NSTextStorage {
    var attributeRuns: [AnyObject]
    var paragraphs: [AnyObject]
    var words: [AnyObject]
    var characters: [AnyObject]
    var font: NSFont?
    var foregroundColor: NSColor?
}
OS X 10.10
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 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?
}
OS X 10.0

Declaration
From
var attributeRuns: [AnyObject]
To
var attributeRuns: [NSTextStorage]

Declaration
From
var characters: [AnyObject]
To
var characters: [NSTextStorage]

Declaration
From
func edited(_ editedMask: Int, range range: NSRange, changeInLength delta: Int)
To
func edited(_ editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int)

Declaration
From
var editedMask: Int { get }
To
var editedMask: NSTextStorageEditActions { get }

Declaration
From
var layoutManagers: [AnyObject] { get }
To
var layoutManagers: [NSLayoutManager] { get }

Declaration
From
var paragraphs: [AnyObject]
To
var paragraphs: [NSTextStorage]

Declaration
From
var words: [AnyObject]
To
var words: [NSTextStorage]

Declaration
From
protocol NSTextStorageDelegate : NSObjectProtocol {
    optional func textStorageWillProcessEditing(_ notification: NSNotification)
    optional func textStorageDidProcessEditing(_ notification: NSNotification)
}
To
protocol NSTextStorageDelegate : NSObjectProtocol {
    optional func textStorage(_ textStorage: NSTextStorage, willProcessEditing editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int)
    optional func textStorage(_ textStorage: NSTextStorage, didProcessEditing editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int)
}

Modified NSTextTab
DeclarationIntroduction
From
class NSTextTab : NSObject, NSCopying, NSCoding {
    init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [NSObject : AnyObject]?)
    var alignment: NSTextAlignment { get }
    var options: [NSObject : AnyObject]? { get }
    init(type type: NSTextTabType, location loc: CGFloat)
    var location: CGFloat { get }
    var tabStopType: NSTextTabType { get }
}
OS X 10.10
To
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 }
}
OS X 10.0

Declaration
From
init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [NSObject : AnyObject]?)
To
init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : AnyObject])

Declaration
From
init(type type: NSTextTabType, location loc: CGFloat)
To
convenience init(type type: NSTextTabType, location loc: CGFloat)

Declaration
From
var options: [NSObject : AnyObject]? { get }
To
var options: [String : AnyObject] { get }

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSTextView
Declaration
From
class NSTextView : NSText, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSObjectProtocol, NSTextInput, NSAccessibilityNavigableStaticText, NSAccessibilityStaticText, NSAccessibilityElementProtocol {
    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>) -> [AnyObject]?
    func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool)
}
extension NSTextView {
    var writablePasteboardTypes: [AnyObject] { get }
    func writeSelectionToPasteboard(_ pboard: NSPasteboard, type type: String) -> Bool
    func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [AnyObject]) -> Bool
    var readablePasteboardTypes: [AnyObject] { get }
    func preferredPasteboardTypeFromArray(_ availableTypes: [AnyObject], restrictedToTypesFromArray allowedTypes: [AnyObject]?) -> 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: [AnyObject] { get }
    func dragOperationForDraggingInfo(_ dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation
    func cleanUpAfterDragOperation()
}
extension NSTextView {
    var selectedRanges: [AnyObject]
    func setSelectedRanges(_ ranges: [AnyObject], 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: [NSObject : AnyObject]
    @NSCopying var insertionPointColor: NSColor
    func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool)
    var markedTextAttributes: [NSObject : AnyObject]?
    var linkTextAttributes: [NSObject : 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: [NSObject : AnyObject]
    func shouldChangeTextInRanges(_ affectedRanges: [AnyObject], replacementStrings replacementStrings: [AnyObject]?) -> Bool
    var rangesForUserTextChange: [AnyObject]? { get }
    var rangesForUserCharacterAttributeChange: [AnyObject]? { get }
    var rangesForUserParagraphAttributeChange: [AnyObject]? { 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: [AnyObject]?
}
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: [NSObject : AnyObject])
    func handleTextCheckingResults(_ results: [AnyObject], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [NSObject : 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: [AnyObject]) -> [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, NSAccessibilityStaticText {
    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?)
}

Declaration
From
var acceptableDragTypes: [AnyObject] { get }
To
var acceptableDragTypes: [String] { get }

Declaration
From
var allowedInputSourceLocales: [AnyObject]?
To
var allowedInputSourceLocales: [String]?

Declaration
From
func checkTextInRange(_ range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [NSObject : AnyObject])
To
func checkTextInRange(_ range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject])

Declaration
From
func completionsForPartialWordRange(_ charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [AnyObject]?
To
func completionsForPartialWordRange(_ charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]?

Declaration
From
func handleTextCheckingResults(_ results: [AnyObject], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [NSObject : AnyObject], orthography orthography: NSOrthography, wordCount wordCount: Int)
To
func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject], orthography orthography: NSOrthography, wordCount wordCount: Int)

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
var linkTextAttributes: [NSObject : AnyObject]?
To
var linkTextAttributes: [String : AnyObject]?

Declaration
From
var markedTextAttributes: [NSObject : AnyObject]?
To
var markedTextAttributes: [String : AnyObject]?

Declaration
From
func preferredPasteboardTypeFromArray(_ availableTypes: [AnyObject], restrictedToTypesFromArray allowedTypes: [AnyObject]?) -> String?
To
func preferredPasteboardTypeFromArray(_ availableTypes: [String], restrictedToTypesFromArray allowedTypes: [String]?) -> String?

Declaration
From
func quickLookPreviewableItemsInRanges(_ ranges: [AnyObject]) -> [AnyObject]?
To
func quickLookPreviewableItemsInRanges(_ ranges: [NSValue]) -> [AnyObject]?

Declaration
From
var rangesForUserCharacterAttributeChange: [AnyObject]? { get }
To
var rangesForUserCharacterAttributeChange: [NSValue]? { get }

Declaration
From
var rangesForUserParagraphAttributeChange: [AnyObject]? { get }
To
var rangesForUserParagraphAttributeChange: [NSValue]? { get }

Declaration
From
var rangesForUserTextChange: [AnyObject]? { get }
To
var rangesForUserTextChange: [NSValue]? { get }

Declaration
From
var readablePasteboardTypes: [AnyObject] { get }
To
var readablePasteboardTypes: [String] { get }

Declaration
From
var selectedRanges: [AnyObject]
To
var selectedRanges: [NSValue]

Declaration
From
var selectedTextAttributes: [NSObject : AnyObject]
To
var selectedTextAttributes: [String : AnyObject]

Declaration
From
func setSelectedRanges(_ ranges: [AnyObject], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool)
To
func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool)

Declaration
From
func shouldChangeTextInRanges(_ affectedRanges: [AnyObject], replacementStrings replacementStrings: [AnyObject]?) -> Bool
To
func shouldChangeTextInRanges(_ affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
var typingAttributes: [NSObject : AnyObject]
To
var typingAttributes: [String : AnyObject]

Declaration
From
var writablePasteboardTypes: [AnyObject] { get }
To
var writablePasteboardTypes: [String] { get }

Declaration
From
func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [AnyObject]) -> Bool
To
func writeSelectionToPasteboard(_ pboard: NSPasteboard, types types: [String]) -> Bool

Declaration
From
protocol NSTextViewDelegate : NSTextDelegate, NSObjectProtocol {
    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) -> [AnyObject]
    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: [AnyObject], toCharacterRanges newSelectedCharRanges: [AnyObject]) -> [AnyObject]
    optional func textView(_ textView: NSTextView, shouldChangeTextInRanges affectedRanges: [AnyObject], replacementStrings replacementStrings: [AnyObject]?) -> Bool
    optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [NSObject : AnyObject], toAttributes newTypingAttributes: [NSObject : AnyObject]) -> [NSObject : 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: [AnyObject], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [AnyObject]
    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: [NSObject : AnyObject], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [NSObject : AnyObject]
    optional func textView(_ view: NSTextView, didCheckTextInRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [NSObject : AnyObject], results results: [AnyObject], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [AnyObject]
    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, NSObjectProtocol {
    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!)
}

Declaration
From
optional func textView(_ textView: NSTextView, completions words: [AnyObject], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [AnyObject]
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: [NSObject : AnyObject], results results: [AnyObject], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [AnyObject]
To
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]

Declaration
From
optional func textView(_ textView: NSTextView, shouldChangeTextInRange affectedCharRange: NSRange, replacementString replacementString: String) -> Bool
To
optional func textView(_ textView: NSTextView, shouldChangeTextInRange affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool

Declaration
From
optional func textView(_ textView: NSTextView, shouldChangeTextInRanges affectedRanges: [AnyObject], replacementStrings replacementStrings: [AnyObject]?) -> Bool
To
optional func textView(_ textView: NSTextView, shouldChangeTextInRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool

Declaration
From
optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [NSObject : AnyObject], toAttributes newTypingAttributes: [NSObject : AnyObject]) -> [NSObject : AnyObject]
To
optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [String : AnyObject], toAttributes newTypingAttributes: [String : AnyObject]) -> [String : AnyObject]

Declaration
From
optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRanges oldSelectedCharRanges: [AnyObject], toCharacterRanges newSelectedCharRanges: [AnyObject]) -> [AnyObject]
To
optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRanges oldSelectedCharRanges: [NSValue], toCharacterRanges newSelectedCharRanges: [NSValue]) -> [NSValue]

Declaration
From
optional func textView(_ view: NSTextView, willCheckTextInRange range: NSRange, options options: [NSObject : AnyObject], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [NSObject : AnyObject]
To
optional func textView(_ view: NSTextView, willCheckTextInRange range: NSRange, options options: [String : AnyObject], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [String : AnyObject]

Declaration
From
optional func textView(_ view: NSTextView, writablePasteboardTypesForCell cell: NSTextAttachmentCellProtocol, atIndex charIndex: Int) -> [AnyObject]
To
optional func textView(_ view: NSTextView, writablePasteboardTypesForCell cell: NSTextAttachmentCellProtocol, atIndex charIndex: Int) -> [String]

Introduction
FromOS X 10.10
ToOS X 10.0

DeclarationRaw Value Type
From
enum NSTickMarkPosition : UInt {
    case Below
    case Above
}
--
To
enum NSTickMarkPosition : UInt {
    case Below
    case Above
    static var Left: NSTickMarkPosition { get }
    static var Right: NSTickMarkPosition { get }
}
UInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

Modified NSToolbar
Declaration
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: [AnyObject] { get }
    var visibleItems: [AnyObject]? { get }
    var autosavesConfiguration: Bool
    func setConfigurationFromDictionary(_ configDict: [NSObject : AnyObject])
    var configurationDictionary: [NSObject : 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 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
}

Declaration
From
var configurationDictionary: [NSObject : AnyObject] { get }
To
var configurationDictionary: [String : AnyObject] { get }

Declaration
From
var items: [AnyObject] { get }
To
var items: [NSToolbarItem] { get }

Declaration
From
func setConfigurationFromDictionary(_ configDict: [NSObject : AnyObject])
To
func setConfigurationFromDictionary(_ configDict: [String : AnyObject])

Declaration
From
var visibleItems: [AnyObject]? { get }
To
var visibleItems: [NSToolbarItem]? { get }

Declaration
From
protocol NSToolbarDelegate : NSObjectProtocol {
    optional func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: String, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem?
    optional func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]
    optional func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]
    optional func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]
    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: NSNotification)
    optional func toolbarDidRemoveItem(_ notification: NSNotification)
}

Declaration
From
optional func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]
To
optional func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String]

Declaration
From
optional func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]
To
optional func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String]

Declaration
From
optional func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [AnyObject]
To
optional func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String]

Raw Value Type
From--
ToUInt

Declaration
From
class NSToolbarItemGroup : NSToolbarItem {
    var subitems: [AnyObject]
}
To
class NSToolbarItemGroup : NSToolbarItem {
    var subitems: [NSToolbarItem]
}

Declaration
From
var subitems: [AnyObject]
To
var subitems: [NSToolbarItem]

Raw Value Type
From--
ToUInt

Modified NSTouch
Declaration
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 }
}
To
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 }
}

Declaration
From
var identity: protocol<NSCopying, NSObjectProtocol>? { get }
To
var identity: protocol<NSCopying, NSObjectProtocol> { get }

DeclarationProtocols
From
struct NSTouchPhase : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Declaration
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 }
}
To
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 }
}

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: AnyObject?, userInfo userInfo: [NSObject : AnyObject]?)

Declaration
From
unowned(unsafe) var owner: AnyObject! { get }
To
unowned(unsafe) var owner: AnyObject? { get }

DeclarationProtocols
From
struct NSTrackingAreaOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Declaration
From
class NSTreeController : NSObjectController {
    func rearrangeObjects()
    var arrangedObjects: AnyObject { get }
    var childrenKeyPath: String!
    var countKeyPath: String!
    var leafKeyPath: String?
    var sortDescriptors: [AnyObject]!
    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: [AnyObject])
    func removeObjectAtArrangedObjectIndexPath(_ indexPath: NSIndexPath)
    func removeObjectsAtArrangedObjectIndexPaths(_ indexPaths: [AnyObject])
    var avoidsEmptySelection: Bool
    var preservesSelection: Bool
    var selectsInsertedObjects: Bool
    var alwaysUsesMultipleValuesMarker: Bool
    var selectedObjects: [AnyObject]! { get }
    func setSelectionIndexPaths(_ indexPaths: [AnyObject]!) -> Bool
    var selectionIndexPaths: [AnyObject]! { get }
    func setSelectionIndexPath(_ indexPath: NSIndexPath?) -> Bool
    @NSCopying var selectionIndexPath: NSIndexPath? { get }
    func addSelectionIndexPaths(_ indexPaths: [AnyObject]) -> Bool
    func removeSelectionIndexPaths(_ indexPaths: [AnyObject]) -> Bool
    var selectedNodes: [AnyObject]! { get }
    func moveNode(_ node: NSTreeNode, toIndexPath indexPath: NSIndexPath)
    func moveNodes(_ nodes: [AnyObject], 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: 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?
}

Declaration
From
func addSelectionIndexPaths(_ indexPaths: [AnyObject]) -> Bool
To
func addSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool

Declaration
From
var childrenKeyPath: String!
To
var childrenKeyPath: String?

Declaration
From
var content: AnyObject!
To
var content: AnyObject?

Declaration
From
var countKeyPath: String!
To
var countKeyPath: String?

Declaration
From
func insertObject(_ object: AnyObject!, atArrangedObjectIndexPath indexPath: NSIndexPath)
To
func insertObject(_ object: AnyObject?, atArrangedObjectIndexPath indexPath: NSIndexPath)

Declaration
From
func insertObjects(_ objects: [AnyObject], atArrangedObjectIndexPaths indexPaths: [AnyObject])
To
func insertObjects(_ objects: [AnyObject], atArrangedObjectIndexPaths indexPaths: [NSIndexPath])

Declaration
From
func moveNodes(_ nodes: [AnyObject], toIndexPath startingIndexPath: NSIndexPath)
To
func moveNodes(_ nodes: [NSTreeNode], toIndexPath startingIndexPath: NSIndexPath)

Declaration
From
func removeObjectsAtArrangedObjectIndexPaths(_ indexPaths: [AnyObject])
To
func removeObjectsAtArrangedObjectIndexPaths(_ indexPaths: [NSIndexPath])

Declaration
From
func removeSelectionIndexPaths(_ indexPaths: [AnyObject]) -> Bool
To
func removeSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool

Declaration
From
var selectedNodes: [AnyObject]! { get }
To
var selectedNodes: [NSTreeNode] { get }

Declaration
From
var selectedObjects: [AnyObject]! { get }
To
var selectedObjects: [AnyObject] { get }

Declaration
From
var selectionIndexPaths: [AnyObject]! { get }
To
var selectionIndexPaths: [NSIndexPath] { get }

Declaration
From
func setSelectionIndexPaths(_ indexPaths: [AnyObject]!) -> Bool
To
func setSelectionIndexPaths(_ indexPaths: [NSIndexPath]) -> Bool

Declaration
From
var sortDescriptors: [AnyObject]!
To
var sortDescriptors: [NSSortDescriptor]

Modified NSTreeNode
Declaration
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: [AnyObject]? { get }
    var mutableChildNodes: NSMutableArray! { get }
    func descendantNodeAtIndexPath(_ indexPath: NSIndexPath) -> NSTreeNode?
    unowned(unsafe) var parentNode: NSTreeNode? { get }
    func sortWithSortDescriptors(_ sortDescriptors: [AnyObject], recursively recursively: Bool)
}
To
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)
}

Declaration
From
var childNodes: [AnyObject]? { get }
To
var childNodes: [NSTreeNode]? { get }

Declaration
From
init(representedObject modelObject: AnyObject!)
To
init(representedObject modelObject: AnyObject?)

Declaration
From
var mutableChildNodes: NSMutableArray! { get }
To
var mutableChildNodes: NSMutableArray { get }

Declaration
From
var representedObject: AnyObject! { get }
To
var representedObject: AnyObject? { get }

Declaration
From
func sortWithSortDescriptors(_ sortDescriptors: [AnyObject], recursively recursively: Bool)
To
func sortWithSortDescriptors(_ sortDescriptors: [NSSortDescriptor], recursively recursively: Bool)

Modified NSTypesetter
Declaration
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: [NSObject : AnyObject]? { get }
    func actionForControlCharacterAtIndex(_ charIndex: Int) -> NSTypesetterControlCharacterAction
    unowned(unsafe) var layoutManager: NSLayoutManager? { get }
    var textContainers: [AnyObject]? { 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 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)
}

Declaration
From
var attributesForExtraLineFragment: [NSObject : AnyObject]? { get }
To
var attributesForExtraLineFragment: [String : AnyObject]? { get }

Declaration
From
var textContainers: [AnyObject]? { get }
To
var textContainers: [NSTextContainer]? { get }

Raw Value Type
From--
ToInt

DeclarationProtocols
From
struct NSTypesetterControlCharacterAction : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Declaration
From
init?(fromPasteboard pasteBoard: NSPasteboard) -> NSURL
To
init?(fromPasteboard pasteBoard: NSPasteboard)

Raw Value Type
From--
ToUInt

Declaration
From
class NSUserDefaultsController : NSController {
    class func sharedUserDefaultsController() -> NSUserDefaultsController
    init(defaults defaults: NSUserDefaults?, initialValues initialValues: [NSObject : AnyObject]?)
    init?(coder coder: NSCoder)
    var defaults: NSUserDefaults { get }
    var initialValues: [NSObject : 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 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?)
}

Declaration
From
init(defaults defaults: NSUserDefaults?, initialValues initialValues: [NSObject : AnyObject]?)
To
init(defaults defaults: NSUserDefaults?, initialValues initialValues: [String : AnyObject]?)

Declaration
From
var initialValues: [NSObject : AnyObject]?
To
var initialValues: [String : AnyObject]?

Declaration
From
protocol NSUserInterfaceItemSearching : NSObjectProtocol {
    func searchForItemsWithSearchString(_ searchString: String, resultLimit resultLimit: Int, matchedItemHandler handleMatchedItems: ([AnyObject]!) -> Void)
    func localizedTitlesForItem(_ item: AnyObject) -> [AnyObject]
    optional func performActionForItem(_ item: AnyObject)
    optional func showAllHelpTopicsForSearchString(_ searchString: String)
}
To
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)
}

Declaration
From
func localizedTitlesForItem(_ item: AnyObject) -> [AnyObject]
To
func localizedTitlesForItem(_ item: AnyObject) -> [String]

Declaration
From
func searchForItemsWithSearchString(_ searchString: String, resultLimit resultLimit: Int, matchedItemHandler handleMatchedItems: ([AnyObject]!) -> Void)
To
func searchForItemsWithSearchString(_ searchString: String, resultLimit resultLimit: Int, matchedItemHandler handleMatchedItems: ([AnyObject]) -> Void)

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Modified NSView
DeclarationProtocols
From
class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSObjectProtocol, 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: [AnyObject]
    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: CFunctionPointer<((AnyObject!, AnyObject!, 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
    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
    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) -> AnyObject?
    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: [AnyObject]
    var compositingFilter: CIFilter?
    var contentFilters: [AnyObject]
    @NSCopying var shadow: NSShadow?
    func addTrackingArea(_ trackingArea: NSTrackingArea)
    func removeTrackingArea(_ trackingArea: NSTrackingArea)
    var trackingAreas: [AnyObject] { get }
    func updateTrackingAreas()
    var postsBoundsChangedNotifications: Bool
    var enclosingScrollView: NSScrollView? { get }
    func menuForEvent(_ event: NSEvent) -> NSMenu?
    class func defaultMenu() -> NSMenu?
    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 constraints: [AnyObject] { get }
    func addConstraint(_ constraint: NSLayoutConstraint)
    func addConstraints(_ constraints: [AnyObject])
    func removeConstraint(_ constraint: NSLayoutConstraint)
    func removeConstraints(_ constraints: [AnyObject])
}
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 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) -> [AnyObject]
    var hasAmbiguousLayout: Bool { get }
    func exerciseAmbiguityInLayout()
}
extension NSView {
    var enclosingMenuItem: NSMenuItem? { get }
}
extension NSView {
    var wantsBestResolutionOpenGLSurface: Bool
}
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 {
    func getMirror() -> MirrorType
}
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
    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: [AnyObject], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession
    func dragImage(_ anImage: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: AnyObject, slideBack slideFlag: Bool)
    var registeredDraggedTypes: [AnyObject] { get }
    func registerForDraggedTypes(_ newTypes: [AnyObject])
    func unregisterDraggedTypes()
    func dragFile(_ filename: String, fromRect rect: NSRect, slideBack aFlag: Bool, event event: NSEvent) -> Bool
    func dragPromisedFilesOfTypes(_ typeArray: [AnyObject], fromRect rect: NSRect, source sourceObject: AnyObject, slideBack aFlag: Bool, event event: NSEvent) -> Bool
}
extension NSView {
    func enterFullScreenMode(_ screen: NSScreen, withOptions options: [NSObject : AnyObject]?) -> Bool
    func exitFullScreenModeWithOptions(_ options: [NSObject : AnyObject]?)
    var inFullScreenMode: Bool { get }
}
extension NSView {
    func showDefinitionForAttributedString(_ attrString: NSAttributedString?, atPoint textBaselineOrigin: NSPoint)
    func showDefinitionForAttributedString(_ attrString: NSAttributedString?, range targetRange: NSRange, options options: [NSObject : AnyObject]?, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)?)
}
extension NSView {
    var drawingFindIndicator: Bool { get }
}
extension NSView {
    var gestureRecognizers: [AnyObject]
    func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)
    func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)
}
extension NSView {
    func performMnemonic(_ theString: String) -> Bool
    func shouldDrawColor() -> Bool
    func gState() -> Int
    func allocateGState()
    func releaseGState()
    func setUpGState()
    func renewGState()
}
extension NSView : Reflectable {
    func getMirror() -> MirrorType
}
AnyObject, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSDraggingDestination, NSObjectProtocol, NSUserInterfaceItemIdentification, Reflectable
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 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 {
}
AnyObject, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSDraggingDestination, NSObjectProtocol, NSUserInterfaceItemIdentification

Declaration
From
func acceptsFirstMouse(_ theEvent: NSEvent) -> Bool
To
func acceptsFirstMouse(_ theEvent: NSEvent?) -> Bool

Declaration
From
func addConstraints(_ constraints: [AnyObject])
To
func addConstraints(_ constraints: [NSLayoutConstraint])

Declaration
From
var backgroundFilters: [AnyObject]
To
var backgroundFilters: [CIFilter]

Declaration
From
func beginDraggingSessionWithItems(_ items: [AnyObject], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession
To
func beginDraggingSessionWithItems(_ items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession

Declaration
From
var constraints: [AnyObject] { get }
To
var constraints: [NSLayoutConstraint] { get }

Declaration
From
func constraintsAffectingLayoutForOrientation(_ orientation: NSLayoutConstraintOrientation) -> [AnyObject]
To
func constraintsAffectingLayoutForOrientation(_ orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint]

Declaration
From
var contentFilters: [AnyObject]
To
var contentFilters: [CIFilter]

Declaration
From
func dragPromisedFilesOfTypes(_ typeArray: [AnyObject], fromRect rect: NSRect, source sourceObject: AnyObject, slideBack aFlag: Bool, event event: NSEvent) -> Bool
To
func dragPromisedFilesOfTypes(_ typeArray: [String], fromRect rect: NSRect, source sourceObject: AnyObject, slideBack aFlag: Bool, event event: NSEvent) -> Bool

Declaration
From
func enterFullScreenMode(_ screen: NSScreen, withOptions options: [NSObject : AnyObject]?) -> Bool
To
func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : AnyObject]?) -> Bool

Declaration
From
func exitFullScreenModeWithOptions(_ options: [NSObject : AnyObject]?)
To
func exitFullScreenModeWithOptions(_ options: [String : AnyObject]?)

Declaration
From
var gestureRecognizers: [AnyObject]
To
var gestureRecognizers: [NSGestureRecognizer]

Declaration
From
func print(_ sender: AnyObject?)
To
@warn_unqualified_access
    func print(_ sender: AnyObject?)

Declaration
From
var registeredDraggedTypes: [AnyObject] { get }
To
var registeredDraggedTypes: [String] { get }

Declaration
From
func registerForDraggedTypes(_ newTypes: [AnyObject])
To
func registerForDraggedTypes(_ newTypes: [String])

Declaration
From
func removeConstraints(_ constraints: [AnyObject])
To
func removeConstraints(_ constraints: [NSLayoutConstraint])

Declaration
From
func showDefinitionForAttributedString(_ attrString: NSAttributedString?, range targetRange: NSRange, options options: [NSObject : AnyObject]?, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)?)
To
func showDefinitionForAttributedString(_ attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : AnyObject]?, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)?)

Declaration
From
func sortSubviewsUsingFunction(_ compare: CFunctionPointer<((AnyObject!, AnyObject!, UnsafeMutablePointer<Void>) -> NSComparisonResult)>, context context: UnsafeMutablePointer<Void>)
To
func sortSubviewsUsingFunction(_ compare: (NSView, NSView, UnsafeMutablePointer<Void>) -> NSComparisonResult, context context: UnsafeMutablePointer<Void>)

Declaration
From
var subviews: [AnyObject]
To
var subviews: [NSView]

Declaration
From
var trackingAreas: [AnyObject] { get }
To
var trackingAreas: [NSTrackingArea] { get }

Declaration
From
func viewWithTag(_ aTag: Int) -> AnyObject?
To
func viewWithTag(_ aTag: Int) -> NSView?

Declaration
From
class NSViewAnimation : NSAnimation {
    init(viewAnimations viewAnimations: [AnyObject])
    var viewAnimations: [AnyObject]?
}
To
class NSViewAnimation : NSAnimation {
    init(viewAnimations viewAnimations: [[String : AnyObject]])
    var viewAnimations: [[String : AnyObject]]
}

Declaration
From
init(viewAnimations viewAnimations: [AnyObject])
To
init(viewAnimations viewAnimations: [[String : AnyObject]])

Declaration
From
var viewAnimations: [AnyObject]?
To
var viewAnimations: [[String : AnyObject]]

Declaration
From
class NSViewController : NSResponder, NSCoding, NSSeguePerforming, NSObjectProtocol, 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: [AnyObject]? { 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: [AnyObject]
    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, NSObjectProtocol {
    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!)
}
To
class NSViewController : NSResponder, 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!)
}

Declaration
From
var childViewControllers: [AnyObject]
To
var childViewControllers: [NSViewController]

Declaration
From
var presentedViewControllers: [AnyObject]? { get }
To
var presentedViewControllers: [NSViewController]? { get }

DeclarationProtocols
From
struct NSViewControllerTransitionOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToInt

DeclarationRaw Value Type
From
enum NSVisualEffectMaterial : Int {
    case AppearanceBased
    case Light
    case Dark
    case Titlebar
}
--
To
enum NSVisualEffectMaterial : Int {
    case AppearanceBased
    case Titlebar
    case Menu
    case Popover
    case Sidebar
    case Light
    case Dark
    case MediumLight
    case UltraDark
}
Int

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Modified NSWindow
Declaration
From
class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSObjectProtocol, 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: [AnyObject]
    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: AnyObject
    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
    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
    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
    func frameAutosaveName() -> String?
    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
    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: [NSObject : AnyObject] { get }
    func sendEvent(_ theEvent: NSEvent)
    var mouseLocationOutsideOfEventStream: NSPoint { get }
    class func menuChanged(_ menu: NSMenu)
    func windowController() -> AnyObject?
    func setWindowController(_ 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: [AnyObject] { 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: [AnyObject]? { get }
    unowned(unsafe) var parentWindow: NSWindow?
    var graphicsContext: NSGraphicsContext? { get }
    var colorSpace: NSColorSpace?
    class func windowNumbersWithOptions(_ options: NSWindowNumberListOptions) -> [AnyObject]?
    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
}
extension NSWindow {
    var drawers: [AnyObject]? { 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: [AnyObject])
}
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 }
    func setDefaultButtonCell(_ defButt: NSButtonCell?)
    func 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: [AnyObject])
    func unregisterDraggedTypes()
}
extension NSWindow {
    convenience init?(windowRef windowRef: UnsafeMutablePointer<Void>)
    var windowRef: UnsafeMutablePointer<Void> { get }
}
extension NSWindow {
    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?
}
To
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?
}

Declaration
From
var childWindows: [AnyObject]? { get }
To
var childWindows: [NSWindow]? { get }

Declaration
From
var contentView: AnyObject
To
var contentView: NSView?

Declaration
From
var deviceDescription: [NSObject : AnyObject] { get }
To
var deviceDescription: [String : AnyObject] { get }

Declaration
From
var drawers: [AnyObject]? { get }
To
var drawers: [NSDrawer]? { get }

Declaration
From
var firstResponder: NSResponder { get }
To
unowned(unsafe) var firstResponder: NSResponder { get }

Declaration
From
init(contentRect contentRect: NSRect, styleMask aStyle: Int, backing bufferingType: NSBackingStoreType, defer flag: Bool)
To
init(contentRect contentRect: NSRect, styleMask aStyle: Int, 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 aStyle: Int, backing bufferingType: NSBackingStoreType, `defer` flag: Bool, screen screen: NSScreen?)

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func print(_ sender: AnyObject?)
To
@warn_unqualified_access
    func print(_ sender: AnyObject?)

Declaration
From
func registerForDraggedTypes(_ newTypes: [AnyObject])
To
func registerForDraggedTypes(_ newTypes: [String])

Declaration
From
var sheets: [AnyObject] { get }
To
var sheets: [NSWindow] { get }

Declaration
From
var title: String?
To
var title: String

Declaration
From
var titlebarAccessoryViewControllers: [AnyObject]
To
var titlebarAccessoryViewControllers: [NSTitlebarAccessoryViewController]

Declaration
From
func trackEventsMatchingMask(_ mask: NSEventMask, timeout timeout: NSTimeInterval, mode mode: String, handler trackingHandler: (NSEvent!, UnsafeMutablePointer<ObjCBool>) -> Void)
To
func trackEventsMatchingMask(_ mask: NSEventMask, timeout timeout: NSTimeInterval, mode mode: String, handler trackingHandler: (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Void)

Declaration
From
func visualizeConstraints(_ constraints: [AnyObject])
To
func visualizeConstraints(_ constraints: [NSLayoutConstraint])

Declaration
From
class func windowNumbersWithOptions(_ options: NSWindowNumberListOptions) -> [AnyObject]?
To
class func windowNumbersWithOptions(_ options: NSWindowNumberListOptions) -> [NSNumber]?

Raw Value Type
From--
ToInt

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToUInt

DeclarationProtocols
From
struct NSWindowCollectionBehavior : RawOptionSetType {
    init(_ rawValue: UInt)
    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 }
}
RawOptionSetType
To
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

Declaration
From
class NSWindowController : NSResponder, NSCoding, NSSeguePerforming, NSObjectProtocol {
    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?)
}
To
class NSWindowController : NSResponder, 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?)
}

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) -> [AnyObject]?
    optional func window(_ window: NSWindow, startCustomAnimationToEnterFullScreenWithDuration duration: NSTimeInterval)
    optional func windowDidFailToEnterFullScreen(_ window: NSWindow)
    optional func customWindowsToExitFullScreenForWindow(_ window: NSWindow) -> [AnyObject]?
    optional func window(_ window: NSWindow, startCustomAnimationToExitFullScreenWithDuration duration: NSTimeInterval)
    optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow, onScreen screen: NSScreen) -> [AnyObject]?
    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: 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)
}

Declaration
From
optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow) -> [AnyObject]?
To
optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow) -> [NSWindow]?

Declaration
From
optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow, onScreen screen: NSScreen) -> [AnyObject]?
To
optional func customWindowsToEnterFullScreenForWindow(_ window: NSWindow, onScreen screen: NSScreen) -> [NSWindow]?

Declaration
From
optional func customWindowsToExitFullScreenForWindow(_ window: NSWindow) -> [AnyObject]?
To
optional func customWindowsToExitFullScreenForWindow(_ window: NSWindow) -> [NSWindow]?

Introduction
FromOS X 10.10
ToOS X 10.0

DeclarationProtocols
From
struct NSWindowOcclusionState : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var Visible: NSWindowOcclusionState { get }
}
RawOptionSetType
To
struct NSWindowOcclusionState : OptionSetType {
    init(rawValue rawValue: UInt)
    static var Visible: NSWindowOcclusionState { get }
}
OptionSetType

Raw Value Type
From--
ToInt

Declaration
From
protocol NSWindowRestoration : NSObjectProtocol {
    static func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow!, NSError!) -> Void)
}
To
protocol NSWindowRestoration : NSObjectProtocol {
    static func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void)
}

Declaration
From
static func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow!, NSError!) -> Void)
To
static func restoreWindowWithIdentifier(_ identifier: String, state state: NSCoder, completionHandler completionHandler: (NSWindow?, NSError?) -> Void)

Raw Value Type
From--
ToUInt

Raw Value Type
From--
ToInt

Modified NSWorkspace
Declaration
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 openFile(_ fullPath: String, fromImage anImage: NSImage!, at point: NSPoint, inView aView: NSView!) -> Bool
    func openURL(_ url: NSURL) -> Bool
    func launchApplication(_ appName: String) -> Bool
    func launchApplicationAtURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [NSObject : AnyObject], error error: NSErrorPointer) -> NSRunningApplication?
    func openURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [NSObject : AnyObject]!, error error: NSErrorPointer) -> NSRunningApplication?
    func openURLs(_ urls: [AnyObject], withApplicationAtURL applicationURL: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [NSObject : AnyObject]!, error error: NSErrorPointer) -> 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: [AnyObject])
    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: [AnyObject]) -> NSImage?
    func iconForFileType(_ fileType: String) -> NSImage
    func setIcon(_ image: NSImage, forFile fullPath: String, options options: NSWorkspaceIconCreationOptions) -> Bool
    var fileLabels: [AnyObject] { get }
    var fileLabelColors: [AnyObject] { get }
    func recycleURLs(_ URLs: [AnyObject], completionHandler handler: (([NSObject : AnyObject]!, NSError!) -> Void)?)
    func duplicateURLs(_ URLs: [AnyObject], completionHandler handler: (([NSObject : AnyObject]!, 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 performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [AnyObject], tag tag: UnsafeMutablePointer<Int>) -> Bool
    func unmountAndEjectDeviceAtPath(_ path: String) -> Bool
    func unmountAndEjectDeviceAtURL(_ url: NSURL, error error: NSErrorPointer) -> Bool
    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: [AnyObject], 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, error outError: NSErrorPointer) -> 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: [AnyObject] { get }
}
extension NSWorkspace {
    func setDesktopImageURL(_ url: NSURL, forScreen screen: NSScreen, options options: [NSObject : AnyObject]!, error error: NSErrorPointer) -> Bool
    func desktopImageURLForScreen(_ screen: NSScreen) -> NSURL?
    func desktopImageOptionsForScreen(_ screen: NSScreen) -> [NSObject : 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]!
}
To
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
}

Declaration
From
func activateFileViewerSelectingURLs(_ fileURLs: [AnyObject])
To
func activateFileViewerSelectingURLs(_ fileURLs: [NSURL])

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func desktopImageOptionsForScreen(_ screen: NSScreen) -> [NSObject : AnyObject]?
To
func desktopImageOptionsForScreen(_ screen: NSScreen) -> [String : AnyObject]?

Declaration
From
func duplicateURLs(_ URLs: [AnyObject], completionHandler handler: (([NSObject : AnyObject]!, NSError!) -> Void)?)
To
func duplicateURLs(_ URLs: [NSURL], completionHandler handler: (([NSURL : NSURL], NSError?) -> Void)?)

Declaration
From
var fileLabelColors: [AnyObject] { get }
To
var fileLabelColors: [NSColor] { get }

Declaration
From
var fileLabels: [AnyObject] { get }
To
var fileLabels: [String] { get }

Declaration
From
func iconForFiles(_ fullPaths: [AnyObject]) -> NSImage?
To
func iconForFiles(_ fullPaths: [String]) -> NSImage?

Declaration
From
func launchApplicationAtURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [NSObject : AnyObject], error error: NSErrorPointer) -> NSRunningApplication?
To
func launchApplicationAtURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

DeclarationIntroductionDeprecation
From
func mountedRemovableMedia() -> [AnyObject]!
OS X 10.10--
To
func mountedRemovableMedia() -> [AnyObject]?
OS X 10.0OS X 10.11

DeclarationIntroductionDeprecation
From
func openFile(_ fullPath: String, fromImage anImage: NSImage!, at point: NSPoint, inView aView: NSView!) -> Bool
OS X 10.10--
To
func openFile(_ fullPath: String, fromImage anImage: NSImage?, at point: NSPoint, inView aView: NSView?) -> Bool
OS X 10.0OS X 10.11

Declaration
From
func openFile(_ fullPath: String, withApplication appName: String) -> Bool
To
func openFile(_ fullPath: String, withApplication appName: String?) -> Bool

Declaration
From
func openFile(_ fullPath: String, withApplication appName: String, andDeactivate flag: Bool) -> Bool
To
func openFile(_ fullPath: String, withApplication appName: String?, andDeactivate flag: Bool) -> Bool

Declaration
From
func openURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [NSObject : AnyObject]!, error error: NSErrorPointer) -> NSRunningApplication?
To
func openURL(_ url: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication

Declaration
From
func openURLs(_ urls: [AnyObject], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions, additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool
To
func openURLs(_ urls: [NSURL], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions, additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool

Declaration
From
func openURLs(_ urls: [AnyObject], withApplicationAtURL applicationURL: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [NSObject : AnyObject]!, error error: NSErrorPointer) -> NSRunningApplication?
To
func openURLs(_ urls: [NSURL], withApplicationAtURL applicationURL: NSURL, options options: NSWorkspaceLaunchOptions, configuration configuration: [String : AnyObject]) throws -> NSRunningApplication

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func recycleURLs(_ URLs: [AnyObject], completionHandler handler: (([NSObject : AnyObject]!, NSError!) -> Void)?)
To
func recycleURLs(_ URLs: [NSURL], completionHandler handler: (([NSURL : NSURL], NSError?) -> Void)?)

Declaration
From
var runningApplications: [AnyObject] { get }
To
var runningApplications: [NSRunningApplication] { get }

Declaration
From
func selectFile(_ fullPath: String, inFileViewerRootedAtPath rootFullPath: String) -> Bool
To
func selectFile(_ fullPath: String?, inFileViewerRootedAtPath rootFullPath: String) -> Bool

Declaration
From
func setDesktopImageURL(_ url: NSURL, forScreen screen: NSScreen, options options: [NSObject : AnyObject]!, error error: NSErrorPointer) -> Bool
To
func setDesktopImageURL(_ url: NSURL, forScreen screen: NSScreen, options options: [String : AnyObject]) throws

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
func typeOfFile(_ absoluteFilePath: String, error outError: NSErrorPointer) -> String?
To
func typeOfFile(_ absoluteFilePath: String) throws -> String

Declaration
From
func unmountAndEjectDeviceAtURL(_ url: NSURL, error error: NSErrorPointer) -> Bool
To
func unmountAndEjectDeviceAtURL(_ url: NSURL) throws

DeclarationProtocols
From
struct NSWorkspaceIconCreationOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var ExcludeQuickDrawElementsIconCreationOption: NSWorkspaceIconCreationOptions { get }
    static var Exclude10_4ElementsIconCreationOption: NSWorkspaceIconCreationOptions { get }
}
RawOptionSetType
To
struct NSWorkspaceIconCreationOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var ExcludeQuickDrawElementsIconCreationOption: NSWorkspaceIconCreationOptions { get }
    static var Exclude10_4ElementsIconCreationOption: NSWorkspaceIconCreationOptions { get }
}
OptionSetType

DeclarationProtocols
From
struct NSWorkspaceLaunchOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    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 AllowingClassicStartup: NSWorkspaceLaunchOptions { get }
    static var PreferringClassic: NSWorkspaceLaunchOptions { get }
    static var NewInstance: NSWorkspaceLaunchOptions { get }
    static var AndHide: NSWorkspaceLaunchOptions { get }
    static var AndHideOthers: NSWorkspaceLaunchOptions { get }
    static var Default: NSWorkspaceLaunchOptions { get }
}
RawOptionSetType
To
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

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.3OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.3OS X 10.11

Raw Value Type
From--
ToInt

Declaration
From
func NSAccessibilityActionDescription(_ action: String!) -> String!
To
func NSAccessibilityActionDescription(_ action: String) -> String?

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.1OS X 10.11

Declaration
From
func NSAccessibilityFrameInView(_ parentView: NSView!, _ frame: NSRect) -> NSRect
To
func NSAccessibilityFrameInView(_ parentView: NSView, _ frame: NSRect) -> NSRect

Declaration
From
func NSAccessibilityPointInView(_ parentView: NSView!, _ point: NSPoint) -> NSPoint
To
func NSAccessibilityPointInView(_ parentView: NSView, _ point: NSPoint) -> NSPoint

Declaration
From
func NSAccessibilityPostNotification(_ element: AnyObject!, _ notification: String!)
To
func NSAccessibilityPostNotification(_ element: AnyObject, _ notification: String)

Declaration
From
func NSAccessibilityPostNotificationWithUserInfo(_ element: AnyObject!, _ notification: String!, _ userInfo: [NSObject : AnyObject]!)
To
func NSAccessibilityPostNotificationWithUserInfo(_ element: AnyObject, _ notification: String, _ userInfo: [NSObject : AnyObject])

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.1OS X 10.11

Declaration
From
func NSAccessibilityRoleDescription(_ role: String!, _ subrole: String!) -> String!
To
func NSAccessibilityRoleDescription(_ role: String, _ subrole: String?) -> String?

Declaration
From
func NSAccessibilityRoleDescriptionForUIElement(_ element: AnyObject!) -> String!
To
func NSAccessibilityRoleDescriptionForUIElement(_ element: AnyObject) -> String?

Declaration
From
func NSAccessibilityUnignoredAncestor(_ element: AnyObject!) -> AnyObject!
To
func NSAccessibilityUnignoredAncestor(_ element: AnyObject) -> AnyObject?

Declaration
From
func NSAccessibilityUnignoredChildren(_ originalChildren: [AnyObject]!) -> [AnyObject]!
To
func NSAccessibilityUnignoredChildren(_ originalChildren: [AnyObject]) -> [AnyObject]

Declaration
From
func NSAccessibilityUnignoredChildrenForOnlyChild(_ originalChild: AnyObject!) -> [AnyObject]!
To
func NSAccessibilityUnignoredChildrenForOnlyChild(_ originalChild: AnyObject) -> [AnyObject]

Declaration
From
func NSAccessibilityUnignoredDescendant(_ element: AnyObject!) -> AnyObject!
To
func NSAccessibilityUnignoredDescendant(_ element: AnyObject) -> AnyObject?

Modified NSApp
Declaration
From
var NSApp: AnyObject!
To
var NSApp: NSApplication!

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

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

Introduction
FromOS X 10.10
ToOS X 10.0

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Declaration
From
func NSColorSpaceFromDepth(_ depth: NSWindowDepth) -> String!
To
func NSColorSpaceFromDepth(_ depth: NSWindowDepth) -> String?

Declaration
From
func NSCreateFileContentsPboardType(_ fileType: String!) -> String!
To
func NSCreateFileContentsPboardType(_ fileType: String) -> String?

Declaration
From
func NSCreateFilenamePboardType(_ fileType: String!) -> String!
To
func NSCreateFilenamePboardType(_ fileType: String) -> String?

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

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 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)

Declaration
From
func NSDrawThreePartImage(_ frame: NSRect, _ startCap: NSImage!, _ centerFill: NSImage!, _ endCap: NSImage!, _ vertical: Bool, _ op: NSCompositingOperation, _ alphaFraction: CGFloat, _ flipped: Bool)
To
func NSDrawThreePartImage(_ frame: NSRect, _ startCap: NSImage?, _ centerFill: NSImage?, _ endCap: NSImage?, _ vertical: Bool, _ op: NSCompositingOperation, _ alphaFraction: CGFloat, _ flipped: Bool)

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func NSGetFileType(_ pboardType: String!) -> String!
To
func NSGetFileType(_ pboardType: String) -> String?

Declaration
From
func NSGetFileTypes(_ pboardTypes: [AnyObject]!) -> [AnyObject]!
To
func NSGetFileTypes(_ pboardTypes: [String]) -> [String]?

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func NSIsControllerMarker(_ object: AnyObject!) -> Bool
To
func NSIsControllerMarker(_ object: AnyObject?) -> Bool

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
var NSMultipleValuesMarker: AnyObject!
To
var NSMultipleValuesMarker: AnyObject

Declaration
From
var NSNoSelectionMarker: AnyObject!
To
var NSNoSelectionMarker: AnyObject

Declaration
From
var NSNotApplicableMarker: AnyObject!
To
var NSNotApplicableMarker: AnyObject

Declaration
From
func NSNumberOfColorComponents(_ colorSpaceName: String!) -> Int
To
func NSNumberOfColorComponents(_ colorSpaceName: String) -> Int

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func NSPerformService(_ itemName: String!, _ pboard: NSPasteboard!) -> Bool
To
func NSPerformService(_ itemName: String, _ pboard: NSPasteboard?) -> Bool

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func NSReadPixel(_ passedPoint: NSPoint) -> NSColor!
To
func NSReadPixel(_ passedPoint: NSPoint) -> NSColor?

Declaration
From
func NSRegisterServicesProvider(_ provider: AnyObject!, _ name: String!)
To
func NSRegisterServicesProvider(_ provider: AnyObject?, _ name: String)

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func NSSetShowsServicesMenuItem(_ itemName: String!, _ enabled: Bool) -> Int
To
func NSSetShowsServicesMenuItem(_ itemName: String, _ enabled: Bool) -> Int

Introduction
FromOS X 10.10
ToOS X 10.0

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: AnyObject?, _ didEndSelector: Selector, _ contextInfo: UnsafeMutablePointer<Void>)

Declaration
From
func NSShowsServicesMenuItem(_ itemName: String!) -> Bool
To
func NSShowsServicesMenuItem(_ itemName: String) -> Bool

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Declaration
From
func NSUnregisterServicesProvider(_ name: String!)
To
func NSUnregisterServicesProvider(_ name: String)

Deprecation
From--
ToOS X 10.11

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

Introduction
FromOS X 10.10
ToOS X 10.0

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.0OS X 10.11