ObjectiveC Changes for Swift
ObjectiveC
Removed NSObject.alloc() -> Self [class]
Removed NSObject.allocWithZone(_: NSZone) -> Self [class]
Removed NSObject.new() -> Self [class]
Removed NSZone.pointer
Removed objc_super.init(receiver: AnyObject!, super_class: AnyClass!)
Removed ObjCBool.getMirror() -> MirrorType
Removed ObjCBool.init(_: Int8)
Removed ObjCBool.value
Removed Selector.getMirror() -> MirrorType
Removed Selector.ptr
Removed OBJC_ASSOCIATION_ASSIGN
Removed OBJC_ASSOCIATION_COPY
Removed OBJC_ASSOCIATION_COPY_NONATOMIC
Removed OBJC_ASSOCIATION_RETAIN
Removed OBJC_ASSOCIATION_RETAIN_NONATOMIC
Removed objc_AssociationPolicy
Added NSObject.hashValue
Added NSObjectProtocol.performSelector(_: Selector, withObject: AnyObject!) -> Unmanaged<AnyObject>!
Added objc_object.isa
Added objc_super.init(receiver: Unmanaged<AnyObject>!, super_class: AnyClass!)
Added ==(_: NSObject, _: NSObject) -> Bool
Added OBJC_BOOL_IS_CHAR
Modified NSObject
Declaration | Protocols | |
---|---|---|
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 dealloc() 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 setLocalizedKey(_ localizedKey: String?) func localizedKey() -> String? func setKey(_ key: String?) func key() -> String? func setValue(_ value: AnyObject?) func value() -> AnyObject? func isExplicitlyIncluded() -> Bool } extension NSObject { func namesOfPromisedFilesDroppedAtDestination(_ dropDestination: NSURL) -> [AnyObject]? 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: [AnyObject] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, toObject observable: AnyObject, withKeyPath keyPath: String, options options: [NSObject : AnyObject]?) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [NSObject : AnyObject]? func optionDescriptionsForBinding(_ aBinding: String) -> [AnyObject] } 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(_ error: NSErrorPointer) -> Bool } 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 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 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: [AnyObject] { get } var toOneRelationshipKeys: [AnyObject] { get } var toManyRelationshipKeys: [AnyObject] { 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, error outError: NSErrorPointer) -> Bool 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, error outError: NSErrorPointer) -> Bool 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: [AnyObject]) -> [NSObject : AnyObject] func setValuesForKeysWithDictionary(_ keyedValues: [NSObject : 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: [NSObject : 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<NSObject> 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() -> [AnyObject] } 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: [NSObject : AnyObject]! func copyScriptingValue(_ value: AnyObject!, forKey key: String, withProperties properties: [NSObject : AnyObject]!) -> AnyObject? func newScriptingObjectOfClass(_ objectClass: AnyClass!, forValueForKey key: String, withContentsValue contentsValue: AnyObject?, properties properties: [NSObject : 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: [AnyObject]!) 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) -> [AnyObject]? } 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: [AnyObject]!) 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: [AnyObject]!) 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 : CVarArgType { func encode() -> [Word] } extension NSObject : Printable { } extension NSObject : Equatable, Hashable { var hashValue: Int { get } } 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 { func getPixelBufferPixelFormat(_ pixelFormatOut: UnsafeMutablePointer<OSType>) func renderIntoPixelBuffer(_ buffer: CVPixelBuffer!, forTime timeStamp: UnsafeMutablePointer<CVTimeStamp>) -> Bool func getOpenGLBufferContext(_ contextOut: UnsafeMutablePointer<CGLContextObj>, pixelFormat pixelFormatOut: UnsafeMutablePointer<CGLPixelFormatObj>) func renderIntoOpenGLBuffer(_ buffer: CVOpenGLBuffer!, onScreen screenInOut: UnsafeMutablePointer<Int32>, forTime timeStamp: UnsafeMutablePointer<CVTimeStamp>) -> Bool } extension NSObject { func javaFrameView(_ sender: JavaFrameView!, didCreateJavaFrame javaFrame: jobject, withJNIEnv theEnv: UnsafeMutablePointer<JNIEnv>) } 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 captureOutput(_ captureOutput: QTCaptureOutput!, didOutputAudioSampleBuffer sampleBuffer: QTSampleBuffer!, fromConnection connection: QTCaptureConnection!) } extension NSObject { func captureOutput(_ captureOutput: QTCaptureOutput!, didOutputVideoFrame videoFrame: CVImageBuffer!, withSampleBuffer sampleBuffer: QTSampleBuffer!, fromConnection connection: QTCaptureConnection!) func captureOutput(_ captureOutput: QTCaptureOutput!, didDropVideoFrameWithSampleBuffer sampleBuffer: QTSampleBuffer!, fromConnection connection: QTCaptureConnection!) } extension NSObject { func captureOutput(_ captureOutput: QTCaptureFileOutput!, didOutputSampleBuffer sampleBuffer: QTSampleBuffer!, fromConnection connection: QTCaptureConnection!) func captureOutput(_ captureOutput: QTCaptureFileOutput!, willStartRecordingToOutputFileAtURL fileURL: NSURL!, forConnections connections: [AnyObject]!) func captureOutput(_ captureOutput: QTCaptureFileOutput!, didStartRecordingToOutputFileAtURL fileURL: NSURL!, forConnections connections: [AnyObject]!) func captureOutput(_ captureOutput: QTCaptureFileOutput!, shouldChangeOutputFileAtURL outputFileURL: NSURL!, forConnections connections: [AnyObject]!, dueToError error: NSError!) -> Bool func captureOutput(_ captureOutput: QTCaptureFileOutput!, mustChangeOutputFileAtURL outputFileURL: NSURL!, forConnections connections: [AnyObject]!, dueToError error: NSError!) func captureOutput(_ captureOutput: QTCaptureFileOutput!, willFinishRecordingToOutputFileAtURL outputFileURL: NSURL!, forConnections connections: [AnyObject]!, dueToError error: NSError!) func captureOutput(_ captureOutput: QTCaptureFileOutput!, didFinishRecordingToOutputFileAtURL outputFileURL: NSURL!, forConnections connections: [AnyObject]!, dueToError error: NSError!) func captureOutput(_ captureOutput: QTCaptureFileOutput!, didPauseRecordingToOutputFileAtURL fileURL: NSURL!, forConnections connections: [AnyObject]!) func captureOutput(_ captureOutput: QTCaptureFileOutput!, didResumeRecordingToOutputFileAtURL fileURL: NSURL!, forConnections connections: [AnyObject]!) } extension NSObject { func view(_ view: QTCaptureView!, willDisplayImage image: CIImage!) -> CIImage! } extension NSObject { func movie(_ movie: QTMovie!, linkToURL url: NSURL!) -> Bool func movieShouldLoadData(_ sender: AnyObject!) -> Bool func movieShouldTask(_ movie: AnyObject!) -> Bool func externalMovie(_ dictionary: [NSObject : AnyObject]!) -> QTMovie! func movie(_ movie: QTMovie!, shouldContinueOperation op: String!, withPhase phase: QTMovieOperationPhase, atPercent percent: NSNumber!, withAttributes attributes: [NSObject : AnyObject]!) -> Bool } extension NSObject { func menuForEventDelegate(_ event: NSEvent!) -> NSMenu! } 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 provideImageData(_ data: UnsafeMutablePointer<Void>, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: AnyObject!) } extension NSObject { func sessionDriver(_ sender: ISyncSessionDriver!, didRegisterClientAndReturnError outError: NSErrorPointer) -> Bool func sessionDriver(_ sender: ISyncSessionDriver!, willNegotiateAndReturnError outError: NSErrorPointer) -> Bool func sessionDriver(_ sender: ISyncSessionDriver!, didNegotiateAndReturnError outError: NSErrorPointer) -> Bool func sessionDriver(_ sender: ISyncSessionDriver!, willPushAndReturnError outError: NSErrorPointer) -> Bool func sessionDriver(_ sender: ISyncSessionDriver!, didPushAndReturnError outError: NSErrorPointer) -> Bool func sessionDriver(_ sender: ISyncSessionDriver!, willPullAndReturnError outError: NSErrorPointer) -> Bool func sessionDriver(_ sender: ISyncSessionDriver!, didPullAndReturnError outError: NSErrorPointer) -> Bool func sessionDriver(_ sender: ISyncSessionDriver!, willFinishSessionAndReturnError outError: NSErrorPointer) -> Bool func sessionDriverDidFinishSession(_ sender: ISyncSessionDriver!) func sessionDriverWillCancelSession(_ sender: ISyncSessionDriver!) func sessionDriverDidCancelSession(_ sender: ISyncSessionDriver!) func sessionDriver(_ sender: ISyncSessionDriver!, didReceiveSyncAlertAndReturnError outError: NSErrorPointer) -> Bool } extension NSObject { func downloadWindowForAuthenticationSheet(_ download: WebDownload!) -> NSWindow! } 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 webView(_ sender: WebView!, didStartProvisionalLoadForFrame frame: WebFrame!) func webView(_ sender: WebView!, didReceiveServerRedirectForProvisionalLoadForFrame frame: WebFrame!) func webView(_ sender: WebView!, didFailProvisionalLoadWithError error: NSError!, forFrame frame: WebFrame!) func webView(_ sender: WebView!, didCommitLoadForFrame frame: WebFrame!) func webView(_ sender: WebView!, didReceiveTitle title: String!, forFrame frame: WebFrame!) func webView(_ sender: WebView!, didReceiveIcon image: NSImage!, forFrame frame: WebFrame!) func webView(_ sender: WebView!, didFinishLoadForFrame frame: WebFrame!) func webView(_ sender: WebView!, didFailLoadWithError error: NSError!, forFrame frame: WebFrame!) func webView(_ sender: WebView!, didChangeLocationWithinPageForFrame frame: WebFrame!) func webView(_ sender: WebView!, willPerformClientRedirectToURL URL: NSURL!, delay seconds: NSTimeInterval, fireDate date: NSDate!, forFrame frame: WebFrame!) func webView(_ sender: WebView!, didCancelClientRedirectForFrame frame: WebFrame!) func webView(_ sender: WebView!, willCloseFrame frame: WebFrame!) func webView(_ webView: WebView!, didClearWindowObject windowObject: WebScriptObject!, forFrame frame: WebFrame!) func webView(_ webView: WebView!, windowScriptObjectAvailable windowScriptObject: WebScriptObject!) func webView(_ webView: WebView!, didCreateJavaScriptContext context: JSContext!, forFrame frame: WebFrame!) } 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 { func webView(_ webView: WebView!, decidePolicyForNavigationAction actionInformation: [NSObject : AnyObject]!, request request: NSURLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!) func webView(_ webView: WebView!, decidePolicyForNewWindowAction actionInformation: [NSObject : AnyObject]!, request request: NSURLRequest!, newFrameName frameName: String!, decisionListener listener: WebPolicyDecisionListener!) func webView(_ webView: WebView!, decidePolicyForMIMEType type: String!, request request: NSURLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!) func webView(_ webView: WebView!, unableToImplementPolicyWithError error: NSError!, frame frame: WebFrame!) } extension NSObject { func webView(_ sender: WebView!, identifierForInitialRequest request: NSURLRequest!, fromDataSource dataSource: WebDataSource!) -> AnyObject! func webView(_ sender: WebView!, resource identifier: AnyObject!, willSendRequest request: NSURLRequest!, redirectResponse redirectResponse: NSURLResponse!, fromDataSource dataSource: WebDataSource!) -> NSURLRequest! func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge!, fromDataSource dataSource: WebDataSource!) func webView(_ sender: WebView!, resource identifier: AnyObject!, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge!, fromDataSource dataSource: WebDataSource!) func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveResponse response: NSURLResponse!, fromDataSource dataSource: WebDataSource!) func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveContentLength length: Int, fromDataSource dataSource: WebDataSource!) func webView(_ sender: WebView!, resource identifier: AnyObject!, didFinishLoadingFromDataSource dataSource: WebDataSource!) func webView(_ sender: WebView!, resource identifier: AnyObject!, didFailLoadingWithError error: NSError!, fromDataSource dataSource: WebDataSource!) func webView(_ sender: WebView!, plugInFailedWithError error: NSError!, dataSource dataSource: WebDataSource!) } 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() } | AnyObject, CVarArgType, Equatable, Hashable, NSObjectProtocol, Printable |
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 : 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() } | AnyObject, CVarArgType, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol |
Modified NSObjectProtocol
Declaration | |
---|---|
From | protocol NSObjectProtocol { func isEqual(_ object: AnyObject?) -> Bool var hash: Int { get } var superclass: AnyClass? { get } optional func `class`() -> AnyClass! func `self`() -> Self func performSelector(_ aSelector: Selector) -> AnyObject! func performSelector(_ aSelector: Selector, withObject object: AnyObject!) -> AnyObject! func performSelector(_ aSelector: Selector, withObject object1: AnyObject!, withObject object2: AnyObject!) -> AnyObject! func isProxy() -> Bool func isKindOfClass(_ aClass: AnyClass) -> Bool func isMemberOfClass(_ aClass: AnyClass) -> Bool func conformsToProtocol(_ aProtocol: Protocol) -> Bool func respondsToSelector(_ aSelector: Selector) -> Bool func retain() -> Self! func release() func autorelease() -> Self! func retainCount() -> Int func zone() -> NSZone var description: String { get } optional var debugDescription: String { get } } |
To | protocol NSObjectProtocol { func isEqual(_ object: AnyObject?) -> Bool var hash: Int { get } var superclass: AnyClass? { get } func `class`() -> AnyClass! func `self`() -> Self func performSelector(_ aSelector: Selector) -> Unmanaged<AnyObject>! func performSelector(_ aSelector: Selector, withObject object: AnyObject!) -> Unmanaged<AnyObject>! func performSelector(_ aSelector: Selector, withObject object1: AnyObject!, withObject object2: AnyObject!) -> Unmanaged<AnyObject>! func isProxy() -> Bool func isKindOfClass(_ aClass: AnyClass) -> Bool func isMemberOfClass(_ aClass: AnyClass) -> Bool func conformsToProtocol(_ aProtocol: Protocol) -> Bool func respondsToSelector(_ aSelector: Selector) -> Bool func retain() -> Self! func release() func autorelease() -> Self! func retainCount() -> Int func zone() -> NSZone var description: String { get } optional var debugDescription: String { get } } |
Introduction | |
---|---|
From | OS X 10.10 |
To | OS X 10.0 |
Modified NSZone [struct]
Declaration | |
---|---|
From | struct NSZone : NilLiteralConvertible { var pointer: COpaquePointer init() init(nilLiteral nilLiteral: ()) } |
To | struct NSZone : NilLiteralConvertible { init() init(nilLiteral nilLiteral: ()) } |
Modified objc_super [struct]
Declaration | |
---|---|
From | struct objc_super { var receiver: AnyObject! var super_class: AnyClass! init() init(receiver receiver: AnyObject!, super_class super_class: AnyClass!) } |
To | struct objc_super { var receiver: Unmanaged<AnyObject>! var super_class: AnyClass! init() init(receiver receiver: Unmanaged<AnyObject>!, super_class super_class: AnyClass!) } |
Modified objc_super.receiver
Declaration | |
---|---|
From | var receiver: AnyObject! |
To | var receiver: Unmanaged<AnyObject>! |
Modified ObjCBool [struct]
Declaration | Protocols | |
---|---|---|
From | struct ObjCBool : BooleanType, BooleanLiteralConvertible { var value: Int8 init(_ value: Int8) init(_ value: Bool) var boolValue: Bool { get } init(booleanLiteral value: Bool) } extension ObjCBool : Reflectable { func getMirror() -> MirrorType } extension ObjCBool : Printable { var description: String { get } } | BooleanLiteralConvertible, BooleanType, Printable, Reflectable |
To | struct ObjCBool : BooleanType, BooleanLiteralConvertible { init(_ value: Bool) var boolValue: Bool { get } init(booleanLiteral value: Bool) } extension ObjCBool : _Reflectable { } extension ObjCBool : CustomStringConvertible { var description: String { get } } | BooleanLiteralConvertible, BooleanType, CustomStringConvertible |
Modified Selector [struct]
Declaration | Protocols | |
---|---|---|
From | struct Selector : StringLiteralConvertible, NilLiteralConvertible { var ptr: COpaquePointer init(_ str: String) init(unicodeScalarLiteral value: String) init(extendedGraphemeClusterLiteral value: String) init(stringLiteral value: String) init() init(nilLiteral nilLiteral: ()) } extension Selector : Equatable, Hashable { var hashValue: Int { get } } extension Selector : Printable { var description: String { get } } extension Selector : Reflectable { func getMirror() -> MirrorType } | Equatable, Hashable, NilLiteralConvertible, Printable, Reflectable, StringLiteralConvertible |
To | struct Selector : StringLiteralConvertible, ExtendedGraphemeClusterLiteralConvertible, UnicodeScalarLiteralConvertible, NilLiteralConvertible { init(_ str: String) init(unicodeScalarLiteral value: String) init(extendedGraphemeClusterLiteral value: String) init(stringLiteral value: String) init() init(nilLiteral nilLiteral: ()) } extension Selector : Equatable, Hashable { var hashValue: Int { get } } extension Selector : CustomStringConvertible { var description: String { get } } extension Selector : _Reflectable { } | CustomStringConvertible, Equatable, ExtendedGraphemeClusterLiteralConvertible, Hashable, NilLiteralConvertible, StringLiteralConvertible, UnicodeScalarLiteralConvertible |
Modified &&(_: T, _: () -> ObjCBool) -> Bool
Declaration | Introduction | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|---|
From | func &&<T : BooleanType>(_ lhs: T, _ rhs: @autoclosurerhs: @autoclosure () -> ObjCBool) -> Bool | OS X 10.10.3 | -- | |
To | @warn_unused_result func &&<T : BooleanType>(_ lhs: T, @autoclosure _ rhs: () -> ObjCBool) -> Bool | OS X 10.11 | T : BooleanType | T |
Modified ==(_: Selector, _: Selector) -> Bool
Declaration | |
---|---|
From | func ==(_ lhs: Selector, _ rhs: Selector) -> Bool |
To | @warn_unused_result func ==(_ lhs: Selector, _ rhs: Selector) -> Bool |
Modified autoreleasepool(_: () -> ())
Declaration | |
---|---|
From | func autoreleasepool(_ code: @noescape () -> ()) |
To | func autoreleasepool(@noescape _ code: () -> ()) |
Modified objc_addExceptionHandler(_: objc_exception_handler!, _: UnsafeMutablePointer<Void>) -> UInt
Declaration | |
---|---|
From | func objc_addExceptionHandler(_ fn: objc_exception_handler, _ context: UnsafeMutablePointer<Void>) -> UInt |
To | func objc_addExceptionHandler(_ fn: objc_exception_handler!, _ context: UnsafeMutablePointer<Void>) -> UInt |
Modified objc_exception_handler
Declaration | |
---|---|
From | typealias objc_exception_handler = CFunctionPointer<((AnyObject!, UnsafeMutablePointer<Void>) -> Void)> |
To | typealias objc_exception_handler = (AnyObject!, UnsafeMutablePointer<Void>) -> Void |
Modified objc_exception_matcher
Declaration | |
---|---|
From | typealias objc_exception_matcher = CFunctionPointer<((AnyClass!, AnyObject!) -> Int32)> |
To | typealias objc_exception_matcher = (AnyClass!, AnyObject!) -> Int32 |
Modified objc_exception_preprocessor
Declaration | |
---|---|
From | typealias objc_exception_preprocessor = CFunctionPointer<((AnyObject!) -> AnyObject!)> |
To | typealias objc_exception_preprocessor = (AnyObject!) -> AnyObject! |
Declaration | |
---|---|
From | func objc_setEnumerationMutationHandler(_ handler: CFunctionPointer<((AnyObject!) -> Void)>) |
To | func objc_setEnumerationMutationHandler(_ handler: ((AnyObject!) -> Void)!) |
Modified objc_setExceptionMatcher(_: objc_exception_matcher!) -> objc_exception_matcher!
Declaration | |
---|---|
From | func objc_setExceptionMatcher(_ fn: objc_exception_matcher) -> objc_exception_matcher |
To | func objc_setExceptionMatcher(_ fn: objc_exception_matcher!) -> objc_exception_matcher! |
Modified objc_setExceptionPreprocessor(_: objc_exception_preprocessor!) -> objc_exception_preprocessor!
Declaration | |
---|---|
From | func objc_setExceptionPreprocessor(_ fn: objc_exception_preprocessor) -> objc_exception_preprocessor |
To | func objc_setExceptionPreprocessor(_ fn: objc_exception_preprocessor!) -> objc_exception_preprocessor! |
Modified objc_setUncaughtExceptionHandler(_: objc_uncaught_exception_handler!) -> objc_uncaught_exception_handler!
Declaration | |
---|---|
From | func objc_setUncaughtExceptionHandler(_ fn: objc_uncaught_exception_handler) -> objc_uncaught_exception_handler |
To | func objc_setUncaughtExceptionHandler(_ fn: objc_uncaught_exception_handler!) -> objc_uncaught_exception_handler! |
Modified objc_uncaught_exception_handler
Declaration | |
---|---|
From | typealias objc_uncaught_exception_handler = CFunctionPointer<((AnyObject!) -> Void)> |
To | typealias objc_uncaught_exception_handler = (AnyObject!) -> Void |
Modified ||(_: T, _: () -> ObjCBool) -> Bool
Declaration | Introduction | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|---|
From | func ||<T : BooleanType>(_ lhs: T, _ rhs: @autoclosurerhs: @autoclosure () -> ObjCBool) -> Bool | OS X 10.10.3 | -- | |
To | @warn_unused_result func ||<T : BooleanType>(_ lhs: T, @autoclosure _ rhs: () -> ObjCBool) -> Bool | OS X 10.11 | T : BooleanType | T |