Documentation Archive Developer
Search

ObjectiveC Changes for Swift

ObjectiveC

Removed Protocol
Modified NSObject
DeclarationProtocols
From
class NSObject : NSObjectProtocol {
    class func load()
    class func initialize()
    init()
    class func new() -> Self
    class func allocWithZone(_ zone: NSZone) -> Self
    class func alloc() -> Self
    func finalize()
    func copy() -> AnyObject
    func mutableCopy() -> AnyObject
    class func copyWithZone(_ zone: NSZone) -> AnyObject!
    class func mutableCopyWithZone(_ zone: NSZone) -> AnyObject!
    class func instancesRespondToSelector(_ aSelector: Selector) -> Bool
    class func conformsToProtocol(_ `protocol`: Protocol) -> Bool
    func methodForSelector(_ aSelector: Selector) -> IMP
    class func instanceMethodForSelector(_ aSelector: Selector) -> IMP
    func doesNotRecognizeSelector(_ aSelector: Selector)
    func forwardingTargetForSelector(_ aSelector: Selector) -> AnyObject?
    func forwardInvocation(_ anInvocation: NSInvocation!)
    func methodSignatureForSelector(_ aSelector: Selector) -> NSMethodSignature!
    class func instanceMethodSignatureForSelector(_ aSelector: Selector) -> NSMethodSignature!
    func allowsWeakReference() -> Bool
    func retainWeakReference() -> Bool
    class func isSubclassOfClass(_ aClass: AnyClass) -> Bool
    class func resolveClassMethod(_ sel: Selector) -> Bool
    class func resolveInstanceMethod(_ sel: Selector) -> Bool
    class func hash() -> Int
    class func superclass() -> AnyClass?
    class func `class`() -> AnyClass!
    class func description() -> String
    class func debugDescription() -> String
}
extension NSObject {
    func actionProperty() -> String!
    func titleForPerson(_ person: ABPerson!, identifier identifier: String!) -> String!
    func performActionForPerson(_ person: ABPerson!, identifier identifier: String!)
    func shouldEnableActionForPerson(_ person: ABPerson!, identifier identifier: String!) -> Bool
}
extension NSObject {
    func accessibilityAttributeNames() -> [AnyObject]
    func accessibilityAttributeValue(_ attribute: String) -> AnyObject?
    func accessibilityIsAttributeSettable(_ attribute: String) -> Bool
    func accessibilitySetValue(_ value: AnyObject?, forAttribute attribute: String)
    func accessibilityParameterizedAttributeNames() -> [AnyObject]
    func accessibilityAttributeValue(_ attribute: String, forParameter parameter: AnyObject?) -> AnyObject?
    func accessibilityActionNames() -> [AnyObject]
    func accessibilityActionDescription(_ action: String) -> String?
    func accessibilityPerformAction(_ action: String)
    func accessibilityIsIgnored() -> Bool
    func accessibilityHitTest(_ point: NSPoint) -> AnyObject?
    var accessibilityFocusedUIElement: AnyObject? { get }
    func accessibilityIndexOfChild(_ child: AnyObject) -> Int
    func accessibilityArrayAttributeCount(_ attribute: String) -> Int
    func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [AnyObject]
    var accessibilityNotifiesWhenDestroyed: Bool { get }
}
extension NSObject {
    func accessibilitySetOverrideValue(_ value: AnyObject?, forAttribute attribute: String) -> Bool
}
extension NSObject {
    func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool
}
extension NSObject {
    func changeColor(_ sender: AnyObject?)
}
extension NSObject {
    func controlTextDidBeginEditing(_ obj: NSNotification)
    func controlTextDidEndEditing(_ obj: NSNotification)
    func controlTextDidChange(_ obj: NSNotification)
}
extension NSObject {
    func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [String]?
    func draggingSourceOperationMaskForLocal(_ flag: Bool) -> NSDragOperation
    func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint)
    func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation)
    func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint)
    func ignoreModifierKeysWhileDragging() -> Bool
    func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool)
}
extension NSObject {
    func fontManager(_ sender: AnyObject, willIncludeFont fontName: String) -> Bool
}
extension NSObject {
    func changeFont(_ sender: AnyObject?)
}
extension NSObject {
    func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int
}
extension NSObject {
    class func exposeBinding(_ binding: String)
    var exposedBindings: [String] { get }
    func valueClassForBinding(_ binding: String) -> AnyClass?
    func bind(_ binding: String, toObject observable: AnyObject, withKeyPath keyPath: String, options options: [String : AnyObject]?)
    func unbind(_ binding: String)
    func infoForBinding(_ binding: String) -> [String : AnyObject]?
    func optionDescriptionsForBinding(_ aBinding: String) -> [NSAttributeDescription]
}
extension NSObject {
    class func setDefaultPlaceholder(_ placeholder: AnyObject?, forMarker marker: AnyObject?, withBinding binding: String)
    class func defaultPlaceholderForMarker(_ marker: AnyObject?, withBinding binding: String) -> AnyObject?
}
extension NSObject {
    func objectDidBeginEditing(_ editor: AnyObject)
    func objectDidEndEditing(_ editor: AnyObject)
}
extension NSObject {
    func discardEditing()
    func commitEditing() -> Bool
    func commitEditingWithDelegate(_ delegate: AnyObject?, didCommitSelector didCommitSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>)
    func commitEditingAndReturnError() throws
}
extension NSObject {
    func validateMenuItem(_ menuItem: NSMenuItem) -> Bool
}
extension NSObject {
    func awakeFromNib()
    func prepareForInterfaceBuilder()
}
extension NSObject {
    func pasteboard(_ sender: NSPasteboard, provideDataForType type: String)
    func pasteboardChangedOwner(_ sender: NSPasteboard)
}
extension NSObject {
    func panel(_ sender: AnyObject, isValidFilename filename: String) -> Bool
    func panel(_ sender: AnyObject, directoryDidChange path: String)
    func panel(_ sender: AnyObject, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> NSComparisonResult
    func panel(_ sender: AnyObject, shouldShowFilename filename: String) -> Bool
}
extension NSObject {
    func tableView(_ tableView: NSTableView, writeRows rows: [AnyObject], toPasteboard pboard: NSPasteboard) -> Bool
}
extension NSObject {
    func textStorageWillProcessEditing(_ notification: NSNotification)
    func textStorageDidProcessEditing(_ notification: NSNotification)
}
extension NSObject {
    func validateToolbarItem(_ theItem: NSToolbarItem) -> Bool
}
extension NSObject {
    func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, fromWindow window: NSWindow) -> Bool
}
extension NSObject {
    func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutablePointer<Void>) -> String
}
extension NSObject {
    func workflowControllerWillRun(_ controller: AMWorkflowController)
    func workflowControllerWillStop(_ controller: AMWorkflowController)
    func workflowControllerDidRun(_ controller: AMWorkflowController)
    func workflowControllerDidStop(_ controller: AMWorkflowController)
    func workflowController(_ controller: AMWorkflowController, willRunAction action: AMAction)
    func workflowController(_ controller: AMWorkflowController, didRunAction action: AMAction)
    func workflowController(_ controller: AMWorkflowController, didError error: NSError)
}
extension NSObject {
    func provideImageData(_ data: UnsafeMutablePointer<Void>, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: AnyObject?)
}
extension NSObject {
    func burnProgressPanelWillBegin(_ aNotification: NSNotification!)
    func burnProgressPanelDidFinish(_ aNotification: NSNotification!)
    func burnProgressPanel(_ theBurnPanel: DRBurnProgressPanel!, burnDidFinish burn: DRBurn!) -> Bool
}
extension NSObject {
    func eraseProgressPanelWillBegin(_ aNotification: NSNotification!)
    func eraseProgressPanelDidFinish(_ aNotification: NSNotification!)
    func eraseProgressPanel(_ theErasePanel: DREraseProgressPanel!, eraseDidFinish erase: DRErase!) -> Bool
}
extension NSObject {
    func setupPanel(_ aPanel: DRSetupPanel!, deviceCouldBeTarget device: DRDevice!) -> Bool
    func setupPanel(_ aPanel: DRSetupPanel!, determineBestDeviceOfA deviceA: DRDevice!, orB device: DRDevice!) -> DRDevice!
    func setupPanelDeviceSelectionChanged(_ aNotification: NSNotification!)
    func setupPanelShouldHandleMediaReservations(_ aPanel: DRSetupPanel!) -> Bool
    func setupPanel(_ aPanel: DRSetupPanel!, deviceContainsSuitableMedia device: DRDevice!, promptString prompt: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
}
extension NSObject {
    func exceptionHandler(_ sender: NSExceptionHandler!, shouldLogException exception: NSException!, mask aMask: Int) -> Bool
    func exceptionHandler(_ sender: NSExceptionHandler!, shouldHandleException exception: NSException!, mask aMask: Int) -> Bool
}
extension NSObject {
    var classForArchiver: AnyClass? { get }
    func replacementObjectForArchiver(_ archiver: NSArchiver) -> AnyObject?
}
extension NSObject {
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverseForRelationshipKey(_ relationshipKey: String) -> String?
}
extension NSObject {
    func attemptRecoveryFromError(_ error: NSError, optionIndex recoveryOptionIndex: Int, delegate delegate: AnyObject?, didRecoverSelector didRecoverSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>)
    func attemptRecoveryFromError(_ error: NSError, optionIndex recoveryOptionIndex: Int) -> Bool
}
extension NSObject {
    func fileManager(_ fm: NSFileManager, shouldProceedAfterError errorInfo: [NSObject : AnyObject]) -> Bool
    func fileManager(_ fm: NSFileManager, willProcessPath path: String)
}
extension NSObject {
    class func accessInstanceVariablesDirectly() -> Bool
    func valueForKey(_ key: String) -> AnyObject?
    func setValue(_ value: AnyObject?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValueForKey(_ key: String) -> NSMutableArray
    func mutableOrderedSetValueForKey(_ key: String) -> NSMutableOrderedSet
    func mutableSetValueForKey(_ key: String) -> NSMutableSet
    func valueForKeyPath(_ keyPath: String) -> AnyObject?
    func setValue(_ value: AnyObject?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValueForKeyPath(_ keyPath: String) -> NSMutableArray
    func mutableOrderedSetValueForKeyPath(_ keyPath: String) -> NSMutableOrderedSet
    func mutableSetValueForKeyPath(_ keyPath: String) -> NSMutableSet
    func valueForUndefinedKey(_ key: String) -> AnyObject?
    func setValue(_ value: AnyObject?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValuesForKeys(_ keys: [String]) -> [String : AnyObject]
    func setValuesForKeysWithDictionary(_ keyedValues: [String : AnyObject])
}
extension NSObject {
    class func useStoredAccessor() -> Bool
    func storedValueForKey(_ key: String) -> AnyObject?
    func takeStoredValue(_ value: AnyObject?, forKey key: String)
    func takeValue(_ value: AnyObject?, forKey key: String)
    func takeValue(_ value: AnyObject?, forKeyPath keyPath: String)
    func handleQueryWithUnboundKey(_ key: String) -> AnyObject?
    func handleTakeValue(_ value: AnyObject?, forUnboundKey key: String)
    func unableToSetNilForKey(_ key: String)
    func valuesForKeys(_ keys: [AnyObject]) -> [NSObject : AnyObject]
    func takeValuesFromDictionary(_ properties: [NSObject : AnyObject])
}
extension NSObject {
    func observeValueForKeyPath(_ keyPath: String?, ofObject object: AnyObject?, change change: [String : AnyObject]?, context context: UnsafeMutablePointer<Void>)
}
extension NSObject {
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
}
extension NSObject {
    func willChangeValueForKey(_ key: String)
    func didChangeValueForKey(_ key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAtIndexes indexes: NSIndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAtIndexes indexes: NSIndexSet, forKey key: String)
    func willChangeValueForKey(_ key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, usingObjects objects: Set<NSObject>)
    func didChangeValueForKey(_ key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, usingObjects objects: Set<NSObject>)
}
extension NSObject {
    class func keyPathsForValuesAffectingValueForKey(_ key: String) -> Set<String>
    class func automaticallyNotifiesObserversForKey(_ key: String) -> Bool
    var observationInfo: UnsafeMutablePointer<Void>
}
extension NSObject {
    class func setKeys(_ keys: [AnyObject], triggerChangeNotificationsForDependentKey dependentKey: String)
}
extension NSObject {
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObjectForKeyedArchiver(_ archiver: NSKeyedArchiver) -> AnyObject?
    class func classFallbacksForKeyedArchiver() -> [String]
}
extension NSObject {
    class func classForKeyedUnarchiver() -> AnyClass
}
extension NSObject {
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObjectForCoder(_ aCoder: NSCoder) -> AnyObject?
    func awakeAfterUsingCoder(_ aDecoder: NSCoder) -> AnyObject?
}
extension NSObject {
    class func poseAsClass(_ aClass: AnyClass)
}
extension NSObject {
    var autoContentAccessingProxy: AnyObject { get }
}
extension NSObject {
    func scriptingValueForSpecifier(_ objectSpecifier: NSScriptObjectSpecifier) -> AnyObject?
    var scriptingProperties: [String : AnyObject]?
    func copyScriptingValue(_ value: AnyObject, forKey key: String, withProperties properties: [String : AnyObject]) -> AnyObject?
    func newScriptingObjectOfClass(_ objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: AnyObject?, properties properties: [String : AnyObject]) -> AnyObject?
}
extension NSObject {
    var classForPortCoder: AnyClass { get }
    func replacementObjectForPortCoder(_ coder: NSPortCoder) -> AnyObject?
}
extension NSObject {
    func performSelector(_ aSelector: Selector, withObject anArgument: AnyObject?, afterDelay delay: NSTimeInterval, inModes modes: [String])
    func performSelector(_ aSelector: Selector, withObject anArgument: AnyObject?, afterDelay delay: NSTimeInterval)
    class func cancelPreviousPerformRequestsWithTarget(_ aTarget: AnyObject, selector aSelector: Selector, object anArgument: AnyObject?)
    class func cancelPreviousPerformRequestsWithTarget(_ aTarget: AnyObject)
}
extension NSObject {
    var classCode: FourCharCode { get }
    var className: String { get }
}
extension NSObject {
    func valueAtIndex(_ index: Int, inPropertyWithKey key: String) -> AnyObject?
    func valueWithName(_ name: String, inPropertyWithKey key: String) -> AnyObject?
    func valueWithUniqueID(_ uniqueID: AnyObject, inPropertyWithKey key: String) -> AnyObject?
    func insertValue(_ value: AnyObject, atIndex index: Int, inPropertyWithKey key: String)
    func removeValueAtIndex(_ index: Int, fromPropertyWithKey key: String)
    func replaceValueAtIndex(_ index: Int, inPropertyWithKey key: String, withValue value: AnyObject)
    func insertValue(_ value: AnyObject, inPropertyWithKey key: String)
    func coerceValue(_ value: AnyObject?, forKey key: String) -> AnyObject?
}
extension NSObject {
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjectsByEvaluatingObjectSpecifier(_ specifier: NSScriptObjectSpecifier) -> [NSNumber]?
}
extension NSObject {
    func isEqualTo(_ object: AnyObject?) -> Bool
    func isLessThanOrEqualTo(_ object: AnyObject?) -> Bool
    func isLessThan(_ object: AnyObject?) -> Bool
    func isGreaterThanOrEqualTo(_ object: AnyObject?) -> Bool
    func isGreaterThan(_ object: AnyObject?) -> Bool
    func isNotEqualTo(_ object: AnyObject?) -> Bool
    func doesContain(_ object: AnyObject) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
}
extension NSObject {
    func scriptingIsEqualTo(_ object: AnyObject) -> Bool
    func scriptingIsLessThanOrEqualTo(_ object: AnyObject) -> Bool
    func scriptingIsLessThan(_ object: AnyObject) -> Bool
    func scriptingIsGreaterThanOrEqualTo(_ object: AnyObject) -> Bool
    func scriptingIsGreaterThan(_ object: AnyObject) -> Bool
    func scriptingBeginsWith(_ object: AnyObject) -> Bool
    func scriptingEndsWith(_ object: AnyObject) -> Bool
    func scriptingContains(_ object: AnyObject) -> Bool
}
extension NSObject {
    func performSelectorOnMainThread(_ aSelector: Selector, withObject arg: AnyObject?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelectorOnMainThread(_ aSelector: Selector, withObject arg: AnyObject?, waitUntilDone wait: Bool)
    func performSelector(_ aSelector: Selector, onThread thr: NSThread, withObject arg: AnyObject?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(_ aSelector: Selector, onThread thr: NSThread, withObject arg: AnyObject?, waitUntilDone wait: Bool)
    func performSelectorInBackground(_ aSelector: Selector, withObject arg: AnyObject?)
}
extension NSObject {
    func URL(_ sender: NSURL, resourceDataDidBecomeAvailable newBytes: NSData)
    func URLResourceDidFinishLoading(_ sender: NSURL)
    func URLResourceDidCancelLoading(_ sender: NSURL)
    func URL(_ sender: NSURL, resourceDidFailLoadingWithReason reason: String)
}
extension NSObject : CustomStringConvertible {
}
extension NSObject {
    func readRSSIForDeviceComplete(_ controller: AnyObject!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCIRSSIInfo>, error error: IOReturn)
    func readLinkQualityForDeviceComplete(_ controller: AnyObject!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCILinkQualityInfo>, error error: IOReturn)
}
extension NSObject {
    func registerIncomingDataListener(_ listener: IOBluetoothL2CAPChannelIncomingDataListener!, refCon refCon: UnsafeMutablePointer<Void>) -> IOReturn
    func write(_ data: UnsafeMutablePointer<Void>, length length: UInt16) -> IOReturn
    class func withL2CAPChannelRef(_ l2capChannelRef: IOBluetoothL2CAPChannel!) -> IOBluetoothL2CAPChannel!
    func getL2CAPChannelRef() -> Unmanaged<IOBluetoothL2CAPChannel>!
}
extension NSObject {
    func fileTransferServicesConnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesDisconnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesAbortComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesRemoveItemComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, removedItem inItemName: String!)
    func fileTransferServicesCreateFolderComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, folder inFolderName: String!)
    func fileTransferServicesPathChangeComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, finalPath inPath: String!)
    func fileTransferServicesRetrieveFolderListingComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, listing inListing: [AnyObject]!)
    func fileTransferServicesFilePreparationComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesSendFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [NSObject : AnyObject]!)
    func fileTransferServicesSendFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesCopyRemoteFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [NSObject : AnyObject]!)
    func fileTransferServicesCopyRemoteFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
}
extension NSObject {
    func inputText(_ string: String!, key keyCode: Int, modifiers flags: Int, client sender: AnyObject!) -> Bool
    func inputText(_ string: String!, client sender: AnyObject!) -> Bool
    func handleEvent(_ event: NSEvent!, client sender: AnyObject!) -> Bool
    func didCommandBySelector(_ aSelector: Selector, client sender: AnyObject!) -> Bool
    func composedString(_ sender: AnyObject!) -> AnyObject!
    func originalString(_ sender: AnyObject!) -> NSAttributedString!
    func commitComposition(_ sender: AnyObject!)
    func candidates(_ sender: AnyObject!) -> [AnyObject]!
}
extension NSObject : Equatable, Hashable {
    var hashValue: Int { get }
}
extension NSObject : CVarArgType {
}
extension NSObject : Equatable, Hashable {
    var hashValue: Int { get }
}
extension NSObject : CVarArgType {
}
extension NSObject {
    func feedDidBeginRefresh(_ feed: PSFeed!)
    func feedDidEndRefresh(_ feed: PSFeed!)
    func feed(_ feed: PSFeed!, didAddEntries entries: [AnyObject]!)
    func feed(_ feed: PSFeed!, didRemoveEntriesWithIdentifiers identifiers: [AnyObject]!)
    func feed(_ feed: PSFeed!, didUpdateEntries entries: [AnyObject]!)
    func feed(_ feed: PSFeed!, didChangeFlagsInEntries entries: [AnyObject]!)
    func enclosure(_ enclosure: PSEnclosure!, downloadStateDidChange state: PSEnclosureDownloadState)
}
extension NSObject {
    func numberOfItemsInImageBrowser(_ aBrowser: IKImageBrowserView!) -> Int
    func imageBrowser(_ aBrowser: IKImageBrowserView!, itemAtIndex index: Int) -> AnyObject!
    func imageBrowser(_ aBrowser: IKImageBrowserView!, removeItemsAtIndexes indexes: NSIndexSet!)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, moveItemsAtIndexes indexes: NSIndexSet!, toIndex destinationIndex: Int) -> Bool
    func imageBrowser(_ aBrowser: IKImageBrowserView!, writeItemsAtIndexes itemIndexes: NSIndexSet!, toPasteboard pasteboard: NSPasteboard!) -> Int
    func numberOfGroupsInImageBrowser(_ aBrowser: IKImageBrowserView!) -> Int
    func imageBrowser(_ aBrowser: IKImageBrowserView!, groupAtIndex index: Int) -> [NSObject : AnyObject]!
}
extension NSObject {
    func imageUID() -> String!
    func imageRepresentationType() -> String!
    func imageRepresentation() -> AnyObject!
    func imageVersion() -> Int
    func imageTitle() -> String!
    func imageSubtitle() -> String!
    func isSelectable() -> Bool
}
extension NSObject {
    func imageBrowserSelectionDidChange(_ aBrowser: IKImageBrowserView!)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, cellWasDoubleClickedAtIndex index: Int)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, cellWasRightClickedAtIndex index: Int, withEvent event: NSEvent!)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, backgroundWasRightClickedWithEvent event: NSEvent!)
}
extension NSObject {
    func saveOptions(_ saveOptions: IKSaveOptions!, shouldShowUTType utType: String!) -> Bool
}
extension NSObject {
    func documentDidUnlock(_ notification: NSNotification!)
    func documentDidBeginDocumentFind(_ notification: NSNotification!)
    func documentDidEndDocumentFind(_ notification: NSNotification!)
    func documentDidBeginPageFind(_ notification: NSNotification!)
    func documentDidEndPageFind(_ notification: NSNotification!)
    func documentDidFindMatch(_ notification: NSNotification!)
}
extension NSObject {
    func didMatchString(_ instance: PDFSelection!)
    func classForPage() -> AnyClass!
    func classForAnnotationClass(_ annotationClass: AnyClass!) -> AnyClass!
}
extension NSObject {
    func PDFViewWillChangeScaleFactor(_ sender: PDFView!, toScale scale: CGFloat) -> CGFloat
    func PDFViewWillClickOnLink(_ sender: PDFView!, withURL url: NSURL!)
    func PDFViewPrintJobTitle(_ sender: PDFView!) -> String!
    func PDFViewPerformFind(_ sender: PDFView!)
    func PDFViewPerformGoToPage(_ sender: PDFView!)
    func PDFViewPerformPrint(_ sender: PDFView!)
    func PDFViewOpenPDF(_ sender: PDFView!, forRemoteGoToAction action: PDFActionRemoteGoTo!)
}
extension NSObject {
    func compositionParameterView(_ parameterView: QCCompositionParameterView!, shouldDisplayParameterWithKey portKey: String!, attributes portAttributes: [NSObject : AnyObject]!) -> Bool
    func compositionParameterView(_ parameterView: QCCompositionParameterView!, didChangeParameterWithKey portKey: String!)
}
extension NSObject {
    func compositionPickerView(_ pickerView: QCCompositionPickerView!, didSelectComposition composition: QCComposition!)
    func compositionPickerViewDidStartAnimating(_ pickerView: QCCompositionPickerView!)
    func compositionPickerViewWillStopAnimating(_ pickerView: QCCompositionPickerView!)
}
extension NSObject {
    func quartzFilterManager(_ sender: QuartzFilterManager!, didAddFilter filter: QuartzFilter!)
    func quartzFilterManager(_ sender: QuartzFilterManager!, didRemoveFilter filter: QuartzFilter!)
    func quartzFilterManager(_ sender: QuartzFilterManager!, didModifyFilter filter: QuartzFilter!)
    func quartzFilterManager(_ sender: QuartzFilterManager!, didSelectFilter filter: QuartzFilter!)
}
extension NSObject {
    func acceptsPreviewPanelControl(_ panel: QLPreviewPanel!) -> Bool
    func beginPreviewPanelControl(_ panel: QLPreviewPanel!)
    func endPreviewPanelControl(_ panel: QLPreviewPanel!)
}
extension NSObject {
    func animationDidStart(_ anim: CAAnimation)
    func animationDidStop(_ anim: CAAnimation, finished flag: Bool)
}
extension NSObject {
    func preferredSizeOfLayer(_ layer: CALayer) -> CGSize
    func invalidateLayoutOfLayer(_ layer: CALayer)
}
extension NSObject {
    func displayLayer(_ layer: CALayer)
    func drawLayer(_ layer: CALayer, inContext ctx: CGContext)
    func layoutSublayersOfLayer(_ layer: CALayer)
    func actionForLayer(_ layer: CALayer, forKey event: String) -> CAAction?
}
extension NSObject {
    func webView(_ webView: WebView!, shouldBeginEditingInDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldEndEditingInDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldInsertNode node: DOMNode!, replacingDOMRange range: DOMRange!, givenAction action: WebViewInsertAction) -> Bool
    func webView(_ webView: WebView!, shouldInsertText text: String!, replacingDOMRange range: DOMRange!, givenAction action: WebViewInsertAction) -> Bool
    func webView(_ webView: WebView!, shouldDeleteDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldChangeSelectedDOMRange currentRange: DOMRange!, toDOMRange proposedRange: DOMRange!, affinity selectionAffinity: NSSelectionAffinity, stillSelecting flag: Bool) -> Bool
    func webView(_ webView: WebView!, shouldApplyStyle style: DOMCSSStyleDeclaration!, toElementsInDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldChangeTypingStyle currentStyle: DOMCSSStyleDeclaration!, toStyle proposedStyle: DOMCSSStyleDeclaration!) -> Bool
    func webView(_ webView: WebView!, doCommandBySelector selector: Selector) -> Bool
    func webViewDidBeginEditing(_ notification: NSNotification!)
    func webViewDidChange(_ notification: NSNotification!)
    func webViewDidEndEditing(_ notification: NSNotification!)
    func webViewDidChangeTypingStyle(_ notification: NSNotification!)
    func webViewDidChangeSelection(_ notification: NSNotification!)
    func undoManagerForWebView(_ webView: WebView!) -> NSUndoManager!
}
extension NSObject {
    func webPlugInInitialize()
    func webPlugInStart()
    func webPlugInStop()
    func webPlugInDestroy()
    func webPlugInSetIsSelected(_ isSelected: Bool)
    var objectForWebScript: AnyObject! { get }
    func webPlugInMainResourceDidReceiveResponse(_ response: NSURLResponse!)
    func webPlugInMainResourceDidReceiveData(_ data: NSData!)
    func webPlugInMainResourceDidFailWithError(_ error: NSError!)
    func webPlugInMainResourceDidFinishLoading()
}
extension NSObject {
    func webPlugInContainerLoadRequest(_ request: NSURLRequest!, inFrame target: String!)
    func webPlugInContainerShowStatus(_ message: String!)
    var webPlugInContainerSelectionColor: NSColor! { get }
    var webFrame: WebFrame! { get }
}
extension NSObject {
    class func webScriptNameForSelector(_ selector: Selector) -> String!
    class func isSelectorExcludedFromWebScript(_ selector: Selector) -> Bool
    class func webScriptNameForKey(_ name: UnsafePointer<Int8>) -> String!
    class func isKeyExcludedFromWebScript(_ name: UnsafePointer<Int8>) -> Bool
    func invokeUndefinedMethodFromWebScript(_ name: String!, withArguments arguments: [AnyObject]!) -> AnyObject!
    func invokeDefaultMethodWithArguments(_ arguments: [AnyObject]!) -> AnyObject!
    func finalizeForWebScript()
}
CVarArgType, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
To
class NSObject : NSObjectProtocol {
    class func load()
    class func initialize()
    init()
    class func new() -> Self
    class func allocWithZone(_ zone: NSZone) -> Self
    class func alloc() -> Self
    func finalize()
    func copy() -> AnyObject
    func mutableCopy() -> AnyObject
    class func copyWithZone(_ zone: NSZone) -> AnyObject!
    class func mutableCopyWithZone(_ zone: NSZone) -> AnyObject!
    class func instancesRespondToSelector(_ aSelector: Selector) -> Bool
    class func conformsToProtocol(_ protocol: Protocol) -> Bool
    func methodForSelector(_ aSelector: Selector) -> IMP
    class func instanceMethodForSelector(_ aSelector: Selector) -> IMP
    func doesNotRecognizeSelector(_ aSelector: Selector)
    func forwardingTargetForSelector(_ aSelector: Selector) -> AnyObject?
    func forwardInvocation(_ anInvocation: NSInvocation!)
    func methodSignatureForSelector(_ aSelector: Selector) -> NSMethodSignature!
    class func instanceMethodSignatureForSelector(_ aSelector: Selector) -> NSMethodSignature!
    func allowsWeakReference() -> Bool
    func retainWeakReference() -> Bool
    class func isSubclassOfClass(_ aClass: AnyClass) -> Bool
    class func resolveClassMethod(_ sel: Selector) -> Bool
    class func resolveInstanceMethod(_ sel: Selector) -> Bool
    class func hash() -> Int
    class func superclass() -> AnyClass?
    class func `class`() -> AnyClass!
    class func description() -> String
    class func debugDescription() -> String
}
extension NSObject {
    func actionProperty() -> String!
    func titleForPerson(_ person: ABPerson!, identifier identifier: String!) -> String!
    func performActionForPerson(_ person: ABPerson!, identifier identifier: String!)
    func shouldEnableActionForPerson(_ person: ABPerson!, identifier identifier: String!) -> Bool
}
extension NSObject {
    func accessibilityAttributeNames() -> [AnyObject]
    func accessibilityAttributeValue(_ attribute: String) -> AnyObject?
    func accessibilityIsAttributeSettable(_ attribute: String) -> Bool
    func accessibilitySetValue(_ value: AnyObject?, forAttribute attribute: String)
    func accessibilityParameterizedAttributeNames() -> [AnyObject]
    func accessibilityAttributeValue(_ attribute: String, forParameter parameter: AnyObject?) -> AnyObject?
    func accessibilityActionNames() -> [AnyObject]
    func accessibilityActionDescription(_ action: String) -> String?
    func accessibilityPerformAction(_ action: String)
    func accessibilityIsIgnored() -> Bool
    func accessibilityHitTest(_ point: NSPoint) -> AnyObject?
    var accessibilityFocusedUIElement: AnyObject? { get }
    func accessibilityIndexOfChild(_ child: AnyObject) -> Int
    func accessibilityArrayAttributeCount(_ attribute: String) -> Int
    func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [AnyObject]
    var accessibilityNotifiesWhenDestroyed: Bool { get }
}
extension NSObject {
    func accessibilitySetOverrideValue(_ value: AnyObject?, forAttribute attribute: String) -> Bool
}
extension NSObject {
    func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool
}
extension NSObject {
    func changeColor(_ sender: AnyObject?)
}
extension NSObject {
    func controlTextDidBeginEditing(_ obj: NSNotification)
    func controlTextDidEndEditing(_ obj: NSNotification)
    func controlTextDidChange(_ obj: NSNotification)
}
extension NSObject {
    func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [String]?
    func draggingSourceOperationMaskForLocal(_ flag: Bool) -> NSDragOperation
    func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint)
    func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation)
    func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint)
    func ignoreModifierKeysWhileDragging() -> Bool
    func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool)
}
extension NSObject {
    func fontManager(_ sender: AnyObject, willIncludeFont fontName: String) -> Bool
}
extension NSObject {
    func changeFont(_ sender: AnyObject?)
}
extension NSObject {
    func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int
}
extension NSObject {
    class func exposeBinding(_ binding: String)
    var exposedBindings: [String] { get }
    func valueClassForBinding(_ binding: String) -> AnyClass?
    func bind(_ binding: String, toObject observable: AnyObject, withKeyPath keyPath: String, options options: [String : AnyObject]?)
    func unbind(_ binding: String)
    func infoForBinding(_ binding: String) -> [String : AnyObject]?
    func optionDescriptionsForBinding(_ aBinding: String) -> [NSAttributeDescription]
}
extension NSObject {
    class func setDefaultPlaceholder(_ placeholder: AnyObject?, forMarker marker: AnyObject?, withBinding binding: String)
    class func defaultPlaceholderForMarker(_ marker: AnyObject?, withBinding binding: String) -> AnyObject?
}
extension NSObject {
    func objectDidBeginEditing(_ editor: AnyObject)
    func objectDidEndEditing(_ editor: AnyObject)
}
extension NSObject {
    func discardEditing()
    func commitEditing() -> Bool
    func commitEditingWithDelegate(_ delegate: AnyObject?, didCommitSelector didCommitSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>)
    func commitEditingAndReturnError() throws
}
extension NSObject {
    func validateMenuItem(_ menuItem: NSMenuItem) -> Bool
}
extension NSObject {
    func awakeFromNib()
    func prepareForInterfaceBuilder()
}
extension NSObject {
    func pasteboard(_ sender: NSPasteboard, provideDataForType type: String)
    func pasteboardChangedOwner(_ sender: NSPasteboard)
}
extension NSObject {
    func panel(_ sender: AnyObject, isValidFilename filename: String) -> Bool
    func panel(_ sender: AnyObject, directoryDidChange path: String)
    func panel(_ sender: AnyObject, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> NSComparisonResult
    func panel(_ sender: AnyObject, shouldShowFilename filename: String) -> Bool
}
extension NSObject {
    func tableView(_ tableView: NSTableView, writeRows rows: [AnyObject], toPasteboard pboard: NSPasteboard) -> Bool
}
extension NSObject {
    func textStorageWillProcessEditing(_ notification: NSNotification)
    func textStorageDidProcessEditing(_ notification: NSNotification)
}
extension NSObject {
    func validateToolbarItem(_ theItem: NSToolbarItem) -> Bool
}
extension NSObject {
    func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, fromWindow window: NSWindow) -> Bool
}
extension NSObject {
    func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutablePointer<Void>) -> String
}
extension NSObject {
    func workflowControllerWillRun(_ controller: AMWorkflowController)
    func workflowControllerWillStop(_ controller: AMWorkflowController)
    func workflowControllerDidRun(_ controller: AMWorkflowController)
    func workflowControllerDidStop(_ controller: AMWorkflowController)
    func workflowController(_ controller: AMWorkflowController, willRunAction action: AMAction)
    func workflowController(_ controller: AMWorkflowController, didRunAction action: AMAction)
    func workflowController(_ controller: AMWorkflowController, didError error: NSError)
}
extension NSObject {
    func provideImageData(_ data: UnsafeMutablePointer<Void>, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: AnyObject?)
}
extension NSObject {
    func burnProgressPanelWillBegin(_ aNotification: NSNotification!)
    func burnProgressPanelDidFinish(_ aNotification: NSNotification!)
    func burnProgressPanel(_ theBurnPanel: DRBurnProgressPanel!, burnDidFinish burn: DRBurn!) -> Bool
}
extension NSObject {
    func eraseProgressPanelWillBegin(_ aNotification: NSNotification!)
    func eraseProgressPanelDidFinish(_ aNotification: NSNotification!)
    func eraseProgressPanel(_ theErasePanel: DREraseProgressPanel!, eraseDidFinish erase: DRErase!) -> Bool
}
extension NSObject {
    func setupPanel(_ aPanel: DRSetupPanel!, deviceCouldBeTarget device: DRDevice!) -> Bool
    func setupPanel(_ aPanel: DRSetupPanel!, determineBestDeviceOfA deviceA: DRDevice!, orB device: DRDevice!) -> DRDevice!
    func setupPanelDeviceSelectionChanged(_ aNotification: NSNotification!)
    func setupPanelShouldHandleMediaReservations(_ aPanel: DRSetupPanel!) -> Bool
    func setupPanel(_ aPanel: DRSetupPanel!, deviceContainsSuitableMedia device: DRDevice!, promptString prompt: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
}
extension NSObject {
    func exceptionHandler(_ sender: NSExceptionHandler!, shouldLogException exception: NSException!, mask aMask: Int) -> Bool
    func exceptionHandler(_ sender: NSExceptionHandler!, shouldHandleException exception: NSException!, mask aMask: Int) -> Bool
}
extension NSObject {
    var classForArchiver: AnyClass? { get }
    func replacementObjectForArchiver(_ archiver: NSArchiver) -> AnyObject?
}
extension NSObject {
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverseForRelationshipKey(_ relationshipKey: String) -> String?
}
extension NSObject {
    func attemptRecoveryFromError(_ error: NSError, optionIndex recoveryOptionIndex: Int, delegate delegate: AnyObject?, didRecoverSelector didRecoverSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>)
    func attemptRecoveryFromError(_ error: NSError, optionIndex recoveryOptionIndex: Int) -> Bool
}
extension NSObject {
    func fileManager(_ fm: NSFileManager, shouldProceedAfterError errorInfo: [NSObject : AnyObject]) -> Bool
    func fileManager(_ fm: NSFileManager, willProcessPath path: String)
}
extension NSObject {
    class func accessInstanceVariablesDirectly() -> Bool
    func valueForKey(_ key: String) -> AnyObject?
    func setValue(_ value: AnyObject?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValueForKey(_ key: String) -> NSMutableArray
    func mutableOrderedSetValueForKey(_ key: String) -> NSMutableOrderedSet
    func mutableSetValueForKey(_ key: String) -> NSMutableSet
    func valueForKeyPath(_ keyPath: String) -> AnyObject?
    func setValue(_ value: AnyObject?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValueForKeyPath(_ keyPath: String) -> NSMutableArray
    func mutableOrderedSetValueForKeyPath(_ keyPath: String) -> NSMutableOrderedSet
    func mutableSetValueForKeyPath(_ keyPath: String) -> NSMutableSet
    func valueForUndefinedKey(_ key: String) -> AnyObject?
    func setValue(_ value: AnyObject?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValuesForKeys(_ keys: [String]) -> [String : AnyObject]
    func setValuesForKeysWithDictionary(_ keyedValues: [String : AnyObject])
}
extension NSObject {
    class func useStoredAccessor() -> Bool
    func storedValueForKey(_ key: String) -> AnyObject?
    func takeStoredValue(_ value: AnyObject?, forKey key: String)
    func takeValue(_ value: AnyObject?, forKey key: String)
    func takeValue(_ value: AnyObject?, forKeyPath keyPath: String)
    func handleQueryWithUnboundKey(_ key: String) -> AnyObject?
    func handleTakeValue(_ value: AnyObject?, forUnboundKey key: String)
    func unableToSetNilForKey(_ key: String)
    func valuesForKeys(_ keys: [AnyObject]) -> [NSObject : AnyObject]
    func takeValuesFromDictionary(_ properties: [NSObject : AnyObject])
}
extension NSObject {
    func observeValueForKeyPath(_ keyPath: String?, ofObject object: AnyObject?, change change: [String : AnyObject]?, context context: UnsafeMutablePointer<Void>)
}
extension NSObject {
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
}
extension NSObject {
    func willChangeValueForKey(_ key: String)
    func didChangeValueForKey(_ key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAtIndexes indexes: NSIndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAtIndexes indexes: NSIndexSet, forKey key: String)
    func willChangeValueForKey(_ key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, usingObjects objects: Set<NSObject>)
    func didChangeValueForKey(_ key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, usingObjects objects: Set<NSObject>)
}
extension NSObject {
    class func keyPathsForValuesAffectingValueForKey(_ key: String) -> Set<String>
    class func automaticallyNotifiesObserversForKey(_ key: String) -> Bool
    var observationInfo: UnsafeMutablePointer<Void>
}
extension NSObject {
    class func setKeys(_ keys: [AnyObject], triggerChangeNotificationsForDependentKey dependentKey: String)
}
extension NSObject {
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObjectForKeyedArchiver(_ archiver: NSKeyedArchiver) -> AnyObject?
    class func classFallbacksForKeyedArchiver() -> [String]
}
extension NSObject {
    class func classForKeyedUnarchiver() -> AnyClass
}
extension NSObject {
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObjectForCoder(_ aCoder: NSCoder) -> AnyObject?
    func awakeAfterUsingCoder(_ aDecoder: NSCoder) -> AnyObject?
}
extension NSObject {
    class func poseAsClass(_ aClass: AnyClass)
}
extension NSObject {
    var autoContentAccessingProxy: AnyObject { get }
}
extension NSObject {
    func scriptingValueForSpecifier(_ objectSpecifier: NSScriptObjectSpecifier) -> AnyObject?
    var scriptingProperties: [String : AnyObject]?
    func copyScriptingValue(_ value: AnyObject, forKey key: String, withProperties properties: [String : AnyObject]) -> AnyObject?
    func newScriptingObjectOfClass(_ objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: AnyObject?, properties properties: [String : AnyObject]) -> AnyObject?
}
extension NSObject {
    var classForPortCoder: AnyClass { get }
    func replacementObjectForPortCoder(_ coder: NSPortCoder) -> AnyObject?
}
extension NSObject {
    func performSelector(_ aSelector: Selector, withObject anArgument: AnyObject?, afterDelay delay: NSTimeInterval, inModes modes: [String])
    func performSelector(_ aSelector: Selector, withObject anArgument: AnyObject?, afterDelay delay: NSTimeInterval)
    class func cancelPreviousPerformRequestsWithTarget(_ aTarget: AnyObject, selector aSelector: Selector, object anArgument: AnyObject?)
    class func cancelPreviousPerformRequestsWithTarget(_ aTarget: AnyObject)
}
extension NSObject {
    var classCode: FourCharCode { get }
    var className: String { get }
}
extension NSObject {
    func valueAtIndex(_ index: Int, inPropertyWithKey key: String) -> AnyObject?
    func valueWithName(_ name: String, inPropertyWithKey key: String) -> AnyObject?
    func valueWithUniqueID(_ uniqueID: AnyObject, inPropertyWithKey key: String) -> AnyObject?
    func insertValue(_ value: AnyObject, atIndex index: Int, inPropertyWithKey key: String)
    func removeValueAtIndex(_ index: Int, fromPropertyWithKey key: String)
    func replaceValueAtIndex(_ index: Int, inPropertyWithKey key: String, withValue value: AnyObject)
    func insertValue(_ value: AnyObject, inPropertyWithKey key: String)
    func coerceValue(_ value: AnyObject?, forKey key: String) -> AnyObject?
}
extension NSObject {
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjectsByEvaluatingObjectSpecifier(_ specifier: NSScriptObjectSpecifier) -> [NSNumber]?
}
extension NSObject {
    func isEqualTo(_ object: AnyObject?) -> Bool
    func isLessThanOrEqualTo(_ object: AnyObject?) -> Bool
    func isLessThan(_ object: AnyObject?) -> Bool
    func isGreaterThanOrEqualTo(_ object: AnyObject?) -> Bool
    func isGreaterThan(_ object: AnyObject?) -> Bool
    func isNotEqualTo(_ object: AnyObject?) -> Bool
    func doesContain(_ object: AnyObject) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
}
extension NSObject {
    func scriptingIsEqualTo(_ object: AnyObject) -> Bool
    func scriptingIsLessThanOrEqualTo(_ object: AnyObject) -> Bool
    func scriptingIsLessThan(_ object: AnyObject) -> Bool
    func scriptingIsGreaterThanOrEqualTo(_ object: AnyObject) -> Bool
    func scriptingIsGreaterThan(_ object: AnyObject) -> Bool
    func scriptingBeginsWith(_ object: AnyObject) -> Bool
    func scriptingEndsWith(_ object: AnyObject) -> Bool
    func scriptingContains(_ object: AnyObject) -> Bool
}
extension NSObject {
    func performSelectorOnMainThread(_ aSelector: Selector, withObject arg: AnyObject?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelectorOnMainThread(_ aSelector: Selector, withObject arg: AnyObject?, waitUntilDone wait: Bool)
    func performSelector(_ aSelector: Selector, onThread thr: NSThread, withObject arg: AnyObject?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(_ aSelector: Selector, onThread thr: NSThread, withObject arg: AnyObject?, waitUntilDone wait: Bool)
    func performSelectorInBackground(_ aSelector: Selector, withObject arg: AnyObject?)
}
extension NSObject {
    func URL(_ sender: NSURL, resourceDataDidBecomeAvailable newBytes: NSData)
    func URLResourceDidFinishLoading(_ sender: NSURL)
    func URLResourceDidCancelLoading(_ sender: NSURL)
    func URL(_ sender: NSURL, resourceDidFailLoadingWithReason reason: String)
}
extension NSObject : CustomDebugStringConvertible {
}
extension NSObject : CustomStringConvertible {
}
extension NSObject {
    func readRSSIForDeviceComplete(_ controller: AnyObject!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCIRSSIInfo>, error error: IOReturn)
    func readLinkQualityForDeviceComplete(_ controller: AnyObject!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCILinkQualityInfo>, error error: IOReturn)
}
extension NSObject {
    func registerIncomingDataListener(_ listener: IOBluetoothL2CAPChannelIncomingDataListener!, refCon refCon: UnsafeMutablePointer<Void>) -> IOReturn
    func write(_ data: UnsafeMutablePointer<Void>, length length: UInt16) -> IOReturn
    class func withL2CAPChannelRef(_ l2capChannelRef: IOBluetoothL2CAPChannelRef!) -> IOBluetoothL2CAPChannel!
    func getL2CAPChannelRef() -> Unmanaged<IOBluetoothL2CAPChannelRef>!
}
extension NSObject {
    func fileTransferServicesConnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesDisconnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesAbortComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesRemoveItemComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, removedItem inItemName: String!)
    func fileTransferServicesCreateFolderComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, folder inFolderName: String!)
    func fileTransferServicesPathChangeComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, finalPath inPath: String!)
    func fileTransferServicesRetrieveFolderListingComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, listing inListing: [AnyObject]!)
    func fileTransferServicesFilePreparationComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesSendFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [NSObject : AnyObject]!)
    func fileTransferServicesSendFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesCopyRemoteFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [NSObject : AnyObject]!)
    func fileTransferServicesCopyRemoteFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
}
extension NSObject {
    func inputText(_ string: String!, key keyCode: Int, modifiers flags: Int, client sender: AnyObject!) -> Bool
    func inputText(_ string: String!, client sender: AnyObject!) -> Bool
    func handleEvent(_ event: NSEvent!, client sender: AnyObject!) -> Bool
    func didCommandBySelector(_ aSelector: Selector, client sender: AnyObject!) -> Bool
    func composedString(_ sender: AnyObject!) -> AnyObject!
    func originalString(_ sender: AnyObject!) -> NSAttributedString!
    func commitComposition(_ sender: AnyObject!)
    func candidates(_ sender: AnyObject!) -> [AnyObject]!
}
extension NSObject : Equatable, Hashable {
    var hashValue: Int { get }
}
extension NSObject : CVarArgType {
}
extension NSObject : Equatable, Hashable {
    var hashValue: Int { get }
}
extension NSObject : CVarArgType {
}
extension NSObject {
    func feedDidBeginRefresh(_ feed: PSFeed!)
    func feedDidEndRefresh(_ feed: PSFeed!)
    func feed(_ feed: PSFeed!, didAddEntries entries: [AnyObject]!)
    func feed(_ feed: PSFeed!, didRemoveEntriesWithIdentifiers identifiers: [AnyObject]!)
    func feed(_ feed: PSFeed!, didUpdateEntries entries: [AnyObject]!)
    func feed(_ feed: PSFeed!, didChangeFlagsInEntries entries: [AnyObject]!)
    func enclosure(_ enclosure: PSEnclosure!, downloadStateDidChange state: PSEnclosureDownloadState)
}
extension NSObject {
    func numberOfItemsInImageBrowser(_ aBrowser: IKImageBrowserView!) -> Int
    func imageBrowser(_ aBrowser: IKImageBrowserView!, itemAtIndex index: Int) -> AnyObject!
    func imageBrowser(_ aBrowser: IKImageBrowserView!, removeItemsAtIndexes indexes: NSIndexSet!)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, moveItemsAtIndexes indexes: NSIndexSet!, toIndex destinationIndex: Int) -> Bool
    func imageBrowser(_ aBrowser: IKImageBrowserView!, writeItemsAtIndexes itemIndexes: NSIndexSet!, toPasteboard pasteboard: NSPasteboard!) -> Int
    func numberOfGroupsInImageBrowser(_ aBrowser: IKImageBrowserView!) -> Int
    func imageBrowser(_ aBrowser: IKImageBrowserView!, groupAtIndex index: Int) -> [NSObject : AnyObject]!
}
extension NSObject {
    func imageUID() -> String!
    func imageRepresentationType() -> String!
    func imageRepresentation() -> AnyObject!
    func imageVersion() -> Int
    func imageTitle() -> String!
    func imageSubtitle() -> String!
    func isSelectable() -> Bool
}
extension NSObject {
    func imageBrowserSelectionDidChange(_ aBrowser: IKImageBrowserView!)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, cellWasDoubleClickedAtIndex index: Int)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, cellWasRightClickedAtIndex index: Int, withEvent event: NSEvent!)
    func imageBrowser(_ aBrowser: IKImageBrowserView!, backgroundWasRightClickedWithEvent event: NSEvent!)
}
extension NSObject {
    func saveOptions(_ saveOptions: IKSaveOptions!, shouldShowUTType utType: String!) -> Bool
}
extension NSObject {
    func documentDidUnlock(_ notification: NSNotification!)
    func documentDidBeginDocumentFind(_ notification: NSNotification!)
    func documentDidEndDocumentFind(_ notification: NSNotification!)
    func documentDidBeginPageFind(_ notification: NSNotification!)
    func documentDidEndPageFind(_ notification: NSNotification!)
    func documentDidFindMatch(_ notification: NSNotification!)
}
extension NSObject {
    func didMatchString(_ instance: PDFSelection!)
    func classForPage() -> AnyClass!
    func classForAnnotationClass(_ annotationClass: AnyClass!) -> AnyClass!
}
extension NSObject {
    func PDFViewWillChangeScaleFactor(_ sender: PDFView!, toScale scale: CGFloat) -> CGFloat
    func PDFViewWillClickOnLink(_ sender: PDFView!, withURL url: NSURL!)
    func PDFViewPrintJobTitle(_ sender: PDFView!) -> String!
    func PDFViewPerformFind(_ sender: PDFView!)
    func PDFViewPerformGoToPage(_ sender: PDFView!)
    func PDFViewPerformPrint(_ sender: PDFView!)
    func PDFViewOpenPDF(_ sender: PDFView!, forRemoteGoToAction action: PDFActionRemoteGoTo!)
}
extension NSObject {
    func compositionParameterView(_ parameterView: QCCompositionParameterView!, shouldDisplayParameterWithKey portKey: String!, attributes portAttributes: [NSObject : AnyObject]!) -> Bool
    func compositionParameterView(_ parameterView: QCCompositionParameterView!, didChangeParameterWithKey portKey: String!)
}
extension NSObject {
    func compositionPickerView(_ pickerView: QCCompositionPickerView!, didSelectComposition composition: QCComposition!)
    func compositionPickerViewDidStartAnimating(_ pickerView: QCCompositionPickerView!)
    func compositionPickerViewWillStopAnimating(_ pickerView: QCCompositionPickerView!)
}
extension NSObject {
    func quartzFilterManager(_ sender: QuartzFilterManager!, didAddFilter filter: QuartzFilter!)
    func quartzFilterManager(_ sender: QuartzFilterManager!, didRemoveFilter filter: QuartzFilter!)
    func quartzFilterManager(_ sender: QuartzFilterManager!, didModifyFilter filter: QuartzFilter!)
    func quartzFilterManager(_ sender: QuartzFilterManager!, didSelectFilter filter: QuartzFilter!)
}
extension NSObject {
    func acceptsPreviewPanelControl(_ panel: QLPreviewPanel!) -> Bool
    func beginPreviewPanelControl(_ panel: QLPreviewPanel!)
    func endPreviewPanelControl(_ panel: QLPreviewPanel!)
}
extension NSObject {
    func animationDidStart(_ anim: CAAnimation)
    func animationDidStop(_ anim: CAAnimation, finished flag: Bool)
}
extension NSObject {
    func preferredSizeOfLayer(_ layer: CALayer) -> CGSize
    func invalidateLayoutOfLayer(_ layer: CALayer)
    func layoutSublayersOfLayer(_ layer: CALayer)
}
extension NSObject {
    func displayLayer(_ layer: CALayer)
    func drawLayer(_ layer: CALayer, inContext ctx: CGContext)
    func actionForLayer(_ layer: CALayer, forKey event: String) -> CAAction?
}
extension NSObject {
    func authorizationViewDidAuthorize(_ view: SFAuthorizationView!)
    func authorizationViewDidDeauthorize(_ view: SFAuthorizationView!)
    func authorizationViewShouldDeauthorize(_ view: SFAuthorizationView!) -> Int8
    func authorizationViewCreatedAuthorization(_ view: SFAuthorizationView!)
    func authorizationViewReleasedAuthorization(_ view: SFAuthorizationView!)
    func authorizationViewDidHide(_ view: SFAuthorizationView!)
}
extension NSObject {
    func certificatePanelShowHelp(_ sender: SFCertificatePanel!) -> Int8
}
extension NSObject {
    func chooseIdentityPanelShowHelp(_ sender: SFChooseIdentityPanel!) -> Int8
}
extension NSObject {
    func webView(_ webView: WebView!, shouldBeginEditingInDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldEndEditingInDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldInsertNode node: DOMNode!, replacingDOMRange range: DOMRange!, givenAction action: WebViewInsertAction) -> Bool
    func webView(_ webView: WebView!, shouldInsertText text: String!, replacingDOMRange range: DOMRange!, givenAction action: WebViewInsertAction) -> Bool
    func webView(_ webView: WebView!, shouldDeleteDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldChangeSelectedDOMRange currentRange: DOMRange!, toDOMRange proposedRange: DOMRange!, affinity selectionAffinity: NSSelectionAffinity, stillSelecting flag: Bool) -> Bool
    func webView(_ webView: WebView!, shouldApplyStyle style: DOMCSSStyleDeclaration!, toElementsInDOMRange range: DOMRange!) -> Bool
    func webView(_ webView: WebView!, shouldChangeTypingStyle currentStyle: DOMCSSStyleDeclaration!, toStyle proposedStyle: DOMCSSStyleDeclaration!) -> Bool
    func webView(_ webView: WebView!, doCommandBySelector selector: Selector) -> Bool
    func webViewDidBeginEditing(_ notification: NSNotification!)
    func webViewDidChange(_ notification: NSNotification!)
    func webViewDidEndEditing(_ notification: NSNotification!)
    func webViewDidChangeTypingStyle(_ notification: NSNotification!)
    func webViewDidChangeSelection(_ notification: NSNotification!)
    func undoManagerForWebView(_ webView: WebView!) -> NSUndoManager!
}
extension NSObject {
    func webPlugInInitialize()
    func webPlugInStart()
    func webPlugInStop()
    func webPlugInDestroy()
    func webPlugInSetIsSelected(_ isSelected: Bool)
    var objectForWebScript: AnyObject! { get }
    func webPlugInMainResourceDidReceiveResponse(_ response: NSURLResponse!)
    func webPlugInMainResourceDidReceiveData(_ data: NSData!)
    func webPlugInMainResourceDidFailWithError(_ error: NSError!)
    func webPlugInMainResourceDidFinishLoading()
}
extension NSObject {
    func webPlugInContainerLoadRequest(_ request: NSURLRequest!, inFrame target: String!)
    func webPlugInContainerShowStatus(_ message: String!)
    var webPlugInContainerSelectionColor: NSColor! { get }
    var webFrame: WebFrame! { get }
}
extension NSObject {
    class func webScriptNameForSelector(_ selector: Selector) -> String!
    class func isSelectorExcludedFromWebScript(_ selector: Selector) -> Bool
    class func webScriptNameForKey(_ name: UnsafePointer<Int8>) -> String!
    class func isKeyExcludedFromWebScript(_ name: UnsafePointer<Int8>) -> Bool
    func invokeUndefinedMethodFromWebScript(_ name: String!, withArguments arguments: [AnyObject]!) -> AnyObject!
    func invokeDefaultMethodWithArguments(_ arguments: [AnyObject]!) -> AnyObject!
    func finalizeForWebScript()
}
CVarArgType, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol

Declaration
From
class func conformsToProtocol(_ `protocol`: Protocol) -> Bool
To
class func conformsToProtocol(_ protocol: Protocol) -> Bool

Modified autoreleasepool(_: () -> Void)
Declaration
From
func autoreleasepool(@noescape _ code: () -> ())
To
func autoreleasepool(@noescape _ code: () -> Void)

Declaration
From
func class_addProtocol(_ cls: AnyClass!, _ `protocol`: Protocol!) -> Bool
To
func class_addProtocol(_ cls: AnyClass!, _ protocol: Protocol!) -> Bool

Declaration
From
func class_conformsToProtocol(_ cls: AnyClass!, _ `protocol`: Protocol!) -> Bool
To
func class_conformsToProtocol(_ cls: AnyClass!, _ protocol: Protocol!) -> Bool