Foundation Changes for Swift
Foundation
Added CustomNSError.errorCode
Added CustomNSError.errorDomain
Added CustomNSError.errorUserInfo
Added Int16.init(_: NSNumber)
Added Int32.init(_: NSNumber)
Added Int64.init(_: NSNumber)
Added Int8.init(_: NSNumber)
Added UInt16.init(_: NSNumber)
Added UInt32.init(_: NSNumber)
Added UInt64.init(_: NSNumber)
Added UInt8.init(_: NSNumber)
Modified FileManager
Declaration | |
---|---|
From | class FileManager : NSObject { class var `default`: FileManager { get } func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options options: FileManager.VolumeEnumerationOptions = []) -> [URL]? func unmountVolume(at url: URL, options mask: FileManager.UnmountOptions = [], completionHandler completionHandler: @escaping (Error?) -> Swift.Void) func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL] func urls(for directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask) -> [URL] func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor url: URL?, create shouldCreate: Bool) throws -> URL func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws func createDirectory(at url: URL, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : Any]? = nil) throws func createSymbolicLink(at url: URL, withDestinationURL destURL: URL) throws unowned(unsafe) var delegate: FileManagerDelegate? func setAttributes(_ attributes: [FileAttributeKey : Any], ofItemAtPath path: String) throws func createDirectory(atPath path: String, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : Any]? = nil) throws func contentsOfDirectory(atPath path: String) throws -> [String] func subpathsOfDirectory(atPath path: String) throws -> [String] func attributesOfItem(atPath path: String) throws -> [FileAttributeKey : Any] func attributesOfFileSystem(forPath path: String) throws -> [FileAttributeKey : Any] func createSymbolicLink(atPath path: String, withDestinationPath destPath: String) throws func destinationOfSymbolicLink(atPath path: String) throws -> String func copyItem(atPath srcPath: String, toPath dstPath: String) throws func moveItem(atPath srcPath: String, toPath dstPath: String) throws func linkItem(atPath srcPath: String, toPath dstPath: String) throws func removeItem(atPath path: String) throws func copyItem(at srcURL: URL, to dstURL: URL) throws func moveItem(at srcURL: URL, to dstURL: URL) throws func linkItem(at srcURL: URL, to dstURL: URL) throws func removeItem(at URL: URL) throws func trashItem(at url: URL, resultingItemURL outResultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws func fileAttributes(atPath path: String, traverseLink yorn: Bool) -> [AnyHashable : Any]? func changeFileAttributes(_ attributes: [AnyHashable : Any] = [:], atPath path: String) -> Bool func directoryContents(atPath path: String) -> [Any]? func fileSystemAttributes(atPath path: String) -> [AnyHashable : Any]? func pathContentOfSymbolicLink(atPath path: String) -> String? func createSymbolicLink(atPath path: String, pathContent otherpath: String) -> Bool func createDirectory(atPath path: String, attributes attributes: [AnyHashable : Any] = [:]) -> Bool func linkPath(_ src: String, toPath dest: String, handler handler: Any?) -> Bool func copyPath(_ src: String, toPath dest: String, handler handler: Any?) -> Bool func movePath(_ src: String, toPath dest: String, handler handler: Any?) -> Bool func removeFile(atPath path: String, handler handler: Any?) -> Bool var currentDirectoryPath: String { get } func changeCurrentDirectoryPath(_ path: String) -> Bool func fileExists(atPath path: String) -> Bool func fileExists(atPath path: String, isDirectory isDirectory: UnsafeMutablePointer<ObjCBool>?) -> Bool func isReadableFile(atPath path: String) -> Bool func isWritableFile(atPath path: String) -> Bool func isExecutableFile(atPath path: String) -> Bool func isDeletableFile(atPath path: String) -> Bool func contentsEqual(atPath path1: String, andPath path2: String) -> Bool func displayName(atPath path: String) -> String func componentsToDisplay(forPath path: String) -> [String]? func enumerator(atPath path: String) -> FileManager.DirectoryEnumerator? func enumerator(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = [], errorHandler handler: (@escaping (URL, Error) -> Bool)? = nil) -> FileManager.DirectoryEnumerator? func subpaths(atPath path: String) -> [String]? func contents(atPath path: String) -> Data? func createFile(atPath path: String, contents data: Data?, attributes attr: [String : Any]? = nil) -> Bool func fileSystemRepresentation(withPath path: String) -> UnsafePointer<Int8> func string(withFileSystemRepresentation str: UnsafePointer<Int8>, length len: Int) -> String func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName backupItemName: String?, options options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws func setUbiquitous(_ flag: Bool, itemAt url: URL, destinationURL destinationURL: URL) throws func isUbiquitousItem(at url: URL) -> Bool func startDownloadingUbiquitousItem(at url: URL) throws func evictUbiquitousItem(at url: URL) throws func url(forUbiquityContainerIdentifier containerIdentifier: String?) -> URL? func url(forPublishingUbiquitousItemAt url: URL, expiration outDate: AutoreleasingUnsafeMutablePointer<NSDate?>?) throws -> URL @NSCopying var ubiquityIdentityToken: (NSCoding & NSCopying & NSObjectProtocol)? { get } func containerURL(forSecurityApplicationGroupIdentifier groupIdentifier: String) -> URL? func replaceItemAtURL(originalItemURL originalItemURL: NSURL, withItemAtURL newItemURL: NSURL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? func replaceItemAt(_ originalItemURL: URL, withItemAt newItemURL: URL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? var homeDirectoryForCurrentUser: URL { get } var temporaryDirectory: URL { get } func homeDirectory(forUser userName: String) -> URL? class DirectoryEnumerator : NSEnumerator { var fileAttributes: [FileAttributeKey : Any]? { get } var directoryAttributes: [FileAttributeKey : Any]? { get } func skipDescendents() var level: Int { get } func skipDescendants() } struct VolumeEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipHiddenVolumes: FileManager.VolumeEnumerationOptions { get } static var produceFileReferenceURLs: FileManager.VolumeEnumerationOptions { get } } struct DirectoryEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipsSubdirectoryDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsPackageDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsHiddenFiles: FileManager.DirectoryEnumerationOptions { get } } struct ItemReplacementOptions : OptionSet { init(rawValue rawValue: UInt) static var usingNewMetadataOnly: FileManager.ItemReplacementOptions { get } static var withoutDeletingBackupItem: FileManager.ItemReplacementOptions { get } } enum URLRelationship : Int { case contains case same case other } struct UnmountOptions : OptionSet { init(rawValue rawValue: UInt) static var allPartitionsAndEjectDisk: FileManager.UnmountOptions { get } static var withoutUI: FileManager.UnmountOptions { get } } enum SearchPathDirectory : UInt { case applicationDirectory case demoApplicationDirectory case developerApplicationDirectory case adminApplicationDirectory case libraryDirectory case developerDirectory case userDirectory case documentationDirectory case documentDirectory case coreServiceDirectory case autosavedInformationDirectory case desktopDirectory case cachesDirectory case applicationSupportDirectory case downloadsDirectory case inputMethodsDirectory case moviesDirectory case musicDirectory case picturesDirectory case printerDescriptionDirectory case sharedPublicDirectory case preferencePanesDirectory case applicationScriptsDirectory case itemReplacementDirectory case allApplicationsDirectory case allLibrariesDirectory case trashDirectory } struct SearchPathDomainMask : OptionSet { init(rawValue rawValue: UInt) static var userDomainMask: FileManager.SearchPathDomainMask { get } static var localDomainMask: FileManager.SearchPathDomainMask { get } static var networkDomainMask: FileManager.SearchPathDomainMask { get } static var systemDomainMask: FileManager.SearchPathDomainMask { get } static var allDomainsMask: FileManager.SearchPathDomainMask { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension FileManager : CVarArg { } extension FileManager : Equatable, Hashable { var hashValue: Int { get } } extension FileManager { var homeDirectoryForCurrentUser: URL { get } var temporaryDirectory: URL { get } func homeDirectory(forUser userName: String) -> URL? } extension FileManager { class DirectoryEnumerator : NSEnumerator { var fileAttributes: [FileAttributeKey : Any]? { get } var directoryAttributes: [FileAttributeKey : Any]? { get } func skipDescendents() var level: Int { get } func skipDescendants() } struct VolumeEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipHiddenVolumes: FileManager.VolumeEnumerationOptions { get } static var produceFileReferenceURLs: FileManager.VolumeEnumerationOptions { get } } struct DirectoryEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipsSubdirectoryDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsPackageDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsHiddenFiles: FileManager.DirectoryEnumerationOptions { get } } struct ItemReplacementOptions : OptionSet { init(rawValue rawValue: UInt) static var usingNewMetadataOnly: FileManager.ItemReplacementOptions { get } static var withoutDeletingBackupItem: FileManager.ItemReplacementOptions { get } } enum URLRelationship : Int { case contains case same case other } struct UnmountOptions : OptionSet { init(rawValue rawValue: UInt) static var allPartitionsAndEjectDisk: FileManager.UnmountOptions { get } static var withoutUI: FileManager.UnmountOptions { get } } } extension FileManager { enum SearchPathDirectory : UInt { case applicationDirectory case demoApplicationDirectory case developerApplicationDirectory case adminApplicationDirectory case libraryDirectory case developerDirectory case userDirectory case documentationDirectory case documentDirectory case coreServiceDirectory case autosavedInformationDirectory case desktopDirectory case cachesDirectory case applicationSupportDirectory case downloadsDirectory case inputMethodsDirectory case moviesDirectory case musicDirectory case picturesDirectory case printerDescriptionDirectory case sharedPublicDirectory case preferencePanesDirectory case applicationScriptsDirectory case itemReplacementDirectory case allApplicationsDirectory case allLibrariesDirectory case trashDirectory } struct SearchPathDomainMask : OptionSet { init(rawValue rawValue: UInt) static var userDomainMask: FileManager.SearchPathDomainMask { get } static var localDomainMask: FileManager.SearchPathDomainMask { get } static var networkDomainMask: FileManager.SearchPathDomainMask { get } static var systemDomainMask: FileManager.SearchPathDomainMask { get } static var allDomainsMask: FileManager.SearchPathDomainMask { get } } } extension FileManager { func replaceItemAtURL(originalItemURL originalItemURL: NSURL, withItemAtURL newItemURL: NSURL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? func replaceItemAt(_ originalItemURL: URL, withItemAt newItemURL: URL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? } |
To | class FileManager : NSObject { class var `default`: FileManager { get } func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options options: FileManager.VolumeEnumerationOptions = []) -> [URL]? func unmountVolume(at url: URL, options mask: FileManager.UnmountOptions = [], completionHandler completionHandler: @escaping (Error?) -> Swift.Void) func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL] func urls(for directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask) -> [URL] func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor url: URL?, create shouldCreate: Bool) throws -> URL func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws func createDirectory(at url: URL, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : Any]? = nil) throws func createSymbolicLink(at url: URL, withDestinationURL destURL: URL) throws unowned(unsafe) var delegate: FileManagerDelegate? func setAttributes(_ attributes: [FileAttributeKey : Any], ofItemAtPath path: String) throws func createDirectory(atPath path: String, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : Any]? = nil) throws func contentsOfDirectory(atPath path: String) throws -> [String] func subpathsOfDirectory(atPath path: String) throws -> [String] func attributesOfItem(atPath path: String) throws -> [FileAttributeKey : Any] func attributesOfFileSystem(forPath path: String) throws -> [FileAttributeKey : Any] func createSymbolicLink(atPath path: String, withDestinationPath destPath: String) throws func destinationOfSymbolicLink(atPath path: String) throws -> String func copyItem(atPath srcPath: String, toPath dstPath: String) throws func moveItem(atPath srcPath: String, toPath dstPath: String) throws func linkItem(atPath srcPath: String, toPath dstPath: String) throws func removeItem(atPath path: String) throws func copyItem(at srcURL: URL, to dstURL: URL) throws func moveItem(at srcURL: URL, to dstURL: URL) throws func linkItem(at srcURL: URL, to dstURL: URL) throws func removeItem(at URL: URL) throws func trashItem(at url: URL, resultingItemURL outResultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws func fileAttributes(atPath path: String, traverseLink yorn: Bool) -> [AnyHashable : Any]? func changeFileAttributes(_ attributes: [AnyHashable : Any] = [:], atPath path: String) -> Bool func directoryContents(atPath path: String) -> [Any]? func fileSystemAttributes(atPath path: String) -> [AnyHashable : Any]? func pathContentOfSymbolicLink(atPath path: String) -> String? func createSymbolicLink(atPath path: String, pathContent otherpath: String) -> Bool func createDirectory(atPath path: String, attributes attributes: [AnyHashable : Any] = [:]) -> Bool func linkPath(_ src: String, toPath dest: String, handler handler: Any?) -> Bool func copyPath(_ src: String, toPath dest: String, handler handler: Any?) -> Bool func movePath(_ src: String, toPath dest: String, handler handler: Any?) -> Bool func removeFile(atPath path: String, handler handler: Any?) -> Bool var currentDirectoryPath: String { get } func changeCurrentDirectoryPath(_ path: String) -> Bool func fileExists(atPath path: String) -> Bool func fileExists(atPath path: String, isDirectory isDirectory: UnsafeMutablePointer<ObjCBool>?) -> Bool func isReadableFile(atPath path: String) -> Bool func isWritableFile(atPath path: String) -> Bool func isExecutableFile(atPath path: String) -> Bool func isDeletableFile(atPath path: String) -> Bool func contentsEqual(atPath path1: String, andPath path2: String) -> Bool func displayName(atPath path: String) -> String func componentsToDisplay(forPath path: String) -> [String]? func enumerator(atPath path: String) -> FileManager.DirectoryEnumerator? func enumerator(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = [], errorHandler handler: ((URL, Error) -> Bool)? = nil) -> FileManager.DirectoryEnumerator? func subpaths(atPath path: String) -> [String]? func contents(atPath path: String) -> Data? func createFile(atPath path: String, contents data: Data?, attributes attr: [String : Any]? = nil) -> Bool func fileSystemRepresentation(withPath path: String) -> UnsafePointer<Int8> func string(withFileSystemRepresentation str: UnsafePointer<Int8>, length len: Int) -> String func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName backupItemName: String?, options options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws func setUbiquitous(_ flag: Bool, itemAt url: URL, destinationURL destinationURL: URL) throws func isUbiquitousItem(at url: URL) -> Bool func startDownloadingUbiquitousItem(at url: URL) throws func evictUbiquitousItem(at url: URL) throws func url(forUbiquityContainerIdentifier containerIdentifier: String?) -> URL? func url(forPublishingUbiquitousItemAt url: URL, expiration outDate: AutoreleasingUnsafeMutablePointer<NSDate?>?) throws -> URL @NSCopying var ubiquityIdentityToken: (NSCoding & NSCopying & NSObjectProtocol)? { get } func containerURL(forSecurityApplicationGroupIdentifier groupIdentifier: String) -> URL? func replaceItemAtURL(originalItemURL originalItemURL: NSURL, withItemAtURL newItemURL: NSURL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? func replaceItemAt(_ originalItemURL: URL, withItemAt newItemURL: URL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? var homeDirectoryForCurrentUser: URL { get } var temporaryDirectory: URL { get } func homeDirectory(forUser userName: String) -> URL? class DirectoryEnumerator : NSEnumerator { var fileAttributes: [FileAttributeKey : Any]? { get } var directoryAttributes: [FileAttributeKey : Any]? { get } func skipDescendents() var level: Int { get } func skipDescendants() } struct VolumeEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipHiddenVolumes: FileManager.VolumeEnumerationOptions { get } static var produceFileReferenceURLs: FileManager.VolumeEnumerationOptions { get } } struct DirectoryEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipsSubdirectoryDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsPackageDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsHiddenFiles: FileManager.DirectoryEnumerationOptions { get } } struct ItemReplacementOptions : OptionSet { init(rawValue rawValue: UInt) static var usingNewMetadataOnly: FileManager.ItemReplacementOptions { get } static var withoutDeletingBackupItem: FileManager.ItemReplacementOptions { get } } enum URLRelationship : Int { case contains case same case other } struct UnmountOptions : OptionSet { init(rawValue rawValue: UInt) static var allPartitionsAndEjectDisk: FileManager.UnmountOptions { get } static var withoutUI: FileManager.UnmountOptions { get } } enum SearchPathDirectory : UInt { case applicationDirectory case demoApplicationDirectory case developerApplicationDirectory case adminApplicationDirectory case libraryDirectory case developerDirectory case userDirectory case documentationDirectory case documentDirectory case coreServiceDirectory case autosavedInformationDirectory case desktopDirectory case cachesDirectory case applicationSupportDirectory case downloadsDirectory case inputMethodsDirectory case moviesDirectory case musicDirectory case picturesDirectory case printerDescriptionDirectory case sharedPublicDirectory case preferencePanesDirectory case applicationScriptsDirectory case itemReplacementDirectory case allApplicationsDirectory case allLibrariesDirectory case trashDirectory } struct SearchPathDomainMask : OptionSet { init(rawValue rawValue: UInt) static var userDomainMask: FileManager.SearchPathDomainMask { get } static var localDomainMask: FileManager.SearchPathDomainMask { get } static var networkDomainMask: FileManager.SearchPathDomainMask { get } static var systemDomainMask: FileManager.SearchPathDomainMask { get } static var allDomainsMask: FileManager.SearchPathDomainMask { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension FileManager : CVarArg { } extension FileManager : Equatable, Hashable { var hashValue: Int { get } } extension FileManager { var homeDirectoryForCurrentUser: URL { get } var temporaryDirectory: URL { get } func homeDirectory(forUser userName: String) -> URL? } extension FileManager { class DirectoryEnumerator : NSEnumerator { var fileAttributes: [FileAttributeKey : Any]? { get } var directoryAttributes: [FileAttributeKey : Any]? { get } func skipDescendents() var level: Int { get } func skipDescendants() } struct VolumeEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipHiddenVolumes: FileManager.VolumeEnumerationOptions { get } static var produceFileReferenceURLs: FileManager.VolumeEnumerationOptions { get } } struct DirectoryEnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var skipsSubdirectoryDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsPackageDescendants: FileManager.DirectoryEnumerationOptions { get } static var skipsHiddenFiles: FileManager.DirectoryEnumerationOptions { get } } struct ItemReplacementOptions : OptionSet { init(rawValue rawValue: UInt) static var usingNewMetadataOnly: FileManager.ItemReplacementOptions { get } static var withoutDeletingBackupItem: FileManager.ItemReplacementOptions { get } } enum URLRelationship : Int { case contains case same case other } struct UnmountOptions : OptionSet { init(rawValue rawValue: UInt) static var allPartitionsAndEjectDisk: FileManager.UnmountOptions { get } static var withoutUI: FileManager.UnmountOptions { get } } } extension FileManager { enum SearchPathDirectory : UInt { case applicationDirectory case demoApplicationDirectory case developerApplicationDirectory case adminApplicationDirectory case libraryDirectory case developerDirectory case userDirectory case documentationDirectory case documentDirectory case coreServiceDirectory case autosavedInformationDirectory case desktopDirectory case cachesDirectory case applicationSupportDirectory case downloadsDirectory case inputMethodsDirectory case moviesDirectory case musicDirectory case picturesDirectory case printerDescriptionDirectory case sharedPublicDirectory case preferencePanesDirectory case applicationScriptsDirectory case itemReplacementDirectory case allApplicationsDirectory case allLibrariesDirectory case trashDirectory } struct SearchPathDomainMask : OptionSet { init(rawValue rawValue: UInt) static var userDomainMask: FileManager.SearchPathDomainMask { get } static var localDomainMask: FileManager.SearchPathDomainMask { get } static var networkDomainMask: FileManager.SearchPathDomainMask { get } static var systemDomainMask: FileManager.SearchPathDomainMask { get } static var allDomainsMask: FileManager.SearchPathDomainMask { get } } } extension FileManager { func replaceItemAtURL(originalItemURL originalItemURL: NSURL, withItemAtURL newItemURL: NSURL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? func replaceItemAt(_ originalItemURL: URL, withItemAt newItemURL: URL, backupItemName backupItemName: String? = default, options options: FileManager.ItemReplacementOptions = default) throws -> NSURL? } |
Declaration | |
---|---|
From | func enumerator(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = [], errorHandler handler: (@escaping (URL, Error) -> Bool)? = nil) -> FileManager.DirectoryEnumerator? |
To | func enumerator(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = [], errorHandler handler: ((URL, Error) -> Bool)? = nil) -> FileManager.DirectoryEnumerator? |
Modified NSData
Declaration | |
---|---|
From | class NSData : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var length: Int { get } var bytes: UnsafeRawPointer { get } struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? var classCode: FourCharCode { get } var className: String { get } func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) } extension NSData : CKRecordValue { } extension NSData { struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } } extension NSData : CVarArg { } extension NSData : Equatable, Hashable { var hashValue: Int { get } } extension NSData { var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) } extension NSData { class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self } extension NSData { init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data } extension NSData { func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String } extension NSData { } |
To | class NSData : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var length: Int { get } var bytes: UnsafeRawPointer { get } struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: ((UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? var classCode: FourCharCode { get } var className: String { get } func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) } extension NSData : CKRecordValue { } extension NSData { struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } } extension NSData : CVarArg { } extension NSData : Equatable, Hashable { var hashValue: Int { get } } extension NSData { var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) } extension NSData { class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: ((UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self } extension NSData { init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data } extension NSData { func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String } extension NSData { } |
Declaration | |
---|---|
From | init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) |
To | init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: ((UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) |
Modified NSError
Declaration | |
---|---|
From | class NSError : NSObject, NSCopying, NSSecureCoding { init(domain domain: String, code code: Int, userInfo dict: [AnyHashable : Any]? = nil) class func withDomain(_ domain: String, code code: Int, userInfo dict: [AnyHashable : Any]? = nil) -> Self var domain: String { get } var code: Int { get } var userInfo: [AnyHashable : Any] { get } var localizedDescription: String { get } var localizedFailureReason: String? { get } var localizedRecoverySuggestion: String? { get } var localizedRecoveryOptions: [String]? { get } var recoveryAttempter: Any? { get } var helpAnchor: String? { get } class func setUserInfoValueProvider(forDomain errorDomain: String, provider provider: (@escaping (Error, String) -> Any?)? = nil) class func userInfoValueProvider(forDomain errorDomain: String) -> ((Error, String) -> Any?)? func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSError : CVarArg { } extension NSError : Error { } extension NSError : Equatable, Hashable { var hashValue: Int { get } } extension NSError : Error { } |
To | class NSError : NSObject, NSCopying, NSSecureCoding { init(domain domain: String, code code: Int, userInfo dict: [AnyHashable : Any]? = nil) class func withDomain(_ domain: String, code code: Int, userInfo dict: [AnyHashable : Any]? = nil) -> Self var domain: String { get } var code: Int { get } var userInfo: [AnyHashable : Any] { get } var localizedDescription: String { get } var localizedFailureReason: String? { get } var localizedRecoverySuggestion: String? { get } var localizedRecoveryOptions: [String]? { get } var recoveryAttempter: Any? { get } var helpAnchor: String? { get } class func setUserInfoValueProvider(forDomain errorDomain: String, provider provider: ((Error, String) -> Any?)? = nil) class func userInfoValueProvider(forDomain errorDomain: String) -> ((Error, String) -> Any?)? func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSError : CVarArg { } extension NSError : Error { } extension NSError : Equatable, Hashable { var hashValue: Int { get } } extension NSError : Error { } |
Modified NSError.setUserInfoValueProvider(forDomain: String, provider: ((Error, String) -> Any?)?) [class]
Declaration | |
---|---|
From | class func setUserInfoValueProvider(forDomain errorDomain: String, provider provider: (@escaping (Error, String) -> Any?)? = nil) |
To | class func setUserInfoValueProvider(forDomain errorDomain: String, provider provider: ((Error, String) -> Any?)? = nil) |
Modified NSExtensionContext
Declaration | |
---|---|
From | class NSExtensionContext : NSObject { var inputItems: [Any] { get } func completeRequest(returningItems items: [Any]?, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func cancelRequest(withError error: Error) func open(_ URL: URL, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSExtensionContext : CVarArg { } extension NSExtensionContext : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSExtensionContext : NSObject { var inputItems: [Any] { get } func completeRequest(returningItems items: [Any]?, completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) func cancelRequest(withError error: Error) func open(_ URL: URL, completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSExtensionContext : CVarArg { } extension NSExtensionContext : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | func completeRequest(returningItems items: [Any]?, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
To | func completeRequest(returningItems items: [Any]?, completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func open(_ URL: URL, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
To | func open(_ URL: URL, completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) |
Modified NSFileCoordinator
Declaration | |
---|---|
From | class NSFileCoordinator : NSObject { class func addFilePresenter(_ filePresenter: NSFilePresenter) class func removeFilePresenter(_ filePresenter: NSFilePresenter) class var filePresenters: [NSFilePresenter] { get } init(filePresenter filePresenterOrNil: NSFilePresenter?) var purposeIdentifier: String func coordinate(with intents: [NSFileAccessIntent], queue queue: OperationQueue, byAccessor accessor: @escaping (Error?) -> Swift.Void) func coordinate(readingItemAt url: URL, options options: NSFileCoordinator.ReadingOptions = [], error outError: NSErrorPointer, byAccessor reader: @escaping (URL) -> Swift.Void) func coordinate(writingItemAt url: URL, options options: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor writer: @escaping (URL) -> Swift.Void) func coordinate(readingItemAt readingURL: URL, options readingOptions: NSFileCoordinator.ReadingOptions = [], writingItemAt writingURL: URL, options writingOptions: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor readerWriter: @escaping (URL, URL) -> Swift.Void) func coordinate(writingItemAt url1: URL, options options1: NSFileCoordinator.WritingOptions = [], writingItemAt url2: URL, options options2: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor writer: @escaping (URL, URL) -> Swift.Void) func prepare(forReadingItemsAt readingURLs: [URL], options readingOptions: NSFileCoordinator.ReadingOptions = [], writingItemsAt writingURLs: [URL], options writingOptions: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor batchAccessor: @escaping (@escaping () -> Swift.Void) -> Swift.Void) func item(at oldURL: URL, willMoveTo newURL: URL) func item(at oldURL: URL, didMoveTo newURL: URL) func cancel() struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var withoutChanges: NSFileCoordinator.ReadingOptions { get } static var resolvesSymbolicLink: NSFileCoordinator.ReadingOptions { get } static var immediatelyAvailableMetadataOnly: NSFileCoordinator.ReadingOptions { get } static var forUploading: NSFileCoordinator.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var forDeleting: NSFileCoordinator.WritingOptions { get } static var forMoving: NSFileCoordinator.WritingOptions { get } static var forMerging: NSFileCoordinator.WritingOptions { get } static var forReplacing: NSFileCoordinator.WritingOptions { get } static var contentIndependentMetadataOnly: NSFileCoordinator.WritingOptions { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSFileCoordinator { struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var withoutChanges: NSFileCoordinator.ReadingOptions { get } static var resolvesSymbolicLink: NSFileCoordinator.ReadingOptions { get } static var immediatelyAvailableMetadataOnly: NSFileCoordinator.ReadingOptions { get } static var forUploading: NSFileCoordinator.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var forDeleting: NSFileCoordinator.WritingOptions { get } static var forMoving: NSFileCoordinator.WritingOptions { get } static var forMerging: NSFileCoordinator.WritingOptions { get } static var forReplacing: NSFileCoordinator.WritingOptions { get } static var contentIndependentMetadataOnly: NSFileCoordinator.WritingOptions { get } } } extension NSFileCoordinator : CVarArg { } extension NSFileCoordinator : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSFileCoordinator : NSObject { class func addFilePresenter(_ filePresenter: NSFilePresenter) class func removeFilePresenter(_ filePresenter: NSFilePresenter) class var filePresenters: [NSFilePresenter] { get } init(filePresenter filePresenterOrNil: NSFilePresenter?) var purposeIdentifier: String func coordinate(with intents: [NSFileAccessIntent], queue queue: OperationQueue, byAccessor accessor: @escaping (Error?) -> Swift.Void) func coordinate(readingItemAt url: URL, options options: NSFileCoordinator.ReadingOptions = [], error outError: NSErrorPointer, byAccessor reader: @escaping (URL) -> Swift.Void) func coordinate(writingItemAt url: URL, options options: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor writer: @escaping (URL) -> Swift.Void) func coordinate(readingItemAt readingURL: URL, options readingOptions: NSFileCoordinator.ReadingOptions = [], writingItemAt writingURL: URL, options writingOptions: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor readerWriter: @escaping (URL, URL) -> Swift.Void) func coordinate(writingItemAt url1: URL, options options1: NSFileCoordinator.WritingOptions = [], writingItemAt url2: URL, options options2: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor writer: @escaping (URL, URL) -> Swift.Void) func prepare(forReadingItemsAt readingURLs: [URL], options readingOptions: NSFileCoordinator.ReadingOptions = [], writingItemsAt writingURLs: [URL], options writingOptions: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor batchAccessor: @escaping (() -> Swift.Void) -> Swift.Void) func item(at oldURL: URL, willMoveTo newURL: URL) func item(at oldURL: URL, didMoveTo newURL: URL) func cancel() struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var withoutChanges: NSFileCoordinator.ReadingOptions { get } static var resolvesSymbolicLink: NSFileCoordinator.ReadingOptions { get } static var immediatelyAvailableMetadataOnly: NSFileCoordinator.ReadingOptions { get } static var forUploading: NSFileCoordinator.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var forDeleting: NSFileCoordinator.WritingOptions { get } static var forMoving: NSFileCoordinator.WritingOptions { get } static var forMerging: NSFileCoordinator.WritingOptions { get } static var forReplacing: NSFileCoordinator.WritingOptions { get } static var contentIndependentMetadataOnly: NSFileCoordinator.WritingOptions { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSFileCoordinator { struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var withoutChanges: NSFileCoordinator.ReadingOptions { get } static var resolvesSymbolicLink: NSFileCoordinator.ReadingOptions { get } static var immediatelyAvailableMetadataOnly: NSFileCoordinator.ReadingOptions { get } static var forUploading: NSFileCoordinator.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var forDeleting: NSFileCoordinator.WritingOptions { get } static var forMoving: NSFileCoordinator.WritingOptions { get } static var forMerging: NSFileCoordinator.WritingOptions { get } static var forReplacing: NSFileCoordinator.WritingOptions { get } static var contentIndependentMetadataOnly: NSFileCoordinator.WritingOptions { get } } } extension NSFileCoordinator : CVarArg { } extension NSFileCoordinator : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | func prepare(forReadingItemsAt readingURLs: [URL], options readingOptions: NSFileCoordinator.ReadingOptions = [], writingItemsAt writingURLs: [URL], options writingOptions: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor batchAccessor: @escaping (@escaping () -> Swift.Void) -> Swift.Void) |
To | func prepare(forReadingItemsAt readingURLs: [URL], options readingOptions: NSFileCoordinator.ReadingOptions = [], writingItemsAt writingURLs: [URL], options writingOptions: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor batchAccessor: @escaping (() -> Swift.Void) -> Swift.Void) |
Modified NSFilePresenter
Declaration | |
---|---|
From | protocol NSFilePresenter : NSObjectProtocol { var presentedItemURL: URL? { get } var presentedItemOperationQueue: OperationQueue { get } optional var primaryPresentedItemURL: URL? { get } optional func relinquishPresentedItem(toReader reader: @escaping ((@escaping () -> Swift.Void)?) -> Swift.Void) optional func relinquishPresentedItem(toWriter writer: @escaping ((@escaping () -> Swift.Void)?) -> Swift.Void) optional func savePresentedItemChanges(completionHandler completionHandler: @escaping (Error?) -> Swift.Void) optional func accommodatePresentedItemDeletion(completionHandler completionHandler: @escaping (Error?) -> Swift.Void) optional func presentedItemDidMove(to newURL: URL) optional func presentedItemDidChange() optional func presentedItemDidGain(_ version: NSFileVersion) optional func presentedItemDidLose(_ version: NSFileVersion) optional func presentedItemDidResolveConflict(_ version: NSFileVersion) optional func accommodatePresentedSubitemDeletion(at url: URL, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) optional func presentedSubitemDidAppear(at url: URL) optional func presentedSubitem(at oldURL: URL, didMoveTo newURL: URL) optional func presentedSubitemDidChange(at url: URL) optional func presentedSubitem(at url: URL, didGain version: NSFileVersion) optional func presentedSubitem(at url: URL, didLose version: NSFileVersion) optional func presentedSubitem(at url: URL, didResolve version: NSFileVersion) } |
To | protocol NSFilePresenter : NSObjectProtocol { var presentedItemURL: URL? { get } var presentedItemOperationQueue: OperationQueue { get } optional var primaryPresentedItemURL: URL? { get } optional func relinquishPresentedItem(toReader reader: @escaping ((() -> Swift.Void)?) -> Swift.Void) optional func relinquishPresentedItem(toWriter writer: @escaping ((() -> Swift.Void)?) -> Swift.Void) optional func savePresentedItemChanges(completionHandler completionHandler: @escaping (Error?) -> Swift.Void) optional func accommodatePresentedItemDeletion(completionHandler completionHandler: @escaping (Error?) -> Swift.Void) optional func presentedItemDidMove(to newURL: URL) optional func presentedItemDidChange() optional func presentedItemDidGain(_ version: NSFileVersion) optional func presentedItemDidLose(_ version: NSFileVersion) optional func presentedItemDidResolveConflict(_ version: NSFileVersion) optional func accommodatePresentedSubitemDeletion(at url: URL, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) optional func presentedSubitemDidAppear(at url: URL) optional func presentedSubitem(at oldURL: URL, didMoveTo newURL: URL) optional func presentedSubitemDidChange(at url: URL) optional func presentedSubitem(at url: URL, didGain version: NSFileVersion) optional func presentedSubitem(at url: URL, didLose version: NSFileVersion) optional func presentedSubitem(at url: URL, didResolve version: NSFileVersion) } |
Declaration | |
---|---|
From | optional func relinquishPresentedItem(toReader reader: @escaping ((@escaping () -> Swift.Void)?) -> Swift.Void) |
To | optional func relinquishPresentedItem(toReader reader: @escaping ((() -> Swift.Void)?) -> Swift.Void) |
Declaration | |
---|---|
From | optional func relinquishPresentedItem(toWriter writer: @escaping ((@escaping () -> Swift.Void)?) -> Swift.Void) |
To | optional func relinquishPresentedItem(toWriter writer: @escaping ((() -> Swift.Void)?) -> Swift.Void) |
Modified NSHashTableCallBacks [struct]
Declaration | |
---|---|
From | struct NSHashTableCallBacks { var hash: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)? var isEqual: ((NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)? var retain: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)? var release: ((NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? var describe: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)? init() init(hash hash: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: (@escaping (NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)?) } |
To | struct NSHashTableCallBacks { var hash: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)? var isEqual: ((NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)? var retain: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)? var release: ((NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? var describe: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)? init() init(hash hash: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: ((NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: ((NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)?) } |
Modified NSHashTableCallBacks.init(hash: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)?, isEqual: ((NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release: ((NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)?)
Declaration | |
---|---|
From | init(hash hash: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: (@escaping (NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: (@escaping (NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)?) |
To | init(hash hash: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: ((NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: ((NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)?) |
Modified NSItemProvider
Declaration | |
---|---|
From | class NSItemProvider : NSObject, NSCopying { init(item item: NSSecureCoding?, typeIdentifier typeIdentifier: String?) convenience init?(contentsOf fileURL: URL!) func registerItem(forTypeIdentifier typeIdentifier: String, loadHandler loadHandler: NSItemProvider.LoadHandler) var registeredTypeIdentifiers: [Any] { get } func hasItemConformingToTypeIdentifier(_ typeIdentifier: String) -> Bool func loadItem(forTypeIdentifier typeIdentifier: String, options options: [AnyHashable : Any]? = nil, completionHandler completionHandler: NSItemProvider.CompletionHandler? = nil) var previewImageHandler: NSItemProvider.LoadHandler? func loadPreviewImage(options options: [AnyHashable : Any]! = [:], completionHandler completionHandler: NSItemProvider.CompletionHandler!) class let errorDomain: String enum ErrorCode : Int { case unknownError case itemUnavailableError case unexpectedValueClassError case unavailableCoercionError } typealias CompletionHandler = (NSSecureCoding?, Error!) -> Swift.Void typealias LoadHandler = (NSItemProvider.CompletionHandler!, Swift.AnyClass!, [AnyHashable : Any]!) -> Swift.Void func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSItemProvider { var sourceFrame: NSRect { get } var containerFrame: NSRect { get } var preferredPresentationSize: NSSize { get } } extension NSItemProvider { func registerCloudKitShare(preparationHandler preparationHandler: @escaping (@escaping (CKShare?, CKContainer?, Error?) -> Swift.Void) -> Swift.Void) func registerCloudKitShare(_ share: CKShare, container container: CKContainer) } extension NSItemProvider : CVarArg { } extension NSItemProvider : Equatable, Hashable { var hashValue: Int { get } } extension NSItemProvider { var previewImageHandler: NSItemProvider.LoadHandler? func loadPreviewImage(options options: [AnyHashable : Any]! = [:], completionHandler completionHandler: NSItemProvider.CompletionHandler!) } extension NSItemProvider { class let errorDomain: String enum ErrorCode : Int { case unknownError case itemUnavailableError case unexpectedValueClassError case unavailableCoercionError } typealias CompletionHandler = (NSSecureCoding?, Error!) -> Swift.Void typealias LoadHandler = (NSItemProvider.CompletionHandler!, Swift.AnyClass!, [AnyHashable : Any]!) -> Swift.Void } |
To | class NSItemProvider : NSObject, NSCopying { init(item item: NSSecureCoding?, typeIdentifier typeIdentifier: String?) convenience init?(contentsOf fileURL: URL!) func registerItem(forTypeIdentifier typeIdentifier: String, loadHandler loadHandler: @escaping NSItemProvider.LoadHandler) var registeredTypeIdentifiers: [Any] { get } func hasItemConformingToTypeIdentifier(_ typeIdentifier: String) -> Bool func loadItem(forTypeIdentifier typeIdentifier: String, options options: [AnyHashable : Any]? = nil, completionHandler completionHandler: NSItemProvider.CompletionHandler? = nil) var previewImageHandler: NSItemProvider.LoadHandler? func loadPreviewImage(options options: [AnyHashable : Any]! = [:], completionHandler completionHandler: NSItemProvider.CompletionHandler!) class let errorDomain: String enum ErrorCode : Int { case unknownError case itemUnavailableError case unexpectedValueClassError case unavailableCoercionError } typealias CompletionHandler = (NSSecureCoding?, Error!) -> Swift.Void typealias LoadHandler = (NSItemProvider.CompletionHandler!, Swift.AnyClass!, [AnyHashable : Any]!) -> Swift.Void func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSItemProvider { var sourceFrame: NSRect { get } var containerFrame: NSRect { get } var preferredPresentationSize: NSSize { get } } extension NSItemProvider { func registerCloudKitShare(preparationHandler preparationHandler: @escaping ((CKShare?, CKContainer?, Error?) -> Swift.Void) -> Swift.Void) func registerCloudKitShare(_ share: CKShare, container container: CKContainer) } extension NSItemProvider : CVarArg { } extension NSItemProvider : Equatable, Hashable { var hashValue: Int { get } } extension NSItemProvider { var previewImageHandler: NSItemProvider.LoadHandler? func loadPreviewImage(options options: [AnyHashable : Any]! = [:], completionHandler completionHandler: NSItemProvider.CompletionHandler!) } extension NSItemProvider { class let errorDomain: String enum ErrorCode : Int { case unknownError case itemUnavailableError case unexpectedValueClassError case unavailableCoercionError } typealias CompletionHandler = (NSSecureCoding?, Error!) -> Swift.Void typealias LoadHandler = (NSItemProvider.CompletionHandler!, Swift.AnyClass!, [AnyHashable : Any]!) -> Swift.Void } |
Modified NSItemProvider.registerItem(forTypeIdentifier: String, loadHandler: NSItemProvider.LoadHandler)
Declaration | |
---|---|
From | func registerItem(forTypeIdentifier typeIdentifier: String, loadHandler loadHandler: NSItemProvider.LoadHandler) |
To | func registerItem(forTypeIdentifier typeIdentifier: String, loadHandler loadHandler: @escaping NSItemProvider.LoadHandler) |
Modified NSMapTableKeyCallBacks [struct]
Declaration | |
---|---|
From | struct NSMapTableKeyCallBacks { var hash: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)? var isEqual: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)? var retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)? var release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? var describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)? var notAKeyMarker: UnsafeRawPointer? init() init(hash hash: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?, notAKeyMarker notAKeyMarker: UnsafeRawPointer?) } |
To | struct NSMapTableKeyCallBacks { var hash: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)? var isEqual: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)? var retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)? var release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? var describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)? var notAKeyMarker: UnsafeRawPointer? init() init(hash hash: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?, notAKeyMarker notAKeyMarker: UnsafeRawPointer?) } |
Modified NSMapTableKeyCallBacks.init(hash: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)?, isEqual: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?, notAKeyMarker: UnsafeRawPointer?)
Declaration | |
---|---|
From | init(hash hash: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?, notAKeyMarker notAKeyMarker: UnsafeRawPointer?) |
To | init(hash hash: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)?, isEqual isEqual: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)?, retain retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?, notAKeyMarker notAKeyMarker: UnsafeRawPointer?) |
Modified NSMapTableValueCallBacks [struct]
Declaration | |
---|---|
From | struct NSMapTableValueCallBacks { var retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)? var release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? var describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)? init() init(retain retain: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?) } |
To | struct NSMapTableValueCallBacks { var retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)? var release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? var describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)? init() init(retain retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?) } |
Modified NSMapTableValueCallBacks.init(retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?)
Declaration | |
---|---|
From | init(retain retain: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?) |
To | init(retain retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?) |
Modified NSMeasurement
Declaration | |
---|---|
From | class NSMeasurement : NSObject, NSCopying, NSSecureCoding { @NSCopying var unit: Unit { get } var doubleValue: Double { get } convenience init() init(doubleValue doubleValue: Double, unit unit: Unit) func canBeConverted(to unit: Unit) -> Bool func converting(to unit: Unit) -> Measurement<Unit> func adding(_ measurement: Measurement<Unit>) -> Measurement<Unit> func subtracting(_ measurement: Measurement<Unit>) -> Measurement<Unit> func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSMeasurement : CVarArg { } extension NSMeasurement : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSMeasurement : NSObject, NSCopying, NSSecureCoding { @NSCopying var unit: Unit { get } var doubleValue: Double { get } convenience init() init(doubleValue doubleValue: Double, unit unit: Unit) func canBeConverted(to unit: Unit) -> Bool func converting(to unit: Unit) -> Measurement<Unit> func adding(_ measurement: Measurement<Unit>) -> Measurement<Unit> func subtracting(_ measurement: Measurement<Unit>) -> Measurement<Unit> func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSMeasurement : CVarArg { } extension NSMeasurement : Equatable, Hashable { var hashValue: Int { get } } extension NSMeasurement { } |
Modified NSMutableData
Declaration | |
---|---|
From | class NSMutableData : NSData { var mutableBytes: UnsafeMutableRawPointer { get } var length: Int func append(_ bytes: UnsafeRawPointer, length length: Int) func append(_ other: Data) func increaseLength(by extraLength: Int) func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer) func resetBytes(in range: NSRange) func setData(_ data: Data) func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int) convenience init?(capacity aNumItems: Int) class func withCapacity(_ aNumItems: Int) -> Self? convenience init?(length length: Int) class func withLength(_ length: Int) -> Self? init?(capacity capacity: Int) init?(length length: Int) init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String class func classForKeyedUnarchiver() -> AnyClass } extension NSMutableData : CVarArg { } extension NSMutableData : Equatable, Hashable { var hashValue: Int { get } } extension NSMutableData { func append(_ bytes: UnsafeRawPointer, length length: Int) func append(_ other: Data) func increaseLength(by extraLength: Int) func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer) func resetBytes(in range: NSRange) func setData(_ data: Data) func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int) } extension NSMutableData { convenience init?(capacity aNumItems: Int) class func withCapacity(_ aNumItems: Int) -> Self? convenience init?(length length: Int) class func withLength(_ length: Int) -> Self? init?(capacity capacity: Int) init?(length length: Int) } |
To | class NSMutableData : NSData { var mutableBytes: UnsafeMutableRawPointer { get } var length: Int func append(_ bytes: UnsafeRawPointer, length length: Int) func append(_ other: Data) func increaseLength(by extraLength: Int) func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer) func resetBytes(in range: NSRange) func setData(_ data: Data) func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int) convenience init?(capacity aNumItems: Int) class func withCapacity(_ aNumItems: Int) -> Self? convenience init?(length length: Int) class func withLength(_ length: Int) -> Self? init?(capacity capacity: Int) init?(length length: Int) init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String class func classForKeyedUnarchiver() -> AnyClass } extension NSMutableData : CVarArg { } extension NSMutableData : Equatable, Hashable { var hashValue: Int { get } } extension NSMutableData { func append(_ bytes: UnsafeRawPointer, length length: Int) func append(_ other: Data) func increaseLength(by extraLength: Int) func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer) func resetBytes(in range: NSRange) func setData(_ data: Data) func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int) } extension NSMutableData { convenience init?(capacity aNumItems: Int) class func withCapacity(_ aNumItems: Int) -> Self? convenience init?(length length: Int) class func withLength(_ length: Int) -> Self? init?(capacity capacity: Int) init?(length length: Int) } |
Modified NSMutableSet
Declaration | |
---|---|
From | class NSMutableSet : NSSet { func add(_ object: Any) func remove(_ object: Any) init?(coder aDecoder: NSCoder) init() init(capacity numItems: Int) func addObjects(from array: [Any]) func intersect(_ otherSet: Set<AnyHashable>) func minus(_ otherSet: Set<AnyHashable>) func removeAllObjects() func union(_ otherSet: Set<AnyHashable>) func setSet(_ otherSet: Set<AnyHashable>) class func withCapacity(_ numItems: Int) -> Self func filter(using predicate: NSPredicate) func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func value(forKey key: String) -> Any func setValue(_ value: Any?, forKey key: String) class func set() -> Self convenience init(object object: Any) class func withObject(_ object: Any) -> Self class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self convenience init(set set: Set<AnyHashable>) class func withSet(_ set: Set<AnyHashable>) -> Self convenience init(array array: [Any]) class func withArray(_ array: [Any]) -> Self convenience init(set set: Set<AnyHashable>) convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) convenience init(array array: [Any]) var allObjects: [Any] { get } func anyObject() -> Any? func contains(_ anObject: Any) -> Bool var description: String { get } func description(withLocale locale: Any?) -> String func intersects(_ otherSet: Set<AnyHashable>) -> Bool func isEqual(to otherSet: Set<AnyHashable>) -> Bool func isSubset(of otherSet: Set<AnyHashable>) -> Bool func makeObjectsPerform(_ aSelector: Selector) func makeObjectsPerform(_ aSelector: Selector, with argument: Any?) func adding(_ anObject: Any) -> Set<AnyHashable> func addingObjects(from other: Set<AnyHashable>) -> Set<AnyHashable> func addingObjects(from other: [Any]) -> Set<AnyHashable> func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, UnsafeMutablePointer<ObjCBool>) -> Void) func objects(passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func objects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? convenience init(objects elements: Any...) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func filtered(using predicate: NSPredicate) -> Set<AnyHashable> @nonobjc convenience init(set anSet: NSSet) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) } extension NSMutableSet { func filter(using predicate: NSPredicate) } extension NSMutableSet : Sequence { func makeIterator() -> NSFastEnumerationIterator } extension NSMutableSet : ExpressibleByArrayLiteral { required convenience init(arrayLiteral elements: Any...) } extension NSMutableSet : CustomReflectable { var customMirror: Mirror { get } } extension NSMutableSet : CVarArg { } extension NSMutableSet : Equatable, Hashable { var hashValue: Int { get } } extension NSMutableSet { func addObjects(from array: [Any]) func intersect(_ otherSet: Set<AnyHashable>) func minus(_ otherSet: Set<AnyHashable>) func removeAllObjects() func union(_ otherSet: Set<AnyHashable>) func setSet(_ otherSet: Set<AnyHashable>) } extension NSMutableSet { class func withCapacity(_ numItems: Int) -> Self } |
To | class NSMutableSet : NSSet { func add(_ object: Any) func remove(_ object: Any) init?(coder aDecoder: NSCoder) init() init(capacity numItems: Int) func addObjects(from array: [Any]) func intersect(_ otherSet: Set<AnyHashable>) func minus(_ otherSet: Set<AnyHashable>) func removeAllObjects() func union(_ otherSet: Set<AnyHashable>) func setSet(_ otherSet: Set<AnyHashable>) class func withCapacity(_ numItems: Int) -> Self func filter(using predicate: NSPredicate) func filtered(using predicate: NSPredicate) -> Set<AnyHashable> func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func value(forKey key: String) -> Any func setValue(_ value: Any?, forKey key: String) class func set() -> Self convenience init(object object: Any) class func withObject(_ object: Any) -> Self class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self convenience init(set set: Set<AnyHashable>) class func withSet(_ set: Set<AnyHashable>) -> Self convenience init(array array: [Any]) class func withArray(_ array: [Any]) -> Self convenience init(set set: Set<AnyHashable>) convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) convenience init(array array: [Any]) var allObjects: [Any] { get } func anyObject() -> Any? func contains(_ anObject: Any) -> Bool var description: String { get } func description(withLocale locale: Any?) -> String func intersects(_ otherSet: Set<AnyHashable>) -> Bool func isEqual(to otherSet: Set<AnyHashable>) -> Bool func isSubset(of otherSet: Set<AnyHashable>) -> Bool func makeObjectsPerform(_ aSelector: Selector) func makeObjectsPerform(_ aSelector: Selector, with argument: Any?) func adding(_ anObject: Any) -> Set<AnyHashable> func addingObjects(from other: Set<AnyHashable>) -> Set<AnyHashable> func addingObjects(from other: [Any]) -> Set<AnyHashable> func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, UnsafeMutablePointer<ObjCBool>) -> Void) func objects(passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func objects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? @nonobjc convenience init(set anSet: NSSet) convenience init(objects elements: Any...) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) } extension NSMutableSet { func filter(using predicate: NSPredicate) } extension NSMutableSet : Sequence { func makeIterator() -> NSFastEnumerationIterator } extension NSMutableSet : ExpressibleByArrayLiteral { required convenience init(arrayLiteral elements: Any...) } extension NSMutableSet : CustomReflectable { var customMirror: Mirror { get } } extension NSMutableSet : CVarArg { } extension NSMutableSet : Equatable, Hashable { var hashValue: Int { get } } extension NSMutableSet { func addObjects(from array: [Any]) func intersect(_ otherSet: Set<AnyHashable>) func minus(_ otherSet: Set<AnyHashable>) func removeAllObjects() func union(_ otherSet: Set<AnyHashable>) func setSet(_ otherSet: Set<AnyHashable>) } extension NSMutableSet { class func withCapacity(_ numItems: Int) -> Self } |
Modified NSNotification.Name [struct]
Declaration | |
---|---|
From | struct Name : RawRepresentable, Equatable, Hashable, Comparable { init(_ rawValue: String) init(rawValue rawValue: String) } extension NSNotification.Name { static let AVAssetDurationDidChange: NSNotification.Name static let AVAssetContainsFragmentsDidChange: NSNotification.Name static let AVAssetWasDefragmented: NSNotification.Name static let AVAssetChapterMetadataGroupsDidChange: NSNotification.Name static let AVAssetMediaSelectionGroupsDidChange: NSNotification.Name } extension NSNotification.Name { static let AVAssetTrackTimeRangeDidChange: NSNotification.Name static let AVAssetTrackSegmentsDidChange: NSNotification.Name static let AVAssetTrackTrackAssociationsDidChange: NSNotification.Name } extension NSNotification.Name { static let AVCaptureDeviceWasConnected: NSNotification.Name static let AVCaptureDeviceWasDisconnected: NSNotification.Name static let AVCaptureDeviceSubjectAreaDidChange: NSNotification.Name } extension NSNotification.Name { static let AVCaptureInputPortFormatDescriptionDidChange: NSNotification.Name } extension NSNotification.Name { static let AVCaptureSessionRuntimeError: NSNotification.Name static let AVCaptureSessionDidStartRunning: NSNotification.Name static let AVCaptureSessionDidStopRunning: NSNotification.Name } extension NSNotification.Name { static let AVAudioEngineConfigurationChange: NSNotification.Name } extension NSNotification.Name { static let AVAudioUnitComponentTagsDidChange: NSNotification.Name } extension NSNotification.Name { static let AVFragmentedMovieContainsMovieFragmentsDidChange: NSNotification.Name static let AVFragmentedMovieDurationDidChange: NSNotification.Name static let AVFragmentedMovieWasDefragmented: NSNotification.Name } extension NSNotification.Name { static let AVFragmentedMovieTrackTimeRangeDidChange: NSNotification.Name static let AVFragmentedMovieTrackSegmentsDidChange: NSNotification.Name static let AVFragmentedMovieTrackTotalSampleDataLengthDidChange: NSNotification.Name } extension NSNotification.Name { static let AVPlayerItemTimeJumped: NSNotification.Name static let AVPlayerItemDidPlayToEndTime: NSNotification.Name static let AVPlayerItemFailedToPlayToEndTime: NSNotification.Name static let AVPlayerItemPlaybackStalled: NSNotification.Name static let AVPlayerItemNewAccessLogEntry: NSNotification.Name static let AVPlayerItemNewErrorLogEntry: NSNotification.Name } extension NSNotification.Name { static let AVSampleBufferDisplayLayerFailedToDecode: NSNotification.Name } extension NSNotification.Name { static let ACAccountStoreDidChange: NSNotification.Name } extension NSNotification.Name { static let abDatabaseChanged: NSNotification.Name static let abDatabaseChangedExternally: NSNotification.Name } extension NSNotification.Name { static let ABPeoplePickerGroupSelectionDidChange: NSNotification.Name static let ABPeoplePickerNameSelectionDidChange: NSNotification.Name static let ABPeoplePickerValueSelectionDidChange: NSNotification.Name static let ABPeoplePickerDisplayedPropertyDidChange: NSNotification.Name } extension NSNotification.Name { static let NSWorkspaceAccessibilityDisplayOptionsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSAnimationProgressMark: NSNotification.Name } extension NSNotification.Name { static let NSApplicationDidBecomeActive: NSNotification.Name static let NSApplicationDidHide: NSNotification.Name static let NSApplicationDidFinishLaunching: NSNotification.Name static let NSApplicationDidResignActive: NSNotification.Name static let NSApplicationDidUnhide: NSNotification.Name static let NSApplicationDidUpdate: NSNotification.Name static let NSApplicationWillBecomeActive: NSNotification.Name static let NSApplicationWillHide: NSNotification.Name static let NSApplicationWillFinishLaunching: NSNotification.Name static let NSApplicationWillResignActive: NSNotification.Name static let NSApplicationWillUnhide: NSNotification.Name static let NSApplicationWillUpdate: NSNotification.Name static let NSApplicationWillTerminate: NSNotification.Name static let NSApplicationDidChangeScreenParameters: NSNotification.Name static let NSApplicationDidChangeOcclusionState: NSNotification.Name } extension NSNotification.Name { static let NSBrowserColumnConfigurationDidChange: NSNotification.Name } extension NSNotification.Name { static let NSControlTintDidChange: NSNotification.Name } extension NSNotification.Name { static let NSSystemColorsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSColorListDidChange: NSNotification.Name } extension NSNotification.Name { static let NSColorPanelColorDidChange: NSNotification.Name } extension NSNotification.Name { static let NSComboBoxWillPopUp: NSNotification.Name static let NSComboBoxWillDismiss: NSNotification.Name static let NSComboBoxSelectionDidChange: NSNotification.Name static let NSComboBoxSelectionIsChanging: NSNotification.Name } extension NSNotification.Name { static let NSControlTextDidBeginEditing: NSNotification.Name static let NSControlTextDidEndEditing: NSNotification.Name static let NSControlTextDidChange: NSNotification.Name } extension NSNotification.Name { static let NSDrawerWillOpen: NSNotification.Name static let NSDrawerDidOpen: NSNotification.Name static let NSDrawerWillClose: NSNotification.Name static let NSDrawerDidClose: NSNotification.Name } extension NSNotification.Name { static let NSAntialiasThresholdChanged: NSNotification.Name static let NSFontSetChanged: NSNotification.Name } extension NSNotification.Name { static let NSFontCollectionDidChange: NSNotification.Name } extension NSNotification.Name { static let NSContextHelpModeDidActivate: NSNotification.Name static let NSContextHelpModeDidDeactivate: NSNotification.Name } extension NSNotification.Name { static let NSImageRepRegistryDidChange: NSNotification.Name } extension NSNotification.Name { static let NSMenuWillSendAction: NSNotification.Name static let NSMenuDidSendAction: NSNotification.Name static let NSMenuDidAddItem: NSNotification.Name static let NSMenuDidRemoveItem: NSNotification.Name static let NSMenuDidChangeItem: NSNotification.Name static let NSMenuDidBeginTracking: NSNotification.Name static let NSMenuDidEndTracking: NSNotification.Name } extension NSNotification.Name { static let NSOutlineViewSelectionDidChange: NSNotification.Name static let NSOutlineViewColumnDidMove: NSNotification.Name static let NSOutlineViewColumnDidResize: NSNotification.Name static let NSOutlineViewSelectionIsChanging: NSNotification.Name static let NSOutlineViewItemWillExpand: NSNotification.Name static let NSOutlineViewItemDidExpand: NSNotification.Name static let NSOutlineViewItemWillCollapse: NSNotification.Name static let NSOutlineViewItemDidCollapse: NSNotification.Name } extension NSNotification.Name { static let NSPopUpButtonWillPopUp: NSNotification.Name } extension NSNotification.Name { static let NSPopUpButtonCellWillPopUp: NSNotification.Name } extension NSNotification.Name { static let NSPopoverWillShow: NSNotification.Name static let NSPopoverDidShow: NSNotification.Name static let NSPopoverWillClose: NSNotification.Name static let NSPopoverDidClose: NSNotification.Name } extension NSNotification.Name { static let NSRuleEditorRowsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSScreenColorSpaceDidChange: NSNotification.Name } extension NSNotification.Name { static let NSScrollViewWillStartLiveMagnify: NSNotification.Name static let NSScrollViewDidEndLiveMagnify: NSNotification.Name static let NSScrollViewWillStartLiveScroll: NSNotification.Name static let NSScrollViewDidLiveScroll: NSNotification.Name static let NSScrollViewDidEndLiveScroll: NSNotification.Name } extension NSNotification.Name { static let NSPreferredScrollerStyleDidChange: NSNotification.Name } extension NSNotification.Name { static let NSSpellCheckerDidChangeAutomaticSpellingCorrection: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticTextReplacement: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticQuoteSubstitution: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticDashSubstitution: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticCapitalization: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticPeriodSubstitution: NSNotification.Name } extension NSNotification.Name { static let NSSplitViewWillResizeSubviews: NSNotification.Name static let NSSplitViewDidResizeSubviews: NSNotification.Name } extension NSNotification.Name { static let NSTableViewSelectionDidChange: NSNotification.Name static let NSTableViewColumnDidMove: NSNotification.Name static let NSTableViewColumnDidResize: NSNotification.Name static let NSTableViewSelectionIsChanging: NSNotification.Name } extension NSNotification.Name { static let NSTextDidBeginEditing: NSNotification.Name static let NSTextDidEndEditing: NSNotification.Name static let NSTextDidChange: NSNotification.Name } extension NSNotification.Name { static let NSTextAlternativesSelectedAlternativeString: NSNotification.Name } extension NSNotification.Name { static let NSTextInputContextKeyboardSelectionDidChange: NSNotification.Name } extension NSNotification.Name { static let NSTextStorageWillProcessEditing: NSNotification.Name static let NSTextStorageDidProcessEditing: NSNotification.Name } extension NSNotification.Name { static let NSTextViewWillChangeNotifyingTextView: NSNotification.Name static let NSTextViewDidChangeSelection: NSNotification.Name static let NSTextViewDidChangeTypingAttributes: NSNotification.Name } extension NSNotification.Name { static let NSToolbarWillAddItem: NSNotification.Name static let NSToolbarDidRemoveItem: NSNotification.Name } extension NSNotification.Name { static let NSViewFrameDidChange: NSNotification.Name static let NSViewFocusDidChange: NSNotification.Name static let NSViewBoundsDidChange: NSNotification.Name static let NSViewGlobalFrameDidChange: NSNotification.Name static let NSViewDidUpdateTrackingAreas: NSNotification.Name } extension NSNotification.Name { static let NSWindowDidBecomeKey: NSNotification.Name static let NSWindowDidBecomeMain: NSNotification.Name static let NSWindowDidChangeScreen: NSNotification.Name static let NSWindowDidDeminiaturize: NSNotification.Name static let NSWindowDidExpose: NSNotification.Name static let NSWindowDidMiniaturize: NSNotification.Name static let NSWindowDidMove: NSNotification.Name static let NSWindowDidResignKey: NSNotification.Name static let NSWindowDidResignMain: NSNotification.Name static let NSWindowDidResize: NSNotification.Name static let NSWindowDidUpdate: NSNotification.Name static let NSWindowWillClose: NSNotification.Name static let NSWindowWillMiniaturize: NSNotification.Name static let NSWindowWillMove: NSNotification.Name static let NSWindowWillBeginSheet: NSNotification.Name static let NSWindowDidEndSheet: NSNotification.Name static let NSWindowDidChangeBackingProperties: NSNotification.Name static let NSWindowDidChangeScreenProfile: NSNotification.Name static let NSWindowWillStartLiveResize: NSNotification.Name static let NSWindowDidEndLiveResize: NSNotification.Name static let NSWindowWillEnterFullScreen: NSNotification.Name static let NSWindowDidEnterFullScreen: NSNotification.Name static let NSWindowWillExitFullScreen: NSNotification.Name static let NSWindowDidExitFullScreen: NSNotification.Name static let NSWindowWillEnterVersionBrowser: NSNotification.Name static let NSWindowDidEnterVersionBrowser: NSNotification.Name static let NSWindowWillExitVersionBrowser: NSNotification.Name static let NSWindowDidExitVersionBrowser: NSNotification.Name static let NSWindowDidChangeOcclusionState: NSNotification.Name } extension NSNotification.Name { static let NSApplicationDidFinishRestoringWindows: NSNotification.Name } extension NSNotification.Name { static let NSWorkspaceWillLaunchApplication: NSNotification.Name static let NSWorkspaceDidLaunchApplication: NSNotification.Name static let NSWorkspaceDidTerminateApplication: NSNotification.Name static let NSWorkspaceDidHideApplication: NSNotification.Name static let NSWorkspaceDidUnhideApplication: NSNotification.Name static let NSWorkspaceDidActivateApplication: NSNotification.Name static let NSWorkspaceDidDeactivateApplication: NSNotification.Name static let NSWorkspaceDidMount: NSNotification.Name static let NSWorkspaceDidUnmount: NSNotification.Name static let NSWorkspaceWillUnmount: NSNotification.Name static let NSWorkspaceDidRenameVolume: NSNotification.Name static let NSWorkspaceWillPowerOff: NSNotification.Name static let NSWorkspaceWillSleep: NSNotification.Name static let NSWorkspaceDidWake: NSNotification.Name static let NSWorkspaceScreensDidSleep: NSNotification.Name static let NSWorkspaceScreensDidWake: NSNotification.Name static let NSWorkspaceSessionDidBecomeActive: NSNotification.Name static let NSWorkspaceSessionDidResignActive: NSNotification.Name static let NSWorkspaceDidChangeFileLabels: NSNotification.Name static let NSWorkspaceActiveSpaceDidChange: NSNotification.Name static let NSWorkspaceDidPerformFileOperation: NSNotification.Name } extension NSNotification.Name { static let CKAccountChanged: NSNotification.Name } extension NSNotification.Name { static let CNContactStoreDidChange: NSNotification.Name } extension NSNotification.Name { static let NSManagedObjectContextWillSave: NSNotification.Name static let NSManagedObjectContextDidSave: NSNotification.Name static let NSManagedObjectContextObjectsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSPersistentStoreCoordinatorStoresWillChange: NSNotification.Name static let NSPersistentStoreCoordinatorStoresDidChange: NSNotification.Name static let NSPersistentStoreCoordinatorWillRemoveStore: NSNotification.Name static let NSPersistentStoreDidImportUbiquitousContentChanges: NSNotification.Name } extension NSNotification.Name { static let CTRadioAccessTechnologyDidChange: NSNotification.Name } extension NSNotification.Name { static let CWPowerDidChange: NSNotification.Name static let CWSSIDDidChange: NSNotification.Name static let CWBSSIDDidChange: NSNotification.Name static let CWLinkDidChange: NSNotification.Name static let CWModeDidChange: NSNotification.Name static let CWCountryCodeDidChange: NSNotification.Name static let CWScanCacheDidUpdate: NSNotification.Name static let CWLinkQualityDidChange: NSNotification.Name } extension NSNotification.Name { static let DRBurnStatusChanged: NSNotification.Name } extension NSNotification.Name { static let DRDeviceAppeared: NSNotification.Name static let DRDeviceDisappeared: NSNotification.Name static let DRDeviceStatusChanged: NSNotification.Name } extension NSNotification.Name { static let DREraseStatusChanged: NSNotification.Name } extension NSNotification.Name { static let DRBurnProgressPanelWillBegin: NSNotification.Name static let DRBurnProgressPanelDidFinish: NSNotification.Name } extension NSNotification.Name { static let DREraseProgressPanelWillBegin: NSNotification.Name static let DREraseProgressPanelDidFinish: NSNotification.Name } extension NSNotification.Name { static let DRSetupPanelDeviceSelectionChanged: NSNotification.Name } extension NSNotification.Name { static let EKEventStoreChanged: NSNotification.Name } extension NSNotification.Name { static let NSAppleEventManagerWillProcessFirstEvent: NSNotification.Name } extension NSNotification.Name { static let NSBundleResourceRequestLowDiskSpace: NSNotification.Name } extension NSNotification.Name { static let NSCalendarDayChanged: NSNotification.Name } extension NSNotification.Name { static let NSClassDescriptionNeededForClass: NSNotification.Name } extension NSNotification.Name { static let NSConnectionDidDie: NSNotification.Name static let NSConnectionDidInitialize: NSNotification.Name } extension NSNotification.Name { static let NSSystemClockDidChange: NSNotification.Name } extension NSNotification.Name { static let NSExtensionHostWillEnterForeground: NSNotification.Name static let NSExtensionHostDidEnterBackground: NSNotification.Name static let NSExtensionHostWillResignActive: NSNotification.Name static let NSExtensionHostDidBecomeActive: NSNotification.Name } extension NSNotification.Name { static let NSFileHandleReadToEndOfFileCompletion: NSNotification.Name static let NSFileHandleConnectionAccepted: NSNotification.Name static let NSFileHandleDataAvailable: NSNotification.Name } extension NSNotification.Name { static let NSUbiquityIdentityDidChange: NSNotification.Name } extension NSNotification.Name { static let NSHTTPCookieManagerAcceptPolicyChanged: NSNotification.Name static let NSHTTPCookieManagerCookiesChanged: NSNotification.Name } extension NSNotification.Name { static let NSMetadataQueryDidStartGathering: NSNotification.Name static let NSMetadataQueryGatheringProgress: NSNotification.Name static let NSMetadataQueryDidFinishGathering: NSNotification.Name static let NSMetadataQueryDidUpdate: NSNotification.Name } extension NSNotification.Name { static let NSAppleEventManagerWillProcessFirstEvent: NSNotification.Name static let NSBundleResourceRequestLowDiskSpace: NSNotification.Name static let NSCalendarDayChanged: NSNotification.Name static let NSClassDescriptionNeededForClass: NSNotification.Name static let NSConnectionDidDie: NSNotification.Name static let NSConnectionDidInitialize: NSNotification.Name static let NSWillBecomeMultiThreaded: NSNotification.Name static let NSDidBecomeSingleThreaded: NSNotification.Name static let NSThreadWillExit: NSNotification.Name static let NSExtensionHostWillEnterForeground: NSNotification.Name static let NSExtensionHostDidEnterBackground: NSNotification.Name static let NSExtensionHostWillResignActive: NSNotification.Name static let NSExtensionHostDidBecomeActive: NSNotification.Name static let NSFileHandleReadToEndOfFileCompletion: NSNotification.Name static let NSFileHandleConnectionAccepted: NSNotification.Name static let NSFileHandleDataAvailable: NSNotification.Name static let NSHTTPCookieManagerAcceptPolicyChanged: NSNotification.Name static let NSHTTPCookieManagerCookiesChanged: NSNotification.Name static let NSMetadataQueryDidStartGathering: NSNotification.Name static let NSMetadataQueryGatheringProgress: NSNotification.Name static let NSMetadataQueryDidFinishGathering: NSNotification.Name static let NSMetadataQueryDidUpdate: NSNotification.Name static let NSProcessInfoPowerStateDidChange: NSNotification.Name static let NSSystemClockDidChange: NSNotification.Name static let NSSystemTimeZoneDidChange: NSNotification.Name static let NSURLCredentialStorageChanged: NSNotification.Name static let NSUbiquityIdentityDidChange: NSNotification.Name static let NSUndoManagerCheckpoint: NSNotification.Name static let NSUndoManagerWillUndoChange: NSNotification.Name static let NSUndoManagerWillRedoChange: NSNotification.Name static let NSUndoManagerDidUndoChange: NSNotification.Name static let NSUndoManagerDidRedoChange: NSNotification.Name static let NSUndoManagerDidOpenUndoGroup: NSNotification.Name static let NSUndoManagerWillCloseUndoGroup: NSNotification.Name static let NSUndoManagerDidCloseUndoGroup: NSNotification.Name } extension NSNotification.Name { static let NSProcessInfoPowerStateDidChange: NSNotification.Name } extension NSNotification.Name { static let NSWillBecomeMultiThreaded: NSNotification.Name static let NSDidBecomeSingleThreaded: NSNotification.Name static let NSThreadWillExit: NSNotification.Name } extension NSNotification.Name { static let NSSystemTimeZoneDidChange: NSNotification.Name } extension NSNotification.Name { static let NSURLCredentialStorageChanged: NSNotification.Name } extension NSNotification.Name { static let NSUndoManagerCheckpoint: NSNotification.Name static let NSUndoManagerWillUndoChange: NSNotification.Name static let NSUndoManagerWillRedoChange: NSNotification.Name static let NSUndoManagerDidUndoChange: NSNotification.Name static let NSUndoManagerDidRedoChange: NSNotification.Name static let NSUndoManagerDidOpenUndoGroup: NSNotification.Name static let NSUndoManagerWillCloseUndoGroup: NSNotification.Name static let NSUndoManagerDidCloseUndoGroup: NSNotification.Name } extension NSNotification.Name { static let GCControllerDidConnect: NSNotification.Name static let GCControllerDidDisconnect: NSNotification.Name } extension NSNotification.Name { static let IOBluetoothHostControllerPoweredOn: NSNotification.Name static let IOBluetoothHostControllerPoweredOff: NSNotification.Name } extension NSNotification.Name { static let IOBluetoothL2CAPChannelPublished: NSNotification.Name static let IOBluetoothL2CAPChannelTerminated: NSNotification.Name } extension NSNotification.Name { static let MKAnnotationCalloutInfoDidChange: NSNotification.Name } extension NSNotification.Name { static let NEFilterConfigurationDidChange: NSNotification.Name } extension NSNotification.Name { static let NEVPNStatusDidChange: NSNotification.Name } extension NSNotification.Name { static let NEVPNConfigurationChange: NSNotification.Name } extension NSNotification.Name { static let NSPreferencePaneDoUnselect: NSNotification.Name static let NSPreferencePaneCancelUnselect: NSNotification.Name static let NSPreferencePaneSwitchToPane: NSNotification.Name static let NSPreferencePrefPaneIsAvailable: NSNotification.Name static let NSPreferencePaneUpdateHelpMenu: NSNotification.Name } extension NSNotification.Name { static let IKFilterBrowserFilterSelected: NSNotification.Name static let IKFilterBrowserFilterDoubleClick: NSNotification.Name static let IKFilterBrowserWillPreviewFilter: NSNotification.Name } extension NSNotification.Name { static let PDFDocumentDidUnlock: NSNotification.Name static let PDFDocumentDidBeginFind: NSNotification.Name static let PDFDocumentDidEndFind: NSNotification.Name static let PDFDocumentDidBeginPageFind: NSNotification.Name static let PDFDocumentDidEndPageFind: NSNotification.Name static let PDFDocumentDidFindMatch: NSNotification.Name static let PDFDocumentDidBeginWrite: NSNotification.Name static let PDFDocumentDidEndWrite: NSNotification.Name static let PDFDocumentDidBeginPageWrite: NSNotification.Name static let PDFDocumentDidEndPageWrite: NSNotification.Name } extension NSNotification.Name { static let PDFThumbnailViewDocumentEdited: NSNotification.Name } extension NSNotification.Name { static let PDFViewDocumentChanged: NSNotification.Name static let PDFViewChangedHistory: NSNotification.Name static let PDFViewPageChanged: NSNotification.Name static let PDFViewScaleChanged: NSNotification.Name static let PDFViewAnnotationHit: NSNotification.Name static let PDFViewCopyPermission: NSNotification.Name static let PDFViewPrintPermission: NSNotification.Name static let PDFViewAnnotationWillHit: NSNotification.Name static let PDFViewSelectionChanged: NSNotification.Name static let PDFViewDisplayModeChanged: NSNotification.Name static let PDFViewDisplayBoxChanged: NSNotification.Name static let PDFViewVisiblePagesChanged: NSNotification.Name } extension NSNotification.Name { static let QCCompositionPickerPanelDidSelectComposition: NSNotification.Name } extension NSNotification.Name { static let QCCompositionPickerViewDidSelectComposition: NSNotification.Name } extension NSNotification.Name { static let QCCompositionRepositoryDidUpdate: NSNotification.Name } extension NSNotification.Name { static let QCViewDidStartRendering: NSNotification.Name static let QCViewDidStopRendering: NSNotification.Name } extension NSNotification.Name { static let quartzFilterManagerDidAddFilter: NSNotification.Name static let quartzFilterManagerDidRemoveFilter: NSNotification.Name static let quartzFilterManagerDidModifyFilter: NSNotification.Name static let quartzFilterManagerDidSelectFilter: NSNotification.Name } extension NSNotification.Name { static let WebHistoryItemsAdded: NSNotification.Name static let WebHistoryItemsRemoved: NSNotification.Name static let WebHistoryAllItemsRemoved: NSNotification.Name static let WebHistoryLoaded: NSNotification.Name static let WebHistorySaved: NSNotification.Name } extension NSNotification.Name { static let WebHistoryItemChanged: NSNotification.Name } extension NSNotification.Name { static let WebPreferencesChanged: NSNotification.Name } extension NSNotification.Name { static let WebViewProgressStarted: NSNotification.Name static let WebViewProgressEstimateChanged: NSNotification.Name static let WebViewProgressFinished: NSNotification.Name static let WebViewDidBeginEditing: NSNotification.Name static let WebViewDidChange: NSNotification.Name static let WebViewDidEndEditing: NSNotification.Name static let WebViewDidChangeTypingStyle: NSNotification.Name static let WebViewDidChangeSelection: NSNotification.Name } |
To | struct Name : RawRepresentable, Equatable, Hashable, Comparable { init(_ rawValue: String) init(rawValue rawValue: String) } extension NSNotification.Name { static let AVAssetDurationDidChange: NSNotification.Name static let AVAssetContainsFragmentsDidChange: NSNotification.Name static let AVAssetWasDefragmented: NSNotification.Name static let AVAssetChapterMetadataGroupsDidChange: NSNotification.Name static let AVAssetMediaSelectionGroupsDidChange: NSNotification.Name } extension NSNotification.Name { static let AVAssetTrackTimeRangeDidChange: NSNotification.Name static let AVAssetTrackSegmentsDidChange: NSNotification.Name static let AVAssetTrackTrackAssociationsDidChange: NSNotification.Name } extension NSNotification.Name { static let AVCaptureDeviceWasConnected: NSNotification.Name static let AVCaptureDeviceWasDisconnected: NSNotification.Name static let AVCaptureDeviceSubjectAreaDidChange: NSNotification.Name } extension NSNotification.Name { static let AVCaptureInputPortFormatDescriptionDidChange: NSNotification.Name } extension NSNotification.Name { static let AVCaptureSessionRuntimeError: NSNotification.Name static let AVCaptureSessionDidStartRunning: NSNotification.Name static let AVCaptureSessionDidStopRunning: NSNotification.Name } extension NSNotification.Name { static let AVAudioEngineConfigurationChange: NSNotification.Name } extension NSNotification.Name { static let AVAudioUnitComponentTagsDidChange: NSNotification.Name } extension NSNotification.Name { static let AVFragmentedMovieContainsMovieFragmentsDidChange: NSNotification.Name static let AVFragmentedMovieDurationDidChange: NSNotification.Name static let AVFragmentedMovieWasDefragmented: NSNotification.Name } extension NSNotification.Name { static let AVFragmentedMovieTrackTimeRangeDidChange: NSNotification.Name static let AVFragmentedMovieTrackSegmentsDidChange: NSNotification.Name static let AVFragmentedMovieTrackTotalSampleDataLengthDidChange: NSNotification.Name } extension NSNotification.Name { static let AVPlayerItemTimeJumped: NSNotification.Name static let AVPlayerItemDidPlayToEndTime: NSNotification.Name static let AVPlayerItemFailedToPlayToEndTime: NSNotification.Name static let AVPlayerItemPlaybackStalled: NSNotification.Name static let AVPlayerItemNewAccessLogEntry: NSNotification.Name static let AVPlayerItemNewErrorLogEntry: NSNotification.Name } extension NSNotification.Name { static let AVSampleBufferDisplayLayerFailedToDecode: NSNotification.Name } extension NSNotification.Name { static let ACAccountStoreDidChange: NSNotification.Name } extension NSNotification.Name { static let abDatabaseChanged: NSNotification.Name static let abDatabaseChangedExternally: NSNotification.Name } extension NSNotification.Name { static let ABPeoplePickerGroupSelectionDidChange: NSNotification.Name static let ABPeoplePickerNameSelectionDidChange: NSNotification.Name static let ABPeoplePickerValueSelectionDidChange: NSNotification.Name static let ABPeoplePickerDisplayedPropertyDidChange: NSNotification.Name } extension NSNotification.Name { static let NSWorkspaceAccessibilityDisplayOptionsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSAnimationProgressMark: NSNotification.Name } extension NSNotification.Name { static let NSApplicationDidBecomeActive: NSNotification.Name static let NSApplicationDidHide: NSNotification.Name static let NSApplicationDidFinishLaunching: NSNotification.Name static let NSApplicationDidResignActive: NSNotification.Name static let NSApplicationDidUnhide: NSNotification.Name static let NSApplicationDidUpdate: NSNotification.Name static let NSApplicationWillBecomeActive: NSNotification.Name static let NSApplicationWillHide: NSNotification.Name static let NSApplicationWillFinishLaunching: NSNotification.Name static let NSApplicationWillResignActive: NSNotification.Name static let NSApplicationWillUnhide: NSNotification.Name static let NSApplicationWillUpdate: NSNotification.Name static let NSApplicationWillTerminate: NSNotification.Name static let NSApplicationDidChangeScreenParameters: NSNotification.Name static let NSApplicationDidChangeOcclusionState: NSNotification.Name } extension NSNotification.Name { static let NSBrowserColumnConfigurationDidChange: NSNotification.Name } extension NSNotification.Name { static let NSControlTintDidChange: NSNotification.Name } extension NSNotification.Name { static let NSSystemColorsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSColorListDidChange: NSNotification.Name } extension NSNotification.Name { static let NSColorPanelColorDidChange: NSNotification.Name } extension NSNotification.Name { static let NSComboBoxWillPopUp: NSNotification.Name static let NSComboBoxWillDismiss: NSNotification.Name static let NSComboBoxSelectionDidChange: NSNotification.Name static let NSComboBoxSelectionIsChanging: NSNotification.Name } extension NSNotification.Name { static let NSControlTextDidBeginEditing: NSNotification.Name static let NSControlTextDidEndEditing: NSNotification.Name static let NSControlTextDidChange: NSNotification.Name } extension NSNotification.Name { static let NSDrawerWillOpen: NSNotification.Name static let NSDrawerDidOpen: NSNotification.Name static let NSDrawerWillClose: NSNotification.Name static let NSDrawerDidClose: NSNotification.Name } extension NSNotification.Name { static let NSAntialiasThresholdChanged: NSNotification.Name static let NSFontSetChanged: NSNotification.Name } extension NSNotification.Name { static let NSFontCollectionDidChange: NSNotification.Name } extension NSNotification.Name { static let NSContextHelpModeDidActivate: NSNotification.Name static let NSContextHelpModeDidDeactivate: NSNotification.Name } extension NSNotification.Name { static let NSImageRepRegistryDidChange: NSNotification.Name } extension NSNotification.Name { static let NSMenuWillSendAction: NSNotification.Name static let NSMenuDidSendAction: NSNotification.Name static let NSMenuDidAddItem: NSNotification.Name static let NSMenuDidRemoveItem: NSNotification.Name static let NSMenuDidChangeItem: NSNotification.Name static let NSMenuDidBeginTracking: NSNotification.Name static let NSMenuDidEndTracking: NSNotification.Name } extension NSNotification.Name { static let NSOutlineViewSelectionDidChange: NSNotification.Name static let NSOutlineViewColumnDidMove: NSNotification.Name static let NSOutlineViewColumnDidResize: NSNotification.Name static let NSOutlineViewSelectionIsChanging: NSNotification.Name static let NSOutlineViewItemWillExpand: NSNotification.Name static let NSOutlineViewItemDidExpand: NSNotification.Name static let NSOutlineViewItemWillCollapse: NSNotification.Name static let NSOutlineViewItemDidCollapse: NSNotification.Name } extension NSNotification.Name { static let NSPopUpButtonWillPopUp: NSNotification.Name } extension NSNotification.Name { static let NSPopUpButtonCellWillPopUp: NSNotification.Name } extension NSNotification.Name { static let NSPopoverWillShow: NSNotification.Name static let NSPopoverDidShow: NSNotification.Name static let NSPopoverWillClose: NSNotification.Name static let NSPopoverDidClose: NSNotification.Name } extension NSNotification.Name { static let NSRuleEditorRowsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSScreenColorSpaceDidChange: NSNotification.Name } extension NSNotification.Name { static let NSScrollViewWillStartLiveMagnify: NSNotification.Name static let NSScrollViewDidEndLiveMagnify: NSNotification.Name static let NSScrollViewWillStartLiveScroll: NSNotification.Name static let NSScrollViewDidLiveScroll: NSNotification.Name static let NSScrollViewDidEndLiveScroll: NSNotification.Name } extension NSNotification.Name { static let NSPreferredScrollerStyleDidChange: NSNotification.Name } extension NSNotification.Name { static let NSSpellCheckerDidChangeAutomaticSpellingCorrection: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticTextReplacement: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticQuoteSubstitution: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticDashSubstitution: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticCapitalization: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticPeriodSubstitution: NSNotification.Name static let NSSpellCheckerDidChangeAutomaticTextCompletion: NSNotification.Name } extension NSNotification.Name { static let NSSplitViewWillResizeSubviews: NSNotification.Name static let NSSplitViewDidResizeSubviews: NSNotification.Name } extension NSNotification.Name { static let NSTableViewSelectionDidChange: NSNotification.Name static let NSTableViewColumnDidMove: NSNotification.Name static let NSTableViewColumnDidResize: NSNotification.Name static let NSTableViewSelectionIsChanging: NSNotification.Name } extension NSNotification.Name { static let NSTextDidBeginEditing: NSNotification.Name static let NSTextDidEndEditing: NSNotification.Name static let NSTextDidChange: NSNotification.Name } extension NSNotification.Name { static let NSTextAlternativesSelectedAlternativeString: NSNotification.Name } extension NSNotification.Name { static let NSTextInputContextKeyboardSelectionDidChange: NSNotification.Name } extension NSNotification.Name { static let NSTextStorageWillProcessEditing: NSNotification.Name static let NSTextStorageDidProcessEditing: NSNotification.Name } extension NSNotification.Name { static let NSTextViewWillChangeNotifyingTextView: NSNotification.Name static let NSTextViewDidChangeSelection: NSNotification.Name static let NSTextViewDidChangeTypingAttributes: NSNotification.Name } extension NSNotification.Name { static let NSToolbarWillAddItem: NSNotification.Name static let NSToolbarDidRemoveItem: NSNotification.Name } extension NSNotification.Name { static let NSViewFrameDidChange: NSNotification.Name static let NSViewFocusDidChange: NSNotification.Name static let NSViewBoundsDidChange: NSNotification.Name static let NSViewGlobalFrameDidChange: NSNotification.Name static let NSViewDidUpdateTrackingAreas: NSNotification.Name } extension NSNotification.Name { static let NSWindowDidBecomeKey: NSNotification.Name static let NSWindowDidBecomeMain: NSNotification.Name static let NSWindowDidChangeScreen: NSNotification.Name static let NSWindowDidDeminiaturize: NSNotification.Name static let NSWindowDidExpose: NSNotification.Name static let NSWindowDidMiniaturize: NSNotification.Name static let NSWindowDidMove: NSNotification.Name static let NSWindowDidResignKey: NSNotification.Name static let NSWindowDidResignMain: NSNotification.Name static let NSWindowDidResize: NSNotification.Name static let NSWindowDidUpdate: NSNotification.Name static let NSWindowWillClose: NSNotification.Name static let NSWindowWillMiniaturize: NSNotification.Name static let NSWindowWillMove: NSNotification.Name static let NSWindowWillBeginSheet: NSNotification.Name static let NSWindowDidEndSheet: NSNotification.Name static let NSWindowDidChangeBackingProperties: NSNotification.Name static let NSWindowDidChangeScreenProfile: NSNotification.Name static let NSWindowWillStartLiveResize: NSNotification.Name static let NSWindowDidEndLiveResize: NSNotification.Name static let NSWindowWillEnterFullScreen: NSNotification.Name static let NSWindowDidEnterFullScreen: NSNotification.Name static let NSWindowWillExitFullScreen: NSNotification.Name static let NSWindowDidExitFullScreen: NSNotification.Name static let NSWindowWillEnterVersionBrowser: NSNotification.Name static let NSWindowDidEnterVersionBrowser: NSNotification.Name static let NSWindowWillExitVersionBrowser: NSNotification.Name static let NSWindowDidExitVersionBrowser: NSNotification.Name static let NSWindowDidChangeOcclusionState: NSNotification.Name } extension NSNotification.Name { static let NSApplicationDidFinishRestoringWindows: NSNotification.Name } extension NSNotification.Name { static let NSWorkspaceWillLaunchApplication: NSNotification.Name static let NSWorkspaceDidLaunchApplication: NSNotification.Name static let NSWorkspaceDidTerminateApplication: NSNotification.Name static let NSWorkspaceDidHideApplication: NSNotification.Name static let NSWorkspaceDidUnhideApplication: NSNotification.Name static let NSWorkspaceDidActivateApplication: NSNotification.Name static let NSWorkspaceDidDeactivateApplication: NSNotification.Name static let NSWorkspaceDidMount: NSNotification.Name static let NSWorkspaceDidUnmount: NSNotification.Name static let NSWorkspaceWillUnmount: NSNotification.Name static let NSWorkspaceDidRenameVolume: NSNotification.Name static let NSWorkspaceWillPowerOff: NSNotification.Name static let NSWorkspaceWillSleep: NSNotification.Name static let NSWorkspaceDidWake: NSNotification.Name static let NSWorkspaceScreensDidSleep: NSNotification.Name static let NSWorkspaceScreensDidWake: NSNotification.Name static let NSWorkspaceSessionDidBecomeActive: NSNotification.Name static let NSWorkspaceSessionDidResignActive: NSNotification.Name static let NSWorkspaceDidChangeFileLabels: NSNotification.Name static let NSWorkspaceActiveSpaceDidChange: NSNotification.Name static let NSWorkspaceDidPerformFileOperation: NSNotification.Name } extension NSNotification.Name { static let CKAccountChanged: NSNotification.Name } extension NSNotification.Name { static let CNContactStoreDidChange: NSNotification.Name } extension NSNotification.Name { static let NSManagedObjectContextWillSave: NSNotification.Name static let NSManagedObjectContextDidSave: NSNotification.Name static let NSManagedObjectContextObjectsDidChange: NSNotification.Name } extension NSNotification.Name { static let NSPersistentStoreCoordinatorStoresWillChange: NSNotification.Name static let NSPersistentStoreCoordinatorStoresDidChange: NSNotification.Name static let NSPersistentStoreCoordinatorWillRemoveStore: NSNotification.Name static let NSPersistentStoreDidImportUbiquitousContentChanges: NSNotification.Name } extension NSNotification.Name { static let CTRadioAccessTechnologyDidChange: NSNotification.Name } extension NSNotification.Name { static let CWPowerDidChange: NSNotification.Name static let CWSSIDDidChange: NSNotification.Name static let CWBSSIDDidChange: NSNotification.Name static let CWLinkDidChange: NSNotification.Name static let CWModeDidChange: NSNotification.Name static let CWCountryCodeDidChange: NSNotification.Name static let CWScanCacheDidUpdate: NSNotification.Name static let CWLinkQualityDidChange: NSNotification.Name } extension NSNotification.Name { static let DRBurnStatusChanged: NSNotification.Name } extension NSNotification.Name { static let DRDeviceAppeared: NSNotification.Name static let DRDeviceDisappeared: NSNotification.Name static let DRDeviceStatusChanged: NSNotification.Name } extension NSNotification.Name { static let DREraseStatusChanged: NSNotification.Name } extension NSNotification.Name { static let DRBurnProgressPanelWillBegin: NSNotification.Name static let DRBurnProgressPanelDidFinish: NSNotification.Name } extension NSNotification.Name { static let DREraseProgressPanelWillBegin: NSNotification.Name static let DREraseProgressPanelDidFinish: NSNotification.Name } extension NSNotification.Name { static let DRSetupPanelDeviceSelectionChanged: NSNotification.Name } extension NSNotification.Name { static let EKEventStoreChanged: NSNotification.Name } extension NSNotification.Name { static let NSAppleEventManagerWillProcessFirstEvent: NSNotification.Name } extension NSNotification.Name { static let NSBundleResourceRequestLowDiskSpace: NSNotification.Name } extension NSNotification.Name { static let NSCalendarDayChanged: NSNotification.Name } extension NSNotification.Name { static let NSClassDescriptionNeededForClass: NSNotification.Name } extension NSNotification.Name { static let NSConnectionDidDie: NSNotification.Name static let NSConnectionDidInitialize: NSNotification.Name } extension NSNotification.Name { static let NSSystemClockDidChange: NSNotification.Name } extension NSNotification.Name { static let NSExtensionHostWillEnterForeground: NSNotification.Name static let NSExtensionHostDidEnterBackground: NSNotification.Name static let NSExtensionHostWillResignActive: NSNotification.Name static let NSExtensionHostDidBecomeActive: NSNotification.Name } extension NSNotification.Name { static let NSFileHandleReadToEndOfFileCompletion: NSNotification.Name static let NSFileHandleConnectionAccepted: NSNotification.Name static let NSFileHandleDataAvailable: NSNotification.Name } extension NSNotification.Name { static let NSUbiquityIdentityDidChange: NSNotification.Name } extension NSNotification.Name { static let NSHTTPCookieManagerAcceptPolicyChanged: NSNotification.Name static let NSHTTPCookieManagerCookiesChanged: NSNotification.Name } extension NSNotification.Name { static let NSMetadataQueryDidStartGathering: NSNotification.Name static let NSMetadataQueryGatheringProgress: NSNotification.Name static let NSMetadataQueryDidFinishGathering: NSNotification.Name static let NSMetadataQueryDidUpdate: NSNotification.Name } extension NSNotification.Name { static let NSAppleEventManagerWillProcessFirstEvent: NSNotification.Name static let NSBundleResourceRequestLowDiskSpace: NSNotification.Name static let NSCalendarDayChanged: NSNotification.Name static let NSClassDescriptionNeededForClass: NSNotification.Name static let NSConnectionDidDie: NSNotification.Name static let NSConnectionDidInitialize: NSNotification.Name static let NSWillBecomeMultiThreaded: NSNotification.Name static let NSDidBecomeSingleThreaded: NSNotification.Name static let NSThreadWillExit: NSNotification.Name static let NSExtensionHostWillEnterForeground: NSNotification.Name static let NSExtensionHostDidEnterBackground: NSNotification.Name static let NSExtensionHostWillResignActive: NSNotification.Name static let NSExtensionHostDidBecomeActive: NSNotification.Name static let NSFileHandleReadToEndOfFileCompletion: NSNotification.Name static let NSFileHandleConnectionAccepted: NSNotification.Name static let NSFileHandleDataAvailable: NSNotification.Name static let NSHTTPCookieManagerAcceptPolicyChanged: NSNotification.Name static let NSHTTPCookieManagerCookiesChanged: NSNotification.Name static let NSMetadataQueryDidStartGathering: NSNotification.Name static let NSMetadataQueryGatheringProgress: NSNotification.Name static let NSMetadataQueryDidFinishGathering: NSNotification.Name static let NSMetadataQueryDidUpdate: NSNotification.Name static let NSProcessInfoPowerStateDidChange: NSNotification.Name static let NSSystemClockDidChange: NSNotification.Name static let NSSystemTimeZoneDidChange: NSNotification.Name static let NSURLCredentialStorageChanged: NSNotification.Name static let NSUbiquityIdentityDidChange: NSNotification.Name static let NSUndoManagerCheckpoint: NSNotification.Name static let NSUndoManagerWillUndoChange: NSNotification.Name static let NSUndoManagerWillRedoChange: NSNotification.Name static let NSUndoManagerDidUndoChange: NSNotification.Name static let NSUndoManagerDidRedoChange: NSNotification.Name static let NSUndoManagerDidOpenUndoGroup: NSNotification.Name static let NSUndoManagerWillCloseUndoGroup: NSNotification.Name static let NSUndoManagerDidCloseUndoGroup: NSNotification.Name } extension NSNotification.Name { static let NSProcessInfoPowerStateDidChange: NSNotification.Name } extension NSNotification.Name { static let NSWillBecomeMultiThreaded: NSNotification.Name static let NSDidBecomeSingleThreaded: NSNotification.Name static let NSThreadWillExit: NSNotification.Name } extension NSNotification.Name { static let NSSystemTimeZoneDidChange: NSNotification.Name } extension NSNotification.Name { static let NSURLCredentialStorageChanged: NSNotification.Name } extension NSNotification.Name { static let NSUndoManagerCheckpoint: NSNotification.Name static let NSUndoManagerWillUndoChange: NSNotification.Name static let NSUndoManagerWillRedoChange: NSNotification.Name static let NSUndoManagerDidUndoChange: NSNotification.Name static let NSUndoManagerDidRedoChange: NSNotification.Name static let NSUndoManagerDidOpenUndoGroup: NSNotification.Name static let NSUndoManagerWillCloseUndoGroup: NSNotification.Name static let NSUndoManagerDidCloseUndoGroup: NSNotification.Name } extension NSNotification.Name { static let GCControllerDidConnect: NSNotification.Name static let GCControllerDidDisconnect: NSNotification.Name } extension NSNotification.Name { static let IOBluetoothHostControllerPoweredOn: NSNotification.Name static let IOBluetoothHostControllerPoweredOff: NSNotification.Name } extension NSNotification.Name { static let IOBluetoothL2CAPChannelPublished: NSNotification.Name static let IOBluetoothL2CAPChannelTerminated: NSNotification.Name } extension NSNotification.Name { static let MKAnnotationCalloutInfoDidChange: NSNotification.Name } extension NSNotification.Name { static let NEFilterConfigurationDidChange: NSNotification.Name } extension NSNotification.Name { static let NEVPNStatusDidChange: NSNotification.Name } extension NSNotification.Name { static let NEVPNConfigurationChange: NSNotification.Name } extension NSNotification.Name { static let NSPreferencePaneDoUnselect: NSNotification.Name static let NSPreferencePaneCancelUnselect: NSNotification.Name static let NSPreferencePaneSwitchToPane: NSNotification.Name static let NSPreferencePrefPaneIsAvailable: NSNotification.Name static let NSPreferencePaneUpdateHelpMenu: NSNotification.Name } extension NSNotification.Name { static let IKFilterBrowserFilterSelected: NSNotification.Name static let IKFilterBrowserFilterDoubleClick: NSNotification.Name static let IKFilterBrowserWillPreviewFilter: NSNotification.Name } extension NSNotification.Name { static let PDFDocumentDidUnlock: NSNotification.Name static let PDFDocumentDidBeginFind: NSNotification.Name static let PDFDocumentDidEndFind: NSNotification.Name static let PDFDocumentDidBeginPageFind: NSNotification.Name static let PDFDocumentDidEndPageFind: NSNotification.Name static let PDFDocumentDidFindMatch: NSNotification.Name static let PDFDocumentDidBeginWrite: NSNotification.Name static let PDFDocumentDidEndWrite: NSNotification.Name static let PDFDocumentDidBeginPageWrite: NSNotification.Name static let PDFDocumentDidEndPageWrite: NSNotification.Name } extension NSNotification.Name { static let PDFThumbnailViewDocumentEdited: NSNotification.Name } extension NSNotification.Name { static let PDFViewDocumentChanged: NSNotification.Name static let PDFViewChangedHistory: NSNotification.Name static let PDFViewPageChanged: NSNotification.Name static let PDFViewScaleChanged: NSNotification.Name static let PDFViewAnnotationHit: NSNotification.Name static let PDFViewCopyPermission: NSNotification.Name static let PDFViewPrintPermission: NSNotification.Name static let PDFViewAnnotationWillHit: NSNotification.Name static let PDFViewSelectionChanged: NSNotification.Name static let PDFViewDisplayModeChanged: NSNotification.Name static let PDFViewDisplayBoxChanged: NSNotification.Name static let PDFViewVisiblePagesChanged: NSNotification.Name } extension NSNotification.Name { static let QCCompositionPickerPanelDidSelectComposition: NSNotification.Name } extension NSNotification.Name { static let QCCompositionPickerViewDidSelectComposition: NSNotification.Name } extension NSNotification.Name { static let QCCompositionRepositoryDidUpdate: NSNotification.Name } extension NSNotification.Name { static let QCViewDidStartRendering: NSNotification.Name static let QCViewDidStopRendering: NSNotification.Name } extension NSNotification.Name { static let quartzFilterManagerDidAddFilter: NSNotification.Name static let quartzFilterManagerDidRemoveFilter: NSNotification.Name static let quartzFilterManagerDidModifyFilter: NSNotification.Name static let quartzFilterManagerDidSelectFilter: NSNotification.Name } extension NSNotification.Name { static let WebHistoryItemsAdded: NSNotification.Name static let WebHistoryItemsRemoved: NSNotification.Name static let WebHistoryAllItemsRemoved: NSNotification.Name static let WebHistoryLoaded: NSNotification.Name static let WebHistorySaved: NSNotification.Name } extension NSNotification.Name { static let WebHistoryItemChanged: NSNotification.Name } extension NSNotification.Name { static let WebPreferencesChanged: NSNotification.Name } extension NSNotification.Name { static let WebViewProgressStarted: NSNotification.Name static let WebViewProgressEstimateChanged: NSNotification.Name static let WebViewProgressFinished: NSNotification.Name static let WebViewDidBeginEditing: NSNotification.Name static let WebViewDidChange: NSNotification.Name static let WebViewDidEndEditing: NSNotification.Name static let WebViewDidChangeTypingStyle: NSNotification.Name static let WebViewDidChangeSelection: NSNotification.Name } |
Modified NSPointerFunctions
Declaration | |
---|---|
From | class NSPointerFunctions : NSObject, NSCopying { init(options options: NSPointerFunctions.Options = []) class func withOptions(_ options: NSPointerFunctions.Options = []) -> NSPointerFunctions var hashFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> Int)? var isEqualFunction: ((UnsafeRawPointer, UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> ObjCBool)? var sizeFunction: ((UnsafeRawPointer) -> Int)? var descriptionFunction: ((UnsafeRawPointer) -> String?)? var relinquishFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> Swift.Void)? var acquireFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?, ObjCBool) -> UnsafeMutableRawPointer)? var usesStrongWriteBarrier: Bool var usesWeakReadAndWriteBarriers: Bool struct Options : OptionSet { init(rawValue rawValue: UInt) static var strongMemory: NSPointerFunctions.Options { get } static var zeroingWeakMemory: NSPointerFunctions.Options { get } static var opaqueMemory: NSPointerFunctions.Options { get } static var mallocMemory: NSPointerFunctions.Options { get } static var machVirtualMemory: NSPointerFunctions.Options { get } static var weakMemory: NSPointerFunctions.Options { get } static var objectPersonality: NSPointerFunctions.Options { get } static var opaquePersonality: NSPointerFunctions.Options { get } static var objectPointerPersonality: NSPointerFunctions.Options { get } static var cStringPersonality: NSPointerFunctions.Options { get } static var structPersonality: NSPointerFunctions.Options { get } static var integerPersonality: NSPointerFunctions.Options { get } static var copyIn: NSPointerFunctions.Options { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPointerFunctions { struct Options : OptionSet { init(rawValue rawValue: UInt) static var strongMemory: NSPointerFunctions.Options { get } static var zeroingWeakMemory: NSPointerFunctions.Options { get } static var opaqueMemory: NSPointerFunctions.Options { get } static var mallocMemory: NSPointerFunctions.Options { get } static var machVirtualMemory: NSPointerFunctions.Options { get } static var weakMemory: NSPointerFunctions.Options { get } static var objectPersonality: NSPointerFunctions.Options { get } static var opaquePersonality: NSPointerFunctions.Options { get } static var objectPointerPersonality: NSPointerFunctions.Options { get } static var cStringPersonality: NSPointerFunctions.Options { get } static var structPersonality: NSPointerFunctions.Options { get } static var integerPersonality: NSPointerFunctions.Options { get } static var copyIn: NSPointerFunctions.Options { get } } } extension NSPointerFunctions : CVarArg { } extension NSPointerFunctions : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSPointerFunctions : NSObject, NSCopying { init(options options: NSPointerFunctions.Options = []) class func withOptions(_ options: NSPointerFunctions.Options = []) -> NSPointerFunctions var hashFunction: ((UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?) -> Int)? var isEqualFunction: ((UnsafeRawPointer, UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?) -> ObjCBool)? var sizeFunction: ((UnsafeRawPointer) -> Int)? var descriptionFunction: ((UnsafeRawPointer) -> String?)? var relinquishFunction: ((UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?) -> Swift.Void)? var acquireFunction: ((UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?, ObjCBool) -> UnsafeMutableRawPointer)? var usesStrongWriteBarrier: Bool var usesWeakReadAndWriteBarriers: Bool struct Options : OptionSet { init(rawValue rawValue: UInt) static var strongMemory: NSPointerFunctions.Options { get } static var zeroingWeakMemory: NSPointerFunctions.Options { get } static var opaqueMemory: NSPointerFunctions.Options { get } static var mallocMemory: NSPointerFunctions.Options { get } static var machVirtualMemory: NSPointerFunctions.Options { get } static var weakMemory: NSPointerFunctions.Options { get } static var objectPersonality: NSPointerFunctions.Options { get } static var opaquePersonality: NSPointerFunctions.Options { get } static var objectPointerPersonality: NSPointerFunctions.Options { get } static var cStringPersonality: NSPointerFunctions.Options { get } static var structPersonality: NSPointerFunctions.Options { get } static var integerPersonality: NSPointerFunctions.Options { get } static var copyIn: NSPointerFunctions.Options { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPointerFunctions { struct Options : OptionSet { init(rawValue rawValue: UInt) static var strongMemory: NSPointerFunctions.Options { get } static var zeroingWeakMemory: NSPointerFunctions.Options { get } static var opaqueMemory: NSPointerFunctions.Options { get } static var mallocMemory: NSPointerFunctions.Options { get } static var machVirtualMemory: NSPointerFunctions.Options { get } static var weakMemory: NSPointerFunctions.Options { get } static var objectPersonality: NSPointerFunctions.Options { get } static var opaquePersonality: NSPointerFunctions.Options { get } static var objectPointerPersonality: NSPointerFunctions.Options { get } static var cStringPersonality: NSPointerFunctions.Options { get } static var structPersonality: NSPointerFunctions.Options { get } static var integerPersonality: NSPointerFunctions.Options { get } static var copyIn: NSPointerFunctions.Options { get } } } extension NSPointerFunctions : CVarArg { } extension NSPointerFunctions : Equatable, Hashable { var hashValue: Int { get } } |
Modified NSPointerFunctions.acquireFunction
Declaration | |
---|---|
From | var acquireFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?, ObjCBool) -> UnsafeMutableRawPointer)? |
To | var acquireFunction: ((UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?, ObjCBool) -> UnsafeMutableRawPointer)? |
Modified NSPointerFunctions.hashFunction
Declaration | |
---|---|
From | var hashFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> Int)? |
To | var hashFunction: ((UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?) -> Int)? |
Modified NSPointerFunctions.isEqualFunction
Declaration | |
---|---|
From | var isEqualFunction: ((UnsafeRawPointer, UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> ObjCBool)? |
To | var isEqualFunction: ((UnsafeRawPointer, UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?) -> ObjCBool)? |
Declaration | |
---|---|
From | var relinquishFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> Swift.Void)? |
To | var relinquishFunction: ((UnsafeRawPointer, ((UnsafeRawPointer) -> Int)?) -> Swift.Void)? |
Modified NSPurgeableData
Declaration | |
---|---|
From | class NSPurgeableData : NSMutableData, NSDiscardableContent { convenience init?(capacity aNumItems: Int) class func withCapacity(_ aNumItems: Int) -> Self? convenience init?(length length: Int) class func withLength(_ length: Int) -> Self? init?(capacity capacity: Int) init?(length length: Int) func append(_ bytes: UnsafeRawPointer, length length: Int) func append(_ other: Data) func increaseLength(by extraLength: Int) func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer) func resetBytes(in range: NSRange) func setData(_ data: Data) func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int) func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPurgeableData : CVarArg { } extension NSPurgeableData : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSPurgeableData : NSMutableData, NSDiscardableContent { convenience init?(capacity aNumItems: Int) class func withCapacity(_ aNumItems: Int) -> Self? convenience init?(length length: Int) class func withLength(_ length: Int) -> Self? init?(capacity capacity: Int) init?(length length: Int) func append(_ bytes: UnsafeRawPointer, length length: Int) func append(_ other: Data) func increaseLength(by extraLength: Int) func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer) func resetBytes(in range: NSRange) func setData(_ data: Data) func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int) func getBytes(_ buffer: UnsafeMutableRawPointer) class func dataWithContentsOfMappedFile(_ path: String) -> Any? init?(contentsOfMappedFile path: String) init?(base64Encoding base64String: String) func base64Encoding() -> String init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data class func data() -> Self convenience init(bytes bytes: UnsafeRawPointer?, length length: Int) class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self convenience init?(contentsOfFile path: String) class func withContentsOfFile(_ path: String) -> Self? convenience init?(contentsOf url: URL) class func withContentsOf(_ url: URL) -> Self? init(bytes bytes: UnsafeRawPointer?, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil) init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws init?(contentsOfFile path: String) init?(contentsOf url: URL) init(data data: Data) class func withData(_ data: Data) -> Self var description: String { get } func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) func isEqual(to other: Data) -> Bool func subdata(with range: NSRange) -> Data func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool func write(to url: URL, atomically atomically: Bool) -> Bool func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) struct ReadingOptions : OptionSet { init(rawValue rawValue: UInt) static var mappedIfSafe: NSData.ReadingOptions { get } static var uncached: NSData.ReadingOptions { get } static var alwaysMapped: NSData.ReadingOptions { get } static var dataReadingMapped: NSData.ReadingOptions { get } static var mappedRead: NSData.ReadingOptions { get } static var uncachedRead: NSData.ReadingOptions { get } } struct WritingOptions : OptionSet { init(rawValue rawValue: UInt) static var atomic: NSData.WritingOptions { get } static var withoutOverwriting: NSData.WritingOptions { get } static var noFileProtection: NSData.WritingOptions { get } static var completeFileProtection: NSData.WritingOptions { get } static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get } static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get } static var fileProtectionMask: NSData.WritingOptions { get } static var atomicWrite: NSData.WritingOptions { get } } struct SearchOptions : OptionSet { init(rawValue rawValue: UInt) static var backwards: NSData.SearchOptions { get } static var anchored: NSData.SearchOptions { get } } struct Base64EncodingOptions : OptionSet { init(rawValue rawValue: UInt) static var lineLength64Characters: NSData.Base64EncodingOptions { get } static var lineLength76Characters: NSData.Base64EncodingOptions { get } static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } } struct Base64DecodingOptions : OptionSet { init(rawValue rawValue: UInt) static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPurgeableData : CVarArg { } extension NSPurgeableData : Equatable, Hashable { var hashValue: Int { get } } |
Modified NSSet
Declaration | |
---|---|
From | class NSSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration { var count: Int { get } func member(_ object: Any) -> Any? func objectEnumerator() -> NSEnumerator init() init(objects objects: UnsafePointer<AnyObject>!, count cnt: Int) init?(coder aDecoder: NSCoder) var allObjects: [Any] { get } func anyObject() -> Any? func contains(_ anObject: Any) -> Bool var description: String { get } func description(withLocale locale: Any?) -> String func intersects(_ otherSet: Set<AnyHashable>) -> Bool func isEqual(to otherSet: Set<AnyHashable>) -> Bool func isSubset(of otherSet: Set<AnyHashable>) -> Bool func makeObjectsPerform(_ aSelector: Selector) func makeObjectsPerform(_ aSelector: Selector, with argument: Any?) func adding(_ anObject: Any) -> Set<AnyHashable> func addingObjects(from other: Set<AnyHashable>) -> Set<AnyHashable> func addingObjects(from other: [Any]) -> Set<AnyHashable> func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func objects(passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func objects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> class func set() -> Self convenience init(object object: Any) class func withObject(_ object: Any) -> Self class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self convenience init(set set: Set<AnyHashable>) class func withSet(_ set: Set<AnyHashable>) -> Self convenience init(array array: [Any]) class func withArray(_ array: [Any]) -> Self convenience init(set set: Set<AnyHashable>) convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) convenience init(array array: [Any]) func value(forKey key: String) -> Any func setValue(_ value: Any?, forKey key: String) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] func filtered(using predicate: NSPredicate) -> Set<AnyHashable> @nonobjc convenience init(set anSet: NSSet) convenience init(objects elements: Any...) var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool class var accessInstanceVariablesDirectly: Bool { get } func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? var classCode: FourCharCode { get } var className: String { get } func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) } extension NSSet { convenience init(collectionViewIndexPath indexPath: IndexPath) class func withCollectionViewIndexPath(_ indexPath: IndexPath) -> Self convenience init(collectionViewIndexPaths indexPaths: [IndexPath]) class func withCollectionViewIndexPaths(_ indexPaths: [IndexPath]) -> Self func enumerateIndexPaths(options opts: NSEnumerationOptions = [], using block: (IndexPath, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) } extension NSSet { func value(forKey key: String) -> Any func setValue(_ value: Any?, forKey key: String) } extension NSSet { func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) } extension NSSet { func filtered(using predicate: NSPredicate) -> Set<AnyHashable> } extension NSSet : CVarArg { } extension NSSet : CustomReflectable { var customMirror: Mirror { get } } extension NSSet : Sequence { func makeIterator() -> NSFastEnumerationIterator } extension NSSet : ExpressibleByArrayLiteral { required convenience init(arrayLiteral elements: Any...) } extension NSSet : Equatable, Hashable { var hashValue: Int { get } } extension NSSet { var allObjects: [Any] { get } func anyObject() -> Any? func contains(_ anObject: Any) -> Bool var description: String { get } func description(withLocale locale: Any?) -> String func intersects(_ otherSet: Set<AnyHashable>) -> Bool func isEqual(to otherSet: Set<AnyHashable>) -> Bool func isSubset(of otherSet: Set<AnyHashable>) -> Bool func makeObjectsPerform(_ aSelector: Selector) func makeObjectsPerform(_ aSelector: Selector, with argument: Any?) func adding(_ anObject: Any) -> Set<AnyHashable> func addingObjects(from other: Set<AnyHashable>) -> Set<AnyHashable> func addingObjects(from other: [Any]) -> Set<AnyHashable> func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func objects(passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func objects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> } extension NSSet { class func set() -> Self convenience init(object object: Any) class func withObject(_ object: Any) -> Self class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self convenience init(set set: Set<AnyHashable>) class func withSet(_ set: Set<AnyHashable>) -> Self convenience init(array array: [Any]) class func withArray(_ array: [Any]) -> Self convenience init(set set: Set<AnyHashable>) convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) convenience init(array array: [Any]) } extension NSSet { func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] } extension NSSet : Sequence { func makeIterator() -> NSFastEnumerationIterator } extension NSSet { convenience init(objects elements: Any...) } extension NSSet : ExpressibleByArrayLiteral { required convenience init(arrayLiteral elements: Any...) } extension NSSet { @nonobjc convenience init(set anSet: NSSet) } extension NSSet : CustomReflectable { var customMirror: Mirror { get } } |
To | class NSSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration { var count: Int { get } func member(_ object: Any) -> Any? func objectEnumerator() -> NSEnumerator init() init(objects objects: UnsafePointer<AnyObject>!, count cnt: Int) init?(coder aDecoder: NSCoder) var allObjects: [Any] { get } func anyObject() -> Any? func contains(_ anObject: Any) -> Bool var description: String { get } func description(withLocale locale: Any?) -> String func intersects(_ otherSet: Set<AnyHashable>) -> Bool func isEqual(to otherSet: Set<AnyHashable>) -> Bool func isSubset(of otherSet: Set<AnyHashable>) -> Bool func makeObjectsPerform(_ aSelector: Selector) func makeObjectsPerform(_ aSelector: Selector, with argument: Any?) func adding(_ anObject: Any) -> Set<AnyHashable> func addingObjects(from other: Set<AnyHashable>) -> Set<AnyHashable> func addingObjects(from other: [Any]) -> Set<AnyHashable> func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func objects(passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func objects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> class func set() -> Self convenience init(object object: Any) class func withObject(_ object: Any) -> Self class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self convenience init(set set: Set<AnyHashable>) class func withSet(_ set: Set<AnyHashable>) -> Self convenience init(array array: [Any]) class func withArray(_ array: [Any]) -> Self convenience init(set set: Set<AnyHashable>) convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) convenience init(array array: [Any]) func value(forKey key: String) -> Any func setValue(_ value: Any?, forKey key: String) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] func filtered(using predicate: NSPredicate) -> Set<AnyHashable> @nonobjc convenience init(set anSet: NSSet) convenience init(objects elements: Any...) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool class var accessInstanceVariablesDirectly: Bool { get } func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? var classCode: FourCharCode { get } var className: String { get } func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) } extension NSSet { convenience init(collectionViewIndexPath indexPath: IndexPath) class func withCollectionViewIndexPath(_ indexPath: IndexPath) -> Self convenience init(collectionViewIndexPaths indexPaths: [IndexPath]) class func withCollectionViewIndexPaths(_ indexPaths: [IndexPath]) -> Self func enumerateIndexPaths(options opts: NSEnumerationOptions = [], using block: (IndexPath, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) } extension NSSet { func value(forKey key: String) -> Any func setValue(_ value: Any?, forKey key: String) } extension NSSet { func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) } extension NSSet { func filtered(using predicate: NSPredicate) -> Set<AnyHashable> } extension NSSet : CVarArg { } extension NSSet : CustomReflectable { var customMirror: Mirror { get } } extension NSSet : Sequence { func makeIterator() -> NSFastEnumerationIterator } extension NSSet : ExpressibleByArrayLiteral { required convenience init(arrayLiteral elements: Any...) } extension NSSet : Equatable, Hashable { var hashValue: Int { get } } extension NSSet { var allObjects: [Any] { get } func anyObject() -> Any? func contains(_ anObject: Any) -> Bool var description: String { get } func description(withLocale locale: Any?) -> String func intersects(_ otherSet: Set<AnyHashable>) -> Bool func isEqual(to otherSet: Set<AnyHashable>) -> Bool func isSubset(of otherSet: Set<AnyHashable>) -> Bool func makeObjectsPerform(_ aSelector: Selector) func makeObjectsPerform(_ aSelector: Selector, with argument: Any?) func adding(_ anObject: Any) -> Set<AnyHashable> func addingObjects(from other: Set<AnyHashable>) -> Set<AnyHashable> func addingObjects(from other: [Any]) -> Set<AnyHashable> func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func objects(passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> func objects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> } extension NSSet { class func set() -> Self convenience init(object object: Any) class func withObject(_ object: Any) -> Self class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self convenience init(set set: Set<AnyHashable>) class func withSet(_ set: Set<AnyHashable>) -> Self convenience init(array array: [Any]) class func withArray(_ array: [Any]) -> Self convenience init(set set: Set<AnyHashable>) convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) convenience init(array array: [Any]) } extension NSSet { func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] } extension NSSet : Sequence { func makeIterator() -> NSFastEnumerationIterator } extension NSSet { } extension NSSet { convenience init(objects elements: Any...) } extension NSSet : ExpressibleByArrayLiteral { required convenience init(arrayLiteral elements: Any...) } extension NSSet { @nonobjc convenience init(set anSet: NSSet) } extension NSSet : CustomReflectable { var customMirror: Mirror { get } } |
Modified NSSortDescriptor
Declaration | |
---|---|
From | class NSSortDescriptor : NSObject, NSSecureCoding, NSCopying { convenience init(key key: String?, ascending ascending: Bool) class func withKey(_ key: String?, ascending ascending: Bool) -> Self convenience init(key key: String?, ascending ascending: Bool, selector selector: Selector?) class func withKey(_ key: String?, ascending ascending: Bool, selector selector: Selector?) -> Self init(key key: String?, ascending ascending: Bool) init(key key: String?, ascending ascending: Bool, selector selector: Selector?) init?(coder coder: NSCoder) var key: String? { get } var ascending: Bool { get } var selector: Selector? { get } func allowEvaluation() convenience init(key key: String?, ascending ascending: Bool, comparator cmptr: Foundation.Comparator) class func withKey(_ key: String?, ascending ascending: Bool, comparator cmptr: Foundation.Comparator) -> Self init(key key: String?, ascending ascending: Bool, comparator cmptr: Foundation.Comparator) var comparator: Foundation.Comparator { get } func compare(_ object1: Any, to object2: Any) -> ComparisonResult var reversedSortDescriptor: Any { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSSortDescriptor : CVarArg { } extension NSSortDescriptor : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSSortDescriptor : NSObject, NSSecureCoding, NSCopying { convenience init(key key: String?, ascending ascending: Bool) class func withKey(_ key: String?, ascending ascending: Bool) -> Self convenience init(key key: String?, ascending ascending: Bool, selector selector: Selector?) class func withKey(_ key: String?, ascending ascending: Bool, selector selector: Selector?) -> Self init(key key: String?, ascending ascending: Bool) init(key key: String?, ascending ascending: Bool, selector selector: Selector?) init?(coder coder: NSCoder) var key: String? { get } var ascending: Bool { get } var selector: Selector? { get } func allowEvaluation() convenience init(key key: String?, ascending ascending: Bool, comparator cmptr: @escaping Foundation.Comparator) class func withKey(_ key: String?, ascending ascending: Bool, comparator cmptr: @escaping Foundation.Comparator) -> Self init(key key: String?, ascending ascending: Bool, comparator cmptr: @escaping Foundation.Comparator) var comparator: Foundation.Comparator { get } func compare(_ object1: Any, to object2: Any) -> ComparisonResult var reversedSortDescriptor: Any { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSSortDescriptor : CVarArg { } extension NSSortDescriptor : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | init(key key: String?, ascending ascending: Bool, comparator cmptr: Foundation.Comparator) |
To | init(key key: String?, ascending ascending: Bool, comparator cmptr: @escaping Foundation.Comparator) |
Modified Progress
Declaration | |
---|---|
From | class Progress : NSObject { class func current() -> Progress? init(totalUnitCount unitCount: Int64) class func withTotalUnitCount(_ unitCount: Int64) -> Progress class func discreteProgress(totalUnitCount unitCount: Int64) -> Progress init(totalUnitCount unitCount: Int64, parent parent: Progress, pendingUnitCount portionOfParentTotalUnitCount: Int64) class func withTotalUnitCount(_ unitCount: Int64, parent parent: Progress, pendingUnitCount portionOfParentTotalUnitCount: Int64) -> Progress init(parent parentProgressOrNil: Progress?, userInfo userInfoOrNil: [AnyHashable : Any]? = nil) func becomeCurrent(withPendingUnitCount unitCount: Int64) func resignCurrent() func addChild(_ child: Progress, withPendingUnitCount inUnitCount: Int64) var totalUnitCount: Int64 var completedUnitCount: Int64 var localizedDescription: String! var localizedAdditionalDescription: String! var isCancellable: Bool var isPausable: Bool var isCancelled: Bool { get } var isPaused: Bool { get } var cancellationHandler: (() -> Swift.Void)? var pausingHandler: (() -> Swift.Void)? var resumingHandler: (() -> Swift.Void)? func setUserInfoObject(_ objectOrNil: Any?, forKey key: ProgressUserInfoKey) var isIndeterminate: Bool { get } var fractionCompleted: Double { get } func cancel() func pause() func resume() var userInfo: [ProgressUserInfoKey : Any] { get } var kind: ProgressKind? func publish() func unpublish() class func addSubscriber(forFileURL url: URL, withPublishingHandler publishingHandler: Progress.PublishingHandler) -> Any class func removeSubscriber(_ subscriber: Any) var isOld: Bool { get } typealias UnpublishingHandler = () -> Swift.Void typealias PublishingHandler = (Progress) -> Progress.UnpublishingHandler? struct FileOperationKind : RawRepresentable, Equatable, Hashable, Comparable { init(_ rawValue: String) init(rawValue rawValue: String) } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension Progress : CVarArg { } extension Progress : Equatable, Hashable { var hashValue: Int { get } } extension Progress { typealias UnpublishingHandler = () -> Swift.Void typealias PublishingHandler = (Progress) -> Progress.UnpublishingHandler? struct FileOperationKind : RawRepresentable, Equatable, Hashable, Comparable { init(_ rawValue: String) init(rawValue rawValue: String) } } |
To | class Progress : NSObject { class func current() -> Progress? init(totalUnitCount unitCount: Int64) class func withTotalUnitCount(_ unitCount: Int64) -> Progress class func discreteProgress(totalUnitCount unitCount: Int64) -> Progress init(totalUnitCount unitCount: Int64, parent parent: Progress, pendingUnitCount portionOfParentTotalUnitCount: Int64) class func withTotalUnitCount(_ unitCount: Int64, parent parent: Progress, pendingUnitCount portionOfParentTotalUnitCount: Int64) -> Progress init(parent parentProgressOrNil: Progress?, userInfo userInfoOrNil: [AnyHashable : Any]? = nil) func becomeCurrent(withPendingUnitCount unitCount: Int64) func resignCurrent() func addChild(_ child: Progress, withPendingUnitCount inUnitCount: Int64) var totalUnitCount: Int64 var completedUnitCount: Int64 var localizedDescription: String! var localizedAdditionalDescription: String! var isCancellable: Bool var isPausable: Bool var isCancelled: Bool { get } var isPaused: Bool { get } var cancellationHandler: (() -> Swift.Void)? var pausingHandler: (() -> Swift.Void)? var resumingHandler: (() -> Swift.Void)? func setUserInfoObject(_ objectOrNil: Any?, forKey key: ProgressUserInfoKey) var isIndeterminate: Bool { get } var fractionCompleted: Double { get } func cancel() func pause() func resume() var userInfo: [ProgressUserInfoKey : Any] { get } var kind: ProgressKind? func publish() func unpublish() class func addSubscriber(forFileURL url: URL, withPublishingHandler publishingHandler: @escaping Progress.PublishingHandler) -> Any class func removeSubscriber(_ subscriber: Any) var isOld: Bool { get } typealias UnpublishingHandler = () -> Swift.Void typealias PublishingHandler = (Progress) -> Progress.UnpublishingHandler? struct FileOperationKind : RawRepresentable, Equatable, Hashable, Comparable { init(_ rawValue: String) init(rawValue rawValue: String) } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension Progress : CVarArg { } extension Progress : Equatable, Hashable { var hashValue: Int { get } } extension Progress { typealias UnpublishingHandler = () -> Swift.Void typealias PublishingHandler = (Progress) -> Progress.UnpublishingHandler? struct FileOperationKind : RawRepresentable, Equatable, Hashable, Comparable { init(_ rawValue: String) init(rawValue rawValue: String) } } |
Declaration | |
---|---|
From | class func addSubscriber(forFileURL url: URL, withPublishingHandler publishingHandler: Progress.PublishingHandler) -> Any |
To | class func addSubscriber(forFileURL url: URL, withPublishingHandler publishingHandler: @escaping Progress.PublishingHandler) -> Any |
Declaration | |
---|---|
From | func NSSetUncaughtExceptionHandler(_ _: (@escaping (NSException) -> Swift.Void)?) |
To | func NSSetUncaughtExceptionHandler(_ _: ((NSException) -> Swift.Void)?) |