Removed NSArray.generate() -> NSFastGenerator
Removed NSCocoaError [struct]
Removed NSCocoaError.CoderReadCorruptError
Removed NSCocoaError.CoderValueNotFoundError
Removed NSCocoaError.ExecutableArchitectureMismatchError
Removed NSCocoaError.ExecutableLinkError
Removed NSCocoaError.ExecutableLoadError
Removed NSCocoaError.ExecutableNotLoadableError
Removed NSCocoaError.ExecutableRuntimeMismatchError
Removed NSCocoaError.FeatureUnsupportedError
Removed NSCocoaError.FileLockingError
Removed NSCocoaError.FileManagerUnmountBusyError
Removed NSCocoaError.FileManagerUnmountUnknownError
Removed NSCocoaError.FileNoSuchFileError
Removed NSCocoaError.FileReadCorruptFileError
Removed NSCocoaError.FileReadInapplicableStringEncodingError
Removed NSCocoaError.FileReadInvalidFileNameError
Removed NSCocoaError.FileReadNoPermissionError
Removed NSCocoaError.FileReadNoSuchFileError
Removed NSCocoaError.FileReadTooLargeError
Removed NSCocoaError.FileReadUnknownError
Removed NSCocoaError.FileReadUnknownStringEncodingError
Removed NSCocoaError.FileReadUnsupportedSchemeError
Removed NSCocoaError.FileWriteFileExistsError
Removed NSCocoaError.FileWriteInapplicableStringEncodingError
Removed NSCocoaError.FileWriteInvalidFileNameError
Removed NSCocoaError.FileWriteNoPermissionError
Removed NSCocoaError.FileWriteOutOfSpaceError
Removed NSCocoaError.FileWriteUnknownError
Removed NSCocoaError.FileWriteUnsupportedSchemeError
Removed NSCocoaError.FileWriteVolumeReadOnlyError
Removed NSCocoaError.FormattingError
Removed NSCocoaError.init(rawValue: Int)
Removed NSCocoaError.isCoderError
Removed NSCocoaError.isExecutableError
Removed NSCocoaError.isFileError
Removed NSCocoaError.isFormattingError
Removed NSCocoaError.isPropertyListError
Removed NSCocoaError.isUbiquitousFileError
Removed NSCocoaError.isUserActivityError
Removed NSCocoaError.isValidationError
Removed NSCocoaError.isXPCConnectionError
Removed NSCocoaError.KeyValueValidationError
Removed NSCocoaError.PropertyListReadCorruptError
Removed NSCocoaError.PropertyListReadStreamError
Removed NSCocoaError.PropertyListReadUnknownVersionError
Removed NSCocoaError.PropertyListWriteInvalidError
Removed NSCocoaError.PropertyListWriteStreamError
Removed NSCocoaError.rawValue
Removed NSCocoaError.UbiquitousFileNotUploadedDueToQuotaError
Removed NSCocoaError.UbiquitousFileUbiquityServerNotAvailable
Removed NSCocoaError.UbiquitousFileUnavailableError
Removed NSCocoaError.UserActivityConnectionUnavailableError
Removed NSCocoaError.UserActivityHandoffFailedError
Removed NSCocoaError.UserActivityHandoffUserInfoTooLargeError
Removed NSCocoaError.UserActivityRemoteApplicationTimedOutError
Removed NSCocoaError.UserCancelledError
Removed NSCocoaError.XPCConnectionInterrupted
Removed NSCocoaError.XPCConnectionInvalid
Removed NSCocoaError.XPCConnectionReplyInvalid
Removed NSCoder.decodeObjectOfClass<DecodedObjectType : NSCoding where DecodedObjectType : NSObject>(_: DecodedObjectType.Type, forKey: String) -> DecodedObjectType?
Removed NSCoder.decodeObjectOfClasses(_: NSSet?, forKey: String) -> AnyObject?
Removed NSCoder.decodeTopLevelObjectForKey(_: String) throws -> AnyObject?
Removed NSCoder.decodeTopLevelObjectOfClass<DecodedObjectType : NSCoding where DecodedObjectType : NSObject>(_: DecodedObjectType.Type, forKey: String) throws -> DecodedObjectType?
Removed NSCoder.decodeTopLevelObjectOfClasses(_: NSSet?, forKey: String) throws -> AnyObject?
Removed NSDateFormatter.setDefaultFormatterBehavior(_: NSDateFormatterBehavior) [class]
Removed NSDecimal.init(_exponent: Int32, _length: UInt32, _isNegative: UInt32, _isCompact: UInt32, _reserved: UInt32, _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16))
Removed NSDecimalNumber.setDefaultBehavior(_: NSDecimalNumberBehaviors) [class]
Removed NSDictionary.generate() -> NSDictionary.Generator
Removed NSDictionary.Generator
Removed NSDictionary.Generator.next() -> (key: AnyObject, value: AnyObject)?
Removed NSEnumerator.generate() -> NSFastGenerator
Removed NSFastGenerator
Removed NSFastGenerator.init(_: NSFastEnumeration)
Removed NSFastGenerator.next() -> AnyObject?
Removed NSHashEnumerator.init(_pi: Int, _si: Int, _bs: UnsafeMutablePointer<Void>)
Removed NSHashTableCallBacks.init(hash: ((NSHashTable, UnsafePointer<Void>) -> Int)?, isEqual: ((NSHashTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)?, retain: ((NSHashTable, UnsafePointer<Void>) -> Void)?, release: ((NSHashTable, UnsafeMutablePointer<Void>) -> Void)?, describe: ((NSHashTable, UnsafePointer<Void>) -> String?)?)
Removed NSIndexSet.generate() -> NSIndexSetGenerator
Removed NSIndexSetGenerator [struct]
Removed NSIndexSetGenerator.next() -> Int?
Removed NSMapEnumerator.init(_pi: Int, _si: Int, _bs: UnsafeMutablePointer<Void>)
Removed NSMapTableKeyCallBacks.init(hash: ((NSMapTable, UnsafePointer<Void>) -> Int)?, isEqual: ((NSMapTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)?, retain: ((NSMapTable, UnsafePointer<Void>) -> Void)?, release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)?, describe: ((NSMapTable, UnsafePointer<Void>) -> String?)?, notAKeyMarker: UnsafePointer<Void>)
Removed NSMapTableValueCallBacks.init(retain: ((NSMapTable, UnsafePointer<Void>) -> Void)?, release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)?, describe: ((NSMapTable, UnsafePointer<Void>) -> String?)?)
Removed NSOrderedSet.generate() -> NSFastGenerator
Removed NSSecureCoding.supportsSecureCoding() -> Bool [class]
Removed NSSet.generate() -> NSFastGenerator
Removed NSString.init(format: NSString, locale: NSLocale?, _: CVarArgType)
Removed NSString.stringByAppendingFormat(_: NSString, _: CVarArgType) -> NSString
Removed NSTimeZone.setAbbreviationDictionary(_: [String : String]) [class]
Removed NSTimeZone.setDefaultTimeZone(_: NSTimeZone) [class]
Removed NSUndoManager.registerUndoWithTarget<TargetType : AnyObject>(_: TargetType, handler: (TargetType) -> Void)
Removed NSURL.init(fileReferenceLiteral: String)
Removed NSURLCache.setSharedURLCache(_: NSURLCache) [class]
Removed NSURLError [enum]
Removed NSURLError.BackgroundSessionInUseByAnotherProcess
Removed NSURLError.BackgroundSessionRequiresSharedContainer
Removed NSURLError.BackgroundSessionWasDisconnected
Removed NSURLError.BadServerResponse
Removed NSURLError.BadURL
Removed NSURLError.CallIsActive
Removed NSURLError.Cancelled
Removed NSURLError.CannotCloseFile
Removed NSURLError.CannotConnectToHost
Removed NSURLError.CannotCreateFile
Removed NSURLError.CannotDecodeContentData
Removed NSURLError.CannotDecodeRawData
Removed NSURLError.CannotFindHost
Removed NSURLError.CannotLoadFromNetwork
Removed NSURLError.CannotMoveFile
Removed NSURLError.CannotOpenFile
Removed NSURLError.CannotParseResponse
Removed NSURLError.CannotRemoveFile
Removed NSURLError.CannotWriteToFile
Removed NSURLError.ClientCertificateRejected
Removed NSURLError.ClientCertificateRequired
Removed NSURLError.DataNotAllowed
Removed NSURLError.DNSLookupFailed
Removed NSURLError.DownloadDecodingFailedMidStream
Removed NSURLError.DownloadDecodingFailedToComplete
Removed NSURLError.FileDoesNotExist
Removed NSURLError.FileIsDirectory
Removed NSURLError.HTTPTooManyRedirects
Removed NSURLError.InternationalRoamingOff
Removed NSURLError.NetworkConnectionLost
Removed NSURLError.NoPermissionsToReadFile
Removed NSURLError.NotConnectedToInternet
Removed NSURLError.RedirectToNonExistentLocation
Removed NSURLError.RequestBodyStreamExhausted
Removed NSURLError.ResourceUnavailable
Removed NSURLError.SecureConnectionFailed
Removed NSURLError.ServerCertificateHasBadDate
Removed NSURLError.ServerCertificateHasUnknownRoot
Removed NSURLError.ServerCertificateNotYetValid
Removed NSURLError.ServerCertificateUntrusted
Removed NSURLError.TimedOut
Removed NSURLError.Unknown
Removed NSURLError.UnsupportedURL
Removed NSURLError.UserAuthenticationRequired
Removed NSURLError.UserCancelledAuthentication
Removed NSURLError.ZeroByteResource
Removed String.availableStringEncodings() -> [NSStringEncoding] [static]
Removed String.canBeConvertedToEncoding(_: NSStringEncoding) -> Bool
Removed String.capitalizedString
Removed String.capitalizedStringWithLocale(_: NSLocale?) -> String
Removed String.caseInsensitiveCompare(_: String) -> NSComparisonResult
Removed String.commonPrefixWithString(_: String, options: NSStringCompareOptions) -> String
Removed String.compare(_: String, options: NSStringCompareOptions, range: Range<Index>?, locale: NSLocale?) -> NSComparisonResult
Removed String.completePathIntoString(_: UnsafeMutablePointer<String>, caseSensitive: Bool, matchesIntoArray: UnsafeMutablePointer<[String]>, filterTypes: [String]?) -> Int
Removed String.componentsSeparatedByCharactersInSet(_: NSCharacterSet) -> [String]
Removed String.componentsSeparatedByString(_: String) -> [String]
Removed String.containsString(_: String) -> Bool
Removed String.cStringUsingEncoding(_: NSStringEncoding) -> [CChar]?
Removed String.dataUsingEncoding(_: NSStringEncoding, allowLossyConversion: Bool) -> NSData?
Removed String.defaultCStringEncoding() -> NSStringEncoding [static]
Removed String.enumerateLines(_: (line: String, inout stop: Bool) -> ())
Removed String.enumerateLinguisticTagsInRange(_: Range<Index>, scheme: String, options: NSLinguisticTaggerOptions, orthography: NSOrthography?, _: (String, Range<Index>, Range<Index>, inout Bool) -> ())
Removed String.enumerateSubstringsInRange(_: Range<Index>, options: NSStringEnumerationOptions, _: (substring: String?, substringRange: Range<Index>, enclosingRange: Range<Index>, inout Bool) -> ())
Removed String.getBytes(_: [UInt8], maxLength: Int, usedLength: UnsafeMutablePointer<Int>, encoding: NSStringEncoding, options: NSStringEncodingConversionOptions, range: Range<Index>, remainingRange: UnsafeMutablePointer<Range<Index>>) -> Bool
Removed String.getCString(_: [CChar], maxLength: Int, encoding: NSStringEncoding) -> Bool
Removed String.getLineStart(_: UnsafeMutablePointer<Index>, end: UnsafeMutablePointer<Index>, contentsEnd: UnsafeMutablePointer<Index>, forRange: Range<Index>)
Removed String.getParagraphStart(_: UnsafeMutablePointer<Index>, end: UnsafeMutablePointer<Index>, contentsEnd: UnsafeMutablePointer<Index>, forRange: Range<Index>)
Removed String.init(bytes: S, encoding: NSStringEncoding)
Removed String.init(contentsOfFile: String, usedEncoding: UnsafeMutablePointer<NSStringEncoding>) throws
Removed String.init(contentsOfURL: NSURL, encoding: NSStringEncoding) throws
Removed String.init(contentsOfURL: NSURL, usedEncoding: UnsafeMutablePointer<NSStringEncoding>) throws
Removed String.init(CString: UnsafePointer<CChar>, encoding: NSStringEncoding)
Removed String.init(format: String, locale: NSLocale?, _: CVarArgType)
Removed String.init(format: String, locale: NSLocale?, arguments: [CVarArgType])
Removed String.init(UTF8String: UnsafePointer<CChar>)
Removed String.lengthOfBytesUsingEncoding(_: NSStringEncoding) -> Int
Removed String.lineRangeForRange(_: Range<Index>) -> Range<Index>
Removed String.linguisticTagsInRange(_: Range<Index>, scheme: String, options: NSLinguisticTaggerOptions, orthography: NSOrthography?, tokenRanges: UnsafeMutablePointer<[Range<Index>]>) -> [String]
Removed String.localizedCapitalizedString
Removed String.localizedCaseInsensitiveCompare(_: String) -> NSComparisonResult
Removed String.localizedCaseInsensitiveContainsString(_: String) -> Bool
Removed String.localizedCompare(_: String) -> NSComparisonResult
Removed String.localizedLowercaseString
Removed String.localizedNameOfStringEncoding(_: NSStringEncoding) -> String [static]
Removed String.localizedStandardCompare(_: String) -> NSComparisonResult
Removed String.localizedStandardContainsString(_: String) -> Bool
Removed String.localizedStandardRangeOfString(_: String) -> Range<Index>?
Removed String.localizedUppercaseString
Removed String.lowercaseStringWithLocale(_: NSLocale?) -> String
Removed String.maximumLengthOfBytesUsingEncoding(_: NSStringEncoding) -> Int
Removed String.paragraphRangeForRange(_: Range<Index>) -> Range<Index>
Removed String.propertyList() -> AnyObject
Removed String.rangeOfCharacterFromSet(_: NSCharacterSet, options: NSStringCompareOptions, range: Range<Index>?) -> Range<Index>?
Removed String.rangeOfComposedCharacterSequenceAtIndex(_: Index) -> Range<Index>
Removed String.rangeOfComposedCharacterSequencesForRange(_: Range<Index>) -> Range<Index>
Removed String.rangeOfString(_: String, options: NSStringCompareOptions, range: Range<Index>?, locale: NSLocale?) -> Range<Index>?
Removed String.stringByAddingPercentEncodingWithAllowedCharacters(_: NSCharacterSet) -> String?
Removed String.stringByAddingPercentEscapesUsingEncoding(_: NSStringEncoding) -> String?
Removed String.stringByAppendingFormat(_: String, _: CVarArgType) -> String
Removed String.stringByAppendingString(_: String) -> String
Removed String.stringByApplyingTransform(_: String, reverse: Bool) -> String?
Removed String.stringByFoldingWithOptions(_: NSStringCompareOptions, locale: NSLocale?) -> String
Removed String.stringByPaddingToLength(_: Int, withString: String, startingAtIndex: Int) -> String
Removed String.stringByRemovingPercentEncoding
Removed String.stringByReplacingCharactersInRange(_: Range<Index>, withString: String) -> String
Removed String.stringByReplacingOccurrencesOfString(_: String, withString: String, options: NSStringCompareOptions, range: Range<Index>?) -> String
Removed String.stringByReplacingPercentEscapesUsingEncoding(_: NSStringEncoding) -> String?
Removed String.stringByTrimmingCharactersInSet(_: NSCharacterSet) -> String
Removed String.substringFromIndex(_: Index) -> String
Removed String.substringToIndex(_: Index) -> String
Removed String.substringWithRange(_: Range<Index>) -> String
Removed String.uppercaseStringWithLocale(_: NSLocale?) -> String
Removed String.writeToFile(_: String, atomically: Bool, encoding: NSStringEncoding) throws
Removed String.writeToURL(_: NSURL, atomically: Bool, encoding: NSStringEncoding) throws
Removed ==(_: T, _: T) -> Bool
Removed ==(_: T, _: T) -> Bool
Removed NSASCIIStringEncoding
Removed NSIndexSetGenerator.Element
Removed NSISO2022JPStringEncoding
Removed NSISOLatin1StringEncoding
Removed NSISOLatin2StringEncoding
Removed NSJapaneseEUCStringEncoding
Removed NSMacOSRomanStringEncoding
Removed NSNEXTSTEPStringEncoding
Removed NSNonLossyASCIIStringEncoding
Removed NSShiftJISStringEncoding
Removed NSStringEncoding
Removed NSSymbolStringEncoding
Removed NSUnicodeStringEncoding
Removed NSUTF16BigEndianStringEncoding
Removed NSUTF16LittleEndianStringEncoding
Removed NSUTF16StringEncoding
Removed NSUTF32BigEndianStringEncoding
Removed NSUTF32LittleEndianStringEncoding
Removed NSUTF32StringEncoding
Removed NSUTF8StringEncoding
Removed NSWindowsCP1250StringEncoding
Removed NSWindowsCP1251StringEncoding
Removed NSWindowsCP1252StringEncoding
Removed NSWindowsCP1253StringEncoding
Removed NSWindowsCP1254StringEncoding
Removed ~=(_: NSCocoaError, _: ErrorType) -> Bool
Added CharacterSet.contains(_: UnicodeScalar) -> Bool
Added CharacterSet.init<S : Sequence where S.Iterator.Element == UnicodeScalar>(_: S)
Added CharacterSet.init(arrayLiteral: UnicodeScalar)
Added CharacterSet.init(charactersIn: Range<UnicodeScalar>)
Added CharacterSet.init(charactersIn: ClosedRange<UnicodeScalar>)
Added CharacterSet.insert(_: UnicodeScalar) -> (inserted: Bool, memberAfterInsert: UnicodeScalar)
Added CharacterSet.insert(charactersIn: ClosedRange<UnicodeScalar>)
Added CharacterSet.insert(charactersIn: Range<UnicodeScalar>)
Added CharacterSet.remove(_: UnicodeScalar) -> UnicodeScalar?
Added CharacterSet.remove(charactersIn: ClosedRange<UnicodeScalar>)
Added CharacterSet.remove(charactersIn: Range<UnicodeScalar>)
Added CharacterSet.subtract(_: CharacterSet)
Added CharacterSet.update(with: UnicodeScalar) -> UnicodeScalar?
Added CustomNSError.errorCode
Added CustomNSError.errorDomain
Added CustomNSError.errorUserInfo
Added Data.append<S : Sequence where S.Iterator.Element == UInt8>(contentsOf: S)
Added Data.count
Added Data.count
Added Data.distance(from: Int, to: Int) -> Int
Added Data.elementsEqual<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == UInt8>(_: OtherSequence) -> Bool
Added Data.elementsEqual<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == UInt8>(_: OtherSequence, by: (UInt8, UInt8) throws -> Bool) rethrows -> Bool
Added Data.flatMap<SegmentOfResult : Sequence>(_: (UInt8) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Iterator.Element]
Added Data.flatMap<ElementOfResult>(_: (UInt8) throws -> ElementOfResult?) rethrows -> [ElementOfResult]
Added Data.formIndex(_: Int, offsetBy: Int)
Added Data.formIndex(_: Int, offsetBy: Int, limitedBy: Int) -> Bool
Added Data.formIndex(after: Int)
Added Data.formIndex(before: Int)
Added Data.index(_: Int, offsetBy: Int) -> Int
Added Data.index(_: Int, offsetBy: Int, limitedBy: Int) -> Int?
Added Data.index(of: UInt8) -> Int?
Added Data.index(where: (UInt8) throws -> Bool) rethrows -> Int?
Added Data.indices
Added Data.init<S : Sequence where S.Iterator.Element == UInt8>(_: S)
Added Data.init(repeating: UInt8, count: Int)
Added Data.insert<C : Collection where C.Iterator.Element == UInt8>(contentsOf: C, at: Int)
Added Data.lazy
Added Data.lazy
Added Data.lexicographicallyPrecedes<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == UInt8>(_: OtherSequence) -> Bool
Added Data.lexicographicallyPrecedes<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == UInt8>(_: OtherSequence, by: (UInt8, UInt8) throws -> Bool) rethrows -> Bool
Added Data.map<T>(_: (UInt8) throws -> T) rethrows -> [T]
Added Data.map<T>(_: (UInt8) throws -> T) rethrows -> [T]
Added Data.partition(by: (UInt8) throws -> Bool) rethrows -> Int
Added Data.partition(by: (UInt8) throws -> Bool) rethrows -> Int
Added Data.removeFirst() -> UInt8
Added Data.removeFirst(_: Int)
Added Data.removeLast() -> UInt8
Added Data.removeLast(_: Int)
Added Data.removeSubrange(_: CountableRange<Int>)
Added Data.removeSubrange(_: ClosedRange<Int>)
Added Data.removeSubrange(_: CountableClosedRange<Int>)
Added Data.replaceSubrange<C where C : Collection, C.Iterator.Element == UInt8>(_: ClosedRange<Int>, with: C)
Added Data.replaceSubrange<C where C : Collection, C.Iterator.Element == UInt8>(_: CountableClosedRange<Int>, with: C)
Added Data.replaceSubrange<C where C : Collection, C.Iterator.Element == UInt8>(_: CountableRange<Int>, with: C)
Added Data.starts<PossiblePrefix where PossiblePrefix : Sequence, PossiblePrefix.Iterator.Element == UInt8>(with: PossiblePrefix) -> Bool
Added Data.starts<PossiblePrefix where PossiblePrefix : Sequence, PossiblePrefix.Iterator.Element == UInt8>(with: PossiblePrefix, by: (UInt8, UInt8) throws -> Bool) rethrows -> Bool
Added Data.subscript(_: CountableRange<Int>) -> MutableRandomAccessSlice<Data>
Added Data.subscript(_: Range<Int>) -> MutableSlice<Data>
Added Data.subscript(_: ClosedRange<Int>) -> MutableRandomAccessSlice<Data>
Added Data.subscript(_: ClosedRange<Int>) -> MutableRandomAccessSlice<Data>
Added Data.subscript(_: CountableRange<Int>) -> MutableRandomAccessSlice<Data>
Added Data.subscript(_: CountableClosedRange<Int>) -> MutableRandomAccessSlice<Data>
Added Data.subscript(_: CountableClosedRange<Int>) -> MutableRandomAccessSlice<Data>
Added Data.underestimatedCount
Added Data.underestimatedCount
Added DateComponents.init(calendar: Calendar?, timeZone: TimeZone?, era: Int?, year: Int?, month: Int?, day: Int?, hour: Int?, minute: Int?, second: Int?, nanosecond: Int?, weekday: Int?, weekdayOrdinal: Int?, quarter: Int?, weekOfMonth: Int?, weekOfYear: Int?, yearForWeekOfYear: Int?)
Added Decimal.abs(_: Decimal) -> Decimal [static]
Added Decimal.add(_: Decimal)
Added Decimal.divide(by: Decimal)
Added Decimal.init(_exponent: Int32, _length: UInt32, _isNegative: UInt32, _isCompact: UInt32, _reserved: UInt32, _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16))
Added Decimal.multiply(by: Decimal)
Added Decimal.subtract(_: Decimal)
Added IndexPath.contains(_: Int) -> Bool
Added IndexPath.contains(where: (Int) throws -> Bool) rethrows -> Bool
Added IndexPath.count
Added IndexPath.count
Added IndexPath.distance(from: Int, to: Int) -> Int
Added IndexPath.elementsEqual<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence) -> Bool
Added IndexPath.elementsEqual<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence, by: (Int, Int) throws -> Bool) rethrows -> Bool
Added IndexPath.filter(_: (Int) throws -> Bool) rethrows -> [Int]
Added IndexPath.first
Added IndexPath.first(where: (Int) throws -> Bool) rethrows -> Int?
Added IndexPath.flatMap<SegmentOfResult : Sequence>(_: (Int) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Iterator.Element]
Added IndexPath.flatMap<ElementOfResult>(_: (Int) throws -> ElementOfResult?) rethrows -> [ElementOfResult]
Added IndexPath.forEach(_: (Int) throws -> Void) rethrows
Added IndexPath.formIndex(_: Int, offsetBy: Int)
Added IndexPath.formIndex(_: Int, offsetBy: Int, limitedBy: Int) -> Bool
Added IndexPath.formIndex(after: Int)
Added IndexPath.formIndex(before: Int)
Added IndexPath.index(_: Int, offsetBy: Int) -> Int
Added IndexPath.index(_: Int, offsetBy: Int, limitedBy: Int) -> Int?
Added IndexPath.index(of: Int) -> Int?
Added IndexPath.index(where: (Int) throws -> Bool) rethrows -> Int?
Added IndexPath.indices
Added IndexPath.last
Added IndexPath.lazy
Added IndexPath.lazy
Added IndexPath.lexicographicallyPrecedes<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence) -> Bool
Added IndexPath.lexicographicallyPrecedes<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence, by: (Int, Int) throws -> Bool) rethrows -> Bool
Added IndexPath.map<T>(_: (Int) throws -> T) rethrows -> [T]
Added IndexPath.map<T>(_: (Int) throws -> T) rethrows -> [T]
Added IndexPath.max(by: (Int, Int) throws -> Bool) rethrows -> Int?
Added IndexPath.min(by: (Int, Int) throws -> Bool) rethrows -> Int?
Added IndexPath.partition(by: (Int) throws -> Bool) rethrows -> Int
Added IndexPath.partition(by: (Int) throws -> Bool) rethrows -> Int
Added IndexPath.reduce<Result>(_: Result, _: (Result, Int) throws -> Result) rethrows -> Result
Added IndexPath.sort(by: (Int, Int) -> Bool)
Added IndexPath.sorted(by: (Int, Int) -> Bool) -> [Int]
Added IndexPath.split(maxSplits: Int, omittingEmptySubsequences: Bool, whereSeparator: (Int) throws -> Bool) rethrows -> [IndexPath]
Added IndexPath.split(separator: Int, maxSplits: Int, omittingEmptySubsequences: Bool) -> [IndexPath]
Added IndexPath.starts<PossiblePrefix where PossiblePrefix : Sequence, PossiblePrefix.Iterator.Element == Int>(with: PossiblePrefix) -> Bool
Added IndexPath.starts<PossiblePrefix where PossiblePrefix : Sequence, PossiblePrefix.Iterator.Element == Int>(with: PossiblePrefix, by: (Int, Int) throws -> Bool) rethrows -> Bool
Added IndexPath.subscript(_: CountableClosedRange<Int>) -> IndexPath
Added IndexPath.subscript(_: CountableRange<Int>) -> IndexPath
Added IndexPath.subscript(_: CountableClosedRange<Int>) -> IndexPath
Added IndexPath.subscript(_: ClosedRange<Int>) -> IndexPath
Added IndexPath.subscript(_: ClosedRange<Int>) -> IndexPath
Added IndexPath.subscript(_: Range<Int>) -> MutableSlice<IndexPath>
Added IndexPath.subscript(_: CountableRange<Int>) -> IndexPath
Added IndexPath.underestimatedCount
Added IndexPath.underestimatedCount
Added IndexSet.contains(integersIn: CountableRange<IndexSet.Element>) -> Bool
Added IndexSet.contains(integersIn: CountableClosedRange<IndexSet.Element>) -> Bool
Added IndexSet.contains(integersIn: ClosedRange<IndexSet.Element>) -> Bool
Added IndexSet.count
Added IndexSet.count
Added IndexSet.count(in: ClosedRange<IndexSet.Element>) -> Int
Added IndexSet.count(in: CountableClosedRange<IndexSet.Element>) -> Int
Added IndexSet.count(in: CountableRange<IndexSet.Element>) -> Int
Added IndexSet.distance(from: IndexSet.Index, to: IndexSet.Index) -> Int
Added IndexSet.elementsEqual<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence) -> Bool
Added IndexSet.elementsEqual<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence, by: (Int, Int) throws -> Bool) rethrows -> Bool
Added IndexSet.filteredIndexSet(in: CountableClosedRange<IndexSet.Element>, includeInteger: (IndexSet.Element) throws -> Bool) rethrows -> IndexSet
Added IndexSet.filteredIndexSet(in: CountableRange<IndexSet.Element>, includeInteger: (IndexSet.Element) throws -> Bool) rethrows -> IndexSet
Added IndexSet.flatMap<SegmentOfResult : Sequence>(_: (Int) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Iterator.Element]
Added IndexSet.flatMap<ElementOfResult>(_: (Int) throws -> ElementOfResult?) rethrows -> [ElementOfResult]
Added IndexSet.formIndex(_: IndexSet.Index, offsetBy: Int)
Added IndexSet.formIndex(_: IndexSet.Index, offsetBy: Int, limitedBy: IndexSet.Index) -> Bool
Added IndexSet.index(_: IndexSet.Index, offsetBy: Int) -> IndexSet.Index
Added IndexSet.index(_: IndexSet.Index, offsetBy: Int, limitedBy: IndexSet.Index) -> IndexSet.Index?
Added IndexSet.index(of: Int) -> IndexSet.Index?
Added IndexSet.index(where: (Int) throws -> Bool) rethrows -> IndexSet.Index?
Added IndexSet.indexRange(in: CountableClosedRange<IndexSet.Element>) -> Range<IndexSet.Index>
Added IndexSet.indexRange(in: ClosedRange<IndexSet.Element>) -> Range<IndexSet.Index>
Added IndexSet.indexRange(in: CountableRange<IndexSet.Element>) -> Range<IndexSet.Index>
Added IndexSet.indices
Added IndexSet.init<S : Sequence where S.Iterator.Element == Int>(_: S)
Added IndexSet.init(integersIn: ClosedRange<IndexSet.Element>)
Added IndexSet.init(integersIn: CountableClosedRange<IndexSet.Element>)
Added IndexSet.init(integersIn: CountableRange<IndexSet.Element>)
Added IndexSet.insert(integersIn: CountableClosedRange<IndexSet.Element>)
Added IndexSet.insert(integersIn: CountableRange<IndexSet.Element>)
Added IndexSet.insert(integersIn: ClosedRange<IndexSet.Element>)
Added IndexSet.intersects(integersIn: CountableClosedRange<IndexSet.Element>) -> Bool
Added IndexSet.intersects(integersIn: ClosedRange<IndexSet.Element>) -> Bool
Added IndexSet.intersects(integersIn: CountableRange<IndexSet.Element>) -> Bool
Added IndexSet.isEmpty
Added IndexSet.isEmpty
Added IndexSet.isEmpty
Added IndexSet.lazy
Added IndexSet.lexicographicallyPrecedes<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence) -> Bool
Added IndexSet.lexicographicallyPrecedes<OtherSequence where OtherSequence : Sequence, OtherSequence.Iterator.Element == Int>(_: OtherSequence, by: (Int, Int) throws -> Bool) rethrows -> Bool
Added IndexSet.map<T>(_: (Int) throws -> T) rethrows -> [T]
Added IndexSet.map<T>(_: (Int) throws -> T) rethrows -> [T]
Added IndexSet.rangeView(of: ClosedRange<IndexSet.Element>) -> IndexSet.RangeView
Added IndexSet.rangeView(of: CountableClosedRange<IndexSet.Element>) -> IndexSet.RangeView
Added IndexSet.rangeView(of: CountableRange<IndexSet.Element>) -> IndexSet.RangeView
Added IndexSet.remove(integersIn: CountableClosedRange<IndexSet.Element>)
Added IndexSet.remove(integersIn: CountableRange<IndexSet.Element>)
Added IndexSet.starts<PossiblePrefix where PossiblePrefix : Sequence, PossiblePrefix.Iterator.Element == Int>(with: PossiblePrefix) -> Bool
Added IndexSet.starts<PossiblePrefix where PossiblePrefix : Sequence, PossiblePrefix.Iterator.Element == Int>(with: PossiblePrefix, by: (Int, Int) throws -> Bool) rethrows -> Bool
Added IndexSet.subscript(_: ClosedRange<IndexSet.Index>) -> BidirectionalSlice<IndexSet>
Added IndexSet.subscript(_: Range<IndexSet.Index>) -> BidirectionalSlice<IndexSet>
Added IndexSet.subscript(_: Range<IndexSet.Index>) -> BidirectionalSlice<IndexSet>
Added IndexSet.underestimatedCount
Added IndexSet.underestimatedCount
Added IndexSet.RangeView.contains(where: (CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> Bool
Added IndexSet.RangeView.distance(from: Int, to: Int) -> Int
Added IndexSet.RangeView.elementsEqual(_: OtherSequence) -> Bool
Added IndexSet.RangeView.elementsEqual(_: OtherSequence, by: (CountableRange<IndexSet.Element>, CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> Bool
Added IndexSet.RangeView.filter(_: (CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> [CountableRange<IndexSet.Element>]
Added IndexSet.RangeView.first(where: (CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> CountableRange<IndexSet.Element>?
Added IndexSet.RangeView.flatMap<SegmentOfResult : Sequence>(_: (CountableRange<IndexSet.Element>) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Iterator.Element]
Added IndexSet.RangeView.flatMap<ElementOfResult>(_: (CountableRange<IndexSet.Element>) throws -> ElementOfResult?) rethrows -> [ElementOfResult]
Added IndexSet.RangeView.forEach(_: (CountableRange<IndexSet.Element>) throws -> Void) rethrows
Added IndexSet.RangeView.formIndex(_: Int, offsetBy: Int)
Added IndexSet.RangeView.formIndex(_: Int, offsetBy: Int, limitedBy: Int) -> Bool
Added IndexSet.RangeView.formIndex(after: Int)
Added IndexSet.RangeView.formIndex(before: Int)
Added IndexSet.RangeView.index(_: Int, offsetBy: Int) -> Int
Added IndexSet.RangeView.index(_: Int, offsetBy: Int, limitedBy: Int) -> Int?
Added IndexSet.RangeView.index(of: CountableRange<IndexSet.Element>) -> Int?
Added IndexSet.RangeView.index(where: (CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> Int?
Added IndexSet.RangeView.indices
Added IndexSet.RangeView.lazy
Added IndexSet.RangeView.lexicographicallyPrecedes(_: OtherSequence, by: (CountableRange<IndexSet.Element>, CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> Bool
Added IndexSet.RangeView.map<T>(_: (CountableRange<IndexSet.Element>) throws -> T) rethrows -> [T]
Added IndexSet.RangeView.map<T>(_: (CountableRange<IndexSet.Element>) throws -> T) rethrows -> [T]
Added IndexSet.RangeView.max(by: (CountableRange<IndexSet.Element>, CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> CountableRange<IndexSet.Element>?
Added IndexSet.RangeView.min(by: (CountableRange<IndexSet.Element>, CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> CountableRange<IndexSet.Element>?
Added IndexSet.RangeView.reduce<Result>(_: Result, _: (Result, CountableRange<IndexSet.Element>) throws -> Result) rethrows -> Result
Added IndexSet.RangeView.sorted(by: (CountableRange<IndexSet.Element>, CountableRange<IndexSet.Element>) -> Bool) -> [CountableRange<IndexSet.Element>]
Added IndexSet.RangeView.split(maxSplits: Int, omittingEmptySubsequences: Bool, whereSeparator: (CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> [BidirectionalSlice<IndexSet.RangeView>]
Added IndexSet.RangeView.starts(with: PossiblePrefix) -> Bool
Added IndexSet.RangeView.starts(with: PossiblePrefix, by: (CountableRange<IndexSet.Element>, CountableRange<IndexSet.Element>) throws -> Bool) rethrows -> Bool
Added IndexSet.RangeView.subscript(_: CountableClosedRange<Int>) -> BidirectionalSlice<IndexSet.RangeView>
Added IndexSet.RangeView.subscript(_: ClosedRange<Int>) -> BidirectionalSlice<IndexSet.RangeView>
Added IndexSet.RangeView.subscript(_: Range<Int>) -> BidirectionalSlice<IndexSet.RangeView>
Added IndexSet.RangeView.subscript(_: CountableRange<Int>) -> BidirectionalSlice<IndexSet.RangeView>
Added IndexSet.RangeView.underestimatedCount
Added IndexSet.RangeView.underestimatedCount
Added LocalizedError.errorDescription
Added LocalizedError.errorDescription
Added LocalizedError.failureReason
Added LocalizedError.failureReason
Added LocalizedError.helpAnchor
Added LocalizedError.helpAnchor
Added LocalizedError.recoverySuggestion
Added LocalizedError.recoverySuggestion
Added NSFastEnumerationIterator
Added NSFastEnumerationIterator.init(_: NSFastEnumeration)
Added NSFastEnumerationIterator.next() -> Any?
Added NSHashEnumerator.init(_pi: Int, _si: Int, _bs: UnsafeMutableRawPointer?)
Added 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?)?)
Added NSMapEnumerator.init(_pi: Int, _si: Int, _bs: UnsafeMutableRawPointer?)
Added 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?)
Added NSMapTableValueCallBacks.init(retain: ( (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release: ( (NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe: ( (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?)
Added NSRange.customMirror
Added NSRange.customPlaygroundQuickLook
Added RecoverableError.attemptRecovery(optionIndex: Int, resultHandler: (Bool) -> Swift.Void)
Added RecoverableError.attemptRecovery(optionIndex: Int, resultHandler: (Bool) -> Swift.Void)
Added String.addingPercentEncoding(withAllowedCharacters: CharacterSet) -> String?
Added String.addingPercentEscapes(using: String.Encoding) -> String?
Added String.appending(_: String) -> String
Added String.appendingFormat(_: String, _: CVarArg) -> String
Added String.applyingTransform(_: StringTransform, reverse: Bool) -> String?
Added String.canBeConverted(to: String.Encoding) -> Bool
Added String.capitalized
Added String.capitalized(with: Locale?) -> String
Added String.caseInsensitiveCompare(_: String) -> ComparisonResult
Added String.commonPrefix(with: String, options: String.CompareOptions) -> String
Added String.compare(_: String, options: String.CompareOptions, range: Range<String.Index>?, locale: Locale?) -> ComparisonResult
Added String.completePath(into: UnsafeMutablePointer<String>?, caseSensitive: Bool, matchesInto: UnsafeMutablePointer<[String]>?, filterTypes: [String]?) -> Int
Added String.components(separatedBy: CharacterSet) -> [String]
Added String.components(separatedBy: String) -> [String]
Added String.contains(_: String) -> Bool
Added String.cString(using: String.Encoding) -> [CChar]?
Added String.data(using: String.Encoding, allowLossyConversion: Bool) -> Data?
Added String.enumerateLines(invoking: (String, inout Bool) -> ())
Added String.enumerateLinguisticTags(in: Range<String.Index>, scheme: String, options: NSLinguisticTagger.Options, orthography: NSOrthography?, invoking: (String, Range<String.Index>, Range<String.Index>, inout Bool) -> ())
Added String.enumerateSubstrings(in: Range<String.Index>, options: String.EnumerationOptions, _: (String?, Range<String.Index>, Range<String.Index>, inout Bool) -> ())
Added String.folding(options: String.CompareOptions, locale: Locale?) -> String
Added String.getBytes(_: [UInt8], maxLength: Int, usedLength: UnsafeMutablePointer<Int>, encoding: String.Encoding, options: String.EncodingConversionOptions, range: Range<String.Index>, remaining: UnsafeMutablePointer<Range<String.Index>>) -> Bool
Added String.getCString(_: [CChar], maxLength: Int, encoding: String.Encoding) -> Bool
Added String.getLineStart(_: UnsafeMutablePointer<String.Index>, end: UnsafeMutablePointer<String.Index>, contentsEnd: UnsafeMutablePointer<String.Index>, for: Range<String.Index>)
Added String.getParagraphStart(_: UnsafeMutablePointer<String.Index>, end: UnsafeMutablePointer<String.Index>, contentsEnd: UnsafeMutablePointer<String.Index>, for: Range<String.Index>)
Added String.lengthOfBytes(using: String.Encoding) -> Int
Added String.lineRange(for: Range<String.Index>) -> Range<String.Index>
Added String.linguisticTags(in: Range<String.Index>, scheme: String, options: NSLinguisticTagger.Options, orthography: NSOrthography?, tokenRanges: UnsafeMutablePointer<[Range<String.Index>]>?) -> [String]
Added String.localizedCapitalized
Added String.localizedCaseInsensitiveCompare(_: String) -> ComparisonResult
Added String.localizedCaseInsensitiveContains(_: String) -> Bool
Added String.localizedCompare(_: String) -> ComparisonResult
Added String.localizedLowercase
Added String.localizedStandardCompare(_: String) -> ComparisonResult
Added String.localizedStandardContains(_: String) -> Bool
Added String.localizedStandardRange(of: String) -> Range<String.Index>?
Added String.localizedUppercase
Added String.lowercased(with: Locale?) -> String
Added String.maximumLengthOfBytes(using: String.Encoding) -> Int
Added String.padding(toLength: Int, withPad: String, startingAt: Int) -> String
Added String.paragraphRange(for: Range<String.Index>) -> Range<String.Index>
Added String.propertyList() -> Any
Added String.range(of: String, options: String.CompareOptions, range: Range<String.Index>?, locale: Locale?) -> Range<String.Index>?
Added String.rangeOfCharacter(from: CharacterSet, options: String.CompareOptions, range: Range<String.Index>?) -> Range<String.Index>?
Added String.rangeOfComposedCharacterSequence(at: String.Index) -> Range<String.Index>
Added String.rangeOfComposedCharacterSequences(for: Range<String.Index>) -> Range<String.Index>
Added String.removingPercentEncoding
Added String.replacingCharacters(in: Range<String.Index>, with: String) -> String
Added String.replacingOccurrences(of: String, with: String, options: String.CompareOptions, range: Range<String.Index>?) -> String
Added String.replacingPercentEscapes(using: String.Encoding) -> String?
Added String.substring(from: String.Index) -> String
Added String.substring(to: String.Index) -> String
Added String.substring(with: Range<String.Index>) -> String
Added String.trimmingCharacters(in: CharacterSet) -> String
Added String.uppercased(with: Locale?) -> String
Added String.write(to: URL, atomically: Bool, encoding: String.Encoding) throws
Added String.write(toFile: String, atomically: Bool, encoding: String.Encoding) throws
Added String.UTF16View.Index.advanced(by: Int) -> String.UTF16View.Index
Added String.UTF16View.Index.distance(to: String.UTF16View.Index) -> Int
Added String.UTF16View.Index.init(_: Int)
Added URLError.Code [enum]
Added URLError.Code.badServerResponse
Added URLError.Code.badURL
Added URLError.Code.callIsActive
Added URLError.Code.cancelled
Added URLError.Code.cannotCloseFile
Added URLError.Code.cannotConnectToHost
Added URLError.Code.cannotCreateFile
Added URLError.Code.cannotDecodeContentData
Added URLError.Code.cannotDecodeRawData
Added URLError.Code.cannotFindHost
Added URLError.Code.cannotLoadFromNetwork
Added URLError.Code.cannotMoveFile
Added URLError.Code.cannotOpenFile
Added URLError.Code.cannotParseResponse
Added URLError.Code.cannotRemoveFile
Added URLError.Code.cannotWriteToFile
Added URLError.Code.clientCertificateRejected
Added URLError.Code.clientCertificateRequired
Added URLError.Code.dataNotAllowed
Added URLError.Code.dnsLookupFailed
Added URLError.Code.downloadDecodingFailedMidStream
Added URLError.Code.downloadDecodingFailedToComplete
Added URLError.Code.fileDoesNotExist
Added URLError.Code.fileIsDirectory
Added URLError.Code.httpTooManyRedirects
Added URLError.Code.internationalRoamingOff
Added URLError.Code.networkConnectionLost
Added URLError.Code.noPermissionsToReadFile
Added URLError.Code.notConnectedToInternet
Added URLError.Code.redirectToNonExistentLocation
Added URLError.Code.requestBodyStreamExhausted
Added URLError.Code.resourceUnavailable
Added URLError.Code.secureConnectionFailed
Added URLError.Code.serverCertificateHasBadDate
Added URLError.Code.serverCertificateHasUnknownRoot
Added URLError.Code.serverCertificateNotYetValid
Added URLError.Code.serverCertificateUntrusted
Added URLError.Code.timedOut
Added URLError.Code.unknown
Added URLError.Code.unsupportedURL
Added URLError.Code.userAuthenticationRequired
Added URLError.Code.userCancelledAuthentication
Added URLError.Code.zeroByteResource
Added URLThumbnailSizeKey [struct]
Added URLThumbnailSizeKey.hashValue
Added URLThumbnailSizeKey.init(rawValue: URLThumbnailSizeKey.RawValue)
Added URLThumbnailSizeKey.none
Added URLThumbnailSizeKey.rawValue
Added +(_: Measurement<UnitType>, _: Measurement<UnitType>) -> Measurement<UnitType>
Added -(_: Measurement<UnitType>, _: Measurement<UnitType>) -> Measurement<UnitType>
Added <=(_: IndexPath, _: IndexPath) -> Bool
Added <=(_: IndexSet.Index, _: IndexSet.Index) -> Bool
Added >(_: IndexSet.Index, _: IndexSet.Index) -> Bool
Added >(_: Date, _: Date) -> Bool
Added >(_: IndexPath, _: IndexPath) -> Bool
Added >=(_: IndexSet.Index, _: IndexSet.Index) -> Bool
Added >=(_: IndexPath, _: IndexPath) -> Bool
Added URLThumbnailSizeKey.RawValue
| Declaration | Protocols |
From | struct NSAlignmentOptions : OptionSetType {
init(rawValue rawValue: UInt64)
static var AlignMinXInward: NSAlignmentOptions { get }
static var AlignMinYInward: NSAlignmentOptions { get }
static var AlignMaxXInward: NSAlignmentOptions { get }
static var AlignMaxYInward: NSAlignmentOptions { get }
static var AlignWidthInward: NSAlignmentOptions { get }
static var AlignHeightInward: NSAlignmentOptions { get }
static var AlignMinXOutward: NSAlignmentOptions { get }
static var AlignMinYOutward: NSAlignmentOptions { get }
static var AlignMaxXOutward: NSAlignmentOptions { get }
static var AlignMaxYOutward: NSAlignmentOptions { get }
static var AlignWidthOutward: NSAlignmentOptions { get }
static var AlignHeightOutward: NSAlignmentOptions { get }
static var AlignMinXNearest: NSAlignmentOptions { get }
static var AlignMinYNearest: NSAlignmentOptions { get }
static var AlignMaxXNearest: NSAlignmentOptions { get }
static var AlignMaxYNearest: NSAlignmentOptions { get }
static var AlignWidthNearest: NSAlignmentOptions { get }
static var AlignHeightNearest: NSAlignmentOptions { get }
static var AlignRectFlipped: NSAlignmentOptions { get }
static var AlignAllEdgesInward: NSAlignmentOptions { get }
static var AlignAllEdgesOutward: NSAlignmentOptions { get }
static var AlignAllEdgesNearest: NSAlignmentOptions { get }
} | OptionSetType |
To | struct AlignmentOptions : OptionSet {
init(rawValue rawValue: UInt64)
static var alignMinXInward: AlignmentOptions { get }
static var alignMinYInward: AlignmentOptions { get }
static var alignMaxXInward: AlignmentOptions { get }
static var alignMaxYInward: AlignmentOptions { get }
static var alignWidthInward: AlignmentOptions { get }
static var alignHeightInward: AlignmentOptions { get }
static var alignMinXOutward: AlignmentOptions { get }
static var alignMinYOutward: AlignmentOptions { get }
static var alignMaxXOutward: AlignmentOptions { get }
static var alignMaxYOutward: AlignmentOptions { get }
static var alignWidthOutward: AlignmentOptions { get }
static var alignHeightOutward: AlignmentOptions { get }
static var alignMinXNearest: AlignmentOptions { get }
static var alignMinYNearest: AlignmentOptions { get }
static var alignMaxXNearest: AlignmentOptions { get }
static var alignMaxYNearest: AlignmentOptions { get }
static var alignWidthNearest: AlignmentOptions { get }
static var alignHeightNearest: AlignmentOptions { get }
static var alignRectFlipped: AlignmentOptions { get }
static var alignAllEdgesInward: AlignmentOptions { get }
static var alignAllEdgesOutward: AlignmentOptions { get }
static var alignAllEdgesNearest: AlignmentOptions { get }
func intersect(_ other: AlignmentOptions) -> AlignmentOptions
func exclusiveOr(_ other: AlignmentOptions) -> AlignmentOptions
mutating func unionInPlace(_ other: AlignmentOptions)
mutating func intersectInPlace(_ other: AlignmentOptions)
mutating func exclusiveOrInPlace(_ other: AlignmentOptions)
func isSubsetOf(_ other: AlignmentOptions) -> Bool
func isDisjointWith(_ other: AlignmentOptions) -> Bool
func isSupersetOf(_ other: AlignmentOptions) -> Bool
mutating func subtractInPlace(_ other: AlignmentOptions)
func isStrictSupersetOf(_ other: AlignmentOptions) -> Bool
func isStrictSubsetOf(_ other: AlignmentOptions) -> Bool
}
extension AlignmentOptions {
func union(_ other: AlignmentOptions) -> AlignmentOptions
func intersection(_ other: AlignmentOptions) -> AlignmentOptions
func symmetricDifference(_ other: AlignmentOptions) -> AlignmentOptions
}
extension AlignmentOptions {
func contains(_ member: AlignmentOptions) -> Bool
mutating func insert(_ newMember: AlignmentOptions) -> (inserted: Bool, memberAfterInsert: AlignmentOptions)
mutating func remove(_ member: AlignmentOptions) -> AlignmentOptions?
mutating func update(with newMember: AlignmentOptions) -> AlignmentOptions?
}
extension AlignmentOptions {
convenience init()
mutating func formUnion(_ other: AlignmentOptions)
mutating func formIntersection(_ other: AlignmentOptions)
mutating func formSymmetricDifference(_ other: AlignmentOptions)
}
extension AlignmentOptions {
convenience init<S : Sequence where S.Iterator.Element == AlignmentOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: AlignmentOptions...)
mutating func subtract(_ other: AlignmentOptions)
func isSubset(of other: AlignmentOptions) -> Bool
func isSuperset(of other: AlignmentOptions) -> Bool
func isDisjoint(with other: AlignmentOptions) -> Bool
func subtracting(_ other: AlignmentOptions) -> AlignmentOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: AlignmentOptions) -> Bool
func isStrictSubset(of other: AlignmentOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AlignAllEdgesInward | static var AlignAllEdgesInward: NSAlignmentOptions { get } |
To | alignAllEdgesInward | static var alignAllEdgesInward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignAllEdgesNearest | static var AlignAllEdgesNearest: NSAlignmentOptions { get } |
To | alignAllEdgesNearest | static var alignAllEdgesNearest: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignAllEdgesOutward | static var AlignAllEdgesOutward: NSAlignmentOptions { get } |
To | alignAllEdgesOutward | static var alignAllEdgesOutward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignHeightInward | static var AlignHeightInward: NSAlignmentOptions { get } |
To | alignHeightInward | static var alignHeightInward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignHeightNearest | static var AlignHeightNearest: NSAlignmentOptions { get } |
To | alignHeightNearest | static var alignHeightNearest: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignHeightOutward | static var AlignHeightOutward: NSAlignmentOptions { get } |
To | alignHeightOutward | static var alignHeightOutward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMaxXInward | static var AlignMaxXInward: NSAlignmentOptions { get } |
To | alignMaxXInward | static var alignMaxXInward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMaxXNearest | static var AlignMaxXNearest: NSAlignmentOptions { get } |
To | alignMaxXNearest | static var alignMaxXNearest: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMaxXOutward | static var AlignMaxXOutward: NSAlignmentOptions { get } |
To | alignMaxXOutward | static var alignMaxXOutward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMaxYInward | static var AlignMaxYInward: NSAlignmentOptions { get } |
To | alignMaxYInward | static var alignMaxYInward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMaxYNearest | static var AlignMaxYNearest: NSAlignmentOptions { get } |
To | alignMaxYNearest | static var alignMaxYNearest: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMaxYOutward | static var AlignMaxYOutward: NSAlignmentOptions { get } |
To | alignMaxYOutward | static var alignMaxYOutward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMinXInward | static var AlignMinXInward: NSAlignmentOptions { get } |
To | alignMinXInward | static var alignMinXInward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMinXNearest | static var AlignMinXNearest: NSAlignmentOptions { get } |
To | alignMinXNearest | static var alignMinXNearest: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMinXOutward | static var AlignMinXOutward: NSAlignmentOptions { get } |
To | alignMinXOutward | static var alignMinXOutward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMinYInward | static var AlignMinYInward: NSAlignmentOptions { get } |
To | alignMinYInward | static var alignMinYInward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMinYNearest | static var AlignMinYNearest: NSAlignmentOptions { get } |
To | alignMinYNearest | static var alignMinYNearest: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignMinYOutward | static var AlignMinYOutward: NSAlignmentOptions { get } |
To | alignMinYOutward | static var alignMinYOutward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignRectFlipped | static var AlignRectFlipped: NSAlignmentOptions { get } |
To | alignRectFlipped | static var alignRectFlipped: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignWidthInward | static var AlignWidthInward: NSAlignmentOptions { get } |
To | alignWidthInward | static var alignWidthInward: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignWidthNearest | static var AlignWidthNearest: NSAlignmentOptions { get } |
To | alignWidthNearest | static var alignWidthNearest: AlignmentOptions { get } |
---|
| Name | Declaration |
From | AlignWidthOutward | static var AlignWidthOutward: NSAlignmentOptions { get } |
To | alignWidthOutward | static var alignWidthOutward: AlignmentOptions { get } |
---|
| Declaration | Protocols |
From | class NSBlockOperation : NSOperation {
convenience init(block block: () -> Void)
class func blockOperationWithBlock(_ block: () -> Void) -> Self
func addExecutionBlock(_ block: () -> Void)
var executionBlocks: [() -> Void] { get }
} | -- |
To | class BlockOperation : Operation {
convenience init(block block: @escaping () -> Swift.Void)
class func withBlock(_ block: @escaping () -> Swift.Void) -> Self
func addExecutionBlock(_ block: @escaping () -> Swift.Void)
var executionBlocks: [() -> Swift.Void] { get }
enum QueuePriority : Int {
case veryLow
case low
case normal
case high
case veryHigh
}
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 BlockOperation : CVarArg {
}
extension BlockOperation : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addExecutionBlock(_ block: () -> Void) |
To | func addExecutionBlock(_ block: @escaping () -> Swift.Void) |
---|
| Declaration |
From | var executionBlocks: [() -> Void] { get } |
To | var executionBlocks: [() -> Swift.Void] { get } |
---|
| Declaration |
From | convenience init(block block: () -> Void) |
To | convenience init(block block: @escaping () -> Swift.Void) |
---|
| Declaration | Protocols |
From | class NSBundle : NSObject {
class func mainBundle() -> NSBundle
convenience init?(path path: String)
class func bundleWithPath(_ path: String) -> Self?
init?(path path: String)
convenience init?(URL url: NSURL)
class func bundleWithURL(_ url: NSURL) -> Self?
convenience init?(URL url: NSURL)
init(forClass aClass: AnyClass)
class func bundleForClass(_ aClass: AnyClass) -> NSBundle
init?(identifier identifier: String)
class func bundleWithIdentifier(_ identifier: String) -> NSBundle?
class func allBundles() -> [NSBundle]
class func allFrameworks() -> [NSBundle]
func load() -> Bool
var loaded: Bool { get }
func unload() -> Bool
func preflight() throws
func loadAndReturnError() throws
@NSCopying var bundleURL: NSURL { get }
@NSCopying var resourceURL: NSURL? { get }
@NSCopying var executableURL: NSURL? { get }
func URLForAuxiliaryExecutable(_ executableName: String) -> NSURL?
@NSCopying var privateFrameworksURL: NSURL? { get }
@NSCopying var sharedFrameworksURL: NSURL? { get }
@NSCopying var sharedSupportURL: NSURL? { get }
@NSCopying var builtInPlugInsURL: NSURL? { get }
@NSCopying var appStoreReceiptURL: NSURL? { get }
var bundlePath: String { get }
var resourcePath: String? { get }
var executablePath: String? { get }
func pathForAuxiliaryExecutable(_ executableName: String) -> String?
var privateFrameworksPath: String? { get }
var sharedFrameworksPath: String? { get }
var sharedSupportPath: String? { get }
var builtInPlugInsPath: String? { get }
class func URLForResource(_ name: String?, withExtension ext: String?, subdirectory subpath: String?, inBundleWithURL bundleURL: NSURL) -> NSURL?
class func URLsForResourcesWithExtension(_ ext: String?, subdirectory subpath: String?, inBundleWithURL bundleURL: NSURL) -> [NSURL]?
func URLForResource(_ name: String?, withExtension ext: String?) -> NSURL?
func URLForResource(_ name: String?, withExtension ext: String?, subdirectory subpath: String?) -> NSURL?
func URLForResource(_ name: String?, withExtension ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> NSURL?
func URLsForResourcesWithExtension(_ ext: String?, subdirectory subpath: String?) -> [NSURL]?
func URLsForResourcesWithExtension(_ ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> [NSURL]?
class func pathForResource(_ name: String?, ofType ext: String?, inDirectory bundlePath: String) -> String?
class func pathsForResourcesOfType(_ ext: String?, inDirectory bundlePath: String) -> [String]
func pathForResource(_ name: String?, ofType ext: String?) -> String?
func pathForResource(_ name: String?, ofType ext: String?, inDirectory subpath: String?) -> String?
func pathForResource(_ name: String?, ofType ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> String?
func pathsForResourcesOfType(_ ext: String?, inDirectory subpath: String?) -> [String]
func pathsForResourcesOfType(_ ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> [String]
func localizedStringForKey(_ key: String, value value: String?, table tableName: String?) -> String
var bundleIdentifier: String? { get }
var infoDictionary: [String : AnyObject]? { get }
var localizedInfoDictionary: [String : AnyObject]? { get }
func objectForInfoDictionaryKey(_ key: String) -> AnyObject?
func classNamed(_ className: String) -> AnyClass?
var principalClass: AnyClass? { get }
var preferredLocalizations: [String] { get }
var localizations: [String] { get }
var developmentLocalization: String? { get }
class func preferredLocalizationsFromArray(_ localizationsArray: [String]) -> [String]
class func preferredLocalizationsFromArray(_ localizationsArray: [String], forPreferences preferencesArray: [String]?) -> [String]
var executableArchitectures: [NSNumber]? { get }
}
extension NSBundle {
func contextHelpForKey(_ key: String) -> NSAttributedString?
}
extension NSBundle {
func imageForResource(_ name: String) -> NSImage?
func pathForImageResource(_ name: String) -> String?
func URLForImageResource(_ name: String) -> NSURL?
}
extension NSBundle {
func loadNibNamed(_ nibName: String, owner owner: AnyObject?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>) -> Bool
}
extension NSBundle {
class func loadNibFile(_ fileName: String!, externalNameTable context: [NSObject : AnyObject]!, withZone zone: NSZone) -> Bool
class func loadNibNamed(_ nibName: String!, owner owner: AnyObject!) -> Bool
func loadNibFile(_ fileName: String!, externalNameTable context: [NSObject : AnyObject]!, withZone zone: NSZone) -> Bool
}
extension NSBundle {
func pathForSoundResource(_ name: String) -> String?
}
extension NSBundle {
func loadAppleScriptObjectiveCScripts()
}
extension NSBundle {
func setPreservationPriority(_ priority: Double, forTags tags: Set<String>)
func preservationPriorityForTag(_ tag: String) -> Double
} | -- |
To | class Bundle : NSObject {
class var main: Bundle { get }
convenience init?(path path: String)
class func withPath(_ path: String) -> Self?
init?(path path: String)
convenience init?(url url: URL)
class func withURL(_ url: URL) -> Self?
convenience init?(url url: URL)
init(for aClass: Swift.AnyClass)
class func forClass(_ aClass: Swift.AnyClass) -> Bundle
init?(identifier identifier: String)
class func withIdentifier(_ identifier: String) -> Bundle?
class var allBundles: [Bundle] { get }
class var allFrameworks: [Bundle] { get }
func load() -> Bool
var isLoaded: Bool { get }
func unload() -> Bool
func preflight() throws
func loadAndReturnError() throws
var bundleURL: URL { get }
var resourceURL: URL? { get }
var executableURL: URL? { get }
func url(forAuxiliaryExecutable executableName: String) -> URL?
var privateFrameworksURL: URL? { get }
var sharedFrameworksURL: URL? { get }
var sharedSupportURL: URL? { get }
var builtInPlugInsURL: URL? { get }
var appStoreReceiptURL: URL? { get }
var bundlePath: String { get }
var resourcePath: String? { get }
var executablePath: String? { get }
func path(forAuxiliaryExecutable executableName: String) -> String?
var privateFrameworksPath: String? { get }
var sharedFrameworksPath: String? { get }
var sharedSupportPath: String? { get }
var builtInPlugInsPath: String? { get }
class func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?, in bundleURL: URL) -> URL?
class func urls(forResourcesWithExtension ext: String?, subdirectory subpath: String?, in bundleURL: URL) -> [URL]?
func url(forResource name: String?, withExtension ext: String?) -> URL?
func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?) -> URL?
func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> URL?
func urls(forResourcesWithExtension ext: String?, subdirectory subpath: String?) -> [URL]?
func urls(forResourcesWithExtension ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> [URL]?
class func path(forResource name: String?, ofType ext: String?, inDirectory bundlePath: String) -> String?
class func paths(forResourcesOfType ext: String?, inDirectory bundlePath: String) -> [String]
func path(forResource name: String?, ofType ext: String?) -> String?
func path(forResource name: String?, ofType ext: String?, inDirectory subpath: String?) -> String?
func path(forResource name: String?, ofType ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> String?
func paths(forResourcesOfType ext: String?, inDirectory subpath: String?) -> [String]
func paths(forResourcesOfType ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> [String]
func localizedString(forKey key: String, value value: String?, table tableName: String?) -> String
var bundleIdentifier: String? { get }
var infoDictionary: [String : Any]? { get }
var localizedInfoDictionary: [String : Any]? { get }
func object(forInfoDictionaryKey key: String) -> Any?
func classNamed(_ className: String) -> Swift.AnyClass?
var principalClass: Swift.AnyClass? { get }
var preferredLocalizations: [String] { get }
var localizations: [String] { get }
var developmentLocalization: String? { get }
class func preferredLocalizations(from localizationsArray: [String]) -> [String]
class func preferredLocalizations(from localizationsArray: [String], forPreferences preferencesArray: [String]?) -> [String]
var executableArchitectures: [NSNumber]? { get }
func setPreservationPriority(_ priority: Double, forTags tags: Set<String>)
func preservationPriority(forTag tag: String) -> Double
class let didLoadNotification: NSNotification.Name
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 Bundle {
func contextHelp(forKey key: String) -> NSAttributedString?
}
extension Bundle {
func image(forResource name: String) -> NSImage?
func pathForImageResource(_ name: String) -> String?
func urlForImageResource(_ name: String) -> URL?
}
extension Bundle {
func loadNibNamed(_ nibName: String, owner owner: Any?, topLevelObjects topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray>?) -> Bool
}
extension Bundle {
class func loadNibFile(_ fileName: String!, externalNameTable context: [AnyHashable : Any]!, with zone: NSZone!) -> Bool
class func loadNibNamed(_ nibName: String!, owner owner: Any!) -> Bool
func loadNibFile(_ fileName: String!, externalNameTable context: [AnyHashable : Any]!, with zone: NSZone!) -> Bool
}
extension Bundle {
func path(forSoundResource name: String) -> String?
}
extension Bundle {
func loadAppleScriptObjectiveCScripts()
}
extension Bundle : CVarArg {
}
extension Bundle : Equatable, Hashable {
var hashValue: Int { get }
}
extension Bundle {
class let didLoadNotification: NSNotification.Name
}
extension Bundle {
func setPreservationPriority(_ priority: Double, forTags tags: Set<String>)
func preservationPriority(forTag tag: String) -> Double
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | @NSCopying var appStoreReceiptURL: NSURL? { get } |
To | var appStoreReceiptURL: URL? { get } |
---|
| Declaration |
From | @NSCopying var builtInPlugInsURL: NSURL? { get } |
To | var builtInPlugInsURL: URL? { get } |
---|
| Declaration |
From | @NSCopying var bundleURL: NSURL { get } |
To | var bundleURL: URL { get } |
---|
| Declaration |
From | func classNamed(_ className: String) -> AnyClass? |
To | func classNamed(_ className: String) -> Swift.AnyClass? |
---|
| Name | Declaration |
From | NSBundleDidLoadNotification | let NSBundleDidLoadNotification: String |
To | didLoadNotification | class let didLoadNotification: NSNotification.Name |
---|
| Declaration |
From | @NSCopying var executableURL: NSURL? { get } |
To | var executableURL: URL? { get } |
---|
| Declaration |
From | var infoDictionary: [String : AnyObject]? { get } |
To | var infoDictionary: [String : Any]? { get } |
---|
| Name | Declaration |
From | init(forClass:) | init(forClass aClass: AnyClass) |
To | init(for:) | init(for aClass: Swift.AnyClass) |
---|
| Name | Declaration |
From | init(URL:) | convenience init?(URL url: NSURL) |
To | init(url:) | convenience init?(url url: URL) |
---|
| Name | Declaration |
From | loaded | var loaded: Bool { get } |
To | isLoaded | var isLoaded: Bool { get } |
---|
| Declaration |
From | var localizedInfoDictionary: [String : AnyObject]? { get } |
To | var localizedInfoDictionary: [String : Any]? { get } |
---|
| Name | Declaration |
From | localizedStringForKey(_:value:table:) | func localizedStringForKey(_ key: String, value value: String?, table tableName: String?) -> String |
To | localizedString(forKey:value:table:) | func localizedString(forKey key: String, value value: String?, table tableName: String?) -> String |
---|
| Name | Declaration |
From | objectForInfoDictionaryKey(_:) | func objectForInfoDictionaryKey(_ key: String) -> AnyObject? |
To | object(forInfoDictionaryKey:) | func object(forInfoDictionaryKey key: String) -> Any? |
---|
| Name | Declaration |
From | pathForAuxiliaryExecutable(_:) | func pathForAuxiliaryExecutable(_ executableName: String) -> String? |
To | path(forAuxiliaryExecutable:) | func path(forAuxiliaryExecutable executableName: String) -> String? |
---|
| Name | Declaration |
From | pathForResource(_:ofType:) | func pathForResource(_ name: String?, ofType ext: String?) -> String? |
To | path(forResource:ofType:) | func path(forResource name: String?, ofType ext: String?) -> String? |
---|
| Name | Declaration |
From | pathForResource(_:ofType:inDirectory:) | class func pathForResource(_ name: String?, ofType ext: String?, inDirectory bundlePath: String) -> String? |
To | path(forResource:ofType:inDirectory:) | class func path(forResource name: String?, ofType ext: String?, inDirectory bundlePath: String) -> String? |
---|
| Name | Declaration |
From | pathForResource(_:ofType:inDirectory:) | func pathForResource(_ name: String?, ofType ext: String?, inDirectory subpath: String?) -> String? |
To | path(forResource:ofType:inDirectory:) | func path(forResource name: String?, ofType ext: String?, inDirectory subpath: String?) -> String? |
---|
| Name | Declaration |
From | pathForResource(_:ofType:inDirectory:forLocalization:) | func pathForResource(_ name: String?, ofType ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> String? |
To | path(forResource:ofType:inDirectory:forLocalization:) | func path(forResource name: String?, ofType ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> String? |
---|
| Name | Declaration |
From | pathsForResourcesOfType(_:inDirectory:) | class func pathsForResourcesOfType(_ ext: String?, inDirectory bundlePath: String) -> [String] |
To | paths(forResourcesOfType:inDirectory:) | class func paths(forResourcesOfType ext: String?, inDirectory bundlePath: String) -> [String] |
---|
| Name | Declaration |
From | pathsForResourcesOfType(_:inDirectory:) | func pathsForResourcesOfType(_ ext: String?, inDirectory subpath: String?) -> [String] |
To | paths(forResourcesOfType:inDirectory:) | func paths(forResourcesOfType ext: String?, inDirectory subpath: String?) -> [String] |
---|
| Name | Declaration |
From | pathsForResourcesOfType(_:inDirectory:forLocalization:) | func pathsForResourcesOfType(_ ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> [String] |
To | paths(forResourcesOfType:inDirectory:forLocalization:) | func paths(forResourcesOfType ext: String?, inDirectory subpath: String?, forLocalization localizationName: String?) -> [String] |
---|
| Name | Declaration |
From | preferredLocalizationsFromArray(_:) | class func preferredLocalizationsFromArray(_ localizationsArray: [String]) -> [String] |
To | preferredLocalizations(from:) | class func preferredLocalizations(from localizationsArray: [String]) -> [String] |
---|
| Name | Declaration |
From | preferredLocalizationsFromArray(_:forPreferences:) | class func preferredLocalizationsFromArray(_ localizationsArray: [String], forPreferences preferencesArray: [String]?) -> [String] |
To | preferredLocalizations(from:forPreferences:) | class func preferredLocalizations(from localizationsArray: [String], forPreferences preferencesArray: [String]?) -> [String] |
---|
| Declaration |
From | var principalClass: AnyClass? { get } |
To | var principalClass: Swift.AnyClass? { get } |
---|
| Declaration |
From | @NSCopying var privateFrameworksURL: NSURL? { get } |
To | var privateFrameworksURL: URL? { get } |
---|
| Declaration |
From | @NSCopying var resourceURL: NSURL? { get } |
To | var resourceURL: URL? { get } |
---|
| Declaration |
From | @NSCopying var sharedFrameworksURL: NSURL? { get } |
To | var sharedFrameworksURL: URL? { get } |
---|
| Declaration |
From | @NSCopying var sharedSupportURL: NSURL? { get } |
To | var sharedSupportURL: URL? { get } |
---|
| Name | Declaration |
From | URLForAuxiliaryExecutable(_:) | func URLForAuxiliaryExecutable(_ executableName: String) -> NSURL? |
To | url(forAuxiliaryExecutable:) | func url(forAuxiliaryExecutable executableName: String) -> URL? |
---|
| Name | Declaration |
From | URLForResource(_:withExtension:) | func URLForResource(_ name: String?, withExtension ext: String?) -> NSURL? |
To | url(forResource:withExtension:) | func url(forResource name: String?, withExtension ext: String?) -> URL? |
---|
| Name | Declaration |
From | URLForResource(_:withExtension:subdirectory:) | func URLForResource(_ name: String?, withExtension ext: String?, subdirectory subpath: String?) -> NSURL? |
To | url(forResource:withExtension:subdirectory:) | func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?) -> URL? |
---|
| Name | Declaration |
From | URLForResource(_:withExtension:subdirectory:inBundleWithURL:) | class func URLForResource(_ name: String?, withExtension ext: String?, subdirectory subpath: String?, inBundleWithURL bundleURL: NSURL) -> NSURL? |
To | url(forResource:withExtension:subdirectory:in:) | class func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?, in bundleURL: URL) -> URL? |
---|
| Name | Declaration |
From | URLForResource(_:withExtension:subdirectory:localization:) | func URLForResource(_ name: String?, withExtension ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> NSURL? |
To | url(forResource:withExtension:subdirectory:localization:) | func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> URL? |
---|
| Name | Declaration |
From | URLsForResourcesWithExtension(_:subdirectory:) | func URLsForResourcesWithExtension(_ ext: String?, subdirectory subpath: String?) -> [NSURL]? |
To | urls(forResourcesWithExtension:subdirectory:) | func urls(forResourcesWithExtension ext: String?, subdirectory subpath: String?) -> [URL]? |
---|
| Name | Declaration |
From | URLsForResourcesWithExtension(_:subdirectory:inBundleWithURL:) | class func URLsForResourcesWithExtension(_ ext: String?, subdirectory subpath: String?, inBundleWithURL bundleURL: NSURL) -> [NSURL]? |
To | urls(forResourcesWithExtension:subdirectory:in:) | class func urls(forResourcesWithExtension ext: String?, subdirectory subpath: String?, in bundleURL: URL) -> [URL]? |
---|
| Name | Declaration |
From | URLsForResourcesWithExtension(_:subdirectory:localization:) | func URLsForResourcesWithExtension(_ ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> [NSURL]? |
To | urls(forResourcesWithExtension:subdirectory:localization:) | func urls(forResourcesWithExtension ext: String?, subdirectory subpath: String?, localization localizationName: String?) -> [URL]? |
---|
| Declaration | Protocols |
From | class NSByteCountFormatter : NSFormatter {
class func stringFromByteCount(_ byteCount: Int64, countStyle countStyle: NSByteCountFormatterCountStyle) -> String
func stringFromByteCount(_ byteCount: Int64) -> String
var allowedUnits: NSByteCountFormatterUnits
var countStyle: NSByteCountFormatterCountStyle
var allowsNonnumericFormatting: Bool
var includesUnit: Bool
var includesCount: Bool
var includesActualByteCount: Bool
var adaptive: Bool
var zeroPadsFractionDigits: Bool
var formattingContext: NSFormattingContext
} | -- |
To | class ByteCountFormatter : Formatter {
class func string(fromByteCount byteCount: Int64, countStyle countStyle: ByteCountFormatter.CountStyle) -> String
func string(fromByteCount byteCount: Int64) -> String
var allowedUnits: ByteCountFormatter.Units
var countStyle: ByteCountFormatter.CountStyle
var allowsNonnumericFormatting: Bool
var includesUnit: Bool
var includesCount: Bool
var includesActualByteCount: Bool
var isAdaptive: Bool
var zeroPadsFractionDigits: Bool
var formattingContext: Formatter.Context
struct Units : OptionSet {
init(rawValue rawValue: UInt)
static var useDefault: ByteCountFormatter.Units { get }
static var useBytes: ByteCountFormatter.Units { get }
static var useKB: ByteCountFormatter.Units { get }
static var useMB: ByteCountFormatter.Units { get }
static var useGB: ByteCountFormatter.Units { get }
static var useTB: ByteCountFormatter.Units { get }
static var usePB: ByteCountFormatter.Units { get }
static var useEB: ByteCountFormatter.Units { get }
static var useZB: ByteCountFormatter.Units { get }
static var useYBOrHigher: ByteCountFormatter.Units { get }
static var useAll: ByteCountFormatter.Units { get }
}
enum CountStyle : Int {
case file
case memory
case decimal
case binary
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 ByteCountFormatter {
struct Units : OptionSet {
init(rawValue rawValue: UInt)
static var useDefault: ByteCountFormatter.Units { get }
static var useBytes: ByteCountFormatter.Units { get }
static var useKB: ByteCountFormatter.Units { get }
static var useMB: ByteCountFormatter.Units { get }
static var useGB: ByteCountFormatter.Units { get }
static var useTB: ByteCountFormatter.Units { get }
static var usePB: ByteCountFormatter.Units { get }
static var useEB: ByteCountFormatter.Units { get }
static var useZB: ByteCountFormatter.Units { get }
static var useYBOrHigher: ByteCountFormatter.Units { get }
static var useAll: ByteCountFormatter.Units { get }
}
enum CountStyle : Int {
case file
case memory
case decimal
case binary
}
}
extension ByteCountFormatter : CVarArg {
}
extension ByteCountFormatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var allowedUnits: NSByteCountFormatterUnits |
To | var allowedUnits: ByteCountFormatter.Units |
---|
| Declaration |
From | var countStyle: NSByteCountFormatterCountStyle |
To | var countStyle: ByteCountFormatter.CountStyle |
---|
| Declaration |
From | var formattingContext: NSFormattingContext |
To | var formattingContext: Formatter.Context |
---|
| Name | Declaration |
From | adaptive | var adaptive: Bool |
To | isAdaptive | var isAdaptive: Bool |
---|
| Name | Declaration |
From | stringFromByteCount(_:) | func stringFromByteCount(_ byteCount: Int64) -> String |
To | string(fromByteCount:) | func string(fromByteCount byteCount: Int64) -> String |
---|
| Name | Declaration |
From | stringFromByteCount(_:countStyle:) | class func stringFromByteCount(_ byteCount: Int64, countStyle countStyle: NSByteCountFormatterCountStyle) -> String |
To | string(fromByteCount:countStyle:) | class func string(fromByteCount byteCount: Int64, countStyle countStyle: ByteCountFormatter.CountStyle) -> String |
---|
| Declaration |
From | enum NSByteCountFormatterCountStyle : Int {
case File
case Memory
case Decimal
case Binary
} |
To | enum CountStyle : Int {
case file
case memory
case decimal
case binary
} |
---|
| Name | Declaration |
From | Binary | case Binary |
To | binary | case binary |
---|
| Name | Declaration |
From | Decimal | case Decimal |
To | decimal | case decimal |
---|
| Name | Declaration |
From | File | case File |
To | file | case file |
---|
| Name | Declaration |
From | Memory | case Memory |
To | memory | case memory |
---|
| Declaration | Protocols |
From | struct NSByteCountFormatterUnits : OptionSetType {
init(rawValue rawValue: UInt)
static var UseDefault: NSByteCountFormatterUnits { get }
static var UseBytes: NSByteCountFormatterUnits { get }
static var UseKB: NSByteCountFormatterUnits { get }
static var UseMB: NSByteCountFormatterUnits { get }
static var UseGB: NSByteCountFormatterUnits { get }
static var UseTB: NSByteCountFormatterUnits { get }
static var UsePB: NSByteCountFormatterUnits { get }
static var UseEB: NSByteCountFormatterUnits { get }
static var UseZB: NSByteCountFormatterUnits { get }
static var UseYBOrHigher: NSByteCountFormatterUnits { get }
static var UseAll: NSByteCountFormatterUnits { get }
} | OptionSetType |
To | struct Units : OptionSet {
init(rawValue rawValue: UInt)
static var useDefault: ByteCountFormatter.Units { get }
static var useBytes: ByteCountFormatter.Units { get }
static var useKB: ByteCountFormatter.Units { get }
static var useMB: ByteCountFormatter.Units { get }
static var useGB: ByteCountFormatter.Units { get }
static var useTB: ByteCountFormatter.Units { get }
static var usePB: ByteCountFormatter.Units { get }
static var useEB: ByteCountFormatter.Units { get }
static var useZB: ByteCountFormatter.Units { get }
static var useYBOrHigher: ByteCountFormatter.Units { get }
static var useAll: ByteCountFormatter.Units { get }
}
extension ByteCountFormatter.Units {
func union(_ other: ByteCountFormatter.Units) -> ByteCountFormatter.Units
func intersection(_ other: ByteCountFormatter.Units) -> ByteCountFormatter.Units
func symmetricDifference(_ other: ByteCountFormatter.Units) -> ByteCountFormatter.Units
}
extension ByteCountFormatter.Units {
func contains(_ member: ByteCountFormatter.Units) -> Bool
mutating func insert(_ newMember: ByteCountFormatter.Units) -> (inserted: Bool, memberAfterInsert: ByteCountFormatter.Units)
mutating func remove(_ member: ByteCountFormatter.Units) -> ByteCountFormatter.Units?
mutating func update(with newMember: ByteCountFormatter.Units) -> ByteCountFormatter.Units?
}
extension ByteCountFormatter.Units {
convenience init()
mutating func formUnion(_ other: ByteCountFormatter.Units)
mutating func formIntersection(_ other: ByteCountFormatter.Units)
mutating func formSymmetricDifference(_ other: ByteCountFormatter.Units)
}
extension ByteCountFormatter.Units {
convenience init<S : Sequence where S.Iterator.Element == ByteCountFormatter.Units>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: ByteCountFormatter.Units...)
mutating func subtract(_ other: ByteCountFormatter.Units)
func isSubset(of other: ByteCountFormatter.Units) -> Bool
func isSuperset(of other: ByteCountFormatter.Units) -> Bool
func isDisjoint(with other: ByteCountFormatter.Units) -> Bool
func subtracting(_ other: ByteCountFormatter.Units) -> ByteCountFormatter.Units
var isEmpty: Bool { get }
func isStrictSuperset(of other: ByteCountFormatter.Units) -> Bool
func isStrictSubset(of other: ByteCountFormatter.Units) -> Bool
}
extension ByteCountFormatter.Units {
func intersect(_ other: ByteCountFormatter.Units) -> ByteCountFormatter.Units
func exclusiveOr(_ other: ByteCountFormatter.Units) -> ByteCountFormatter.Units
mutating func unionInPlace(_ other: ByteCountFormatter.Units)
mutating func intersectInPlace(_ other: ByteCountFormatter.Units)
mutating func exclusiveOrInPlace(_ other: ByteCountFormatter.Units)
func isSubsetOf(_ other: ByteCountFormatter.Units) -> Bool
func isDisjointWith(_ other: ByteCountFormatter.Units) -> Bool
func isSupersetOf(_ other: ByteCountFormatter.Units) -> Bool
mutating func subtractInPlace(_ other: ByteCountFormatter.Units)
func isStrictSupersetOf(_ other: ByteCountFormatter.Units) -> Bool
func isStrictSubsetOf(_ other: ByteCountFormatter.Units) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | UseAll | static var UseAll: NSByteCountFormatterUnits { get } |
To | useAll | static var useAll: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseBytes | static var UseBytes: NSByteCountFormatterUnits { get } |
To | useBytes | static var useBytes: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseEB | static var UseEB: NSByteCountFormatterUnits { get } |
To | useEB | static var useEB: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseGB | static var UseGB: NSByteCountFormatterUnits { get } |
To | useGB | static var useGB: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseKB | static var UseKB: NSByteCountFormatterUnits { get } |
To | useKB | static var useKB: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseMB | static var UseMB: NSByteCountFormatterUnits { get } |
To | useMB | static var useMB: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UsePB | static var UsePB: NSByteCountFormatterUnits { get } |
To | usePB | static var usePB: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseTB | static var UseTB: NSByteCountFormatterUnits { get } |
To | useTB | static var useTB: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseYBOrHigher | static var UseYBOrHigher: NSByteCountFormatterUnits { get } |
To | useYBOrHigher | static var useYBOrHigher: ByteCountFormatter.Units { get } |
---|
| Name | Declaration |
From | UseZB | static var UseZB: NSByteCountFormatterUnits { get } |
To | useZB | static var useZB: ByteCountFormatter.Units { get } |
---|
| Declaration | Protocols |
From | class NSCachedURLResponse : NSObject, NSSecureCoding, NSCopying {
init(response response: NSURLResponse, data data: NSData)
init(response response: NSURLResponse, data data: NSData, userInfo userInfo: [NSObject : AnyObject]?, storagePolicy storagePolicy: NSURLCacheStoragePolicy)
@NSCopying var response: NSURLResponse { get }
@NSCopying var data: NSData { get }
var userInfo: [NSObject : AnyObject]? { get }
var storagePolicy: NSURLCacheStoragePolicy { get }
} | NSCopying, NSSecureCoding |
To | class CachedURLResponse : NSObject, NSSecureCoding, NSCopying {
init(response response: URLResponse, data data: Data)
init(response response: URLResponse, data data: Data, userInfo userInfo: [AnyHashable : Any]? = nil, storagePolicy storagePolicy: URLCache.StoragePolicy)
@NSCopying var response: URLResponse { get }
var data: Data { get }
var userInfo: [AnyHashable : Any]? { get }
var storagePolicy: URLCache.StoragePolicy { 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 CachedURLResponse : CVarArg {
}
extension CachedURLResponse : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | @NSCopying var data: NSData { get } |
To | var data: Data { get } |
---|
| Declaration |
From | init(response response: NSURLResponse, data data: NSData) |
To | init(response response: URLResponse, data data: Data) |
---|
| Declaration |
From | init(response response: NSURLResponse, data data: NSData, userInfo userInfo: [NSObject : AnyObject]?, storagePolicy storagePolicy: NSURLCacheStoragePolicy) |
To | init(response response: URLResponse, data data: Data, userInfo userInfo: [AnyHashable : Any]? = nil, storagePolicy storagePolicy: URLCache.StoragePolicy) |
---|
| Declaration |
From | @NSCopying var response: NSURLResponse { get } |
To | @NSCopying var response: URLResponse { get } |
---|
| Declaration |
From | var storagePolicy: NSURLCacheStoragePolicy { get } |
To | var storagePolicy: URLCache.StoragePolicy { get } |
---|
| Declaration |
From | var userInfo: [NSObject : AnyObject]? { get } |
To | var userInfo: [AnyHashable : Any]? { get } |
---|
| Declaration |
From | enum NSComparisonResult : Int {
case OrderedAscending
case OrderedSame
case OrderedDescending
} |
To | enum ComparisonResult : Int {
case orderedAscending
case orderedSame
case orderedDescending
} |
---|
| Name | Declaration |
From | OrderedAscending | case OrderedAscending |
To | orderedAscending | case orderedAscending |
---|
| Name | Declaration |
From | OrderedDescending | case OrderedDescending |
To | orderedDescending | case orderedDescending |
---|
| Name | Declaration |
From | OrderedSame | case OrderedSame |
To | orderedSame | case orderedSame |
---|
| Declaration | Protocols |
From | class NSDateComponentsFormatter : NSFormatter {
func stringForObjectValue(_ obj: AnyObject) -> String?
func stringFromDateComponents(_ components: NSDateComponents) -> String?
func stringFromDate(_ startDate: NSDate, toDate endDate: NSDate) -> String?
func stringFromTimeInterval(_ ti: NSTimeInterval) -> String?
class func localizedStringFromDateComponents(_ components: NSDateComponents, unitsStyle unitsStyle: NSDateComponentsFormatterUnitsStyle) -> String?
var unitsStyle: NSDateComponentsFormatterUnitsStyle
var allowedUnits: NSCalendarUnit
var zeroFormattingBehavior: NSDateComponentsFormatterZeroFormattingBehavior
@NSCopying var calendar: NSCalendar?
var allowsFractionalUnits: Bool
var maximumUnitCount: Int
var collapsesLargestUnit: Bool
var includesApproximationPhrase: Bool
var includesTimeRemainingPhrase: Bool
var formattingContext: NSFormattingContext
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
} | -- |
To | class DateComponentsFormatter : Formatter {
func string(for obj: Any?) -> String?
func string(from components: DateComponents) -> String?
func string(from startDate: Date, to endDate: Date) -> String?
func string(from ti: TimeInterval) -> String?
class func localizedString(from components: DateComponents, unitsStyle unitsStyle: DateComponentsFormatter.UnitsStyle) -> String?
var unitsStyle: DateComponentsFormatter.UnitsStyle
var allowedUnits: NSCalendar.Unit
var zeroFormattingBehavior: DateComponentsFormatter.ZeroFormattingBehavior
var calendar: Calendar?
var allowsFractionalUnits: Bool
var maximumUnitCount: Int
var collapsesLargestUnit: Bool
var includesApproximationPhrase: Bool
var includesTimeRemainingPhrase: Bool
var formattingContext: Formatter.Context
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
enum UnitsStyle : Int {
case positional
case abbreviated
case short
case full
case spellOut
case brief
}
struct ZeroFormattingBehavior : OptionSet {
init(rawValue rawValue: UInt)
static var none: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var `default`: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropLeading: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropMiddle: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropTrailing: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropAll: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var pad: DateComponentsFormatter.ZeroFormattingBehavior { get }
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 DateComponentsFormatter {
enum UnitsStyle : Int {
case positional
case abbreviated
case short
case full
case spellOut
case brief
}
struct ZeroFormattingBehavior : OptionSet {
init(rawValue rawValue: UInt)
static var none: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var `default`: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropLeading: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropMiddle: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropTrailing: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropAll: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var pad: DateComponentsFormatter.ZeroFormattingBehavior { get }
}
}
extension DateComponentsFormatter : CVarArg {
}
extension DateComponentsFormatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var allowedUnits: NSCalendarUnit |
To | var allowedUnits: NSCalendar.Unit |
---|
| Declaration |
From | @NSCopying var calendar: NSCalendar? |
To | var calendar: Calendar? |
---|
| Declaration |
From | var formattingContext: NSFormattingContext |
To | var formattingContext: Formatter.Context |
---|
| Name | Declaration |
From | getObjectValue(_:forString:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | getObjectValue(_:for:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Name | Declaration |
From | localizedStringFromDateComponents(_:unitsStyle:) | class func localizedStringFromDateComponents(_ components: NSDateComponents, unitsStyle unitsStyle: NSDateComponentsFormatterUnitsStyle) -> String? |
To | localizedString(from:unitsStyle:) | class func localizedString(from components: DateComponents, unitsStyle unitsStyle: DateComponentsFormatter.UnitsStyle) -> String? |
---|
| Name | Declaration |
From | stringForObjectValue(_:) | func stringForObjectValue(_ obj: AnyObject) -> String? |
To | string(for:) | func string(for obj: Any?) -> String? |
---|
| Name | Declaration |
From | stringFromDateComponents(_:) | func stringFromDateComponents(_ components: NSDateComponents) -> String? |
To | string(from:) | func string(from components: DateComponents) -> String? |
---|
| Name | Declaration |
From | stringFromTimeInterval(_:) | func stringFromTimeInterval(_ ti: NSTimeInterval) -> String? |
To | string(from:) | func string(from ti: TimeInterval) -> String? |
---|
| Name | Declaration |
From | stringFromDate(_:toDate:) | func stringFromDate(_ startDate: NSDate, toDate endDate: NSDate) -> String? |
To | string(from:to:) | func string(from startDate: Date, to endDate: Date) -> String? |
---|
| Declaration |
From | var unitsStyle: NSDateComponentsFormatterUnitsStyle |
To | var unitsStyle: DateComponentsFormatter.UnitsStyle |
---|
| Declaration |
From | var zeroFormattingBehavior: NSDateComponentsFormatterZeroFormattingBehavior |
To | var zeroFormattingBehavior: DateComponentsFormatter.ZeroFormattingBehavior |
---|
| Declaration |
From | enum NSDateComponentsFormatterUnitsStyle : Int {
case Positional
case Abbreviated
case Short
case Full
case SpellOut
} |
To | enum UnitsStyle : Int {
case positional
case abbreviated
case short
case full
case spellOut
case brief
} |
---|
| Name | Declaration |
From | Abbreviated | case Abbreviated |
To | abbreviated | case abbreviated |
---|
| Name | Declaration |
From | Full | case Full |
To | full | case full |
---|
| Name | Declaration |
From | Positional | case Positional |
To | positional | case positional |
---|
| Name | Declaration |
From | Short | case Short |
To | short | case short |
---|
| Name | Declaration |
From | SpellOut | case SpellOut |
To | spellOut | case spellOut |
---|
| Declaration | Protocols |
From | struct NSDateComponentsFormatterZeroFormattingBehavior : OptionSetType {
init(rawValue rawValue: UInt)
static var None: NSDateComponentsFormatterZeroFormattingBehavior { get }
static var Default: NSDateComponentsFormatterZeroFormattingBehavior { get }
static var DropLeading: NSDateComponentsFormatterZeroFormattingBehavior { get }
static var DropMiddle: NSDateComponentsFormatterZeroFormattingBehavior { get }
static var DropTrailing: NSDateComponentsFormatterZeroFormattingBehavior { get }
static var DropAll: NSDateComponentsFormatterZeroFormattingBehavior { get }
static var Pad: NSDateComponentsFormatterZeroFormattingBehavior { get }
} | OptionSetType |
To | struct ZeroFormattingBehavior : OptionSet {
init(rawValue rawValue: UInt)
static var none: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var `default`: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropLeading: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropMiddle: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropTrailing: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var dropAll: DateComponentsFormatter.ZeroFormattingBehavior { get }
static var pad: DateComponentsFormatter.ZeroFormattingBehavior { get }
}
extension DateComponentsFormatter.ZeroFormattingBehavior {
func union(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior
func intersection(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior
func symmetricDifference(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior
}
extension DateComponentsFormatter.ZeroFormattingBehavior {
func contains(_ member: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
mutating func insert(_ newMember: DateComponentsFormatter.ZeroFormattingBehavior) -> (inserted: Bool, memberAfterInsert: DateComponentsFormatter.ZeroFormattingBehavior)
mutating func remove(_ member: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior?
mutating func update(with newMember: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior?
}
extension DateComponentsFormatter.ZeroFormattingBehavior {
convenience init()
mutating func formUnion(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
mutating func formIntersection(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
mutating func formSymmetricDifference(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
}
extension DateComponentsFormatter.ZeroFormattingBehavior {
convenience init<S : Sequence where S.Iterator.Element == DateComponentsFormatter.ZeroFormattingBehavior>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: DateComponentsFormatter.ZeroFormattingBehavior...)
mutating func subtract(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
func isSubset(of other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
func isSuperset(of other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
func isDisjoint(with other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
func subtracting(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior
var isEmpty: Bool { get }
func isStrictSuperset(of other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
func isStrictSubset(of other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
}
extension DateComponentsFormatter.ZeroFormattingBehavior {
func intersect(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior
func exclusiveOr(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> DateComponentsFormatter.ZeroFormattingBehavior
mutating func unionInPlace(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
mutating func intersectInPlace(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
mutating func exclusiveOrInPlace(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
func isSubsetOf(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
func isDisjointWith(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
func isSupersetOf(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
mutating func subtractInPlace(_ other: DateComponentsFormatter.ZeroFormattingBehavior)
func isStrictSupersetOf(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
func isStrictSubsetOf(_ other: DateComponentsFormatter.ZeroFormattingBehavior) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | Default | static var Default: NSDateComponentsFormatterZeroFormattingBehavior { get } |
To | default | static var `default`: DateComponentsFormatter.ZeroFormattingBehavior { get } |
---|
| Name | Declaration |
From | DropAll | static var DropAll: NSDateComponentsFormatterZeroFormattingBehavior { get } |
To | dropAll | static var dropAll: DateComponentsFormatter.ZeroFormattingBehavior { get } |
---|
| Name | Declaration |
From | DropLeading | static var DropLeading: NSDateComponentsFormatterZeroFormattingBehavior { get } |
To | dropLeading | static var dropLeading: DateComponentsFormatter.ZeroFormattingBehavior { get } |
---|
| Name | Declaration |
From | DropMiddle | static var DropMiddle: NSDateComponentsFormatterZeroFormattingBehavior { get } |
To | dropMiddle | static var dropMiddle: DateComponentsFormatter.ZeroFormattingBehavior { get } |
---|
| Name | Declaration |
From | DropTrailing | static var DropTrailing: NSDateComponentsFormatterZeroFormattingBehavior { get } |
To | dropTrailing | static var dropTrailing: DateComponentsFormatter.ZeroFormattingBehavior { get } |
---|
| Name | Declaration |
From | Pad | static var Pad: NSDateComponentsFormatterZeroFormattingBehavior { get } |
To | pad | static var pad: DateComponentsFormatter.ZeroFormattingBehavior { get } |
---|
| Declaration | Protocols |
From | class NSDateFormatter : NSFormatter {
var formattingContext: NSFormattingContext
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, range rangep: UnsafeMutablePointer<NSRange>) throws
func stringFromDate(_ date: NSDate) -> String
func dateFromString(_ string: String) -> NSDate?
class func localizedStringFromDate(_ date: NSDate, dateStyle dstyle: NSDateFormatterStyle, timeStyle tstyle: NSDateFormatterStyle) -> String
class func dateFormatFromTemplate(_ tmplate: String, options opts: Int, locale locale: NSLocale?) -> String?
class func defaultFormatterBehavior() -> NSDateFormatterBehavior
class func setDefaultFormatterBehavior(_ behavior: NSDateFormatterBehavior)
func setLocalizedDateFormatFromTemplate(_ dateFormatTemplate: String)
var dateFormat: String!
var dateStyle: NSDateFormatterStyle
var timeStyle: NSDateFormatterStyle
@NSCopying var locale: NSLocale!
var generatesCalendarDates: Bool
var formatterBehavior: NSDateFormatterBehavior
@NSCopying var timeZone: NSTimeZone!
@NSCopying var calendar: NSCalendar!
var lenient: Bool
@NSCopying var twoDigitStartDate: NSDate?
@NSCopying var defaultDate: NSDate?
var eraSymbols: [String]!
var monthSymbols: [String]!
var shortMonthSymbols: [String]!
var weekdaySymbols: [String]!
var shortWeekdaySymbols: [String]!
var AMSymbol: String!
var PMSymbol: String!
var longEraSymbols: [String]!
var veryShortMonthSymbols: [String]!
var standaloneMonthSymbols: [String]!
var shortStandaloneMonthSymbols: [String]!
var veryShortStandaloneMonthSymbols: [String]!
var veryShortWeekdaySymbols: [String]!
var standaloneWeekdaySymbols: [String]!
var shortStandaloneWeekdaySymbols: [String]!
var veryShortStandaloneWeekdaySymbols: [String]!
var quarterSymbols: [String]!
var shortQuarterSymbols: [String]!
var standaloneQuarterSymbols: [String]!
var shortStandaloneQuarterSymbols: [String]!
@NSCopying var gregorianStartDate: NSDate?
var doesRelativeDateFormatting: Bool
}
extension NSDateFormatter {
init(dateFormat format: String, allowNaturalLanguage flag: Bool)
func allowsNaturalLanguage() -> Bool
} | -- |
To | class DateFormatter : Formatter {
var formattingContext: Formatter.Context
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?) throws
func string(from date: Date) -> String
func date(from string: String) -> Date?
class func localizedString(from date: Date, dateStyle dstyle: DateFormatter.Style, timeStyle tstyle: DateFormatter.Style) -> String
class func dateFormat(fromTemplate tmplate: String, options opts: Int, locale locale: Locale?) -> String?
class var defaultFormatterBehavior: DateFormatter.Behavior
func setLocalizedDateFormatFromTemplate(_ dateFormatTemplate: String)
var dateFormat: String!
var dateStyle: DateFormatter.Style
var timeStyle: DateFormatter.Style
var locale: Locale!
var generatesCalendarDates: Bool
var formatterBehavior: DateFormatter.Behavior
var timeZone: TimeZone!
var calendar: Calendar!
var isLenient: Bool
var twoDigitStartDate: Date?
var defaultDate: Date?
var eraSymbols: [String]!
var monthSymbols: [String]!
var shortMonthSymbols: [String]!
var weekdaySymbols: [String]!
var shortWeekdaySymbols: [String]!
var amSymbol: String!
var pmSymbol: String!
var longEraSymbols: [String]!
var veryShortMonthSymbols: [String]!
var standaloneMonthSymbols: [String]!
var shortStandaloneMonthSymbols: [String]!
var veryShortStandaloneMonthSymbols: [String]!
var veryShortWeekdaySymbols: [String]!
var standaloneWeekdaySymbols: [String]!
var shortStandaloneWeekdaySymbols: [String]!
var veryShortStandaloneWeekdaySymbols: [String]!
var quarterSymbols: [String]!
var shortQuarterSymbols: [String]!
var standaloneQuarterSymbols: [String]!
var shortStandaloneQuarterSymbols: [String]!
var gregorianStartDate: Date?
var doesRelativeDateFormatting: Bool
init(dateFormat format: String, allowNaturalLanguage flag: Bool)
func allowsNaturalLanguage() -> Bool
enum Style : UInt {
case none
case short
case medium
case long
case full
}
enum Behavior : UInt {
case `default`
case behavior10_0
case behavior10_4
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 DateFormatter : CVarArg {
}
extension DateFormatter : Equatable, Hashable {
var hashValue: Int { get }
}
extension DateFormatter {
enum Style : UInt {
case none
case short
case medium
case long
case full
}
enum Behavior : UInt {
case `default`
case behavior10_0
case behavior10_4
}
}
extension DateFormatter {
init(dateFormat format: String, allowNaturalLanguage flag: Bool)
func allowsNaturalLanguage() -> Bool
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | AMSymbol | var AMSymbol: String! |
To | amSymbol | var amSymbol: String! |
---|
| Declaration |
From | @NSCopying var calendar: NSCalendar! |
To | var calendar: Calendar! |
---|
| Name | Declaration |
From | dateFromString(_:) | func dateFromString(_ string: String) -> NSDate? |
To | date(from:) | func date(from string: String) -> Date? |
---|
| Name | Declaration |
From | dateFormatFromTemplate(_:options:locale:) | class func dateFormatFromTemplate(_ tmplate: String, options opts: Int, locale locale: NSLocale?) -> String? |
To | dateFormat(fromTemplate:options:locale:) | class func dateFormat(fromTemplate tmplate: String, options opts: Int, locale locale: Locale?) -> String? |
---|
| Declaration |
From | var dateStyle: NSDateFormatterStyle |
To | var dateStyle: DateFormatter.Style |
---|
| Declaration |
From | @NSCopying var defaultDate: NSDate? |
To | var defaultDate: Date? |
---|
| Declaration |
From | var formatterBehavior: NSDateFormatterBehavior |
To | var formatterBehavior: DateFormatter.Behavior |
---|
| Declaration |
From | var formattingContext: NSFormattingContext |
To | var formattingContext: Formatter.Context |
---|
| Name | Declaration |
From | getObjectValue(_:forString:range:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, range rangep: UnsafeMutablePointer<NSRange>) throws |
To | getObjectValue(_:for:range:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?) throws |
---|
| Declaration |
From | @NSCopying var gregorianStartDate: NSDate? |
To | var gregorianStartDate: Date? |
---|
| Name | Declaration |
From | lenient | var lenient: Bool |
To | isLenient | var isLenient: Bool |
---|
| Declaration |
From | @NSCopying var locale: NSLocale! |
To | var locale: Locale! |
---|
| Name | Declaration |
From | localizedStringFromDate(_:dateStyle:timeStyle:) | class func localizedStringFromDate(_ date: NSDate, dateStyle dstyle: NSDateFormatterStyle, timeStyle tstyle: NSDateFormatterStyle) -> String |
To | localizedString(from:dateStyle:timeStyle:) | class func localizedString(from date: Date, dateStyle dstyle: DateFormatter.Style, timeStyle tstyle: DateFormatter.Style) -> String |
---|
| Name | Declaration |
From | PMSymbol | var PMSymbol: String! |
To | pmSymbol | var pmSymbol: String! |
---|
| Name | Declaration |
From | stringFromDate(_:) | func stringFromDate(_ date: NSDate) -> String |
To | string(from:) | func string(from date: Date) -> String |
---|
| Declaration |
From | var timeStyle: NSDateFormatterStyle |
To | var timeStyle: DateFormatter.Style |
---|
| Declaration |
From | @NSCopying var timeZone: NSTimeZone! |
To | var timeZone: TimeZone! |
---|
| Declaration |
From | @NSCopying var twoDigitStartDate: NSDate? |
To | var twoDigitStartDate: Date? |
---|
| Declaration |
From | enum NSDateFormatterBehavior : UInt {
case BehaviorDefault
case Behavior10_0
case Behavior10_4
} |
To | enum Behavior : UInt {
case `default`
case behavior10_0
case behavior10_4
} |
---|
| Name | Declaration |
From | Behavior10_0 | case Behavior10_0 |
To | behavior10_0 | case behavior10_0 |
---|
| Name | Declaration |
From | Behavior10_4 | case Behavior10_4 |
To | behavior10_4 | case behavior10_4 |
---|
| Name | Declaration |
From | BehaviorDefault | case BehaviorDefault |
To | default | case `default` |
---|
| Declaration |
From | enum NSDateFormatterStyle : UInt {
case NoStyle
case ShortStyle
case MediumStyle
case LongStyle
case FullStyle
} |
To | enum Style : UInt {
case none
case short
case medium
case long
case full
} |
---|
| Name | Declaration |
From | FullStyle | case FullStyle |
To | full | case full |
---|
| Name | Declaration |
From | LongStyle | case LongStyle |
To | long | case long |
---|
| Name | Declaration |
From | MediumStyle | case MediumStyle |
To | medium | case medium |
---|
| Name | Declaration |
From | NoStyle | case NoStyle |
To | none | case none |
---|
| Name | Declaration |
From | ShortStyle | case ShortStyle |
To | short | case short |
---|
| Declaration | Protocols |
From | class NSDateIntervalFormatter : NSFormatter {
@NSCopying var locale: NSLocale!
@NSCopying var calendar: NSCalendar!
@NSCopying var timeZone: NSTimeZone!
var dateTemplate: String!
var dateStyle: NSDateIntervalFormatterStyle
var timeStyle: NSDateIntervalFormatterStyle
func stringFromDate(_ fromDate: NSDate, toDate toDate: NSDate) -> String
} | -- |
To | class DateIntervalFormatter : Formatter {
var locale: Locale!
var calendar: Calendar!
var timeZone: TimeZone!
var dateTemplate: String!
var dateStyle: DateIntervalFormatter.Style
var timeStyle: DateIntervalFormatter.Style
func string(from fromDate: Date, to toDate: Date) -> String
func string(from dateInterval: DateInterval) -> String?
enum Style : UInt {
case none
case short
case medium
case long
case full
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 DateIntervalFormatter {
enum Style : UInt {
case none
case short
case medium
case long
case full
}
}
extension DateIntervalFormatter : CVarArg {
}
extension DateIntervalFormatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | @NSCopying var calendar: NSCalendar! |
To | var calendar: Calendar! |
---|
| Declaration |
From | var dateStyle: NSDateIntervalFormatterStyle |
To | var dateStyle: DateIntervalFormatter.Style |
---|
| Declaration |
From | @NSCopying var locale: NSLocale! |
To | var locale: Locale! |
---|
| Name | Declaration |
From | stringFromDate(_:toDate:) | func stringFromDate(_ fromDate: NSDate, toDate toDate: NSDate) -> String |
To | string(from:to:) | func string(from fromDate: Date, to toDate: Date) -> String |
---|
| Declaration |
From | var timeStyle: NSDateIntervalFormatterStyle |
To | var timeStyle: DateIntervalFormatter.Style |
---|
| Declaration |
From | @NSCopying var timeZone: NSTimeZone! |
To | var timeZone: TimeZone! |
---|
| Declaration |
From | enum NSDateIntervalFormatterStyle : UInt {
case NoStyle
case ShortStyle
case MediumStyle
case LongStyle
case FullStyle
} |
To | enum Style : UInt {
case none
case short
case medium
case long
case full
} |
---|
| Name | Declaration |
From | FullStyle | case FullStyle |
To | full | case full |
---|
| Name | Declaration |
From | LongStyle | case LongStyle |
To | long | case long |
---|
| Name | Declaration |
From | MediumStyle | case MediumStyle |
To | medium | case medium |
---|
| Name | Declaration |
From | NoStyle | case NoStyle |
To | none | case none |
---|
| Name | Declaration |
From | ShortStyle | case ShortStyle |
To | short | case short |
---|
| Declaration | Protocols |
From | struct NSDecimal {
var _exponent: Int32
var _length: UInt32
var _isNegative: UInt32
var _isCompact: UInt32
var _reserved: UInt32
var _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16)
init()
init(_exponent _exponent: Int32, _length _length: UInt32, _isNegative _isNegative: UInt32, _isCompact _isCompact: UInt32, _reserved _reserved: UInt32, _mantissa _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16))
} | -- |
To | struct Decimal {
var _exponent: Int32
var _length: UInt32
var _isNegative: UInt32
var _isCompact: UInt32
var _reserved: UInt32
var _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16)
init()
init(_exponent _exponent: Int32, _length _length: UInt32, _isNegative _isNegative: UInt32, _isCompact _isCompact: UInt32, _reserved _reserved: UInt32, _mantissa _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16))
typealias RoundingMode = NSDecimalNumber.RoundingMode
typealias CalculationError = NSDecimalNumber.CalculationError
static let leastFiniteMagnitude: Decimal
static let greatestFiniteMagnitude: Decimal
static let leastNormalMagnitude: Decimal
static let leastNonzeroMagnitude: Decimal
static let pi: Decimal
var exponent: Int { get }
var significand: Decimal { get }
init(sign sign: FloatingPointSign, exponent exponent: Int, significand significand: Decimal)
init(signOf signOf: Decimal, magnitudeOf magnitude: Decimal)
var sign: FloatingPointSign { get }
static var radix: Int { get }
var ulp: Decimal { get }
mutating func formTruncatingRemainder(dividingBy other: Decimal)
mutating func add(_ other: Decimal)
mutating func subtract(_ other: Decimal)
mutating func multiply(by other: Decimal)
mutating func divide(by other: Decimal)
mutating func negate()
func isEqual(to other: Decimal) -> Bool
func isLess(than other: Decimal) -> Bool
func isLessThanOrEqualTo(_ other: Decimal) -> Bool
func isTotallyOrdered(belowOrEqualTo other: Decimal) -> Bool
var isCanonical: Bool { get }
var nextUp: Decimal { get }
var nextDown: Decimal { get }
static func +(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
static func -(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
static func /(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
static func *(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
init(_ value: UInt8)
init(_ value: Int8)
init(_ value: UInt16)
init(_ value: Int16)
init(_ value: UInt32)
init(_ value: Int32)
init(_ value: Double)
init(_ value: UInt64)
init(_ value: Int64)
init(_ value: UInt)
init(_ value: Int)
static var infinity: Decimal { get }
static var signalingNaN: Decimal { get }
var isSignalingNaN: Bool { get }
static var nan: Decimal { get }
static var quietNaN: Decimal { get }
var floatingPointClass: FloatingPointClassification { get }
var isSignMinus: Bool { get }
var isNormal: Bool { get }
var isFinite: Bool { get }
var isZero: Bool { get }
var isSubnormal: Bool { get }
var isInfinite: Bool { get }
var isNaN: Bool { get }
var isSignaling: Bool { get }
}
extension Decimal : ExpressibleByFloatLiteral {
init(floatLiteral value: Double)
}
extension Decimal : ExpressibleByIntegerLiteral {
init(integerLiteral value: Int)
}
extension Decimal : Strideable {
func distance(to other: Decimal) -> Decimal
func advanced(by n: Decimal) -> Decimal
}
extension Decimal : AbsoluteValuable {
static func abs(_ x: Decimal) -> Decimal
}
extension Decimal : CustomStringConvertible {
init?(string string: String, locale locale: Locale? = default)
var description: String { get }
}
extension Decimal : Hashable, Comparable {
var hashValue: Int { get }
static func ==(_ lhs: Decimal, _ rhs: Decimal) -> Bool
static func <(_ lhs: Decimal, _ rhs: Decimal) -> Bool
}
extension Decimal {
typealias RoundingMode = NSDecimalNumber.RoundingMode
typealias CalculationError = NSDecimalNumber.CalculationError
static let leastFiniteMagnitude: Decimal
static let greatestFiniteMagnitude: Decimal
static let leastNormalMagnitude: Decimal
static let leastNonzeroMagnitude: Decimal
static let pi: Decimal
var exponent: Int { get }
var significand: Decimal { get }
init(sign sign: FloatingPointSign, exponent exponent: Int, significand significand: Decimal)
init(signOf signOf: Decimal, magnitudeOf magnitude: Decimal)
var sign: FloatingPointSign { get }
static var radix: Int { get }
var ulp: Decimal { get }
mutating func formTruncatingRemainder(dividingBy other: Decimal)
mutating func add(_ other: Decimal)
mutating func subtract(_ other: Decimal)
mutating func multiply(by other: Decimal)
mutating func divide(by other: Decimal)
mutating func negate()
func isEqual(to other: Decimal) -> Bool
func isLess(than other: Decimal) -> Bool
func isLessThanOrEqualTo(_ other: Decimal) -> Bool
func isTotallyOrdered(belowOrEqualTo other: Decimal) -> Bool
var isCanonical: Bool { get }
var nextUp: Decimal { get }
var nextDown: Decimal { get }
static func +(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
static func -(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
static func /(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
static func *(_ lhs: Decimal, _ rhs: Decimal) -> Decimal
}
extension Decimal : Hashable, Comparable {
var hashValue: Int { get }
static func ==(_ lhs: Decimal, _ rhs: Decimal) -> Bool
static func <(_ lhs: Decimal, _ rhs: Decimal) -> Bool
}
extension Decimal : ExpressibleByFloatLiteral {
init(floatLiteral value: Double)
}
extension Decimal : ExpressibleByIntegerLiteral {
init(integerLiteral value: Int)
}
extension Decimal : SignedNumber {
}
extension Decimal : Strideable {
func distance(to other: Decimal) -> Decimal
func advanced(by n: Decimal) -> Decimal
}
extension Decimal : AbsoluteValuable {
static func abs(_ x: Decimal) -> Decimal
}
extension Decimal {
init(_ value: UInt8)
init(_ value: Int8)
init(_ value: UInt16)
init(_ value: Int16)
init(_ value: UInt32)
init(_ value: Int32)
init(_ value: Double)
init(_ value: UInt64)
init(_ value: Int64)
init(_ value: UInt)
init(_ value: Int)
static var infinity: Decimal { get }
static var signalingNaN: Decimal { get }
var isSignalingNaN: Bool { get }
static var nan: Decimal { get }
static var quietNaN: Decimal { get }
var floatingPointClass: FloatingPointClassification { get }
var isSignMinus: Bool { get }
var isNormal: Bool { get }
var isFinite: Bool { get }
var isZero: Bool { get }
var isSubnormal: Bool { get }
var isInfinite: Bool { get }
var isNaN: Bool { get }
var isSignaling: Bool { get }
}
extension Decimal : CustomStringConvertible {
init?(string string: String, locale locale: Locale? = default)
var description: String { get }
}
extension Decimal {
} | AbsoluteValuable, Comparable, CustomStringConvertible, ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, Hashable, SignedNumber, Strideable |
---|
| Declaration |
From | class NSDistributedNotificationCenter : NSNotificationCenter {
class func notificationCenterForType(_ notificationCenterType: String) -> NSDistributedNotificationCenter
class func defaultCenter() -> NSDistributedNotificationCenter
func addObserver(_ observer: AnyObject, selector selector: Selector, name name: String?, object object: String?, suspensionBehavior suspensionBehavior: NSNotificationSuspensionBehavior)
func postNotificationName(_ name: String, object object: String?, userInfo userInfo: [NSObject : AnyObject]?, deliverImmediately deliverImmediately: Bool)
func postNotificationName(_ name: String, object object: String?, userInfo userInfo: [NSObject : AnyObject]?, options options: NSDistributedNotificationOptions)
var suspended: Bool
func addObserver(_ observer: AnyObject, selector aSelector: Selector, name aName: String?, object anObject: String?)
func postNotificationName(_ aName: String, object anObject: String?)
func postNotificationName(_ aName: String, object anObject: String?, userInfo aUserInfo: [NSObject : AnyObject]?)
func removeObserver(_ observer: AnyObject, name aName: String?, object anObject: String?)
} |
To | class DistributedNotificationCenter : NotificationCenter {
class func forType(_ notificationCenterType: DistributedNotificationCenter.CenterType) -> DistributedNotificationCenter
class func `default`() -> DistributedNotificationCenter
func addObserver(_ observer: Any, selector selector: Selector, name name: NSNotification.Name?, object object: String?, suspensionBehavior suspensionBehavior: DistributedNotificationCenter.SuspensionBehavior)
func postNotificationName(_ name: NSNotification.Name, object object: String?, userInfo userInfo: [AnyHashable : Any]? = nil, deliverImmediately deliverImmediately: Bool)
func postNotificationName(_ name: NSNotification.Name, object object: String?, userInfo userInfo: [AnyHashable : Any]? = nil, options options: DistributedNotificationCenter.Options = [])
var suspended: Bool
func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: String?)
func post(name aName: NSNotification.Name, object anObject: String?)
func post(name aName: NSNotification.Name, object anObject: String?, userInfo aUserInfo: [AnyHashable : Any]? = nil)
func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: String?)
struct CenterType : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
enum SuspensionBehavior : UInt {
case drop
case coalesce
case hold
case deliverImmediately
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var deliverImmediately: DistributedNotificationCenter.Options { get }
static var postToAllSessions: DistributedNotificationCenter.Options { get }
}
}
extension DistributedNotificationCenter {
struct CenterType : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
enum SuspensionBehavior : UInt {
case drop
case coalesce
case hold
case deliverImmediately
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var deliverImmediately: DistributedNotificationCenter.Options { get }
static var postToAllSessions: DistributedNotificationCenter.Options { get }
}
} |
---|
| Declaration |
From | func addObserver(_ observer: AnyObject, selector aSelector: Selector, name aName: String?, object anObject: String?) |
To | func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: String?) |
---|
| Declaration |
From | func addObserver(_ observer: AnyObject, selector selector: Selector, name name: String?, object object: String?, suspensionBehavior suspensionBehavior: NSNotificationSuspensionBehavior) |
To | func addObserver(_ observer: Any, selector selector: Selector, name name: NSNotification.Name?, object object: String?, suspensionBehavior suspensionBehavior: DistributedNotificationCenter.SuspensionBehavior) |
---|
| Name | Declaration |
From | defaultCenter() | class func defaultCenter() -> NSDistributedNotificationCenter |
To | default() | class func `default`() -> DistributedNotificationCenter |
---|
| Name | Declaration |
From | notificationCenterForType(_:) | class func notificationCenterForType(_ notificationCenterType: String) -> NSDistributedNotificationCenter |
To | forType(_:) | class func forType(_ notificationCenterType: DistributedNotificationCenter.CenterType) -> DistributedNotificationCenter |
---|
| Name | Declaration |
From | postNotificationName(_:object:) | func postNotificationName(_ aName: String, object anObject: String?) |
To | post(name:object:) | func post(name aName: NSNotification.Name, object anObject: String?) |
---|
| Name | Declaration |
From | postNotificationName(_:object:userInfo:) | func postNotificationName(_ aName: String, object anObject: String?, userInfo aUserInfo: [NSObject : AnyObject]?) |
To | post(name:object:userInfo:) | func post(name aName: NSNotification.Name, object anObject: String?, userInfo aUserInfo: [AnyHashable : Any]? = nil) |
---|
| Declaration |
From | func postNotificationName(_ name: String, object object: String?, userInfo userInfo: [NSObject : AnyObject]?, deliverImmediately deliverImmediately: Bool) |
To | func postNotificationName(_ name: NSNotification.Name, object object: String?, userInfo userInfo: [AnyHashable : Any]? = nil, deliverImmediately deliverImmediately: Bool) |
---|
| Declaration |
From | func postNotificationName(_ name: String, object object: String?, userInfo userInfo: [NSObject : AnyObject]?, options options: NSDistributedNotificationOptions) |
To | func postNotificationName(_ name: NSNotification.Name, object object: String?, userInfo userInfo: [AnyHashable : Any]? = nil, options options: DistributedNotificationCenter.Options = []) |
---|
| Declaration |
From | func removeObserver(_ observer: AnyObject, name aName: String?, object anObject: String?) |
To | func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: String?) |
---|
| Name | Declaration |
From | NSLocalNotificationCenterType | let NSLocalNotificationCenterType: String |
To | localNotificationCenterType | static let localNotificationCenterType: DistributedNotificationCenter.CenterType |
---|
| Declaration | Protocols |
From | struct NSDistributedNotificationOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var DeliverImmediately: NSDistributedNotificationOptions { get }
static var PostToAllSessions: NSDistributedNotificationOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var deliverImmediately: DistributedNotificationCenter.Options { get }
static var postToAllSessions: DistributedNotificationCenter.Options { get }
}
extension DistributedNotificationCenter.Options {
func union(_ other: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options
func intersection(_ other: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options
func symmetricDifference(_ other: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options
}
extension DistributedNotificationCenter.Options {
func contains(_ member: DistributedNotificationCenter.Options) -> Bool
mutating func insert(_ newMember: DistributedNotificationCenter.Options) -> (inserted: Bool, memberAfterInsert: DistributedNotificationCenter.Options)
mutating func remove(_ member: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options?
mutating func update(with newMember: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options?
}
extension DistributedNotificationCenter.Options {
convenience init()
mutating func formUnion(_ other: DistributedNotificationCenter.Options)
mutating func formIntersection(_ other: DistributedNotificationCenter.Options)
mutating func formSymmetricDifference(_ other: DistributedNotificationCenter.Options)
}
extension DistributedNotificationCenter.Options {
convenience init<S : Sequence where S.Iterator.Element == DistributedNotificationCenter.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: DistributedNotificationCenter.Options...)
mutating func subtract(_ other: DistributedNotificationCenter.Options)
func isSubset(of other: DistributedNotificationCenter.Options) -> Bool
func isSuperset(of other: DistributedNotificationCenter.Options) -> Bool
func isDisjoint(with other: DistributedNotificationCenter.Options) -> Bool
func subtracting(_ other: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: DistributedNotificationCenter.Options) -> Bool
func isStrictSubset(of other: DistributedNotificationCenter.Options) -> Bool
}
extension DistributedNotificationCenter.Options {
func intersect(_ other: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options
func exclusiveOr(_ other: DistributedNotificationCenter.Options) -> DistributedNotificationCenter.Options
mutating func unionInPlace(_ other: DistributedNotificationCenter.Options)
mutating func intersectInPlace(_ other: DistributedNotificationCenter.Options)
mutating func exclusiveOrInPlace(_ other: DistributedNotificationCenter.Options)
func isSubsetOf(_ other: DistributedNotificationCenter.Options) -> Bool
func isDisjointWith(_ other: DistributedNotificationCenter.Options) -> Bool
func isSupersetOf(_ other: DistributedNotificationCenter.Options) -> Bool
mutating func subtractInPlace(_ other: DistributedNotificationCenter.Options)
func isStrictSupersetOf(_ other: DistributedNotificationCenter.Options) -> Bool
func isStrictSubsetOf(_ other: DistributedNotificationCenter.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | DeliverImmediately | static var DeliverImmediately: NSDistributedNotificationOptions { get } |
To | deliverImmediately | static var deliverImmediately: DistributedNotificationCenter.Options { get } |
---|
| Name | Declaration |
From | PostToAllSessions | static var PostToAllSessions: NSDistributedNotificationOptions { get } |
To | postToAllSessions | static var postToAllSessions: DistributedNotificationCenter.Options { get } |
---|
| Declaration |
From | enum NSNotificationSuspensionBehavior : UInt {
case Drop
case Coalesce
case Hold
case DeliverImmediately
} |
To | enum SuspensionBehavior : UInt {
case drop
case coalesce
case hold
case deliverImmediately
} |
---|
| Name | Declaration |
From | Coalesce | case Coalesce |
To | coalesce | case coalesce |
---|
| Name | Declaration |
From | DeliverImmediately | case DeliverImmediately |
To | deliverImmediately | case deliverImmediately |
---|
| Name | Declaration |
From | Drop | case Drop |
To | drop | case drop |
---|
| Name | Declaration |
From | Hold | case Hold |
To | hold | case hold |
---|
| Declaration |
From | struct NSEdgeInsets {
var top: CGFloat
var left: CGFloat
var bottom: CGFloat
var right: CGFloat
init()
init(top top: CGFloat, left left: CGFloat, bottom bottom: CGFloat, right right: CGFloat)
} |
To | struct EdgeInsets {
var top: CGFloat
var left: CGFloat
var bottom: CGFloat
var right: CGFloat
init()
init(top top: CGFloat, left left: CGFloat, bottom bottom: CGFloat, right right: CGFloat)
} |
---|
| Declaration | Protocols |
From | class NSEnergyFormatter : NSFormatter {
@NSCopying var numberFormatter: NSNumberFormatter!
var unitStyle: NSFormattingUnitStyle
var forFoodEnergyUse: Bool
func stringFromValue(_ value: Double, unit unit: NSEnergyFormatterUnit) -> String
func stringFromJoules(_ numberInJoules: Double) -> String
func unitStringFromValue(_ value: Double, unit unit: NSEnergyFormatterUnit) -> String
func unitStringFromJoules(_ numberInJoules: Double, usedUnit unitp: UnsafeMutablePointer<NSEnergyFormatterUnit>) -> String
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
} | -- |
To | class EnergyFormatter : Formatter {
@NSCopying var numberFormatter: NumberFormatter!
var unitStyle: Formatter.UnitStyle
var isForFoodEnergyUse: Bool
func string(fromValue value: Double, unit unit: EnergyFormatter.Unit) -> String
func string(fromJoules numberInJoules: Double) -> String
func unitString(fromValue value: Double, unit unit: EnergyFormatter.Unit) -> String
func unitString(fromJoules numberInJoules: Double, usedUnit unitp: UnsafeMutablePointer<EnergyFormatter.Unit>?) -> String
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
enum Unit : Int {
case joule
case kilojoule
case calorie
case kilocalorie
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 EnergyFormatter {
enum Unit : Int {
case joule
case kilojoule
case calorie
case kilocalorie
}
}
extension EnergyFormatter : CVarArg {
}
extension EnergyFormatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | getObjectValue(_:forString:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | getObjectValue(_:for:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Name | Declaration |
From | forFoodEnergyUse | var forFoodEnergyUse: Bool |
To | isForFoodEnergyUse | var isForFoodEnergyUse: Bool |
---|
| Declaration |
From | @NSCopying var numberFormatter: NSNumberFormatter! |
To | @NSCopying var numberFormatter: NumberFormatter! |
---|
| Name | Declaration |
From | stringFromJoules(_:) | func stringFromJoules(_ numberInJoules: Double) -> String |
To | string(fromJoules:) | func string(fromJoules numberInJoules: Double) -> String |
---|
| Name | Declaration |
From | stringFromValue(_:unit:) | func stringFromValue(_ value: Double, unit unit: NSEnergyFormatterUnit) -> String |
To | string(fromValue:unit:) | func string(fromValue value: Double, unit unit: EnergyFormatter.Unit) -> String |
---|
| Name | Declaration |
From | unitStringFromJoules(_:usedUnit:) | func unitStringFromJoules(_ numberInJoules: Double, usedUnit unitp: UnsafeMutablePointer<NSEnergyFormatterUnit>) -> String |
To | unitString(fromJoules:usedUnit:) | func unitString(fromJoules numberInJoules: Double, usedUnit unitp: UnsafeMutablePointer<EnergyFormatter.Unit>?) -> String |
---|
| Name | Declaration |
From | unitStringFromValue(_:unit:) | func unitStringFromValue(_ value: Double, unit unit: NSEnergyFormatterUnit) -> String |
To | unitString(fromValue:unit:) | func unitString(fromValue value: Double, unit unit: EnergyFormatter.Unit) -> String |
---|
| Declaration |
From | var unitStyle: NSFormattingUnitStyle |
To | var unitStyle: Formatter.UnitStyle |
---|
| Declaration |
From | enum NSEnergyFormatterUnit : Int {
case Joule
case Kilojoule
case Calorie
case Kilocalorie
} |
To | enum Unit : Int {
case joule
case kilojoule
case calorie
case kilocalorie
} |
---|
| Name | Declaration |
From | Calorie | case Calorie |
To | calorie | case calorie |
---|
| Name | Declaration |
From | Joule | case Joule |
To | joule | case joule |
---|
| Name | Declaration |
From | Kilocalorie | case Kilocalorie |
To | kilocalorie | case kilocalorie |
---|
| Name | Declaration |
From | Kilojoule | case Kilojoule |
To | kilojoule | case kilojoule |
---|
| Name | Declaration |
From | NSFileAppendOnly | let NSFileAppendOnly: String |
To | appendOnly | static let appendOnly: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileBusy | let NSFileBusy: String |
To | busy | static let busy: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileCreationDate | let NSFileCreationDate: String |
To | creationDate | static let creationDate: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileDeviceIdentifier | let NSFileDeviceIdentifier: String |
To | deviceIdentifier | static let deviceIdentifier: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileExtensionHidden | let NSFileExtensionHidden: String |
To | extensionHidden | static let extensionHidden: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileGroupOwnerAccountID | let NSFileGroupOwnerAccountID: String |
To | groupOwnerAccountID | static let groupOwnerAccountID: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileGroupOwnerAccountName | let NSFileGroupOwnerAccountName: String |
To | groupOwnerAccountName | static let groupOwnerAccountName: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileHFSCreatorCode | let NSFileHFSCreatorCode: String |
To | hfsCreatorCode | static let hfsCreatorCode: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileHFSTypeCode | let NSFileHFSTypeCode: String |
To | hfsTypeCode | static let hfsTypeCode: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileImmutable | let NSFileImmutable: String |
To | immutable | static let immutable: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileModificationDate | let NSFileModificationDate: String |
To | modificationDate | static let modificationDate: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileOwnerAccountID | let NSFileOwnerAccountID: String |
To | ownerAccountID | static let ownerAccountID: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileOwnerAccountName | let NSFileOwnerAccountName: String |
To | ownerAccountName | static let ownerAccountName: FileAttributeKey |
---|
| Name | Declaration |
From | NSFilePosixPermissions | let NSFilePosixPermissions: String |
To | posixPermissions | static let posixPermissions: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileReferenceCount | let NSFileReferenceCount: String |
To | referenceCount | static let referenceCount: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileSize | let NSFileSize: String |
To | size | static let size: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileSystemFileNumber | let NSFileSystemFileNumber: String |
To | systemFileNumber | static let systemFileNumber: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileSystemFreeNodes | let NSFileSystemFreeNodes: String |
To | systemFreeNodes | static let systemFreeNodes: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileSystemFreeSize | let NSFileSystemFreeSize: String |
To | systemFreeSize | static let systemFreeSize: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileSystemNodes | let NSFileSystemNodes: String |
To | systemNodes | static let systemNodes: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileSystemNumber | let NSFileSystemNumber: String |
To | systemNumber | static let systemNumber: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileSystemSize | let NSFileSystemSize: String |
To | systemSize | static let systemSize: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileType | let NSFileType: String |
To | type | static let type: FileAttributeKey |
---|
| Name | Declaration |
From | NSFileTypeBlockSpecial | let NSFileTypeBlockSpecial: String |
To | typeBlockSpecial | static let typeBlockSpecial: FileAttributeType |
---|
| Name | Declaration |
From | NSFileTypeCharacterSpecial | let NSFileTypeCharacterSpecial: String |
To | typeCharacterSpecial | static let typeCharacterSpecial: FileAttributeType |
---|
| Name | Declaration |
From | NSFileTypeDirectory | let NSFileTypeDirectory: String |
To | typeDirectory | static let typeDirectory: FileAttributeType |
---|
| Name | Declaration |
From | NSFileTypeRegular | let NSFileTypeRegular: String |
To | typeRegular | static let typeRegular: FileAttributeType |
---|
| Name | Declaration |
From | NSFileTypeSocket | let NSFileTypeSocket: String |
To | typeSocket | static let typeSocket: FileAttributeType |
---|
| Name | Declaration |
From | NSFileTypeSymbolicLink | let NSFileTypeSymbolicLink: String |
To | typeSymbolicLink | static let typeSymbolicLink: FileAttributeType |
---|
| Name | Declaration |
From | NSFileTypeUnknown | let NSFileTypeUnknown: String |
To | typeUnknown | static let typeUnknown: FileAttributeType |
---|
| Declaration | Protocols |
From | class NSFileHandle : NSObject, NSSecureCoding {
@NSCopying var availableData: NSData { get }
func readDataToEndOfFile() -> NSData
func readDataOfLength(_ length: Int) -> NSData
func writeData(_ data: NSData)
var offsetInFile: UInt64 { get }
func seekToEndOfFile() -> UInt64
func seekToFileOffset(_ offset: UInt64)
func truncateFileAtOffset(_ offset: UInt64)
func synchronizeFile()
func closeFile()
init(fileDescriptor fd: Int32, closeOnDealloc closeopt: Bool)
init?(coder coder: NSCoder)
}
extension NSFileHandle {
class func fileHandleWithStandardInput() -> NSFileHandle
class func fileHandleWithStandardOutput() -> NSFileHandle
class func fileHandleWithStandardError() -> NSFileHandle
class func fileHandleWithNullDevice() -> NSFileHandle
convenience init?(forReadingAtPath path: String)
class func fileHandleForReadingAtPath(_ path: String) -> Self?
convenience init?(forWritingAtPath path: String)
class func fileHandleForWritingAtPath(_ path: String) -> Self?
convenience init?(forUpdatingAtPath path: String)
class func fileHandleForUpdatingAtPath(_ path: String) -> Self?
convenience init(forReadingFromURL url: NSURL) throws
class func fileHandleForReadingFromURL(_ url: NSURL) throws -> Self
convenience init(forWritingToURL url: NSURL) throws
class func fileHandleForWritingToURL(_ url: NSURL) throws -> Self
convenience init(forUpdatingURL url: NSURL) throws
class func fileHandleForUpdatingURL(_ url: NSURL) throws -> Self
}
extension NSFileHandle {
func readInBackgroundAndNotifyForModes(_ modes: [String]?)
func readInBackgroundAndNotify()
func readToEndOfFileInBackgroundAndNotifyForModes(_ modes: [String]?)
func readToEndOfFileInBackgroundAndNotify()
func acceptConnectionInBackgroundAndNotifyForModes(_ modes: [String]?)
func acceptConnectionInBackgroundAndNotify()
func waitForDataInBackgroundAndNotifyForModes(_ modes: [String]?)
func waitForDataInBackgroundAndNotify()
var readabilityHandler: ((NSFileHandle) -> Void)?
var writeabilityHandler: ((NSFileHandle) -> Void)?
}
extension NSFileHandle {
convenience init(fileDescriptor fd: Int32)
var fileDescriptor: Int32 { get }
} | NSSecureCoding |
To | class FileHandle : NSObject, NSSecureCoding {
var availableData: Data { get }
func readDataToEndOfFile() -> Data
func readData(ofLength length: Int) -> Data
func write(_ data: Data)
var offsetInFile: UInt64 { get }
func seekToEndOfFile() -> UInt64
func seek(toFileOffset offset: UInt64)
func truncateFile(atOffset offset: UInt64)
func synchronizeFile()
func closeFile()
init(fileDescriptor fd: Int32, closeOnDealloc closeopt: Bool)
init?(coder coder: NSCoder)
convenience init(fileDescriptor fd: Int32)
var fileDescriptor: Int32 { get }
func readInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func readInBackgroundAndNotify()
func readToEndOfFileInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func readToEndOfFileInBackgroundAndNotify()
func acceptConnectionInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func acceptConnectionInBackgroundAndNotify()
func waitForDataInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func waitForDataInBackgroundAndNotify()
var readabilityHandler: ((FileHandle) -> Swift.Void)?
var writeabilityHandler: ((FileHandle) -> Swift.Void)?
class var standardInput: FileHandle { get }
class var standardOutput: FileHandle { get }
class var standardError: FileHandle { get }
class var nullDevice: FileHandle { get }
convenience init?(forReadingAtPath path: String)
class func forReadingAtPath(_ path: String) -> Self?
convenience init?(forWritingAtPath path: String)
class func forWritingAtPath(_ path: String) -> Self?
convenience init?(forUpdatingAtPath path: String)
class func forUpdatingAtPath(_ path: String) -> Self?
convenience init(forReadingFrom url: URL) throws
class func forReadingFrom(_ url: URL) throws -> Self
convenience init(forWritingTo url: URL) throws
class func forWritingTo(_ url: URL) throws -> Self
convenience init(forUpdating url: URL) throws
class func forUpdating(_ url: URL) throws -> Self
class let readCompletionNotification: NSNotification.Name
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 FileHandle : CVarArg {
}
extension FileHandle : Equatable, Hashable {
var hashValue: Int { get }
}
extension FileHandle {
class var standardInput: FileHandle { get }
class var standardOutput: FileHandle { get }
class var standardError: FileHandle { get }
class var nullDevice: FileHandle { get }
convenience init?(forReadingAtPath path: String)
class func forReadingAtPath(_ path: String) -> Self?
convenience init?(forWritingAtPath path: String)
class func forWritingAtPath(_ path: String) -> Self?
convenience init?(forUpdatingAtPath path: String)
class func forUpdatingAtPath(_ path: String) -> Self?
convenience init(forReadingFrom url: URL) throws
class func forReadingFrom(_ url: URL) throws -> Self
convenience init(forWritingTo url: URL) throws
class func forWritingTo(_ url: URL) throws -> Self
convenience init(forUpdating url: URL) throws
class func forUpdating(_ url: URL) throws -> Self
}
extension FileHandle {
class let readCompletionNotification: NSNotification.Name
}
extension FileHandle {
func readInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func readInBackgroundAndNotify()
func readToEndOfFileInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func readToEndOfFileInBackgroundAndNotify()
func acceptConnectionInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func acceptConnectionInBackgroundAndNotify()
func waitForDataInBackgroundAndNotify(forModes modes: [RunLoopMode]?)
func waitForDataInBackgroundAndNotify()
var readabilityHandler: ((FileHandle) -> Swift.Void)?
var writeabilityHandler: ((FileHandle) -> Swift.Void)?
}
extension FileHandle {
convenience init(fileDescriptor fd: Int32)
var fileDescriptor: Int32 { get }
} | CVarArg, Equatable, Hashable, NSSecureCoding |
---|
| Name | Declaration |
From | acceptConnectionInBackgroundAndNotifyForModes(_:) | func acceptConnectionInBackgroundAndNotifyForModes(_ modes: [String]?) |
To | acceptConnectionInBackgroundAndNotify(forModes:) | func acceptConnectionInBackgroundAndNotify(forModes modes: [RunLoopMode]?) |
---|
| Declaration |
From | @NSCopying var availableData: NSData { get } |
To | var availableData: Data { get } |
---|
| Name | Declaration |
From | init(forReadingFromURL:) | convenience init(forReadingFromURL url: NSURL) throws |
To | init(forReadingFrom:) | convenience init(forReadingFrom url: URL) throws |
---|
| Name | Declaration |
From | init(forUpdatingURL:) | convenience init(forUpdatingURL url: NSURL) throws |
To | init(forUpdating:) | convenience init(forUpdating url: URL) throws |
---|
| Name | Declaration |
From | init(forWritingToURL:) | convenience init(forWritingToURL url: NSURL) throws |
To | init(forWritingTo:) | convenience init(forWritingTo url: URL) throws |
---|
| Declaration |
From | var readabilityHandler: ((NSFileHandle) -> Void)? |
To | var readabilityHandler: ((FileHandle) -> Swift.Void)? |
---|
| Name | Declaration |
From | NSFileHandleReadCompletionNotification | let NSFileHandleReadCompletionNotification: String |
To | readCompletionNotification | class let readCompletionNotification: NSNotification.Name |
---|
| Name | Declaration |
From | readDataOfLength(_:) | func readDataOfLength(_ length: Int) -> NSData |
To | readData(ofLength:) | func readData(ofLength length: Int) -> Data |
---|
| Declaration |
From | func readDataToEndOfFile() -> NSData |
To | func readDataToEndOfFile() -> Data |
---|
| Name | Declaration |
From | readInBackgroundAndNotifyForModes(_:) | func readInBackgroundAndNotifyForModes(_ modes: [String]?) |
To | readInBackgroundAndNotify(forModes:) | func readInBackgroundAndNotify(forModes modes: [RunLoopMode]?) |
---|
| Name | Declaration |
From | readToEndOfFileInBackgroundAndNotifyForModes(_:) | func readToEndOfFileInBackgroundAndNotifyForModes(_ modes: [String]?) |
To | readToEndOfFileInBackgroundAndNotify(forModes:) | func readToEndOfFileInBackgroundAndNotify(forModes modes: [RunLoopMode]?) |
---|
| Name | Declaration |
From | seekToFileOffset(_:) | func seekToFileOffset(_ offset: UInt64) |
To | seek(toFileOffset:) | func seek(toFileOffset offset: UInt64) |
---|
| Name | Declaration |
From | truncateFileAtOffset(_:) | func truncateFileAtOffset(_ offset: UInt64) |
To | truncateFile(atOffset:) | func truncateFile(atOffset offset: UInt64) |
---|
| Name | Declaration |
From | waitForDataInBackgroundAndNotifyForModes(_:) | func waitForDataInBackgroundAndNotifyForModes(_ modes: [String]?) |
To | waitForDataInBackgroundAndNotify(forModes:) | func waitForDataInBackgroundAndNotify(forModes modes: [RunLoopMode]?) |
---|
| Name | Declaration |
From | writeData(_:) | func writeData(_ data: NSData) |
To | write(_:) | func write(_ data: Data) |
---|
| Declaration |
From | var writeabilityHandler: ((NSFileHandle) -> Void)? |
To | var writeabilityHandler: ((FileHandle) -> Swift.Void)? |
---|
| Declaration | Protocols |
From | class NSFileManager : NSObject {
class func defaultManager() -> NSFileManager
func mountedVolumeURLsIncludingResourceValuesForKeys(_ propertyKeys: [String]?, options options: NSVolumeEnumerationOptions) -> [NSURL]?
func unmountVolumeAtURL(_ url: NSURL, options mask: NSFileManagerUnmountOptions, completionHandler completionHandler: (NSError?) -> Void)
func contentsOfDirectoryAtURL(_ url: NSURL, includingPropertiesForKeys keys: [String]?, options mask: NSDirectoryEnumerationOptions) throws -> [NSURL]
func URLsForDirectory(_ directory: NSSearchPathDirectory, inDomains domainMask: NSSearchPathDomainMask) -> [NSURL]
func URLForDirectory(_ directory: NSSearchPathDirectory, inDomain domain: NSSearchPathDomainMask, appropriateForURL url: NSURL?, create shouldCreate: Bool) throws -> NSURL
func getRelationship(_ outRelationship: UnsafeMutablePointer<NSURLRelationship>, ofDirectoryAtURL directoryURL: NSURL, toItemAtURL otherURL: NSURL) throws
func getRelationship(_ outRelationship: UnsafeMutablePointer<NSURLRelationship>, ofDirectory directory: NSSearchPathDirectory, inDomain domainMask: NSSearchPathDomainMask, toItemAtURL url: NSURL) throws
func createDirectoryAtURL(_ url: NSURL, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : AnyObject]?) throws
func createSymbolicLinkAtURL(_ url: NSURL, withDestinationURL destURL: NSURL) throws
unowned(unsafe) var delegate: NSFileManagerDelegate?
func setAttributes(_ attributes: [String : AnyObject], ofItemAtPath path: String) throws
func createDirectoryAtPath(_ path: String, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : AnyObject]?) throws
func contentsOfDirectoryAtPath(_ path: String) throws -> [String]
func subpathsOfDirectoryAtPath(_ path: String) throws -> [String]
func attributesOfItemAtPath(_ path: String) throws -> [String : AnyObject]
func attributesOfFileSystemForPath(_ path: String) throws -> [String : AnyObject]
func createSymbolicLinkAtPath(_ path: String, withDestinationPath destPath: String) throws
func destinationOfSymbolicLinkAtPath(_ path: String) throws -> String
func copyItemAtPath(_ srcPath: String, toPath dstPath: String) throws
func moveItemAtPath(_ srcPath: String, toPath dstPath: String) throws
func linkItemAtPath(_ srcPath: String, toPath dstPath: String) throws
func removeItemAtPath(_ path: String) throws
func copyItemAtURL(_ srcURL: NSURL, toURL dstURL: NSURL) throws
func moveItemAtURL(_ srcURL: NSURL, toURL dstURL: NSURL) throws
func linkItemAtURL(_ srcURL: NSURL, toURL dstURL: NSURL) throws
func removeItemAtURL(_ URL: NSURL) throws
func trashItemAtURL(_ url: NSURL, resultingItemURL outResultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>) throws
func fileAttributesAtPath(_ path: String, traverseLink yorn: Bool) -> [NSObject : AnyObject]?
func changeFileAttributes(_ attributes: [NSObject : AnyObject], atPath path: String) -> Bool
func directoryContentsAtPath(_ path: String) -> [AnyObject]?
func fileSystemAttributesAtPath(_ path: String) -> [NSObject : AnyObject]?
func pathContentOfSymbolicLinkAtPath(_ path: String) -> String?
func createSymbolicLinkAtPath(_ path: String, pathContent otherpath: String) -> Bool
func createDirectoryAtPath(_ path: String, attributes attributes: [NSObject : AnyObject]) -> Bool
func linkPath(_ src: String, toPath dest: String, handler handler: AnyObject?) -> Bool
func copyPath(_ src: String, toPath dest: String, handler handler: AnyObject?) -> Bool
func movePath(_ src: String, toPath dest: String, handler handler: AnyObject?) -> Bool
func removeFileAtPath(_ path: String, handler handler: AnyObject?) -> Bool
var currentDirectoryPath: String { get }
func changeCurrentDirectoryPath(_ path: String) -> Bool
func fileExistsAtPath(_ path: String) -> Bool
func fileExistsAtPath(_ path: String, isDirectory isDirectory: UnsafeMutablePointer<ObjCBool>) -> Bool
func isReadableFileAtPath(_ path: String) -> Bool
func isWritableFileAtPath(_ path: String) -> Bool
func isExecutableFileAtPath(_ path: String) -> Bool
func isDeletableFileAtPath(_ path: String) -> Bool
func contentsEqualAtPath(_ path1: String, andPath path2: String) -> Bool
func displayNameAtPath(_ path: String) -> String
func componentsToDisplayForPath(_ path: String) -> [String]?
func enumeratorAtPath(_ path: String) -> NSDirectoryEnumerator?
func enumeratorAtURL(_ url: NSURL, includingPropertiesForKeys keys: [String]?, options mask: NSDirectoryEnumerationOptions, errorHandler handler: ((NSURL, NSError) -> Bool)?) -> NSDirectoryEnumerator?
func subpathsAtPath(_ path: String) -> [String]?
func contentsAtPath(_ path: String) -> NSData?
func createFileAtPath(_ path: String, contents data: NSData?, attributes attr: [String : AnyObject]?) -> Bool
func fileSystemRepresentationWithPath(_ path: String) -> UnsafePointer<Int8>
func stringWithFileSystemRepresentation(_ str: UnsafePointer<Int8>, length len: Int) -> String
func replaceItemAtURL(_ originalItemURL: NSURL, withItemAtURL newItemURL: NSURL, backupItemName backupItemName: String?, options options: NSFileManagerItemReplacementOptions, resultingItemURL resultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>) throws
func setUbiquitous(_ flag: Bool, itemAtURL url: NSURL, destinationURL destinationURL: NSURL) throws
func isUbiquitousItemAtURL(_ url: NSURL) -> Bool
func startDownloadingUbiquitousItemAtURL(_ url: NSURL) throws
func evictUbiquitousItemAtURL(_ url: NSURL) throws
func URLForUbiquityContainerIdentifier(_ containerIdentifier: String?) -> NSURL?
func URLForPublishingUbiquitousItemAtURL(_ url: NSURL, expirationDate outDate: AutoreleasingUnsafeMutablePointer<NSDate?>) throws -> NSURL
@NSCopying var ubiquityIdentityToken: protocol<NSCoding, NSCopying, NSObjectProtocol>? { get }
func containerURLForSecurityApplicationGroupIdentifier(_ groupIdentifier: String) -> 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: (@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?
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | attributesOfFileSystemForPath(_:) | func attributesOfFileSystemForPath(_ path: String) throws -> [String : AnyObject] |
To | attributesOfFileSystem(forPath:) | func attributesOfFileSystem(forPath path: String) throws -> [FileAttributeKey : Any] |
---|
| Name | Declaration |
From | attributesOfItemAtPath(_:) | func attributesOfItemAtPath(_ path: String) throws -> [String : AnyObject] |
To | attributesOfItem(atPath:) | func attributesOfItem(atPath path: String) throws -> [FileAttributeKey : Any] |
---|
| Name | Declaration |
From | componentsToDisplayForPath(_:) | func componentsToDisplayForPath(_ path: String) -> [String]? |
To | componentsToDisplay(forPath:) | func componentsToDisplay(forPath path: String) -> [String]? |
---|
| Name | Declaration |
From | containerURLForSecurityApplicationGroupIdentifier(_:) | func containerURLForSecurityApplicationGroupIdentifier(_ groupIdentifier: String) -> NSURL? |
To | containerURL(forSecurityApplicationGroupIdentifier:) | func containerURL(forSecurityApplicationGroupIdentifier groupIdentifier: String) -> URL? |
---|
| Name | Declaration |
From | contentsAtPath(_:) | func contentsAtPath(_ path: String) -> NSData? |
To | contents(atPath:) | func contents(atPath path: String) -> Data? |
---|
| Name | Declaration |
From | contentsEqualAtPath(_:andPath:) | func contentsEqualAtPath(_ path1: String, andPath path2: String) -> Bool |
To | contentsEqual(atPath:andPath:) | func contentsEqual(atPath path1: String, andPath path2: String) -> Bool |
---|
| Name | Declaration |
From | contentsOfDirectoryAtURL(_:includingPropertiesForKeys:options:) | func contentsOfDirectoryAtURL(_ url: NSURL, includingPropertiesForKeys keys: [String]?, options mask: NSDirectoryEnumerationOptions) throws -> [NSURL] |
To | contentsOfDirectory(at:includingPropertiesForKeys:options:) | func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL] |
---|
| Name | Declaration |
From | contentsOfDirectoryAtPath(_:) | func contentsOfDirectoryAtPath(_ path: String) throws -> [String] |
To | contentsOfDirectory(atPath:) | func contentsOfDirectory(atPath path: String) throws -> [String] |
---|
| Name | Declaration |
From | copyItemAtURL(_:toURL:) | func copyItemAtURL(_ srcURL: NSURL, toURL dstURL: NSURL) throws |
To | copyItem(at:to:) | func copyItem(at srcURL: URL, to dstURL: URL) throws |
---|
| Name | Declaration |
From | copyItemAtPath(_:toPath:) | func copyItemAtPath(_ srcPath: String, toPath dstPath: String) throws |
To | copyItem(atPath:toPath:) | func copyItem(atPath srcPath: String, toPath dstPath: String) throws |
---|
| Name | Declaration |
From | createDirectoryAtURL(_:withIntermediateDirectories:attributes:) | func createDirectoryAtURL(_ url: NSURL, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : AnyObject]?) throws |
To | createDirectory(at:withIntermediateDirectories:attributes:) | func createDirectory(at url: URL, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : Any]? = nil) throws |
---|
| Name | Declaration |
From | createDirectoryAtPath(_:withIntermediateDirectories:attributes:) | func createDirectoryAtPath(_ path: String, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : AnyObject]?) throws |
To | createDirectory(atPath:withIntermediateDirectories:attributes:) | func createDirectory(atPath path: String, withIntermediateDirectories createIntermediates: Bool, attributes attributes: [String : Any]? = nil) throws |
---|
| Name | Declaration |
From | createFileAtPath(_:contents:attributes:) | func createFileAtPath(_ path: String, contents data: NSData?, attributes attr: [String : AnyObject]?) -> Bool |
To | createFile(atPath:contents:attributes:) | func createFile(atPath path: String, contents data: Data?, attributes attr: [String : Any]? = nil) -> Bool |
---|
| Name | Declaration |
From | createSymbolicLinkAtURL(_:withDestinationURL:) | func createSymbolicLinkAtURL(_ url: NSURL, withDestinationURL destURL: NSURL) throws |
To | createSymbolicLink(at:withDestinationURL:) | func createSymbolicLink(at url: URL, withDestinationURL destURL: URL) throws |
---|
| Name | Declaration |
From | createSymbolicLinkAtPath(_:withDestinationPath:) | func createSymbolicLinkAtPath(_ path: String, withDestinationPath destPath: String) throws |
To | createSymbolicLink(atPath:withDestinationPath:) | func createSymbolicLink(atPath path: String, withDestinationPath destPath: String) throws |
---|
| Declaration |
From | unowned(unsafe) var delegate: NSFileManagerDelegate? |
To | unowned(unsafe) var delegate: FileManagerDelegate? |
---|
| Name | Declaration |
From | destinationOfSymbolicLinkAtPath(_:) | func destinationOfSymbolicLinkAtPath(_ path: String) throws -> String |
To | destinationOfSymbolicLink(atPath:) | func destinationOfSymbolicLink(atPath path: String) throws -> String |
---|
| Name | Declaration |
From | displayNameAtPath(_:) | func displayNameAtPath(_ path: String) -> String |
To | displayName(atPath:) | func displayName(atPath path: String) -> String |
---|
| Name | Declaration |
From | enumeratorAtURL(_:includingPropertiesForKeys:options:errorHandler:) | func enumeratorAtURL(_ url: NSURL, includingPropertiesForKeys keys: [String]?, options mask: NSDirectoryEnumerationOptions, errorHandler handler: ((NSURL, NSError) -> Bool)?) -> NSDirectoryEnumerator? |
To | enumerator(at:includingPropertiesForKeys:options:errorHandler:) | func enumerator(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = [], errorHandler handler: (@escaping (URL, Error) -> Bool)? = nil) -> FileManager.DirectoryEnumerator? |
---|
| Name | Declaration |
From | enumeratorAtPath(_:) | func enumeratorAtPath(_ path: String) -> NSDirectoryEnumerator? |
To | enumerator(atPath:) | func enumerator(atPath path: String) -> FileManager.DirectoryEnumerator? |
---|
| Name | Declaration |
From | evictUbiquitousItemAtURL(_:) | func evictUbiquitousItemAtURL(_ url: NSURL) throws |
To | evictUbiquitousItem(at:) | func evictUbiquitousItem(at url: URL) throws |
---|
| Name | Declaration |
From | fileExistsAtPath(_:) | func fileExistsAtPath(_ path: String) -> Bool |
To | fileExists(atPath:) | func fileExists(atPath path: String) -> Bool |
---|
| Name | Declaration |
From | fileExistsAtPath(_:isDirectory:) | func fileExistsAtPath(_ path: String, isDirectory isDirectory: UnsafeMutablePointer<ObjCBool>) -> Bool |
To | fileExists(atPath:isDirectory:) | func fileExists(atPath path: String, isDirectory isDirectory: UnsafeMutablePointer<ObjCBool>?) -> Bool |
---|
| Name | Declaration |
From | fileSystemRepresentationWithPath(_:) | func fileSystemRepresentationWithPath(_ path: String) -> UnsafePointer<Int8> |
To | fileSystemRepresentation(withPath:) | func fileSystemRepresentation(withPath path: String) -> UnsafePointer<Int8> |
---|
| Name | Declaration |
From | getRelationship(_:ofDirectory:inDomain:toItemAtURL:) | func getRelationship(_ outRelationship: UnsafeMutablePointer<NSURLRelationship>, ofDirectory directory: NSSearchPathDirectory, inDomain domainMask: NSSearchPathDomainMask, toItemAtURL url: NSURL) throws |
To | getRelationship(_:of:in:toItemAt:) | func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws |
---|
| Name | Declaration |
From | getRelationship(_:ofDirectoryAtURL:toItemAtURL:) | func getRelationship(_ outRelationship: UnsafeMutablePointer<NSURLRelationship>, ofDirectoryAtURL directoryURL: NSURL, toItemAtURL otherURL: NSURL) throws |
To | getRelationship(_:ofDirectoryAt:toItemAt:) | func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws |
---|
| Name | Declaration |
From | isDeletableFileAtPath(_:) | func isDeletableFileAtPath(_ path: String) -> Bool |
To | isDeletableFile(atPath:) | func isDeletableFile(atPath path: String) -> Bool |
---|
| Name | Declaration |
From | isExecutableFileAtPath(_:) | func isExecutableFileAtPath(_ path: String) -> Bool |
To | isExecutableFile(atPath:) | func isExecutableFile(atPath path: String) -> Bool |
---|
| Name | Declaration |
From | isReadableFileAtPath(_:) | func isReadableFileAtPath(_ path: String) -> Bool |
To | isReadableFile(atPath:) | func isReadableFile(atPath path: String) -> Bool |
---|
| Name | Declaration |
From | isUbiquitousItemAtURL(_:) | func isUbiquitousItemAtURL(_ url: NSURL) -> Bool |
To | isUbiquitousItem(at:) | func isUbiquitousItem(at url: URL) -> Bool |
---|
| Name | Declaration |
From | isWritableFileAtPath(_:) | func isWritableFileAtPath(_ path: String) -> Bool |
To | isWritableFile(atPath:) | func isWritableFile(atPath path: String) -> Bool |
---|
| Name | Declaration |
From | linkItemAtURL(_:toURL:) | func linkItemAtURL(_ srcURL: NSURL, toURL dstURL: NSURL) throws |
To | linkItem(at:to:) | func linkItem(at srcURL: URL, to dstURL: URL) throws |
---|
| Name | Declaration |
From | linkItemAtPath(_:toPath:) | func linkItemAtPath(_ srcPath: String, toPath dstPath: String) throws |
To | linkItem(atPath:toPath:) | func linkItem(atPath srcPath: String, toPath dstPath: String) throws |
---|
| Name | Declaration |
From | mountedVolumeURLsIncludingResourceValuesForKeys(_:options:) | func mountedVolumeURLsIncludingResourceValuesForKeys(_ propertyKeys: [String]?, options options: NSVolumeEnumerationOptions) -> [NSURL]? |
To | mountedVolumeURLs(includingResourceValuesForKeys:options:) | func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options options: FileManager.VolumeEnumerationOptions = []) -> [URL]? |
---|
| Name | Declaration |
From | moveItemAtURL(_:toURL:) | func moveItemAtURL(_ srcURL: NSURL, toURL dstURL: NSURL) throws |
To | moveItem(at:to:) | func moveItem(at srcURL: URL, to dstURL: URL) throws |
---|
| Name | Declaration |
From | moveItemAtPath(_:toPath:) | func moveItemAtPath(_ srcPath: String, toPath dstPath: String) throws |
To | moveItem(atPath:toPath:) | func moveItem(atPath srcPath: String, toPath dstPath: String) throws |
---|
| Name | Declaration |
From | removeItemAtURL(_:) | func removeItemAtURL(_ URL: NSURL) throws |
To | removeItem(at:) | func removeItem(at URL: URL) throws |
---|
| Name | Declaration |
From | removeItemAtPath(_:) | func removeItemAtPath(_ path: String) throws |
To | removeItem(atPath:) | func removeItem(atPath path: String) throws |
---|
| Name | Declaration |
From | replaceItemAtURL(_:withItemAtURL:backupItemName:options:resultingItemURL:) | func replaceItemAtURL(_ originalItemURL: NSURL, withItemAtURL newItemURL: NSURL, backupItemName backupItemName: String?, options options: NSFileManagerItemReplacementOptions, resultingItemURL resultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>) throws |
To | replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:) | func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName backupItemName: String?, options options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws |
---|
| Declaration |
From | func setAttributes(_ attributes: [String : AnyObject], ofItemAtPath path: String) throws |
To | func setAttributes(_ attributes: [FileAttributeKey : Any], ofItemAtPath path: String) throws |
---|
| Name | Declaration |
From | setUbiquitous(_:itemAtURL:destinationURL:) | func setUbiquitous(_ flag: Bool, itemAtURL url: NSURL, destinationURL destinationURL: NSURL) throws |
To | setUbiquitous(_:itemAt:destinationURL:) | func setUbiquitous(_ flag: Bool, itemAt url: URL, destinationURL destinationURL: URL) throws |
---|
| Name | Declaration |
From | startDownloadingUbiquitousItemAtURL(_:) | func startDownloadingUbiquitousItemAtURL(_ url: NSURL) throws |
To | startDownloadingUbiquitousItem(at:) | func startDownloadingUbiquitousItem(at url: URL) throws |
---|
| Name | Declaration |
From | stringWithFileSystemRepresentation(_:length:) | func stringWithFileSystemRepresentation(_ str: UnsafePointer<Int8>, length len: Int) -> String |
To | string(withFileSystemRepresentation:length:) | func string(withFileSystemRepresentation str: UnsafePointer<Int8>, length len: Int) -> String |
---|
| Name | Declaration |
From | subpathsAtPath(_:) | func subpathsAtPath(_ path: String) -> [String]? |
To | subpaths(atPath:) | func subpaths(atPath path: String) -> [String]? |
---|
| Name | Declaration |
From | subpathsOfDirectoryAtPath(_:) | func subpathsOfDirectoryAtPath(_ path: String) throws -> [String] |
To | subpathsOfDirectory(atPath:) | func subpathsOfDirectory(atPath path: String) throws -> [String] |
---|
| Name | Declaration |
From | trashItemAtURL(_:resultingItemURL:) | func trashItemAtURL(_ url: NSURL, resultingItemURL outResultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>) throws |
To | trashItem(at:resultingItemURL:) | func trashItem(at url: URL, resultingItemURL outResultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws |
---|
| Declaration |
From | @NSCopying var ubiquityIdentityToken: protocol<NSCoding, NSCopying, NSObjectProtocol>? { get } |
To | @NSCopying var ubiquityIdentityToken: (NSCoding & NSCopying & NSObjectProtocol)? { get } |
---|
| Name | Declaration |
From | unmountVolumeAtURL(_:options:completionHandler:) | func unmountVolumeAtURL(_ url: NSURL, options mask: NSFileManagerUnmountOptions, completionHandler completionHandler: (NSError?) -> Void) |
To | unmountVolume(at:options:completionHandler:) | func unmountVolume(at url: URL, options mask: FileManager.UnmountOptions = [], completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
---|
| Name | Declaration |
From | URLForDirectory(_:inDomain:appropriateForURL:create:) | func URLForDirectory(_ directory: NSSearchPathDirectory, inDomain domain: NSSearchPathDomainMask, appropriateForURL url: NSURL?, create shouldCreate: Bool) throws -> NSURL |
To | url(for:in:appropriateFor:create:) | func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor url: URL?, create shouldCreate: Bool) throws -> URL |
---|
| Name | Declaration |
From | URLForPublishingUbiquitousItemAtURL(_:expirationDate:) | func URLForPublishingUbiquitousItemAtURL(_ url: NSURL, expirationDate outDate: AutoreleasingUnsafeMutablePointer<NSDate?>) throws -> NSURL |
To | url(forPublishingUbiquitousItemAt:expiration:) | func url(forPublishingUbiquitousItemAt url: URL, expiration outDate: AutoreleasingUnsafeMutablePointer<NSDate?>?) throws -> URL |
---|
| Name | Declaration |
From | URLForUbiquityContainerIdentifier(_:) | func URLForUbiquityContainerIdentifier(_ containerIdentifier: String?) -> NSURL? |
To | url(forUbiquityContainerIdentifier:) | func url(forUbiquityContainerIdentifier containerIdentifier: String?) -> URL? |
---|
| Name | Declaration |
From | URLsForDirectory(_:inDomains:) | func URLsForDirectory(_ directory: NSSearchPathDirectory, inDomains domainMask: NSSearchPathDomainMask) -> [NSURL] |
To | urls(for:in:) | func urls(for directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask) -> [URL] |
---|
| Declaration | Protocols |
From | struct NSDirectoryEnumerationOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var SkipsSubdirectoryDescendants: NSDirectoryEnumerationOptions { get }
static var SkipsPackageDescendants: NSDirectoryEnumerationOptions { get }
static var SkipsHiddenFiles: NSDirectoryEnumerationOptions { get }
} | OptionSetType |
To | 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 }
}
extension FileManager.DirectoryEnumerationOptions {
func union(_ other: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions
func intersection(_ other: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions
func symmetricDifference(_ other: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions
}
extension FileManager.DirectoryEnumerationOptions {
func contains(_ member: FileManager.DirectoryEnumerationOptions) -> Bool
mutating func insert(_ newMember: FileManager.DirectoryEnumerationOptions) -> (inserted: Bool, memberAfterInsert: FileManager.DirectoryEnumerationOptions)
mutating func remove(_ member: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions?
mutating func update(with newMember: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions?
}
extension FileManager.DirectoryEnumerationOptions {
convenience init()
mutating func formUnion(_ other: FileManager.DirectoryEnumerationOptions)
mutating func formIntersection(_ other: FileManager.DirectoryEnumerationOptions)
mutating func formSymmetricDifference(_ other: FileManager.DirectoryEnumerationOptions)
}
extension FileManager.DirectoryEnumerationOptions {
convenience init<S : Sequence where S.Iterator.Element == FileManager.DirectoryEnumerationOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: FileManager.DirectoryEnumerationOptions...)
mutating func subtract(_ other: FileManager.DirectoryEnumerationOptions)
func isSubset(of other: FileManager.DirectoryEnumerationOptions) -> Bool
func isSuperset(of other: FileManager.DirectoryEnumerationOptions) -> Bool
func isDisjoint(with other: FileManager.DirectoryEnumerationOptions) -> Bool
func subtracting(_ other: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: FileManager.DirectoryEnumerationOptions) -> Bool
func isStrictSubset(of other: FileManager.DirectoryEnumerationOptions) -> Bool
}
extension FileManager.DirectoryEnumerationOptions {
func intersect(_ other: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions
func exclusiveOr(_ other: FileManager.DirectoryEnumerationOptions) -> FileManager.DirectoryEnumerationOptions
mutating func unionInPlace(_ other: FileManager.DirectoryEnumerationOptions)
mutating func intersectInPlace(_ other: FileManager.DirectoryEnumerationOptions)
mutating func exclusiveOrInPlace(_ other: FileManager.DirectoryEnumerationOptions)
func isSubsetOf(_ other: FileManager.DirectoryEnumerationOptions) -> Bool
func isDisjointWith(_ other: FileManager.DirectoryEnumerationOptions) -> Bool
func isSupersetOf(_ other: FileManager.DirectoryEnumerationOptions) -> Bool
mutating func subtractInPlace(_ other: FileManager.DirectoryEnumerationOptions)
func isStrictSupersetOf(_ other: FileManager.DirectoryEnumerationOptions) -> Bool
func isStrictSubsetOf(_ other: FileManager.DirectoryEnumerationOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | SkipsHiddenFiles | static var SkipsHiddenFiles: NSDirectoryEnumerationOptions { get } |
To | skipsHiddenFiles | static var skipsHiddenFiles: FileManager.DirectoryEnumerationOptions { get } |
---|
| Name | Declaration |
From | SkipsPackageDescendants | static var SkipsPackageDescendants: NSDirectoryEnumerationOptions { get } |
To | skipsPackageDescendants | static var skipsPackageDescendants: FileManager.DirectoryEnumerationOptions { get } |
---|
| Name | Declaration |
From | SkipsSubdirectoryDescendants | static var SkipsSubdirectoryDescendants: NSDirectoryEnumerationOptions { get } |
To | skipsSubdirectoryDescendants | static var skipsSubdirectoryDescendants: FileManager.DirectoryEnumerationOptions { get } |
---|
| Declaration | Protocols |
From | class NSDirectoryEnumerator : NSEnumerator {
var fileAttributes: [String : AnyObject]? { get }
var directoryAttributes: [String : AnyObject]? { get }
func skipDescendents()
var level: Int { get }
func skipDescendants()
} | -- |
To | class DirectoryEnumerator : NSEnumerator {
var fileAttributes: [FileAttributeKey : Any]? { get }
var directoryAttributes: [FileAttributeKey : Any]? { get }
func skipDescendents()
var level: Int { get }
func skipDescendants()
}
extension FileManager.DirectoryEnumerator {
var allObjects: [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 FileManager.DirectoryEnumerator : Sequence {
func makeIterator() -> NSFastEnumerationIterator
}
extension FileManager.DirectoryEnumerator : CVarArg {
}
extension FileManager.DirectoryEnumerator : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, Sequence |
---|
| Declaration |
From | var directoryAttributes: [String : AnyObject]? { get } |
To | var directoryAttributes: [FileAttributeKey : Any]? { get } |
---|
| Declaration |
From | var fileAttributes: [String : AnyObject]? { get } |
To | var fileAttributes: [FileAttributeKey : Any]? { get } |
---|
| Declaration | Protocols |
From | struct NSFileManagerItemReplacementOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var UsingNewMetadataOnly: NSFileManagerItemReplacementOptions { get }
static var WithoutDeletingBackupItem: NSFileManagerItemReplacementOptions { get }
} | OptionSetType |
To | struct ItemReplacementOptions : OptionSet {
init(rawValue rawValue: UInt)
static var usingNewMetadataOnly: FileManager.ItemReplacementOptions { get }
static var withoutDeletingBackupItem: FileManager.ItemReplacementOptions { get }
}
extension FileManager.ItemReplacementOptions {
func union(_ other: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions
func intersection(_ other: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions
func symmetricDifference(_ other: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions
}
extension FileManager.ItemReplacementOptions {
func contains(_ member: FileManager.ItemReplacementOptions) -> Bool
mutating func insert(_ newMember: FileManager.ItemReplacementOptions) -> (inserted: Bool, memberAfterInsert: FileManager.ItemReplacementOptions)
mutating func remove(_ member: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions?
mutating func update(with newMember: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions?
}
extension FileManager.ItemReplacementOptions {
convenience init()
mutating func formUnion(_ other: FileManager.ItemReplacementOptions)
mutating func formIntersection(_ other: FileManager.ItemReplacementOptions)
mutating func formSymmetricDifference(_ other: FileManager.ItemReplacementOptions)
}
extension FileManager.ItemReplacementOptions {
convenience init<S : Sequence where S.Iterator.Element == FileManager.ItemReplacementOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: FileManager.ItemReplacementOptions...)
mutating func subtract(_ other: FileManager.ItemReplacementOptions)
func isSubset(of other: FileManager.ItemReplacementOptions) -> Bool
func isSuperset(of other: FileManager.ItemReplacementOptions) -> Bool
func isDisjoint(with other: FileManager.ItemReplacementOptions) -> Bool
func subtracting(_ other: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: FileManager.ItemReplacementOptions) -> Bool
func isStrictSubset(of other: FileManager.ItemReplacementOptions) -> Bool
}
extension FileManager.ItemReplacementOptions {
func intersect(_ other: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions
func exclusiveOr(_ other: FileManager.ItemReplacementOptions) -> FileManager.ItemReplacementOptions
mutating func unionInPlace(_ other: FileManager.ItemReplacementOptions)
mutating func intersectInPlace(_ other: FileManager.ItemReplacementOptions)
mutating func exclusiveOrInPlace(_ other: FileManager.ItemReplacementOptions)
func isSubsetOf(_ other: FileManager.ItemReplacementOptions) -> Bool
func isDisjointWith(_ other: FileManager.ItemReplacementOptions) -> Bool
func isSupersetOf(_ other: FileManager.ItemReplacementOptions) -> Bool
mutating func subtractInPlace(_ other: FileManager.ItemReplacementOptions)
func isStrictSupersetOf(_ other: FileManager.ItemReplacementOptions) -> Bool
func isStrictSubsetOf(_ other: FileManager.ItemReplacementOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | UsingNewMetadataOnly | static var UsingNewMetadataOnly: NSFileManagerItemReplacementOptions { get } |
To | usingNewMetadataOnly | static var usingNewMetadataOnly: FileManager.ItemReplacementOptions { get } |
---|
| Name | Declaration |
From | WithoutDeletingBackupItem | static var WithoutDeletingBackupItem: NSFileManagerItemReplacementOptions { get } |
To | withoutDeletingBackupItem | static var withoutDeletingBackupItem: FileManager.ItemReplacementOptions { get } |
---|
| Declaration |
From | enum NSSearchPathDirectory : 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
} |
To | 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
} |
---|
| Name | Declaration |
From | AdminApplicationDirectory | case AdminApplicationDirectory |
To | adminApplicationDirectory | case adminApplicationDirectory |
---|
| Name | Declaration |
From | AllApplicationsDirectory | case AllApplicationsDirectory |
To | allApplicationsDirectory | case allApplicationsDirectory |
---|
| Name | Declaration |
From | AllLibrariesDirectory | case AllLibrariesDirectory |
To | allLibrariesDirectory | case allLibrariesDirectory |
---|
| Name | Declaration |
From | ApplicationDirectory | case ApplicationDirectory |
To | applicationDirectory | case applicationDirectory |
---|
| Name | Declaration |
From | ApplicationScriptsDirectory | case ApplicationScriptsDirectory |
To | applicationScriptsDirectory | case applicationScriptsDirectory |
---|
| Name | Declaration |
From | ApplicationSupportDirectory | case ApplicationSupportDirectory |
To | applicationSupportDirectory | case applicationSupportDirectory |
---|
| Name | Declaration |
From | AutosavedInformationDirectory | case AutosavedInformationDirectory |
To | autosavedInformationDirectory | case autosavedInformationDirectory |
---|
| Name | Declaration |
From | CachesDirectory | case CachesDirectory |
To | cachesDirectory | case cachesDirectory |
---|
| Name | Declaration |
From | CoreServiceDirectory | case CoreServiceDirectory |
To | coreServiceDirectory | case coreServiceDirectory |
---|
| Name | Declaration |
From | DemoApplicationDirectory | case DemoApplicationDirectory |
To | demoApplicationDirectory | case demoApplicationDirectory |
---|
| Name | Declaration |
From | DesktopDirectory | case DesktopDirectory |
To | desktopDirectory | case desktopDirectory |
---|
| Name | Declaration |
From | DeveloperApplicationDirectory | case DeveloperApplicationDirectory |
To | developerApplicationDirectory | case developerApplicationDirectory |
---|
| Name | Declaration |
From | DeveloperDirectory | case DeveloperDirectory |
To | developerDirectory | case developerDirectory |
---|
| Name | Declaration |
From | DocumentationDirectory | case DocumentationDirectory |
To | documentationDirectory | case documentationDirectory |
---|
| Name | Declaration |
From | DocumentDirectory | case DocumentDirectory |
To | documentDirectory | case documentDirectory |
---|
| Name | Declaration |
From | DownloadsDirectory | case DownloadsDirectory |
To | downloadsDirectory | case downloadsDirectory |
---|
| Name | Declaration |
From | InputMethodsDirectory | case InputMethodsDirectory |
To | inputMethodsDirectory | case inputMethodsDirectory |
---|
| Name | Declaration |
From | ItemReplacementDirectory | case ItemReplacementDirectory |
To | itemReplacementDirectory | case itemReplacementDirectory |
---|
| Name | Declaration |
From | LibraryDirectory | case LibraryDirectory |
To | libraryDirectory | case libraryDirectory |
---|
| Name | Declaration |
From | MoviesDirectory | case MoviesDirectory |
To | moviesDirectory | case moviesDirectory |
---|
| Name | Declaration |
From | MusicDirectory | case MusicDirectory |
To | musicDirectory | case musicDirectory |
---|
| Name | Declaration |
From | PicturesDirectory | case PicturesDirectory |
To | picturesDirectory | case picturesDirectory |
---|
| Name | Declaration |
From | PreferencePanesDirectory | case PreferencePanesDirectory |
To | preferencePanesDirectory | case preferencePanesDirectory |
---|
| Name | Declaration |
From | PrinterDescriptionDirectory | case PrinterDescriptionDirectory |
To | printerDescriptionDirectory | case printerDescriptionDirectory |
---|
| Name | Declaration |
From | SharedPublicDirectory | case SharedPublicDirectory |
To | sharedPublicDirectory | case sharedPublicDirectory |
---|
| Name | Declaration |
From | TrashDirectory | case TrashDirectory |
To | trashDirectory | case trashDirectory |
---|
| Name | Declaration |
From | UserDirectory | case UserDirectory |
To | userDirectory | case userDirectory |
---|
| Declaration | Protocols |
From | struct NSSearchPathDomainMask : OptionSetType {
init(rawValue rawValue: UInt)
static var UserDomainMask: NSSearchPathDomainMask { get }
static var LocalDomainMask: NSSearchPathDomainMask { get }
static var NetworkDomainMask: NSSearchPathDomainMask { get }
static var SystemDomainMask: NSSearchPathDomainMask { get }
static var AllDomainsMask: NSSearchPathDomainMask { get }
} | OptionSetType |
To | 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.SearchPathDomainMask {
func union(_ other: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask
func intersection(_ other: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask
func symmetricDifference(_ other: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask
}
extension FileManager.SearchPathDomainMask {
func contains(_ member: FileManager.SearchPathDomainMask) -> Bool
mutating func insert(_ newMember: FileManager.SearchPathDomainMask) -> (inserted: Bool, memberAfterInsert: FileManager.SearchPathDomainMask)
mutating func remove(_ member: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask?
mutating func update(with newMember: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask?
}
extension FileManager.SearchPathDomainMask {
convenience init()
mutating func formUnion(_ other: FileManager.SearchPathDomainMask)
mutating func formIntersection(_ other: FileManager.SearchPathDomainMask)
mutating func formSymmetricDifference(_ other: FileManager.SearchPathDomainMask)
}
extension FileManager.SearchPathDomainMask {
convenience init<S : Sequence where S.Iterator.Element == FileManager.SearchPathDomainMask>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: FileManager.SearchPathDomainMask...)
mutating func subtract(_ other: FileManager.SearchPathDomainMask)
func isSubset(of other: FileManager.SearchPathDomainMask) -> Bool
func isSuperset(of other: FileManager.SearchPathDomainMask) -> Bool
func isDisjoint(with other: FileManager.SearchPathDomainMask) -> Bool
func subtracting(_ other: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask
var isEmpty: Bool { get }
func isStrictSuperset(of other: FileManager.SearchPathDomainMask) -> Bool
func isStrictSubset(of other: FileManager.SearchPathDomainMask) -> Bool
}
extension FileManager.SearchPathDomainMask {
func intersect(_ other: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask
func exclusiveOr(_ other: FileManager.SearchPathDomainMask) -> FileManager.SearchPathDomainMask
mutating func unionInPlace(_ other: FileManager.SearchPathDomainMask)
mutating func intersectInPlace(_ other: FileManager.SearchPathDomainMask)
mutating func exclusiveOrInPlace(_ other: FileManager.SearchPathDomainMask)
func isSubsetOf(_ other: FileManager.SearchPathDomainMask) -> Bool
func isDisjointWith(_ other: FileManager.SearchPathDomainMask) -> Bool
func isSupersetOf(_ other: FileManager.SearchPathDomainMask) -> Bool
mutating func subtractInPlace(_ other: FileManager.SearchPathDomainMask)
func isStrictSupersetOf(_ other: FileManager.SearchPathDomainMask) -> Bool
func isStrictSubsetOf(_ other: FileManager.SearchPathDomainMask) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AllDomainsMask | static var AllDomainsMask: NSSearchPathDomainMask { get } |
To | allDomainsMask | static var allDomainsMask: FileManager.SearchPathDomainMask { get } |
---|
| Name | Declaration |
From | LocalDomainMask | static var LocalDomainMask: NSSearchPathDomainMask { get } |
To | localDomainMask | static var localDomainMask: FileManager.SearchPathDomainMask { get } |
---|
| Name | Declaration |
From | NetworkDomainMask | static var NetworkDomainMask: NSSearchPathDomainMask { get } |
To | networkDomainMask | static var networkDomainMask: FileManager.SearchPathDomainMask { get } |
---|
| Name | Declaration |
From | SystemDomainMask | static var SystemDomainMask: NSSearchPathDomainMask { get } |
To | systemDomainMask | static var systemDomainMask: FileManager.SearchPathDomainMask { get } |
---|
| Name | Declaration |
From | UserDomainMask | static var UserDomainMask: NSSearchPathDomainMask { get } |
To | userDomainMask | static var userDomainMask: FileManager.SearchPathDomainMask { get } |
---|
| Declaration | Protocols |
From | struct NSFileManagerUnmountOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var AllPartitionsAndEjectDisk: NSFileManagerUnmountOptions { get }
static var WithoutUI: NSFileManagerUnmountOptions { get }
} | OptionSetType |
To | struct UnmountOptions : OptionSet {
init(rawValue rawValue: UInt)
static var allPartitionsAndEjectDisk: FileManager.UnmountOptions { get }
static var withoutUI: FileManager.UnmountOptions { get }
}
extension FileManager.UnmountOptions {
func union(_ other: FileManager.UnmountOptions) -> FileManager.UnmountOptions
func intersection(_ other: FileManager.UnmountOptions) -> FileManager.UnmountOptions
func symmetricDifference(_ other: FileManager.UnmountOptions) -> FileManager.UnmountOptions
}
extension FileManager.UnmountOptions {
func contains(_ member: FileManager.UnmountOptions) -> Bool
mutating func insert(_ newMember: FileManager.UnmountOptions) -> (inserted: Bool, memberAfterInsert: FileManager.UnmountOptions)
mutating func remove(_ member: FileManager.UnmountOptions) -> FileManager.UnmountOptions?
mutating func update(with newMember: FileManager.UnmountOptions) -> FileManager.UnmountOptions?
}
extension FileManager.UnmountOptions {
convenience init()
mutating func formUnion(_ other: FileManager.UnmountOptions)
mutating func formIntersection(_ other: FileManager.UnmountOptions)
mutating func formSymmetricDifference(_ other: FileManager.UnmountOptions)
}
extension FileManager.UnmountOptions {
convenience init<S : Sequence where S.Iterator.Element == FileManager.UnmountOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: FileManager.UnmountOptions...)
mutating func subtract(_ other: FileManager.UnmountOptions)
func isSubset(of other: FileManager.UnmountOptions) -> Bool
func isSuperset(of other: FileManager.UnmountOptions) -> Bool
func isDisjoint(with other: FileManager.UnmountOptions) -> Bool
func subtracting(_ other: FileManager.UnmountOptions) -> FileManager.UnmountOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: FileManager.UnmountOptions) -> Bool
func isStrictSubset(of other: FileManager.UnmountOptions) -> Bool
}
extension FileManager.UnmountOptions {
func intersect(_ other: FileManager.UnmountOptions) -> FileManager.UnmountOptions
func exclusiveOr(_ other: FileManager.UnmountOptions) -> FileManager.UnmountOptions
mutating func unionInPlace(_ other: FileManager.UnmountOptions)
mutating func intersectInPlace(_ other: FileManager.UnmountOptions)
mutating func exclusiveOrInPlace(_ other: FileManager.UnmountOptions)
func isSubsetOf(_ other: FileManager.UnmountOptions) -> Bool
func isDisjointWith(_ other: FileManager.UnmountOptions) -> Bool
func isSupersetOf(_ other: FileManager.UnmountOptions) -> Bool
mutating func subtractInPlace(_ other: FileManager.UnmountOptions)
func isStrictSupersetOf(_ other: FileManager.UnmountOptions) -> Bool
func isStrictSubsetOf(_ other: FileManager.UnmountOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AllPartitionsAndEjectDisk | static var AllPartitionsAndEjectDisk: NSFileManagerUnmountOptions { get } |
To | allPartitionsAndEjectDisk | static var allPartitionsAndEjectDisk: FileManager.UnmountOptions { get } |
---|
| Name | Declaration |
From | WithoutUI | static var WithoutUI: NSFileManagerUnmountOptions { get } |
To | withoutUI | static var withoutUI: FileManager.UnmountOptions { get } |
---|
| Declaration |
From | enum NSURLRelationship : Int {
case Contains
case Same
case Other
} |
To | enum URLRelationship : Int {
case contains
case same
case other
} |
---|
| Name | Declaration |
From | Contains | case Contains |
To | contains | case contains |
---|
| Name | Declaration |
From | Other | case Other |
To | other | case other |
---|
| Name | Declaration |
From | Same | case Same |
To | same | case same |
---|
| Declaration | Protocols |
From | struct NSVolumeEnumerationOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var SkipHiddenVolumes: NSVolumeEnumerationOptions { get }
static var ProduceFileReferenceURLs: NSVolumeEnumerationOptions { get }
} | OptionSetType |
To | struct VolumeEnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var skipHiddenVolumes: FileManager.VolumeEnumerationOptions { get }
static var produceFileReferenceURLs: FileManager.VolumeEnumerationOptions { get }
}
extension FileManager.VolumeEnumerationOptions {
func union(_ other: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions
func intersection(_ other: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions
func symmetricDifference(_ other: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions
}
extension FileManager.VolumeEnumerationOptions {
func contains(_ member: FileManager.VolumeEnumerationOptions) -> Bool
mutating func insert(_ newMember: FileManager.VolumeEnumerationOptions) -> (inserted: Bool, memberAfterInsert: FileManager.VolumeEnumerationOptions)
mutating func remove(_ member: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions?
mutating func update(with newMember: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions?
}
extension FileManager.VolumeEnumerationOptions {
convenience init()
mutating func formUnion(_ other: FileManager.VolumeEnumerationOptions)
mutating func formIntersection(_ other: FileManager.VolumeEnumerationOptions)
mutating func formSymmetricDifference(_ other: FileManager.VolumeEnumerationOptions)
}
extension FileManager.VolumeEnumerationOptions {
convenience init<S : Sequence where S.Iterator.Element == FileManager.VolumeEnumerationOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: FileManager.VolumeEnumerationOptions...)
mutating func subtract(_ other: FileManager.VolumeEnumerationOptions)
func isSubset(of other: FileManager.VolumeEnumerationOptions) -> Bool
func isSuperset(of other: FileManager.VolumeEnumerationOptions) -> Bool
func isDisjoint(with other: FileManager.VolumeEnumerationOptions) -> Bool
func subtracting(_ other: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: FileManager.VolumeEnumerationOptions) -> Bool
func isStrictSubset(of other: FileManager.VolumeEnumerationOptions) -> Bool
}
extension FileManager.VolumeEnumerationOptions {
func intersect(_ other: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions
func exclusiveOr(_ other: FileManager.VolumeEnumerationOptions) -> FileManager.VolumeEnumerationOptions
mutating func unionInPlace(_ other: FileManager.VolumeEnumerationOptions)
mutating func intersectInPlace(_ other: FileManager.VolumeEnumerationOptions)
mutating func exclusiveOrInPlace(_ other: FileManager.VolumeEnumerationOptions)
func isSubsetOf(_ other: FileManager.VolumeEnumerationOptions) -> Bool
func isDisjointWith(_ other: FileManager.VolumeEnumerationOptions) -> Bool
func isSupersetOf(_ other: FileManager.VolumeEnumerationOptions) -> Bool
mutating func subtractInPlace(_ other: FileManager.VolumeEnumerationOptions)
func isStrictSupersetOf(_ other: FileManager.VolumeEnumerationOptions) -> Bool
func isStrictSubsetOf(_ other: FileManager.VolumeEnumerationOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | ProduceFileReferenceURLs | static var ProduceFileReferenceURLs: NSVolumeEnumerationOptions { get } |
To | produceFileReferenceURLs | static var produceFileReferenceURLs: FileManager.VolumeEnumerationOptions { get } |
---|
| Name | Declaration |
From | SkipHiddenVolumes | static var SkipHiddenVolumes: NSVolumeEnumerationOptions { get } |
To | skipHiddenVolumes | static var skipHiddenVolumes: FileManager.VolumeEnumerationOptions { get } |
---|
| Declaration |
From | protocol NSFileManagerDelegate : NSObjectProtocol {
optional func fileManager(_ fileManager: NSFileManager, shouldCopyItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldCopyItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, copyingItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, copyingItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldMoveItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldMoveItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, movingItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, movingItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldLinkItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldLinkItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, linkingItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, linkingItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldRemoveItemAtPath path: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldRemoveItemAtURL URL: NSURL) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, removingItemAtPath path: String) -> Bool
optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, removingItemAtURL URL: NSURL) -> Bool
} |
To | protocol FileManagerDelegate : NSObjectProtocol {
optional func fileManager(_ fileManager: FileManager, shouldCopyItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldCopyItemAt srcURL: URL, to dstURL: URL) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, copyingItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, copyingItemAt srcURL: URL, to dstURL: URL) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldMoveItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldMoveItemAt srcURL: URL, to dstURL: URL) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, movingItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, movingItemAt srcURL: URL, to dstURL: URL) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldLinkItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldLinkItemAt srcURL: URL, to dstURL: URL) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, linkingItemAtPath srcPath: String, toPath dstPath: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, linkingItemAt srcURL: URL, to dstURL: URL) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldRemoveItemAtPath path: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldRemoveItemAt URL: URL) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, removingItemAtPath path: String) -> Bool
optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, removingItemAt URL: URL) -> Bool
} |
---|
| Name | Declaration |
From | fileManager(_:shouldCopyItemAtURL:toURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldCopyItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool |
To | fileManager(_:shouldCopyItemAt:to:) | optional func fileManager(_ fileManager: FileManager, shouldCopyItemAt srcURL: URL, to dstURL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldCopyItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldCopyItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
---|
| Name | Declaration |
From | fileManager(_:shouldLinkItemAtURL:toURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldLinkItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool |
To | fileManager(_:shouldLinkItemAt:to:) | optional func fileManager(_ fileManager: FileManager, shouldLinkItemAt srcURL: URL, to dstURL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldLinkItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldLinkItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
---|
| Name | Declaration |
From | fileManager(_:shouldMoveItemAtURL:toURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldMoveItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool |
To | fileManager(_:shouldMoveItemAt:to:) | optional func fileManager(_ fileManager: FileManager, shouldMoveItemAt srcURL: URL, to dstURL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldMoveItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldMoveItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
---|
| Name | Declaration |
From | fileManager(_:shouldProceedAfterError:copyingItemAtURL:toURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, copyingItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool |
To | fileManager(_:shouldProceedAfterError:copyingItemAt:to:) | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, copyingItemAt srcURL: URL, to dstURL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, copyingItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, copyingItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
---|
| Name | Declaration |
From | fileManager(_:shouldProceedAfterError:linkingItemAtURL:toURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, linkingItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool |
To | fileManager(_:shouldProceedAfterError:linkingItemAt:to:) | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, linkingItemAt srcURL: URL, to dstURL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, linkingItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, linkingItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
---|
| Name | Declaration |
From | fileManager(_:shouldProceedAfterError:movingItemAtURL:toURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, movingItemAtURL srcURL: NSURL, toURL dstURL: NSURL) -> Bool |
To | fileManager(_:shouldProceedAfterError:movingItemAt:to:) | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, movingItemAt srcURL: URL, to dstURL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, movingItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, movingItemAtPath srcPath: String, toPath dstPath: String) -> Bool |
---|
| Name | Declaration |
From | fileManager(_:shouldProceedAfterError:removingItemAtURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, removingItemAtURL URL: NSURL) -> Bool |
To | fileManager(_:shouldProceedAfterError:removingItemAt:) | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, removingItemAt URL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldProceedAfterError error: NSError, removingItemAtPath path: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldProceedAfterError error: Error, removingItemAtPath path: String) -> Bool |
---|
| Name | Declaration |
From | fileManager(_:shouldRemoveItemAtURL:) | optional func fileManager(_ fileManager: NSFileManager, shouldRemoveItemAtURL URL: NSURL) -> Bool |
To | fileManager(_:shouldRemoveItemAt:) | optional func fileManager(_ fileManager: FileManager, shouldRemoveItemAt URL: URL) -> Bool |
---|
| Declaration |
From | optional func fileManager(_ fileManager: NSFileManager, shouldRemoveItemAtPath path: String) -> Bool |
To | optional func fileManager(_ fileManager: FileManager, shouldRemoveItemAtPath path: String) -> Bool |
---|
| Declaration | Protocols |
From | class NSFileWrapper : NSObject, NSCoding {
init(URL url: NSURL, options options: NSFileWrapperReadingOptions) throws
init(directoryWithFileWrappers childrenByPreferredName: [String : NSFileWrapper])
init(regularFileWithContents contents: NSData)
init(symbolicLinkWithDestinationURL url: NSURL)
init?(serializedRepresentation serializeRepresentation: NSData)
init?(coder inCoder: NSCoder)
var directory: Bool { get }
var regularFile: Bool { get }
var symbolicLink: Bool { get }
var preferredFilename: String?
var filename: String?
var fileAttributes: [String : AnyObject]
func matchesContentsOfURL(_ url: NSURL) -> Bool
func readFromURL(_ url: NSURL, options options: NSFileWrapperReadingOptions) throws
func writeToURL(_ url: NSURL, options options: NSFileWrapperWritingOptions, originalContentsURL originalContentsURL: NSURL?) throws
@NSCopying var serializedRepresentation: NSData? { get }
func addFileWrapper(_ child: NSFileWrapper) -> String
func addRegularFileWithContents(_ data: NSData, preferredFilename fileName: String) -> String
func removeFileWrapper(_ child: NSFileWrapper)
var fileWrappers: [String : NSFileWrapper]? { get }
func keyForFileWrapper(_ child: NSFileWrapper) -> String?
@NSCopying var regularFileContents: NSData? { get }
@NSCopying var symbolicLinkDestinationURL: NSURL? { get }
}
extension NSFileWrapper {
var icon: NSImage?
}
extension NSFileWrapper {
convenience init?(path path: String)
convenience init(symbolicLinkWithDestination path: String)
func needsToBeUpdatedFromPath(_ path: String) -> Bool
func updateFromPath(_ path: String) -> Bool
func writeToFile(_ path: String, atomically atomicFlag: Bool, updateFilenames updateFilenamesFlag: Bool) -> Bool
func addFileWithPath(_ path: String) -> String
func addSymbolicLinkWithDestination(_ path: String, preferredFilename filename: String) -> String
func symbolicLinkDestination() -> String
} | NSCoding |
To | class FileWrapper : NSObject, NSCoding {
init(url url: URL, options options: FileWrapper.ReadingOptions = []) throws
init(directoryWithFileWrappers childrenByPreferredName: [String : FileWrapper])
init(regularFileWithContents contents: Data)
init(symbolicLinkWithDestinationURL url: URL)
init?(serializedRepresentation serializeRepresentation: Data)
init?(coder inCoder: NSCoder)
var isDirectory: Bool { get }
var isRegularFile: Bool { get }
var isSymbolicLink: Bool { get }
var preferredFilename: String?
var filename: String?
var fileAttributes: [String : Any]
func matchesContents(of url: URL) -> Bool
func read(from url: URL, options options: FileWrapper.ReadingOptions = []) throws
func write(to url: URL, options options: FileWrapper.WritingOptions = [], originalContentsURL originalContentsURL: URL?) throws
var serializedRepresentation: Data? { get }
func addFileWrapper(_ child: FileWrapper) -> String
func addRegularFile(withContents data: Data, preferredFilename fileName: String) -> String
func removeFileWrapper(_ child: FileWrapper)
var fileWrappers: [String : FileWrapper]? { get }
func keyForChildFileWrapper(_ child: FileWrapper) -> String?
var regularFileContents: Data? { get }
var symbolicLinkDestinationURL: URL? { get }
convenience init?(path path: String)
convenience init(symbolicLinkWithDestination path: String)
func needsToBeUpdated(fromPath path: String) -> Bool
func update(fromPath path: String) -> Bool
func write(toFile path: String, atomically atomicFlag: Bool, updateFilenames updateFilenamesFlag: Bool) -> Bool
func addFile(withPath path: String) -> String
func addSymbolicLink(withDestination path: String, preferredFilename filename: String) -> String
func symbolicLinkDestination() -> String
struct ReadingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var immediate: FileWrapper.ReadingOptions { get }
static var withoutMapping: FileWrapper.ReadingOptions { get }
}
struct WritingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var atomic: FileWrapper.WritingOptions { get }
static var withNameUpdating: FileWrapper.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 FileWrapper {
var icon: NSImage?
}
extension FileWrapper {
struct ReadingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var immediate: FileWrapper.ReadingOptions { get }
static var withoutMapping: FileWrapper.ReadingOptions { get }
}
struct WritingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var atomic: FileWrapper.WritingOptions { get }
static var withNameUpdating: FileWrapper.WritingOptions { get }
}
}
extension FileWrapper : CVarArg {
}
extension FileWrapper : Equatable, Hashable {
var hashValue: Int { get }
}
extension FileWrapper {
convenience init?(path path: String)
convenience init(symbolicLinkWithDestination path: String)
func needsToBeUpdated(fromPath path: String) -> Bool
func update(fromPath path: String) -> Bool
func write(toFile path: String, atomically atomicFlag: Bool, updateFilenames updateFilenamesFlag: Bool) -> Bool
func addFile(withPath path: String) -> String
func addSymbolicLink(withDestination path: String, preferredFilename filename: String) -> String
func symbolicLinkDestination() -> String
} | CVarArg, Equatable, Hashable, NSCoding |
---|
| Name | Declaration |
From | addFileWithPath(_:) | func addFileWithPath(_ path: String) -> String |
To | addFile(withPath:) | func addFile(withPath path: String) -> String |
---|
| Declaration |
From | func addFileWrapper(_ child: NSFileWrapper) -> String |
To | func addFileWrapper(_ child: FileWrapper) -> String |
---|
| Name | Declaration |
From | addRegularFileWithContents(_:preferredFilename:) | func addRegularFileWithContents(_ data: NSData, preferredFilename fileName: String) -> String |
To | addRegularFile(withContents:preferredFilename:) | func addRegularFile(withContents data: Data, preferredFilename fileName: String) -> String |
---|
| Name | Declaration |
From | addSymbolicLinkWithDestination(_:preferredFilename:) | func addSymbolicLinkWithDestination(_ path: String, preferredFilename filename: String) -> String |
To | addSymbolicLink(withDestination:preferredFilename:) | func addSymbolicLink(withDestination path: String, preferredFilename filename: String) -> String |
---|
| Declaration |
From | var fileAttributes: [String : AnyObject] |
To | var fileAttributes: [String : Any] |
---|
| Declaration |
From | var fileWrappers: [String : NSFileWrapper]? { get } |
To | var fileWrappers: [String : FileWrapper]? { get } |
---|
| Declaration |
From | init(directoryWithFileWrappers childrenByPreferredName: [String : NSFileWrapper]) |
To | init(directoryWithFileWrappers childrenByPreferredName: [String : FileWrapper]) |
---|
| Declaration |
From | init(regularFileWithContents contents: NSData) |
To | init(regularFileWithContents contents: Data) |
---|
| Declaration |
From | init?(serializedRepresentation serializeRepresentation: NSData) |
To | init?(serializedRepresentation serializeRepresentation: Data) |
---|
| Declaration |
From | init(symbolicLinkWithDestinationURL url: NSURL) |
To | init(symbolicLinkWithDestinationURL url: URL) |
---|
| Name | Declaration |
From | init(URL:options:) | init(URL url: NSURL, options options: NSFileWrapperReadingOptions) throws |
To | init(url:options:) | init(url url: URL, options options: FileWrapper.ReadingOptions = []) throws |
---|
| Name | Declaration |
From | directory | var directory: Bool { get } |
To | isDirectory | var isDirectory: Bool { get } |
---|
| Name | Declaration |
From | regularFile | var regularFile: Bool { get } |
To | isRegularFile | var isRegularFile: Bool { get } |
---|
| Name | Declaration |
From | symbolicLink | var symbolicLink: Bool { get } |
To | isSymbolicLink | var isSymbolicLink: Bool { get } |
---|
| Name | Declaration |
From | keyForFileWrapper(_:) | func keyForFileWrapper(_ child: NSFileWrapper) -> String? |
To | keyForChildFileWrapper(_:) | func keyForChildFileWrapper(_ child: FileWrapper) -> String? |
---|
| Name | Declaration |
From | matchesContentsOfURL(_:) | func matchesContentsOfURL(_ url: NSURL) -> Bool |
To | matchesContents(of:) | func matchesContents(of url: URL) -> Bool |
---|
| Name | Declaration |
From | needsToBeUpdatedFromPath(_:) | func needsToBeUpdatedFromPath(_ path: String) -> Bool |
To | needsToBeUpdated(fromPath:) | func needsToBeUpdated(fromPath path: String) -> Bool |
---|
| Name | Declaration |
From | readFromURL(_:options:) | func readFromURL(_ url: NSURL, options options: NSFileWrapperReadingOptions) throws |
To | read(from:options:) | func read(from url: URL, options options: FileWrapper.ReadingOptions = []) throws |
---|
| Declaration |
From | @NSCopying var regularFileContents: NSData? { get } |
To | var regularFileContents: Data? { get } |
---|
| Declaration |
From | func removeFileWrapper(_ child: NSFileWrapper) |
To | func removeFileWrapper(_ child: FileWrapper) |
---|
| Declaration |
From | @NSCopying var serializedRepresentation: NSData? { get } |
To | var serializedRepresentation: Data? { get } |
---|
| Declaration |
From | @NSCopying var symbolicLinkDestinationURL: NSURL? { get } |
To | var symbolicLinkDestinationURL: URL? { get } |
---|
| Name | Declaration |
From | updateFromPath(_:) | func updateFromPath(_ path: String) -> Bool |
To | update(fromPath:) | func update(fromPath path: String) -> Bool |
---|
| Name | Declaration |
From | writeToURL(_:options:originalContentsURL:) | func writeToURL(_ url: NSURL, options options: NSFileWrapperWritingOptions, originalContentsURL originalContentsURL: NSURL?) throws |
To | write(to:options:originalContentsURL:) | func write(to url: URL, options options: FileWrapper.WritingOptions = [], originalContentsURL originalContentsURL: URL?) throws |
---|
| Name | Declaration |
From | writeToFile(_:atomically:updateFilenames:) | func writeToFile(_ path: String, atomically atomicFlag: Bool, updateFilenames updateFilenamesFlag: Bool) -> Bool |
To | write(toFile:atomically:updateFilenames:) | func write(toFile path: String, atomically atomicFlag: Bool, updateFilenames updateFilenamesFlag: Bool) -> Bool |
---|
| Declaration | Protocols |
From | struct NSFileWrapperReadingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Immediate: NSFileWrapperReadingOptions { get }
static var WithoutMapping: NSFileWrapperReadingOptions { get }
} | OptionSetType |
To | struct ReadingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var immediate: FileWrapper.ReadingOptions { get }
static var withoutMapping: FileWrapper.ReadingOptions { get }
}
extension FileWrapper.ReadingOptions {
func union(_ other: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions
func intersection(_ other: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions
func symmetricDifference(_ other: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions
}
extension FileWrapper.ReadingOptions {
func contains(_ member: FileWrapper.ReadingOptions) -> Bool
mutating func insert(_ newMember: FileWrapper.ReadingOptions) -> (inserted: Bool, memberAfterInsert: FileWrapper.ReadingOptions)
mutating func remove(_ member: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions?
mutating func update(with newMember: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions?
}
extension FileWrapper.ReadingOptions {
convenience init()
mutating func formUnion(_ other: FileWrapper.ReadingOptions)
mutating func formIntersection(_ other: FileWrapper.ReadingOptions)
mutating func formSymmetricDifference(_ other: FileWrapper.ReadingOptions)
}
extension FileWrapper.ReadingOptions {
convenience init<S : Sequence where S.Iterator.Element == FileWrapper.ReadingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: FileWrapper.ReadingOptions...)
mutating func subtract(_ other: FileWrapper.ReadingOptions)
func isSubset(of other: FileWrapper.ReadingOptions) -> Bool
func isSuperset(of other: FileWrapper.ReadingOptions) -> Bool
func isDisjoint(with other: FileWrapper.ReadingOptions) -> Bool
func subtracting(_ other: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: FileWrapper.ReadingOptions) -> Bool
func isStrictSubset(of other: FileWrapper.ReadingOptions) -> Bool
}
extension FileWrapper.ReadingOptions {
func intersect(_ other: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions
func exclusiveOr(_ other: FileWrapper.ReadingOptions) -> FileWrapper.ReadingOptions
mutating func unionInPlace(_ other: FileWrapper.ReadingOptions)
mutating func intersectInPlace(_ other: FileWrapper.ReadingOptions)
mutating func exclusiveOrInPlace(_ other: FileWrapper.ReadingOptions)
func isSubsetOf(_ other: FileWrapper.ReadingOptions) -> Bool
func isDisjointWith(_ other: FileWrapper.ReadingOptions) -> Bool
func isSupersetOf(_ other: FileWrapper.ReadingOptions) -> Bool
mutating func subtractInPlace(_ other: FileWrapper.ReadingOptions)
func isStrictSupersetOf(_ other: FileWrapper.ReadingOptions) -> Bool
func isStrictSubsetOf(_ other: FileWrapper.ReadingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | Immediate | static var Immediate: NSFileWrapperReadingOptions { get } |
To | immediate | static var immediate: FileWrapper.ReadingOptions { get } |
---|
| Name | Declaration |
From | WithoutMapping | static var WithoutMapping: NSFileWrapperReadingOptions { get } |
To | withoutMapping | static var withoutMapping: FileWrapper.ReadingOptions { get } |
---|
| Declaration | Protocols |
From | struct NSFileWrapperWritingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Atomic: NSFileWrapperWritingOptions { get }
static var WithNameUpdating: NSFileWrapperWritingOptions { get }
} | OptionSetType |
To | struct WritingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var atomic: FileWrapper.WritingOptions { get }
static var withNameUpdating: FileWrapper.WritingOptions { get }
}
extension FileWrapper.WritingOptions {
func union(_ other: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions
func intersection(_ other: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions
func symmetricDifference(_ other: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions
}
extension FileWrapper.WritingOptions {
func contains(_ member: FileWrapper.WritingOptions) -> Bool
mutating func insert(_ newMember: FileWrapper.WritingOptions) -> (inserted: Bool, memberAfterInsert: FileWrapper.WritingOptions)
mutating func remove(_ member: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions?
mutating func update(with newMember: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions?
}
extension FileWrapper.WritingOptions {
convenience init()
mutating func formUnion(_ other: FileWrapper.WritingOptions)
mutating func formIntersection(_ other: FileWrapper.WritingOptions)
mutating func formSymmetricDifference(_ other: FileWrapper.WritingOptions)
}
extension FileWrapper.WritingOptions {
convenience init<S : Sequence where S.Iterator.Element == FileWrapper.WritingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: FileWrapper.WritingOptions...)
mutating func subtract(_ other: FileWrapper.WritingOptions)
func isSubset(of other: FileWrapper.WritingOptions) -> Bool
func isSuperset(of other: FileWrapper.WritingOptions) -> Bool
func isDisjoint(with other: FileWrapper.WritingOptions) -> Bool
func subtracting(_ other: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: FileWrapper.WritingOptions) -> Bool
func isStrictSubset(of other: FileWrapper.WritingOptions) -> Bool
}
extension FileWrapper.WritingOptions {
func intersect(_ other: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions
func exclusiveOr(_ other: FileWrapper.WritingOptions) -> FileWrapper.WritingOptions
mutating func unionInPlace(_ other: FileWrapper.WritingOptions)
mutating func intersectInPlace(_ other: FileWrapper.WritingOptions)
mutating func exclusiveOrInPlace(_ other: FileWrapper.WritingOptions)
func isSubsetOf(_ other: FileWrapper.WritingOptions) -> Bool
func isDisjointWith(_ other: FileWrapper.WritingOptions) -> Bool
func isSupersetOf(_ other: FileWrapper.WritingOptions) -> Bool
mutating func subtractInPlace(_ other: FileWrapper.WritingOptions)
func isStrictSupersetOf(_ other: FileWrapper.WritingOptions) -> Bool
func isStrictSubsetOf(_ other: FileWrapper.WritingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | Atomic | static var Atomic: NSFileWrapperWritingOptions { get } |
To | atomic | static var atomic: FileWrapper.WritingOptions { get } |
---|
| Name | Declaration |
From | WithNameUpdating | static var WithNameUpdating: NSFileWrapperWritingOptions { get } |
To | withNameUpdating | static var withNameUpdating: FileWrapper.WritingOptions { get } |
---|
| Declaration | Protocols |
From | class NSFormatter : NSObject, NSCopying, NSCoding {
func stringForObjectValue(_ obj: AnyObject) -> String?
func attributedStringForObjectValue(_ obj: AnyObject, withDefaultAttributes attrs: [String : AnyObject]?) -> NSAttributedString?
func editingStringForObjectValue(_ obj: AnyObject) -> String?
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
func isPartialStringValid(_ partialString: String, newEditingString newString: AutoreleasingUnsafeMutablePointer<NSString?>, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
func isPartialStringValid(_ partialStringPtr: AutoreleasingUnsafeMutablePointer<NSString?>, proposedSelectedRange proposedSelRangePtr: NSRangePointer, originalString origString: String, originalSelectedRange origSelRange: NSRange, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
} | NSCoding, NSCopying |
To | class Formatter : NSObject, NSCopying, NSCoding {
func string(for obj: Any?) -> String?
func attributedString(for obj: Any, withDefaultAttributes attrs: [String : Any]? = nil) -> NSAttributedString?
func editingString(for obj: Any) -> String?
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func isPartialStringValid(_ partialString: String, newEditingString newString: AutoreleasingUnsafeMutablePointer<NSString?>?, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func isPartialStringValid(_ partialStringPtr: AutoreleasingUnsafeMutablePointer<NSString>, proposedSelectedRange proposedSelRangePtr: NSRangePointer?, originalString origString: String, originalSelectedRange origSelRange: NSRange, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 Formatter {
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
}
extension Formatter : CVarArg {
}
extension Formatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
---|
| Name | Declaration |
From | attributedStringForObjectValue(_:withDefaultAttributes:) | func attributedStringForObjectValue(_ obj: AnyObject, withDefaultAttributes attrs: [String : AnyObject]?) -> NSAttributedString? |
To | attributedString(for:withDefaultAttributes:) | func attributedString(for obj: Any, withDefaultAttributes attrs: [String : Any]? = nil) -> NSAttributedString? |
---|
| Name | Declaration |
From | editingStringForObjectValue(_:) | func editingStringForObjectValue(_ obj: AnyObject) -> String? |
To | editingString(for:) | func editingString(for obj: Any) -> String? |
---|
| Name | Declaration |
From | getObjectValue(_:forString:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | getObjectValue(_:for:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Declaration |
From | func isPartialStringValid(_ partialString: String, newEditingString newString: AutoreleasingUnsafeMutablePointer<NSString?>, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | func isPartialStringValid(_ partialString: String, newEditingString newString: AutoreleasingUnsafeMutablePointer<NSString?>?, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Declaration |
From | func isPartialStringValid(_ partialStringPtr: AutoreleasingUnsafeMutablePointer<NSString?>, proposedSelectedRange proposedSelRangePtr: NSRangePointer, originalString origString: String, originalSelectedRange origSelRange: NSRange, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | func isPartialStringValid(_ partialStringPtr: AutoreleasingUnsafeMutablePointer<NSString>, proposedSelectedRange proposedSelRangePtr: NSRangePointer?, originalString origString: String, originalSelectedRange origSelRange: NSRange, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Name | Declaration |
From | stringForObjectValue(_:) | func stringForObjectValue(_ obj: AnyObject) -> String? |
To | string(for:) | func string(for obj: Any?) -> String? |
---|
| Declaration |
From | enum NSFormattingContext : Int {
case Unknown
case Dynamic
case Standalone
case ListItem
case BeginningOfSentence
case MiddleOfSentence
} |
To | enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
} |
---|
| Name | Declaration |
From | BeginningOfSentence | case BeginningOfSentence |
To | beginningOfSentence | case beginningOfSentence |
---|
| Name | Declaration |
From | Dynamic | case Dynamic |
To | dynamic | case dynamic |
---|
| Name | Declaration |
From | ListItem | case ListItem |
To | listItem | case listItem |
---|
| Name | Declaration |
From | MiddleOfSentence | case MiddleOfSentence |
To | middleOfSentence | case middleOfSentence |
---|
| Name | Declaration |
From | Standalone | case Standalone |
To | standalone | case standalone |
---|
| Name | Declaration |
From | Unknown | case Unknown |
To | unknown | case unknown |
---|
| Declaration |
From | enum NSFormattingUnitStyle : Int {
case Short
case Medium
case Long
} |
To | enum UnitStyle : Int {
case short
case medium
case long
} |
---|
| Name | Declaration |
From | Long | case Long |
To | long | case long |
---|
| Name | Declaration |
From | Medium | case Medium |
To | medium | case medium |
---|
| Name | Declaration |
From | Short | case Short |
To | short | case short |
---|
| Declaration | Protocols |
From | class NSHost : NSObject {
class func currentHost() -> Self
convenience init(name name: String?)
class func hostWithName(_ name: String?) -> Self
convenience init(address address: String)
class func hostWithAddress(_ address: String) -> Self
func isEqualToHost(_ aHost: NSHost) -> Bool
var name: String? { get }
var names: [String] { get }
var address: String? { get }
var addresses: [String] { get }
var localizedName: String? { get }
class func setHostCacheEnabled(_ flag: Bool)
class func isHostCacheEnabled() -> Bool
class func flushHostCache()
} | -- |
To | class Host : NSObject {
class func current() -> Self
convenience init(name name: String?)
class func withName(_ name: String?) -> Self
convenience init(address address: String)
class func withAddress(_ address: String) -> Self
func isEqual(to aHost: Host) -> Bool
var name: String? { get }
var names: [String] { get }
var address: String? { get }
var addresses: [String] { get }
var localizedName: String? { get }
class func setHostCacheEnabled(_ flag: Bool)
class func isHostCacheEnabled() -> Bool
class func flushHostCache()
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 Host : CVarArg {
}
extension Host : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | currentHost() | class func currentHost() -> Self |
To | current() | class func current() -> Self |
---|
| Name | Declaration |
From | isEqualToHost(_:) | func isEqualToHost(_ aHost: NSHost) -> Bool |
To | isEqual(to:) | func isEqual(to aHost: Host) -> Bool |
---|
| Declaration | Protocols |
From | class NSHTTPCookie : NSObject {
init?(properties properties: [String : AnyObject])
class func cookieWithProperties(_ properties: [String : AnyObject]) -> NSHTTPCookie?
class func requestHeaderFieldsWithCookies(_ cookies: [NSHTTPCookie]) -> [String : String]
class func cookiesWithResponseHeaderFields(_ headerFields: [String : String], forURL URL: NSURL) -> [NSHTTPCookie]
var properties: [String : AnyObject]? { get }
var version: Int { get }
var name: String { get }
var value: String { get }
@NSCopying var expiresDate: NSDate? { get }
var sessionOnly: Bool { get }
var domain: String { get }
var path: String { get }
var secure: Bool { get }
var HTTPOnly: Bool { get }
var comment: String? { get }
@NSCopying var commentURL: NSURL? { get }
var portList: [NSNumber]? { get }
} | -- |
To | class HTTPCookie : NSObject {
init?(properties properties: [HTTPCookiePropertyKey : Any])
class func withProperties(_ properties: [HTTPCookiePropertyKey : Any]) -> HTTPCookie?
class func requestHeaderFields(with cookies: [HTTPCookie]) -> [String : String]
class func cookies(withResponseHeaderFields headerFields: [String : String], for URL: URL) -> [HTTPCookie]
var properties: [HTTPCookiePropertyKey : Any]? { get }
var version: Int { get }
var name: String { get }
var value: String { get }
var expiresDate: Date? { get }
var isSessionOnly: Bool { get }
var domain: String { get }
var path: String { get }
var isSecure: Bool { get }
var isHTTPOnly: Bool { get }
var comment: String? { get }
var commentURL: URL? { get }
var portList: [NSNumber]? { get }
enum AcceptPolicy : UInt {
case always
case never
case onlyFromMainDocumentDomain
}
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 HTTPCookie : CVarArg {
}
extension HTTPCookie : Equatable, Hashable {
var hashValue: Int { get }
}
extension HTTPCookie {
enum AcceptPolicy : UInt {
case always
case never
case onlyFromMainDocumentDomain
}
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | @NSCopying var commentURL: NSURL? { get } |
To | var commentURL: URL? { get } |
---|
| Name | Declaration |
From | cookiesWithResponseHeaderFields(_:forURL:) | class func cookiesWithResponseHeaderFields(_ headerFields: [String : String], forURL URL: NSURL) -> [NSHTTPCookie] |
To | cookies(withResponseHeaderFields:for:) | class func cookies(withResponseHeaderFields headerFields: [String : String], for URL: URL) -> [HTTPCookie] |
---|
| Declaration |
From | @NSCopying var expiresDate: NSDate? { get } |
To | var expiresDate: Date? { get } |
---|
| Declaration |
From | init?(properties properties: [String : AnyObject]) |
To | init?(properties properties: [HTTPCookiePropertyKey : Any]) |
---|
| Name | Declaration |
From | HTTPOnly | var HTTPOnly: Bool { get } |
To | isHTTPOnly | var isHTTPOnly: Bool { get } |
---|
| Name | Declaration |
From | secure | var secure: Bool { get } |
To | isSecure | var isSecure: Bool { get } |
---|
| Name | Declaration |
From | sessionOnly | var sessionOnly: Bool { get } |
To | isSessionOnly | var isSessionOnly: Bool { get } |
---|
| Declaration |
From | var properties: [String : AnyObject]? { get } |
To | var properties: [HTTPCookiePropertyKey : Any]? { get } |
---|
| Name | Declaration |
From | requestHeaderFieldsWithCookies(_:) | class func requestHeaderFieldsWithCookies(_ cookies: [NSHTTPCookie]) -> [String : String] |
To | requestHeaderFields(with:) | class func requestHeaderFields(with cookies: [HTTPCookie]) -> [String : String] |
---|
| Declaration |
From | enum NSHTTPCookieAcceptPolicy : UInt {
case Always
case Never
case OnlyFromMainDocumentDomain
} |
To | enum AcceptPolicy : UInt {
case always
case never
case onlyFromMainDocumentDomain
} |
---|
| Name | Declaration |
From | Always | case Always |
To | always | case always |
---|
| Name | Declaration |
From | Never | case Never |
To | never | case never |
---|
| Name | Declaration |
From | OnlyFromMainDocumentDomain | case OnlyFromMainDocumentDomain |
To | onlyFromMainDocumentDomain | case onlyFromMainDocumentDomain |
---|
| Name | Declaration |
From | NSHTTPCookieComment | let NSHTTPCookieComment: String |
To | comment | static let comment: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieCommentURL | let NSHTTPCookieCommentURL: String |
To | commentURL | static let commentURL: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieDiscard | let NSHTTPCookieDiscard: String |
To | discard | static let discard: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieDomain | let NSHTTPCookieDomain: String |
To | domain | static let domain: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieExpires | let NSHTTPCookieExpires: String |
To | expires | static let expires: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieMaximumAge | let NSHTTPCookieMaximumAge: String |
To | maximumAge | static let maximumAge: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieName | let NSHTTPCookieName: String |
To | name | static let name: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieOriginURL | let NSHTTPCookieOriginURL: String |
To | originURL | static let originURL: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookiePath | let NSHTTPCookiePath: String |
To | path | static let path: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookiePort | let NSHTTPCookiePort: String |
To | port | static let port: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieSecure | let NSHTTPCookieSecure: String |
To | secure | static let secure: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieValue | let NSHTTPCookieValue: String |
To | value | static let value: HTTPCookiePropertyKey |
---|
| Name | Declaration |
From | NSHTTPCookieVersion | let NSHTTPCookieVersion: String |
To | version | static let version: HTTPCookiePropertyKey |
---|
| Declaration | Protocols |
From | class NSHTTPCookieStorage : NSObject {
class func sharedHTTPCookieStorage() -> NSHTTPCookieStorage
class func sharedCookieStorageForGroupContainerIdentifier(_ identifier: String) -> NSHTTPCookieStorage
var cookies: [NSHTTPCookie]? { get }
func setCookie(_ cookie: NSHTTPCookie)
func deleteCookie(_ cookie: NSHTTPCookie)
func removeCookiesSinceDate(_ date: NSDate)
func cookiesForURL(_ URL: NSURL) -> [NSHTTPCookie]?
func setCookies(_ cookies: [NSHTTPCookie], forURL URL: NSURL?, mainDocumentURL mainDocumentURL: NSURL?)
var cookieAcceptPolicy: NSHTTPCookieAcceptPolicy
func sortedCookiesUsingDescriptors(_ sortOrder: [NSSortDescriptor]) -> [NSHTTPCookie]
}
extension NSHTTPCookieStorage {
func storeCookies(_ cookies: [NSHTTPCookie], forTask task: NSURLSessionTask)
func getCookiesForTask(_ task: NSURLSessionTask, completionHandler completionHandler: ([NSHTTPCookie]?) -> Void)
} | -- |
To | class HTTPCookieStorage : NSObject {
class var shared: HTTPCookieStorage { get }
class func sharedCookieStorage(forGroupContainerIdentifier identifier: String) -> HTTPCookieStorage
var cookies: [HTTPCookie]? { get }
func setCookie(_ cookie: HTTPCookie)
func deleteCookie(_ cookie: HTTPCookie)
func removeCookies(since date: Date)
func cookies(for URL: URL) -> [HTTPCookie]?
func setCookies(_ cookies: [HTTPCookie], for URL: URL?, mainDocumentURL mainDocumentURL: URL?)
var cookieAcceptPolicy: HTTPCookie.AcceptPolicy
func sortedCookies(using sortOrder: [NSSortDescriptor]) -> [HTTPCookie]
func storeCookies(_ cookies: [HTTPCookie], for task: URLSessionTask)
func getCookiesFor(_ task: URLSessionTask, completionHandler completionHandler: @escaping ([HTTPCookie]?) -> 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 HTTPCookieStorage : CVarArg {
}
extension HTTPCookieStorage : Equatable, Hashable {
var hashValue: Int { get }
}
extension HTTPCookieStorage {
func storeCookies(_ cookies: [HTTPCookie], for task: URLSessionTask)
func getCookiesFor(_ task: URLSessionTask, completionHandler completionHandler: @escaping ([HTTPCookie]?) -> Swift.Void)
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var cookieAcceptPolicy: NSHTTPCookieAcceptPolicy |
To | var cookieAcceptPolicy: HTTPCookie.AcceptPolicy |
---|
| Declaration |
From | var cookies: [NSHTTPCookie]? { get } |
To | var cookies: [HTTPCookie]? { get } |
---|
| Name | Declaration |
From | cookiesForURL(_:) | func cookiesForURL(_ URL: NSURL) -> [NSHTTPCookie]? |
To | cookies(for:) | func cookies(for URL: URL) -> [HTTPCookie]? |
---|
| Declaration |
From | func deleteCookie(_ cookie: NSHTTPCookie) |
To | func deleteCookie(_ cookie: HTTPCookie) |
---|
| Name | Declaration |
From | getCookiesForTask(_:completionHandler:) | func getCookiesForTask(_ task: NSURLSessionTask, completionHandler completionHandler: ([NSHTTPCookie]?) -> Void) |
To | getCookiesFor(_:completionHandler:) | func getCookiesFor(_ task: URLSessionTask, completionHandler completionHandler: @escaping ([HTTPCookie]?) -> Swift.Void) |
---|
| Name | Declaration |
From | removeCookiesSinceDate(_:) | func removeCookiesSinceDate(_ date: NSDate) |
To | removeCookies(since:) | func removeCookies(since date: Date) |
---|
| Declaration |
From | func setCookie(_ cookie: NSHTTPCookie) |
To | func setCookie(_ cookie: HTTPCookie) |
---|
| Name | Declaration |
From | setCookies(_:forURL:mainDocumentURL:) | func setCookies(_ cookies: [NSHTTPCookie], forURL URL: NSURL?, mainDocumentURL mainDocumentURL: NSURL?) |
To | setCookies(_:for:mainDocumentURL:) | func setCookies(_ cookies: [HTTPCookie], for URL: URL?, mainDocumentURL mainDocumentURL: URL?) |
---|
| Name | Declaration |
From | sharedCookieStorageForGroupContainerIdentifier(_:) | class func sharedCookieStorageForGroupContainerIdentifier(_ identifier: String) -> NSHTTPCookieStorage |
To | sharedCookieStorage(forGroupContainerIdentifier:) | class func sharedCookieStorage(forGroupContainerIdentifier identifier: String) -> HTTPCookieStorage |
---|
| Name | Declaration |
From | sortedCookiesUsingDescriptors(_:) | func sortedCookiesUsingDescriptors(_ sortOrder: [NSSortDescriptor]) -> [NSHTTPCookie] |
To | sortedCookies(using:) | func sortedCookies(using sortOrder: [NSSortDescriptor]) -> [HTTPCookie] |
---|
| Name | Declaration |
From | storeCookies(_:forTask:) | func storeCookies(_ cookies: [NSHTTPCookie], forTask task: NSURLSessionTask) |
To | storeCookies(_:for:) | func storeCookies(_ cookies: [HTTPCookie], for task: URLSessionTask) |
---|
| Declaration |
From | class NSHTTPURLResponse : NSURLResponse {
init?(URL url: NSURL, statusCode statusCode: Int, HTTPVersion HTTPVersion: String?, headerFields headerFields: [String : String]?)
var statusCode: Int { get }
var allHeaderFields: [NSObject : AnyObject] { get }
class func localizedStringForStatusCode(_ statusCode: Int) -> String
} |
To | class HTTPURLResponse : URLResponse {
init?(url url: URL, statusCode statusCode: Int, httpVersion HTTPVersion: String?, headerFields headerFields: [String : String]?)
var statusCode: Int { get }
var allHeaderFields: [AnyHashable : Any] { get }
class func localizedString(forStatusCode statusCode: Int) -> String
} |
---|
| Declaration |
From | var allHeaderFields: [NSObject : AnyObject] { get } |
To | var allHeaderFields: [AnyHashable : Any] { get } |
---|
| Name | Declaration |
From | init(URL:statusCode:HTTPVersion:headerFields:) | init?(URL url: NSURL, statusCode statusCode: Int, HTTPVersion HTTPVersion: String?, headerFields headerFields: [String : String]?) |
To | init(url:statusCode:httpVersion:headerFields:) | init?(url url: URL, statusCode statusCode: Int, httpVersion HTTPVersion: String?, headerFields headerFields: [String : String]?) |
---|
| Name | Declaration |
From | localizedStringForStatusCode(_:) | class func localizedStringForStatusCode(_ statusCode: Int) -> String |
To | localizedString(forStatusCode:) | class func localizedString(forStatusCode statusCode: Int) -> String |
---|
| Declaration | Protocols |
From | class NSInputStream : NSStream {
func read(_ buffer: UnsafeMutablePointer<UInt8>, maxLength len: Int) -> Int
func getBuffer(_ buffer: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>, length len: UnsafeMutablePointer<Int>) -> Bool
var hasBytesAvailable: Bool { get }
init(data data: NSData)
init?(URL url: NSURL)
}
extension NSInputStream {
convenience init?(fileAtPath path: String)
convenience init?(data data: NSData)
class func inputStreamWithData(_ data: NSData) -> Self?
class func inputStreamWithFileAtPath(_ path: String) -> Self?
convenience init?(URL url: NSURL)
class func inputStreamWithURL(_ url: NSURL) -> Self?
} | -- |
To | class InputStream : Stream {
func read(_ buffer: UnsafeMutablePointer<UInt8>, maxLength len: Int) -> Int
func getBuffer(_ buffer: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>, length len: UnsafeMutablePointer<Int>) -> Bool
var hasBytesAvailable: Bool { get }
init(data data: Data)
init?(url url: URL)
convenience init?(fileAtPath path: String)
class func withData(_ data: Data) -> Self?
class func withFileAtPath(_ path: String) -> Self?
class func withURL(_ url: URL) -> Self?
class func getBoundStreams(withBufferSize bufferSize: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
class func getStreamsToHost(withName hostname: String, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
class func getStreamsTo(_ host: Host, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
struct PropertyKey : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
enum Status : UInt {
case notOpen
case opening
case open
case reading
case writing
case atEnd
case closed
case error
}
struct Event : OptionSet {
init(rawValue rawValue: UInt)
static var none: Stream.Event { get }
static var openCompleted: Stream.Event { get }
static var hasBytesAvailable: Stream.Event { get }
static var hasSpaceAvailable: Stream.Event { get }
static var errorOccurred: Stream.Event { get }
static var endEncountered: Stream.Event { 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 InputStream : CVarArg {
}
extension InputStream : Equatable, Hashable {
var hashValue: Int { get }
}
extension InputStream {
convenience init?(fileAtPath path: String)
class func withData(_ data: Data) -> Self?
class func withFileAtPath(_ path: String) -> Self?
class func withURL(_ url: URL) -> Self?
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func getBuffer(_ buffer: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>>, length len: UnsafeMutablePointer<Int>) -> Bool |
To | func getBuffer(_ buffer: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>, length len: UnsafeMutablePointer<Int>) -> Bool |
---|
| Declaration |
From | init(data data: NSData) |
To | init(data data: Data) |
---|
| Name | Declaration |
From | init(URL:) | init?(URL url: NSURL) |
To | init(url:) | init?(url url: URL) |
---|
| Declaration | Protocols |
From | class NSJSONSerialization : NSObject {
class func isValidJSONObject(_ obj: AnyObject) -> Bool
class func dataWithJSONObject(_ obj: AnyObject, options opt: NSJSONWritingOptions) throws -> NSData
class func JSONObjectWithData(_ data: NSData, options opt: NSJSONReadingOptions) throws -> AnyObject
class func writeJSONObject(_ obj: AnyObject, toStream stream: NSOutputStream, options opt: NSJSONWritingOptions, error error: NSErrorPointer) -> Int
class func JSONObjectWithStream(_ stream: NSInputStream, options opt: NSJSONReadingOptions) throws -> AnyObject
} | -- |
To | class JSONSerialization : NSObject {
class func isValidJSONObject(_ obj: Any) -> Bool
class func data(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) throws -> Data
class func jsonObject(with data: Data, options opt: JSONSerialization.ReadingOptions = []) throws -> Any
class func writeJSONObject(_ obj: Any, to stream: OutputStream, options opt: JSONSerialization.WritingOptions = [], error error: NSErrorPointer) -> Int
class func jsonObject(with stream: InputStream, options opt: JSONSerialization.ReadingOptions = []) throws -> Any
struct ReadingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var mutableContainers: JSONSerialization.ReadingOptions { get }
static var mutableLeaves: JSONSerialization.ReadingOptions { get }
static var allowFragments: JSONSerialization.ReadingOptions { get }
}
struct WritingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var prettyPrinted: JSONSerialization.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 JSONSerialization {
struct ReadingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var mutableContainers: JSONSerialization.ReadingOptions { get }
static var mutableLeaves: JSONSerialization.ReadingOptions { get }
static var allowFragments: JSONSerialization.ReadingOptions { get }
}
struct WritingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var prettyPrinted: JSONSerialization.WritingOptions { get }
}
}
extension JSONSerialization : CVarArg {
}
extension JSONSerialization : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | dataWithJSONObject(_:options:) | class func dataWithJSONObject(_ obj: AnyObject, options opt: NSJSONWritingOptions) throws -> NSData |
To | data(withJSONObject:options:) | class func data(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) throws -> Data |
---|
| Declaration |
From | class func isValidJSONObject(_ obj: AnyObject) -> Bool |
To | class func isValidJSONObject(_ obj: Any) -> Bool |
---|
| Name | Declaration |
From | JSONObjectWithData(_:options:) | class func JSONObjectWithData(_ data: NSData, options opt: NSJSONReadingOptions) throws -> AnyObject |
To | jsonObject(with:options:) | class func jsonObject(with data: Data, options opt: JSONSerialization.ReadingOptions = []) throws -> Any |
---|
| Name | Declaration |
From | JSONObjectWithStream(_:options:) | class func JSONObjectWithStream(_ stream: NSInputStream, options opt: NSJSONReadingOptions) throws -> AnyObject |
To | jsonObject(with:options:) | class func jsonObject(with stream: InputStream, options opt: JSONSerialization.ReadingOptions = []) throws -> Any |
---|
| Name | Declaration |
From | writeJSONObject(_:toStream:options:error:) | class func writeJSONObject(_ obj: AnyObject, toStream stream: NSOutputStream, options opt: NSJSONWritingOptions, error error: NSErrorPointer) -> Int |
To | writeJSONObject(_:to:options:error:) | class func writeJSONObject(_ obj: Any, to stream: OutputStream, options opt: JSONSerialization.WritingOptions = [], error error: NSErrorPointer) -> Int |
---|
| Declaration | Protocols |
From | struct NSJSONReadingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var MutableContainers: NSJSONReadingOptions { get }
static var MutableLeaves: NSJSONReadingOptions { get }
static var AllowFragments: NSJSONReadingOptions { get }
} | OptionSetType |
To | struct ReadingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var mutableContainers: JSONSerialization.ReadingOptions { get }
static var mutableLeaves: JSONSerialization.ReadingOptions { get }
static var allowFragments: JSONSerialization.ReadingOptions { get }
}
extension JSONSerialization.ReadingOptions {
func union(_ other: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions
func intersection(_ other: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions
func symmetricDifference(_ other: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions
}
extension JSONSerialization.ReadingOptions {
func contains(_ member: JSONSerialization.ReadingOptions) -> Bool
mutating func insert(_ newMember: JSONSerialization.ReadingOptions) -> (inserted: Bool, memberAfterInsert: JSONSerialization.ReadingOptions)
mutating func remove(_ member: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions?
mutating func update(with newMember: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions?
}
extension JSONSerialization.ReadingOptions {
convenience init()
mutating func formUnion(_ other: JSONSerialization.ReadingOptions)
mutating func formIntersection(_ other: JSONSerialization.ReadingOptions)
mutating func formSymmetricDifference(_ other: JSONSerialization.ReadingOptions)
}
extension JSONSerialization.ReadingOptions {
convenience init<S : Sequence where S.Iterator.Element == JSONSerialization.ReadingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: JSONSerialization.ReadingOptions...)
mutating func subtract(_ other: JSONSerialization.ReadingOptions)
func isSubset(of other: JSONSerialization.ReadingOptions) -> Bool
func isSuperset(of other: JSONSerialization.ReadingOptions) -> Bool
func isDisjoint(with other: JSONSerialization.ReadingOptions) -> Bool
func subtracting(_ other: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: JSONSerialization.ReadingOptions) -> Bool
func isStrictSubset(of other: JSONSerialization.ReadingOptions) -> Bool
}
extension JSONSerialization.ReadingOptions {
func intersect(_ other: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions
func exclusiveOr(_ other: JSONSerialization.ReadingOptions) -> JSONSerialization.ReadingOptions
mutating func unionInPlace(_ other: JSONSerialization.ReadingOptions)
mutating func intersectInPlace(_ other: JSONSerialization.ReadingOptions)
mutating func exclusiveOrInPlace(_ other: JSONSerialization.ReadingOptions)
func isSubsetOf(_ other: JSONSerialization.ReadingOptions) -> Bool
func isDisjointWith(_ other: JSONSerialization.ReadingOptions) -> Bool
func isSupersetOf(_ other: JSONSerialization.ReadingOptions) -> Bool
mutating func subtractInPlace(_ other: JSONSerialization.ReadingOptions)
func isStrictSupersetOf(_ other: JSONSerialization.ReadingOptions) -> Bool
func isStrictSubsetOf(_ other: JSONSerialization.ReadingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AllowFragments | static var AllowFragments: NSJSONReadingOptions { get } |
To | allowFragments | static var allowFragments: JSONSerialization.ReadingOptions { get } |
---|
| Name | Declaration |
From | MutableContainers | static var MutableContainers: NSJSONReadingOptions { get } |
To | mutableContainers | static var mutableContainers: JSONSerialization.ReadingOptions { get } |
---|
| Name | Declaration |
From | MutableLeaves | static var MutableLeaves: NSJSONReadingOptions { get } |
To | mutableLeaves | static var mutableLeaves: JSONSerialization.ReadingOptions { get } |
---|
| Declaration | Protocols |
From | struct NSJSONWritingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var PrettyPrinted: NSJSONWritingOptions { get }
} | OptionSetType |
To | struct WritingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var prettyPrinted: JSONSerialization.WritingOptions { get }
}
extension JSONSerialization.WritingOptions {
func union(_ other: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions
func intersection(_ other: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions
func symmetricDifference(_ other: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions
}
extension JSONSerialization.WritingOptions {
func contains(_ member: JSONSerialization.WritingOptions) -> Bool
mutating func insert(_ newMember: JSONSerialization.WritingOptions) -> (inserted: Bool, memberAfterInsert: JSONSerialization.WritingOptions)
mutating func remove(_ member: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions?
mutating func update(with newMember: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions?
}
extension JSONSerialization.WritingOptions {
convenience init()
mutating func formUnion(_ other: JSONSerialization.WritingOptions)
mutating func formIntersection(_ other: JSONSerialization.WritingOptions)
mutating func formSymmetricDifference(_ other: JSONSerialization.WritingOptions)
}
extension JSONSerialization.WritingOptions {
convenience init<S : Sequence where S.Iterator.Element == JSONSerialization.WritingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: JSONSerialization.WritingOptions...)
mutating func subtract(_ other: JSONSerialization.WritingOptions)
func isSubset(of other: JSONSerialization.WritingOptions) -> Bool
func isSuperset(of other: JSONSerialization.WritingOptions) -> Bool
func isDisjoint(with other: JSONSerialization.WritingOptions) -> Bool
func subtracting(_ other: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: JSONSerialization.WritingOptions) -> Bool
func isStrictSubset(of other: JSONSerialization.WritingOptions) -> Bool
}
extension JSONSerialization.WritingOptions {
func intersect(_ other: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions
func exclusiveOr(_ other: JSONSerialization.WritingOptions) -> JSONSerialization.WritingOptions
mutating func unionInPlace(_ other: JSONSerialization.WritingOptions)
mutating func intersectInPlace(_ other: JSONSerialization.WritingOptions)
mutating func exclusiveOrInPlace(_ other: JSONSerialization.WritingOptions)
func isSubsetOf(_ other: JSONSerialization.WritingOptions) -> Bool
func isDisjointWith(_ other: JSONSerialization.WritingOptions) -> Bool
func isSupersetOf(_ other: JSONSerialization.WritingOptions) -> Bool
mutating func subtractInPlace(_ other: JSONSerialization.WritingOptions)
func isStrictSupersetOf(_ other: JSONSerialization.WritingOptions) -> Bool
func isStrictSubsetOf(_ other: JSONSerialization.WritingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | PrettyPrinted | static var PrettyPrinted: NSJSONWritingOptions { get } |
To | prettyPrinted | static var prettyPrinted: JSONSerialization.WritingOptions { get } |
---|
| Declaration | Protocols |
From | class NSLengthFormatter : NSFormatter {
@NSCopying var numberFormatter: NSNumberFormatter!
var unitStyle: NSFormattingUnitStyle
var forPersonHeightUse: Bool
func stringFromValue(_ value: Double, unit unit: NSLengthFormatterUnit) -> String
func stringFromMeters(_ numberInMeters: Double) -> String
func unitStringFromValue(_ value: Double, unit unit: NSLengthFormatterUnit) -> String
func unitStringFromMeters(_ numberInMeters: Double, usedUnit unitp: UnsafeMutablePointer<NSLengthFormatterUnit>) -> String
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
} | -- |
To | class LengthFormatter : Formatter {
@NSCopying var numberFormatter: NumberFormatter!
var unitStyle: Formatter.UnitStyle
var isForPersonHeightUse: Bool
func string(fromValue value: Double, unit unit: LengthFormatter.Unit) -> String
func string(fromMeters numberInMeters: Double) -> String
func unitString(fromValue value: Double, unit unit: LengthFormatter.Unit) -> String
func unitString(fromMeters numberInMeters: Double, usedUnit unitp: UnsafeMutablePointer<LengthFormatter.Unit>?) -> String
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
enum Unit : Int {
case millimeter
case centimeter
case meter
case kilometer
case inch
case foot
case yard
case mile
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 LengthFormatter {
enum Unit : Int {
case millimeter
case centimeter
case meter
case kilometer
case inch
case foot
case yard
case mile
}
}
extension LengthFormatter : CVarArg {
}
extension LengthFormatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | getObjectValue(_:forString:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | getObjectValue(_:for:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Name | Declaration |
From | forPersonHeightUse | var forPersonHeightUse: Bool |
To | isForPersonHeightUse | var isForPersonHeightUse: Bool |
---|
| Declaration |
From | @NSCopying var numberFormatter: NSNumberFormatter! |
To | @NSCopying var numberFormatter: NumberFormatter! |
---|
| Name | Declaration |
From | stringFromMeters(_:) | func stringFromMeters(_ numberInMeters: Double) -> String |
To | string(fromMeters:) | func string(fromMeters numberInMeters: Double) -> String |
---|
| Name | Declaration |
From | stringFromValue(_:unit:) | func stringFromValue(_ value: Double, unit unit: NSLengthFormatterUnit) -> String |
To | string(fromValue:unit:) | func string(fromValue value: Double, unit unit: LengthFormatter.Unit) -> String |
---|
| Name | Declaration |
From | unitStringFromMeters(_:usedUnit:) | func unitStringFromMeters(_ numberInMeters: Double, usedUnit unitp: UnsafeMutablePointer<NSLengthFormatterUnit>) -> String |
To | unitString(fromMeters:usedUnit:) | func unitString(fromMeters numberInMeters: Double, usedUnit unitp: UnsafeMutablePointer<LengthFormatter.Unit>?) -> String |
---|
| Name | Declaration |
From | unitStringFromValue(_:unit:) | func unitStringFromValue(_ value: Double, unit unit: NSLengthFormatterUnit) -> String |
To | unitString(fromValue:unit:) | func unitString(fromValue value: Double, unit unit: LengthFormatter.Unit) -> String |
---|
| Declaration |
From | var unitStyle: NSFormattingUnitStyle |
To | var unitStyle: Formatter.UnitStyle |
---|
| Declaration |
From | enum NSLengthFormatterUnit : Int {
case Millimeter
case Centimeter
case Meter
case Kilometer
case Inch
case Foot
case Yard
case Mile
} |
To | enum Unit : Int {
case millimeter
case centimeter
case meter
case kilometer
case inch
case foot
case yard
case mile
} |
---|
| Name | Declaration |
From | Centimeter | case Centimeter |
To | centimeter | case centimeter |
---|
| Name | Declaration |
From | Foot | case Foot |
To | foot | case foot |
---|
| Name | Declaration |
From | Inch | case Inch |
To | inch | case inch |
---|
| Name | Declaration |
From | Kilometer | case Kilometer |
To | kilometer | case kilometer |
---|
| Name | Declaration |
From | Meter | case Meter |
To | meter | case meter |
---|
| Name | Declaration |
From | Mile | case Mile |
To | mile | case mile |
---|
| Name | Declaration |
From | Millimeter | case Millimeter |
To | millimeter | case millimeter |
---|
| Name | Declaration |
From | Yard | case Yard |
To | yard | case yard |
---|
| Declaration | Protocols |
From | class NSMassFormatter : NSFormatter {
@NSCopying var numberFormatter: NSNumberFormatter!
var unitStyle: NSFormattingUnitStyle
var forPersonMassUse: Bool
func stringFromValue(_ value: Double, unit unit: NSMassFormatterUnit) -> String
func stringFromKilograms(_ numberInKilograms: Double) -> String
func unitStringFromValue(_ value: Double, unit unit: NSMassFormatterUnit) -> String
func unitStringFromKilograms(_ numberInKilograms: Double, usedUnit unitp: UnsafeMutablePointer<NSMassFormatterUnit>) -> String
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
} | -- |
To | class MassFormatter : Formatter {
@NSCopying var numberFormatter: NumberFormatter!
var unitStyle: Formatter.UnitStyle
var isForPersonMassUse: Bool
func string(fromValue value: Double, unit unit: MassFormatter.Unit) -> String
func string(fromKilograms numberInKilograms: Double) -> String
func unitString(fromValue value: Double, unit unit: MassFormatter.Unit) -> String
func unitString(fromKilograms numberInKilograms: Double, usedUnit unitp: UnsafeMutablePointer<MassFormatter.Unit>?) -> String
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
enum Unit : Int {
case gram
case kilogram
case ounce
case pound
case stone
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 MassFormatter {
enum Unit : Int {
case gram
case kilogram
case ounce
case pound
case stone
}
}
extension MassFormatter : CVarArg {
}
extension MassFormatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | getObjectValue(_:forString:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | getObjectValue(_:for:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Name | Declaration |
From | forPersonMassUse | var forPersonMassUse: Bool |
To | isForPersonMassUse | var isForPersonMassUse: Bool |
---|
| Declaration |
From | @NSCopying var numberFormatter: NSNumberFormatter! |
To | @NSCopying var numberFormatter: NumberFormatter! |
---|
| Name | Declaration |
From | stringFromKilograms(_:) | func stringFromKilograms(_ numberInKilograms: Double) -> String |
To | string(fromKilograms:) | func string(fromKilograms numberInKilograms: Double) -> String |
---|
| Name | Declaration |
From | stringFromValue(_:unit:) | func stringFromValue(_ value: Double, unit unit: NSMassFormatterUnit) -> String |
To | string(fromValue:unit:) | func string(fromValue value: Double, unit unit: MassFormatter.Unit) -> String |
---|
| Name | Declaration |
From | unitStringFromKilograms(_:usedUnit:) | func unitStringFromKilograms(_ numberInKilograms: Double, usedUnit unitp: UnsafeMutablePointer<NSMassFormatterUnit>) -> String |
To | unitString(fromKilograms:usedUnit:) | func unitString(fromKilograms numberInKilograms: Double, usedUnit unitp: UnsafeMutablePointer<MassFormatter.Unit>?) -> String |
---|
| Name | Declaration |
From | unitStringFromValue(_:unit:) | func unitStringFromValue(_ value: Double, unit unit: NSMassFormatterUnit) -> String |
To | unitString(fromValue:unit:) | func unitString(fromValue value: Double, unit unit: MassFormatter.Unit) -> String |
---|
| Declaration |
From | var unitStyle: NSFormattingUnitStyle |
To | var unitStyle: Formatter.UnitStyle |
---|
| Declaration |
From | enum NSMassFormatterUnit : Int {
case Gram
case Kilogram
case Ounce
case Pound
case Stone
} |
To | enum Unit : Int {
case gram
case kilogram
case ounce
case pound
case stone
} |
---|
| Name | Declaration |
From | Gram | case Gram |
To | gram | case gram |
---|
| Name | Declaration |
From | Kilogram | case Kilogram |
To | kilogram | case kilogram |
---|
| Name | Declaration |
From | Ounce | case Ounce |
To | ounce | case ounce |
---|
| Name | Declaration |
From | Pound | case Pound |
To | pound | case pound |
---|
| Name | Declaration |
From | Stone | case Stone |
To | stone | case stone |
---|
| Declaration | Protocols |
From | class NSMessagePort : NSPort {
} | -- |
To | class MessagePort : Port {
class let didBecomeInvalidNotification: NSNotification.Name
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 MessagePort : CVarArg {
}
extension MessagePort : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration | Protocols |
From | class NSNetService : NSObject {
init(domain domain: String, type type: String, name name: String, port port: Int32)
convenience init(domain domain: String, type type: String, name name: String)
func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
func removeFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
unowned(unsafe) var delegate: NSNetServiceDelegate?
var includesPeerToPeer: Bool
var name: String { get }
var type: String { get }
var domain: String { get }
var hostName: String? { get }
var addresses: [NSData]? { get }
var port: Int { get }
func publish()
func publishWithOptions(_ options: NSNetServiceOptions)
func resolve()
func stop()
class func dictionaryFromTXTRecordData(_ txtData: NSData) -> [String : NSData]
class func dataFromTXTRecordDictionary(_ txtDictionary: [String : NSData]) -> NSData
func resolveWithTimeout(_ timeout: NSTimeInterval)
func getInputStream(_ inputStream: UnsafeMutablePointer<NSInputStream?>, outputStream outputStream: UnsafeMutablePointer<NSOutputStream?>) -> Bool
func setTXTRecordData(_ recordData: NSData?) -> Bool
func TXTRecordData() -> NSData?
func startMonitoring()
func stopMonitoring()
} | -- |
To | class NetService : NSObject {
init(domain domain: String, type type: String, name name: String, port port: Int32)
convenience init(domain domain: String, type type: String, name name: String)
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode)
func remove(from aRunLoop: RunLoop, forMode mode: RunLoopMode)
unowned(unsafe) var delegate: NetServiceDelegate?
var includesPeerToPeer: Bool
var name: String { get }
var type: String { get }
var domain: String { get }
var hostName: String? { get }
var addresses: [Data]? { get }
var port: Int { get }
func publish()
func publish(options options: NetService.Options = [])
func resolve()
func stop()
class func dictionary(fromTXTRecord txtData: Data) -> [String : Data]
class func data(fromTXTRecord txtDictionary: [String : Data]) -> Data
func resolve(withTimeout timeout: TimeInterval)
func getInputStream(_ inputStream: UnsafeMutablePointer<InputStream?>?, outputStream outputStream: UnsafeMutablePointer<OutputStream?>?) -> Bool
func setTXTRecord(_ recordData: Data?) -> Bool
func txtRecordData() -> Data?
func startMonitoring()
func stopMonitoring()
class let errorCode: String
class let errorDomain: String
enum ErrorCode : Int {
case unknownError
case collisionError
case notFoundError
case activityInProgress
case badArgumentError
case cancelledError
case invalidError
case timeoutError
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var noAutoRename: NetService.Options { get }
static var listenForConnections: NetService.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 NetService {
class let errorCode: String
class let errorDomain: String
enum ErrorCode : Int {
case unknownError
case collisionError
case notFoundError
case activityInProgress
case badArgumentError
case cancelledError
case invalidError
case timeoutError
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var noAutoRename: NetService.Options { get }
static var listenForConnections: NetService.Options { get }
}
}
extension NetService : CVarArg {
}
extension NetService : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var addresses: [NSData]? { get } |
To | var addresses: [Data]? { get } |
---|
| Name | Declaration |
From | dataFromTXTRecordDictionary(_:) | class func dataFromTXTRecordDictionary(_ txtDictionary: [String : NSData]) -> NSData |
To | data(fromTXTRecord:) | class func data(fromTXTRecord txtDictionary: [String : Data]) -> Data |
---|
| Declaration |
From | unowned(unsafe) var delegate: NSNetServiceDelegate? |
To | unowned(unsafe) var delegate: NetServiceDelegate? |
---|
| Name | Declaration |
From | dictionaryFromTXTRecordData(_:) | class func dictionaryFromTXTRecordData(_ txtData: NSData) -> [String : NSData] |
To | dictionary(fromTXTRecord:) | class func dictionary(fromTXTRecord txtData: Data) -> [String : Data] |
---|
| Name | Declaration |
From | NSNetServicesErrorCode | let NSNetServicesErrorCode: String |
To | errorCode | class let errorCode: String |
---|
| Name | Declaration |
From | NSNetServicesErrorDomain | let NSNetServicesErrorDomain: String |
To | errorDomain | class let errorDomain: String |
---|
| Declaration |
From | func getInputStream(_ inputStream: UnsafeMutablePointer<NSInputStream?>, outputStream outputStream: UnsafeMutablePointer<NSOutputStream?>) -> Bool |
To | func getInputStream(_ inputStream: UnsafeMutablePointer<InputStream?>?, outputStream outputStream: UnsafeMutablePointer<OutputStream?>?) -> Bool |
---|
| Name | Declaration |
From | publishWithOptions(_:) | func publishWithOptions(_ options: NSNetServiceOptions) |
To | publish(options:) | func publish(options options: NetService.Options = []) |
---|
| Name | Declaration |
From | removeFromRunLoop(_:forMode:) | func removeFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | remove(from:forMode:) | func remove(from aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | resolveWithTimeout(_:) | func resolveWithTimeout(_ timeout: NSTimeInterval) |
To | resolve(withTimeout:) | func resolve(withTimeout timeout: TimeInterval) |
---|
| Name | Declaration |
From | scheduleInRunLoop(_:forMode:) | func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | schedule(in:forMode:) | func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | setTXTRecordData(_:) | func setTXTRecordData(_ recordData: NSData?) -> Bool |
To | setTXTRecord(_:) | func setTXTRecord(_ recordData: Data?) -> Bool |
---|
| Name | Declaration |
From | TXTRecordData() | func TXTRecordData() -> NSData? |
To | txtRecordData() | func txtRecordData() -> Data? |
---|
| Declaration |
From | enum NSNetServicesError : Int {
case UnknownError
case CollisionError
case NotFoundError
case ActivityInProgress
case BadArgumentError
case CancelledError
case InvalidError
case TimeoutError
} |
To | enum ErrorCode : Int {
case unknownError
case collisionError
case notFoundError
case activityInProgress
case badArgumentError
case cancelledError
case invalidError
case timeoutError
} |
---|
| Name | Declaration |
From | ActivityInProgress | case ActivityInProgress |
To | activityInProgress | case activityInProgress |
---|
| Name | Declaration |
From | BadArgumentError | case BadArgumentError |
To | badArgumentError | case badArgumentError |
---|
| Name | Declaration |
From | CancelledError | case CancelledError |
To | cancelledError | case cancelledError |
---|
| Name | Declaration |
From | CollisionError | case CollisionError |
To | collisionError | case collisionError |
---|
| Name | Declaration |
From | InvalidError | case InvalidError |
To | invalidError | case invalidError |
---|
| Name | Declaration |
From | NotFoundError | case NotFoundError |
To | notFoundError | case notFoundError |
---|
| Name | Declaration |
From | TimeoutError | case TimeoutError |
To | timeoutError | case timeoutError |
---|
| Name | Declaration |
From | UnknownError | case UnknownError |
To | unknownError | case unknownError |
---|
| Declaration | Protocols |
From | struct NSNetServiceOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var NoAutoRename: NSNetServiceOptions { get }
static var ListenForConnections: NSNetServiceOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var noAutoRename: NetService.Options { get }
static var listenForConnections: NetService.Options { get }
}
extension NetService.Options {
func union(_ other: NetService.Options) -> NetService.Options
func intersection(_ other: NetService.Options) -> NetService.Options
func symmetricDifference(_ other: NetService.Options) -> NetService.Options
}
extension NetService.Options {
func contains(_ member: NetService.Options) -> Bool
mutating func insert(_ newMember: NetService.Options) -> (inserted: Bool, memberAfterInsert: NetService.Options)
mutating func remove(_ member: NetService.Options) -> NetService.Options?
mutating func update(with newMember: NetService.Options) -> NetService.Options?
}
extension NetService.Options {
convenience init()
mutating func formUnion(_ other: NetService.Options)
mutating func formIntersection(_ other: NetService.Options)
mutating func formSymmetricDifference(_ other: NetService.Options)
}
extension NetService.Options {
convenience init<S : Sequence where S.Iterator.Element == NetService.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NetService.Options...)
mutating func subtract(_ other: NetService.Options)
func isSubset(of other: NetService.Options) -> Bool
func isSuperset(of other: NetService.Options) -> Bool
func isDisjoint(with other: NetService.Options) -> Bool
func subtracting(_ other: NetService.Options) -> NetService.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NetService.Options) -> Bool
func isStrictSubset(of other: NetService.Options) -> Bool
}
extension NetService.Options {
func intersect(_ other: NetService.Options) -> NetService.Options
func exclusiveOr(_ other: NetService.Options) -> NetService.Options
mutating func unionInPlace(_ other: NetService.Options)
mutating func intersectInPlace(_ other: NetService.Options)
mutating func exclusiveOrInPlace(_ other: NetService.Options)
func isSubsetOf(_ other: NetService.Options) -> Bool
func isDisjointWith(_ other: NetService.Options) -> Bool
func isSupersetOf(_ other: NetService.Options) -> Bool
mutating func subtractInPlace(_ other: NetService.Options)
func isStrictSupersetOf(_ other: NetService.Options) -> Bool
func isStrictSubsetOf(_ other: NetService.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | ListenForConnections | static var ListenForConnections: NSNetServiceOptions { get } |
To | listenForConnections | static var listenForConnections: NetService.Options { get } |
---|
| Name | Declaration |
From | NoAutoRename | static var NoAutoRename: NSNetServiceOptions { get } |
To | noAutoRename | static var noAutoRename: NetService.Options { get } |
---|
| Declaration | Protocols |
From | class NSNetServiceBrowser : NSObject {
init()
unowned(unsafe) var delegate: NSNetServiceBrowserDelegate?
var includesPeerToPeer: Bool
func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
func removeFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
func searchForBrowsableDomains()
func searchForRegistrationDomains()
func searchForServicesOfType(_ type: String, inDomain domainString: String)
func stop()
} | -- |
To | class NetServiceBrowser : NSObject {
init()
unowned(unsafe) var delegate: NetServiceBrowserDelegate?
var includesPeerToPeer: Bool
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode)
func remove(from aRunLoop: RunLoop, forMode mode: RunLoopMode)
func searchForBrowsableDomains()
func searchForRegistrationDomains()
func searchForServices(ofType type: String, inDomain domainString: String)
func stop()
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 NetServiceBrowser : CVarArg {
}
extension NetServiceBrowser : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | unowned(unsafe) var delegate: NSNetServiceBrowserDelegate? |
To | unowned(unsafe) var delegate: NetServiceBrowserDelegate? |
---|
| Name | Declaration |
From | removeFromRunLoop(_:forMode:) | func removeFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | remove(from:forMode:) | func remove(from aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | scheduleInRunLoop(_:forMode:) | func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | schedule(in:forMode:) | func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | searchForServicesOfType(_:inDomain:) | func searchForServicesOfType(_ type: String, inDomain domainString: String) |
To | searchForServices(ofType:inDomain:) | func searchForServices(ofType type: String, inDomain domainString: String) |
---|
| Declaration |
From | protocol NSNetServiceBrowserDelegate : NSObjectProtocol {
optional func netServiceBrowserWillSearch(_ browser: NSNetServiceBrowser)
optional func netServiceBrowserDidStopSearch(_ browser: NSNetServiceBrowser)
optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didNotSearch errorDict: [String : NSNumber])
optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didFindDomain domainString: String, moreComing moreComing: Bool)
optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didFindService service: NSNetService, moreComing moreComing: Bool)
optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didRemoveDomain domainString: String, moreComing moreComing: Bool)
optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didRemoveService service: NSNetService, moreComing moreComing: Bool)
} |
To | protocol NetServiceBrowserDelegate : NSObjectProtocol {
optional func netServiceBrowserWillSearch(_ browser: NetServiceBrowser)
optional func netServiceBrowserDidStopSearch(_ browser: NetServiceBrowser)
optional func netServiceBrowser(_ browser: NetServiceBrowser, didNotSearch errorDict: [String : NSNumber])
optional func netServiceBrowser(_ browser: NetServiceBrowser, didFindDomain domainString: String, moreComing moreComing: Bool)
optional func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing moreComing: Bool)
optional func netServiceBrowser(_ browser: NetServiceBrowser, didRemoveDomain domainString: String, moreComing moreComing: Bool)
optional func netServiceBrowser(_ browser: NetServiceBrowser, didRemove service: NetService, moreComing moreComing: Bool)
} |
---|
| Name | Declaration |
From | netServiceBrowser(_:didFindService:moreComing:) | optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didFindService service: NSNetService, moreComing moreComing: Bool) |
To | netServiceBrowser(_:didFind:moreComing:) | optional func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing moreComing: Bool) |
---|
| Declaration |
From | optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didFindDomain domainString: String, moreComing moreComing: Bool) |
To | optional func netServiceBrowser(_ browser: NetServiceBrowser, didFindDomain domainString: String, moreComing moreComing: Bool) |
---|
| Declaration |
From | optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didNotSearch errorDict: [String : NSNumber]) |
To | optional func netServiceBrowser(_ browser: NetServiceBrowser, didNotSearch errorDict: [String : NSNumber]) |
---|
| Name | Declaration |
From | netServiceBrowser(_:didRemoveService:moreComing:) | optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didRemoveService service: NSNetService, moreComing moreComing: Bool) |
To | netServiceBrowser(_:didRemove:moreComing:) | optional func netServiceBrowser(_ browser: NetServiceBrowser, didRemove service: NetService, moreComing moreComing: Bool) |
---|
| Declaration |
From | optional func netServiceBrowser(_ browser: NSNetServiceBrowser, didRemoveDomain domainString: String, moreComing moreComing: Bool) |
To | optional func netServiceBrowser(_ browser: NetServiceBrowser, didRemoveDomain domainString: String, moreComing moreComing: Bool) |
---|
| Declaration |
From | optional func netServiceBrowserDidStopSearch(_ browser: NSNetServiceBrowser) |
To | optional func netServiceBrowserDidStopSearch(_ browser: NetServiceBrowser) |
---|
| Declaration |
From | optional func netServiceBrowserWillSearch(_ browser: NSNetServiceBrowser) |
To | optional func netServiceBrowserWillSearch(_ browser: NetServiceBrowser) |
---|
| Declaration |
From | protocol NSNetServiceDelegate : NSObjectProtocol {
optional func netServiceWillPublish(_ sender: NSNetService)
optional func netServiceDidPublish(_ sender: NSNetService)
optional func netService(_ sender: NSNetService, didNotPublish errorDict: [String : NSNumber])
optional func netServiceWillResolve(_ sender: NSNetService)
optional func netServiceDidResolveAddress(_ sender: NSNetService)
optional func netService(_ sender: NSNetService, didNotResolve errorDict: [String : NSNumber])
optional func netServiceDidStop(_ sender: NSNetService)
optional func netService(_ sender: NSNetService, didUpdateTXTRecordData data: NSData)
optional func netService(_ sender: NSNetService, didAcceptConnectionWithInputStream inputStream: NSInputStream, outputStream outputStream: NSOutputStream)
} |
To | protocol NetServiceDelegate : NSObjectProtocol {
optional func netServiceWillPublish(_ sender: NetService)
optional func netServiceDidPublish(_ sender: NetService)
optional func netService(_ sender: NetService, didNotPublish errorDict: [String : NSNumber])
optional func netServiceWillResolve(_ sender: NetService)
optional func netServiceDidResolveAddress(_ sender: NetService)
optional func netService(_ sender: NetService, didNotResolve errorDict: [String : NSNumber])
optional func netServiceDidStop(_ sender: NetService)
optional func netService(_ sender: NetService, didUpdateTXTRecord data: Data)
optional func netService(_ sender: NetService, didAcceptConnectionWith inputStream: InputStream, outputStream outputStream: OutputStream)
} |
---|
| Name | Declaration |
From | netService(_:didAcceptConnectionWithInputStream:outputStream:) | optional func netService(_ sender: NSNetService, didAcceptConnectionWithInputStream inputStream: NSInputStream, outputStream outputStream: NSOutputStream) |
To | netService(_:didAcceptConnectionWith:outputStream:) | optional func netService(_ sender: NetService, didAcceptConnectionWith inputStream: InputStream, outputStream outputStream: OutputStream) |
---|
| Declaration |
From | optional func netService(_ sender: NSNetService, didNotPublish errorDict: [String : NSNumber]) |
To | optional func netService(_ sender: NetService, didNotPublish errorDict: [String : NSNumber]) |
---|
| Declaration |
From | optional func netService(_ sender: NSNetService, didNotResolve errorDict: [String : NSNumber]) |
To | optional func netService(_ sender: NetService, didNotResolve errorDict: [String : NSNumber]) |
---|
| Name | Declaration |
From | netService(_:didUpdateTXTRecordData:) | optional func netService(_ sender: NSNetService, didUpdateTXTRecordData data: NSData) |
To | netService(_:didUpdateTXTRecord:) | optional func netService(_ sender: NetService, didUpdateTXTRecord data: Data) |
---|
| Declaration |
From | optional func netServiceDidPublish(_ sender: NSNetService) |
To | optional func netServiceDidPublish(_ sender: NetService) |
---|
| Declaration |
From | optional func netServiceDidResolveAddress(_ sender: NSNetService) |
To | optional func netServiceDidResolveAddress(_ sender: NetService) |
---|
| Declaration |
From | optional func netServiceDidStop(_ sender: NSNetService) |
To | optional func netServiceDidStop(_ sender: NetService) |
---|
| Declaration |
From | optional func netServiceWillPublish(_ sender: NSNetService) |
To | optional func netServiceWillPublish(_ sender: NetService) |
---|
| Declaration |
From | optional func netServiceWillResolve(_ sender: NSNetService) |
To | optional func netServiceWillResolve(_ sender: NetService) |
---|
| Declaration | Protocols |
From | class NSNotificationCenter : NSObject {
class func defaultCenter() -> NSNotificationCenter
func addObserver(_ observer: AnyObject, selector aSelector: Selector, name aName: String?, object anObject: AnyObject?)
func postNotification(_ notification: NSNotification)
func postNotificationName(_ aName: String, object anObject: AnyObject?)
func postNotificationName(_ aName: String, object anObject: AnyObject?, userInfo aUserInfo: [NSObject : AnyObject]?)
func removeObserver(_ observer: AnyObject)
func removeObserver(_ observer: AnyObject, name aName: String?, object anObject: AnyObject?)
func addObserverForName(_ name: String?, object obj: AnyObject?, queue queue: NSOperationQueue?, usingBlock block: (NSNotification) -> Void) -> NSObjectProtocol
} | -- |
To | class NotificationCenter : NSObject {
class var `default`: NotificationCenter { get }
func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?)
func post(_ notification: Notification)
func post(name aName: NSNotification.Name, object anObject: Any?)
func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable : Any]? = nil)
func removeObserver(_ observer: Any)
func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: Any?)
func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue queue: OperationQueue?, using block: @escaping (Notification) -> Swift.Void) -> NSObjectProtocol
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 NotificationCenter : CVarArg {
}
extension NotificationCenter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addObserver(_ observer: AnyObject, selector aSelector: Selector, name aName: String?, object anObject: AnyObject?) |
To | func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?) |
---|
| Name | Declaration |
From | addObserverForName(_:object:queue:usingBlock:) | func addObserverForName(_ name: String?, object obj: AnyObject?, queue queue: NSOperationQueue?, usingBlock block: (NSNotification) -> Void) -> NSObjectProtocol |
To | addObserver(forName:object:queue:using:) | func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue queue: OperationQueue?, using block: @escaping (Notification) -> Swift.Void) -> NSObjectProtocol |
---|
| Name | Declaration |
From | postNotification(_:) | func postNotification(_ notification: NSNotification) |
To | post(_:) | func post(_ notification: Notification) |
---|
| Name | Declaration |
From | postNotificationName(_:object:) | func postNotificationName(_ aName: String, object anObject: AnyObject?) |
To | post(name:object:) | func post(name aName: NSNotification.Name, object anObject: Any?) |
---|
| Name | Declaration |
From | postNotificationName(_:object:userInfo:) | func postNotificationName(_ aName: String, object anObject: AnyObject?, userInfo aUserInfo: [NSObject : AnyObject]?) |
To | post(name:object:userInfo:) | func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable : Any]? = nil) |
---|
| Declaration |
From | func removeObserver(_ observer: AnyObject) |
To | func removeObserver(_ observer: Any) |
---|
| Declaration |
From | func removeObserver(_ observer: AnyObject, name aName: String?, object anObject: AnyObject?) |
To | func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: Any?) |
---|
| Declaration | Protocols |
From | class NSNotificationQueue : NSObject {
class func defaultQueue() -> NSNotificationQueue
init(notificationCenter notificationCenter: NSNotificationCenter)
func enqueueNotification(_ notification: NSNotification, postingStyle postingStyle: NSPostingStyle)
func enqueueNotification(_ notification: NSNotification, postingStyle postingStyle: NSPostingStyle, coalesceMask coalesceMask: NSNotificationCoalescing, forModes modes: [String]?)
func dequeueNotificationsMatching(_ notification: NSNotification, coalesceMask coalesceMask: Int)
} | -- |
To | class NotificationQueue : NSObject {
class var `default`: NotificationQueue { get }
init(notificationCenter notificationCenter: NotificationCenter)
func enqueue(_ notification: Notification, postingStyle postingStyle: NotificationQueue.PostingStyle)
func enqueue(_ notification: Notification, postingStyle postingStyle: NotificationQueue.PostingStyle, coalesceMask coalesceMask: NotificationQueue.NotificationCoalescing, forModes modes: [RunLoopMode]?)
func dequeueNotifications(matching notification: Notification, coalesceMask coalesceMask: Int)
enum PostingStyle : UInt {
case whenIdle
case asap
case now
}
struct NotificationCoalescing : OptionSet {
init(rawValue rawValue: UInt)
static var none: NotificationQueue.NotificationCoalescing { get }
static var onName: NotificationQueue.NotificationCoalescing { get }
static var onSender: NotificationQueue.NotificationCoalescing { 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 NotificationQueue {
enum PostingStyle : UInt {
case whenIdle
case asap
case now
}
struct NotificationCoalescing : OptionSet {
init(rawValue rawValue: UInt)
static var none: NotificationQueue.NotificationCoalescing { get }
static var onName: NotificationQueue.NotificationCoalescing { get }
static var onSender: NotificationQueue.NotificationCoalescing { get }
}
}
extension NotificationQueue : CVarArg {
}
extension NotificationQueue : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | dequeueNotificationsMatching(_:coalesceMask:) | func dequeueNotificationsMatching(_ notification: NSNotification, coalesceMask coalesceMask: Int) |
To | dequeueNotifications(matching:coalesceMask:) | func dequeueNotifications(matching notification: Notification, coalesceMask coalesceMask: Int) |
---|
| Name | Declaration |
From | enqueueNotification(_:postingStyle:) | func enqueueNotification(_ notification: NSNotification, postingStyle postingStyle: NSPostingStyle) |
To | enqueue(_:postingStyle:) | func enqueue(_ notification: Notification, postingStyle postingStyle: NotificationQueue.PostingStyle) |
---|
| Name | Declaration |
From | enqueueNotification(_:postingStyle:coalesceMask:forModes:) | func enqueueNotification(_ notification: NSNotification, postingStyle postingStyle: NSPostingStyle, coalesceMask coalesceMask: NSNotificationCoalescing, forModes modes: [String]?) |
To | enqueue(_:postingStyle:coalesceMask:forModes:) | func enqueue(_ notification: Notification, postingStyle postingStyle: NotificationQueue.PostingStyle, coalesceMask coalesceMask: NotificationQueue.NotificationCoalescing, forModes modes: [RunLoopMode]?) |
---|
| Declaration |
From | init(notificationCenter notificationCenter: NSNotificationCenter) |
To | init(notificationCenter notificationCenter: NotificationCenter) |
---|
| Declaration | Protocols |
From | struct NSNotificationCoalescing : OptionSetType {
init(rawValue rawValue: UInt)
static var NoCoalescing: NSNotificationCoalescing { get }
static var CoalescingOnName: NSNotificationCoalescing { get }
static var CoalescingOnSender: NSNotificationCoalescing { get }
} | OptionSetType |
To | struct NotificationCoalescing : OptionSet {
init(rawValue rawValue: UInt)
static var none: NotificationQueue.NotificationCoalescing { get }
static var onName: NotificationQueue.NotificationCoalescing { get }
static var onSender: NotificationQueue.NotificationCoalescing { get }
}
extension NotificationQueue.NotificationCoalescing {
func union(_ other: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing
func intersection(_ other: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing
func symmetricDifference(_ other: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing
}
extension NotificationQueue.NotificationCoalescing {
func contains(_ member: NotificationQueue.NotificationCoalescing) -> Bool
mutating func insert(_ newMember: NotificationQueue.NotificationCoalescing) -> (inserted: Bool, memberAfterInsert: NotificationQueue.NotificationCoalescing)
mutating func remove(_ member: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing?
mutating func update(with newMember: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing?
}
extension NotificationQueue.NotificationCoalescing {
convenience init()
mutating func formUnion(_ other: NotificationQueue.NotificationCoalescing)
mutating func formIntersection(_ other: NotificationQueue.NotificationCoalescing)
mutating func formSymmetricDifference(_ other: NotificationQueue.NotificationCoalescing)
}
extension NotificationQueue.NotificationCoalescing {
convenience init<S : Sequence where S.Iterator.Element == NotificationQueue.NotificationCoalescing>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NotificationQueue.NotificationCoalescing...)
mutating func subtract(_ other: NotificationQueue.NotificationCoalescing)
func isSubset(of other: NotificationQueue.NotificationCoalescing) -> Bool
func isSuperset(of other: NotificationQueue.NotificationCoalescing) -> Bool
func isDisjoint(with other: NotificationQueue.NotificationCoalescing) -> Bool
func subtracting(_ other: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing
var isEmpty: Bool { get }
func isStrictSuperset(of other: NotificationQueue.NotificationCoalescing) -> Bool
func isStrictSubset(of other: NotificationQueue.NotificationCoalescing) -> Bool
}
extension NotificationQueue.NotificationCoalescing {
func intersect(_ other: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing
func exclusiveOr(_ other: NotificationQueue.NotificationCoalescing) -> NotificationQueue.NotificationCoalescing
mutating func unionInPlace(_ other: NotificationQueue.NotificationCoalescing)
mutating func intersectInPlace(_ other: NotificationQueue.NotificationCoalescing)
mutating func exclusiveOrInPlace(_ other: NotificationQueue.NotificationCoalescing)
func isSubsetOf(_ other: NotificationQueue.NotificationCoalescing) -> Bool
func isDisjointWith(_ other: NotificationQueue.NotificationCoalescing) -> Bool
func isSupersetOf(_ other: NotificationQueue.NotificationCoalescing) -> Bool
mutating func subtractInPlace(_ other: NotificationQueue.NotificationCoalescing)
func isStrictSupersetOf(_ other: NotificationQueue.NotificationCoalescing) -> Bool
func isStrictSubsetOf(_ other: NotificationQueue.NotificationCoalescing) -> Bool
} | OptionSet |
---|
| Name | Declaration | Introduction |
From | NoCoalescing | static var NoCoalescing: NSNotificationCoalescing { get } | OS X 10.11 |
To | none | static var none: NotificationQueue.NotificationCoalescing { get } | OS X 10.12 |
---|
| Name | Declaration |
From | CoalescingOnName | static var CoalescingOnName: NSNotificationCoalescing { get } |
To | onName | static var onName: NotificationQueue.NotificationCoalescing { get } |
---|
| Name | Declaration |
From | CoalescingOnSender | static var CoalescingOnSender: NSNotificationCoalescing { get } |
To | onSender | static var onSender: NotificationQueue.NotificationCoalescing { get } |
---|
| Declaration |
From | enum NSPostingStyle : UInt {
case PostWhenIdle
case PostASAP
case PostNow
} |
To | enum PostingStyle : UInt {
case whenIdle
case asap
case now
} |
---|
| Name | Declaration |
From | PostASAP | case PostASAP |
To | asap | case asap |
---|
| Name | Declaration |
From | PostNow | case PostNow |
To | now | case now |
---|
| Name | Declaration |
From | PostWhenIdle | case PostWhenIdle |
To | whenIdle | case whenIdle |
---|
| Declaration | Protocols |
From | class NSAffineTransform : NSObject, NSCopying, NSSecureCoding {
init()
class func transform() -> NSAffineTransform
convenience init(transform transform: NSAffineTransform)
init()
func translateXBy(_ deltaX: CGFloat, yBy deltaY: CGFloat)
func rotateByDegrees(_ angle: CGFloat)
func rotateByRadians(_ angle: CGFloat)
func scaleBy(_ scale: CGFloat)
func scaleXBy(_ scaleX: CGFloat, yBy scaleY: CGFloat)
func invert()
func appendTransform(_ transform: NSAffineTransform)
func prependTransform(_ transform: NSAffineTransform)
func transformPoint(_ aPoint: NSPoint) -> NSPoint
func transformSize(_ aSize: NSSize) -> NSSize
var transformStruct: NSAffineTransformStruct
}
extension NSAffineTransform {
func transformBezierPath(_ aPath: NSBezierPath) -> NSBezierPath
func set()
func concat()
} | NSCopying, NSSecureCoding |
To | class NSAffineTransform : NSObject, NSCopying, NSSecureCoding {
init()
class func transform() -> AffineTransform
convenience init(transform transform: AffineTransform)
init()
func translateX(by deltaX: CGFloat, yBy deltaY: CGFloat)
func rotate(byDegrees angle: CGFloat)
func rotate(byRadians angle: CGFloat)
func scale(by scale: CGFloat)
func scaleX(by scaleX: CGFloat, yBy scaleY: CGFloat)
func invert()
func append(_ transform: AffineTransform)
func prepend(_ transform: AffineTransform)
func transform(_ aPoint: NSPoint) -> NSPoint
func transform(_ aSize: NSSize) -> NSSize
var transformStruct: NSAffineTransformStruct
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 NSAffineTransform {
func transform(_ path: NSBezierPath) -> NSBezierPath
func set()
func concat()
}
extension NSAffineTransform : CVarArg {
}
extension NSAffineTransform : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSAffineTransform {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func appendTransform(_ transform: NSAffineTransform) |
To | func append(_ transform: AffineTransform) |
---|
| Declaration |
From | convenience init(transform transform: NSAffineTransform) |
To | convenience init(transform transform: AffineTransform) |
---|
| Declaration |
From | func prependTransform(_ transform: NSAffineTransform) |
To | func prepend(_ transform: AffineTransform) |
---|
| Declaration |
From | func rotateByDegrees(_ angle: CGFloat) |
To | func rotate(byDegrees angle: CGFloat) |
---|
| Declaration |
From | func rotateByRadians(_ angle: CGFloat) |
To | func rotate(byRadians angle: CGFloat) |
---|
| Declaration |
From | func scaleBy(_ scale: CGFloat) |
To | func scale(by scale: CGFloat) |
---|
| Declaration |
From | func scaleXBy(_ scaleX: CGFloat, yBy scaleY: CGFloat) |
To | func scaleX(by scaleX: CGFloat, yBy scaleY: CGFloat) |
---|
| Declaration |
From | func transformPoint(_ aPoint: NSPoint) -> NSPoint |
To | func transform(_ aPoint: NSPoint) -> NSPoint |
---|
| Declaration |
From | func transformSize(_ aSize: NSSize) -> NSSize |
To | func transform(_ aSize: NSSize) -> NSSize |
---|
| Declaration |
From | func translateXBy(_ deltaX: CGFloat, yBy deltaY: CGFloat) |
To | func translateX(by deltaX: CGFloat, yBy deltaY: CGFloat) |
---|
| Declaration | Protocols |
From | class NSAppleEventDescriptor : NSObject, NSCopying, NSSecureCoding {
class func nullDescriptor() -> NSAppleEventDescriptor
init?(descriptorType descriptorType: DescType, bytes bytes: UnsafePointer<Void>, length byteCount: Int)
class func descriptorWithDescriptorType(_ descriptorType: DescType, bytes bytes: UnsafePointer<Void>, length byteCount: Int) -> NSAppleEventDescriptor?
init?(descriptorType descriptorType: DescType, data data: NSData?)
class func descriptorWithDescriptorType(_ descriptorType: DescType, data data: NSData?) -> NSAppleEventDescriptor?
init(boolean boolean: Bool)
class func descriptorWithBoolean(_ boolean: Bool) -> NSAppleEventDescriptor
init(enumCode enumerator: OSType)
class func descriptorWithEnumCode(_ enumerator: OSType) -> NSAppleEventDescriptor
init(int32 signedInt: Int32)
class func descriptorWithInt32(_ signedInt: Int32) -> NSAppleEventDescriptor
init(double doubleValue: Double)
class func descriptorWithDouble(_ doubleValue: Double) -> NSAppleEventDescriptor
init(typeCode typeCode: OSType)
class func descriptorWithTypeCode(_ typeCode: OSType) -> NSAppleEventDescriptor
init(string string: String)
class func descriptorWithString(_ string: String) -> NSAppleEventDescriptor
init(date date: NSDate)
class func descriptorWithDate(_ date: NSDate) -> NSAppleEventDescriptor
init(fileURL fileURL: NSURL)
class func descriptorWithFileURL(_ fileURL: NSURL) -> NSAppleEventDescriptor
class func appleEventWithEventClass(_ eventClass: AEEventClass, eventID eventID: AEEventID, targetDescriptor targetDescriptor: NSAppleEventDescriptor?, returnID returnID: AEReturnID, transactionID transactionID: AETransactionID) -> NSAppleEventDescriptor
class func listDescriptor() -> NSAppleEventDescriptor
class func recordDescriptor() -> NSAppleEventDescriptor
class func currentProcessDescriptor() -> NSAppleEventDescriptor
init(processIdentifier processIdentifier: pid_t)
class func descriptorWithProcessIdentifier(_ processIdentifier: pid_t) -> NSAppleEventDescriptor
init(bundleIdentifier bundleIdentifier: String)
class func descriptorWithBundleIdentifier(_ bundleIdentifier: String) -> NSAppleEventDescriptor
init(applicationURL applicationURL: NSURL)
class func descriptorWithApplicationURL(_ applicationURL: NSURL) -> NSAppleEventDescriptor
init(AEDescNoCopy aeDesc: UnsafePointer<AEDesc>)
convenience init?(descriptorType descriptorType: DescType, bytes bytes: UnsafePointer<Void>, length byteCount: Int)
convenience init?(descriptorType descriptorType: DescType, data data: NSData?)
convenience init(eventClass eventClass: AEEventClass, eventID eventID: AEEventID, targetDescriptor targetDescriptor: NSAppleEventDescriptor?, returnID returnID: AEReturnID, transactionID transactionID: AETransactionID)
convenience init(listDescriptor listDescriptor: ())
convenience init(recordDescriptor recordDescriptor: ())
var aeDesc: UnsafePointer<AEDesc> { get }
var descriptorType: DescType { get }
@NSCopying var data: NSData { get }
var booleanValue: Bool { get }
var enumCodeValue: OSType { get }
var int32Value: Int32 { get }
var doubleValue: Double { get }
var typeCodeValue: OSType { get }
var stringValue: String? { get }
@NSCopying var dateValue: NSDate? { get }
@NSCopying var fileURLValue: NSURL? { get }
var eventClass: AEEventClass { get }
var eventID: AEEventID { get }
var returnID: AEReturnID { get }
var transactionID: AETransactionID { get }
func setParamDescriptor(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword)
func paramDescriptorForKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor?
func removeParamDescriptorWithKeyword(_ keyword: AEKeyword)
func setAttributeDescriptor(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword)
func attributeDescriptorForKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor?
func sendEventWithOptions(_ sendOptions: NSAppleEventSendOptions, timeout timeoutInSeconds: NSTimeInterval) throws -> NSAppleEventDescriptor
var isRecordDescriptor: Bool { get }
var numberOfItems: Int { get }
func insertDescriptor(_ descriptor: NSAppleEventDescriptor, atIndex index: Int)
func descriptorAtIndex(_ index: Int) -> NSAppleEventDescriptor?
func removeDescriptorAtIndex(_ index: Int)
func setDescriptor(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword)
func descriptorForKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor?
func removeDescriptorWithKeyword(_ keyword: AEKeyword)
func keywordForDescriptorAtIndex(_ index: Int) -> AEKeyword
func coerceToDescriptorType(_ descriptorType: DescType) -> NSAppleEventDescriptor?
} | NSCopying, NSSecureCoding |
To | class NSAppleEventDescriptor : NSObject, NSCopying, NSSecureCoding {
class func null() -> NSAppleEventDescriptor
init?(descriptorType descriptorType: DescType, bytes bytes: UnsafeRawPointer?, length byteCount: Int)
class func withDescriptorType(_ descriptorType: DescType, bytes bytes: UnsafeRawPointer?, length byteCount: Int) -> NSAppleEventDescriptor?
init?(descriptorType descriptorType: DescType, data data: Data?)
class func withDescriptorType(_ descriptorType: DescType, data data: Data?) -> NSAppleEventDescriptor?
init(boolean boolean: Bool)
class func withBoolean(_ boolean: Bool) -> NSAppleEventDescriptor
init(enumCode enumerator: OSType)
class func withEnumCode(_ enumerator: OSType) -> NSAppleEventDescriptor
init(int32 signedInt: Int32)
class func withInt32(_ signedInt: Int32) -> NSAppleEventDescriptor
init(double doubleValue: Double)
class func withDouble(_ doubleValue: Double) -> NSAppleEventDescriptor
init(typeCode typeCode: OSType)
class func withTypeCode(_ typeCode: OSType) -> NSAppleEventDescriptor
init(string string: String)
class func withString(_ string: String) -> NSAppleEventDescriptor
init(date date: Date)
class func withDate(_ date: Date) -> NSAppleEventDescriptor
init(fileURL fileURL: URL)
class func withFileURL(_ fileURL: URL) -> NSAppleEventDescriptor
class func appleEvent(withEventClass eventClass: AEEventClass, eventID eventID: AEEventID, targetDescriptor targetDescriptor: NSAppleEventDescriptor?, returnID returnID: AEReturnID, transactionID transactionID: AETransactionID) -> NSAppleEventDescriptor
class func list() -> NSAppleEventDescriptor
class func record() -> NSAppleEventDescriptor
class func currentProcess() -> NSAppleEventDescriptor
init(processIdentifier processIdentifier: pid_t)
class func withProcessIdentifier(_ processIdentifier: pid_t) -> NSAppleEventDescriptor
init(bundleIdentifier bundleIdentifier: String)
class func withBundleIdentifier(_ bundleIdentifier: String) -> NSAppleEventDescriptor
init(applicationURL applicationURL: URL)
class func withApplicationURL(_ applicationURL: URL) -> NSAppleEventDescriptor
init(aeDescNoCopy aeDesc: UnsafePointer<AEDesc>)
convenience init?(descriptorType descriptorType: DescType, bytes bytes: UnsafeRawPointer?, length byteCount: Int)
convenience init?(descriptorType descriptorType: DescType, data data: Data?)
convenience init(eventClass eventClass: AEEventClass, eventID eventID: AEEventID, targetDescriptor targetDescriptor: NSAppleEventDescriptor?, returnID returnID: AEReturnID, transactionID transactionID: AETransactionID)
convenience init(listDescriptor listDescriptor: ())
convenience init(recordDescriptor recordDescriptor: ())
var aeDesc: UnsafePointer<AEDesc>? { get }
var descriptorType: DescType { get }
var data: Data { get }
var booleanValue: Bool { get }
var enumCodeValue: OSType { get }
var int32Value: Int32 { get }
var doubleValue: Double { get }
var typeCodeValue: OSType { get }
var stringValue: String? { get }
var dateValue: Date? { get }
var fileURLValue: URL? { get }
var eventClass: AEEventClass { get }
var eventID: AEEventID { get }
var returnID: AEReturnID { get }
var transactionID: AETransactionID { get }
func setParam(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword)
func paramDescriptor(forKeyword keyword: AEKeyword) -> NSAppleEventDescriptor?
func removeParamDescriptor(withKeyword keyword: AEKeyword)
func setAttribute(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword)
func attributeDescriptor(forKeyword keyword: AEKeyword) -> NSAppleEventDescriptor?
func sendEvent(options sendOptions: NSAppleEventDescriptor.SendOptions = [], timeout timeoutInSeconds: TimeInterval) throws -> NSAppleEventDescriptor
var isRecordDescriptor: Bool { get }
var numberOfItems: Int { get }
func insert(_ descriptor: NSAppleEventDescriptor, at index: Int)
func atIndex(_ index: Int) -> NSAppleEventDescriptor?
func remove(at index: Int)
func setDescriptor(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword)
func forKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor?
func remove(withKeyword keyword: AEKeyword)
func keywordForDescriptor(at index: Int) -> AEKeyword
func coerce(toDescriptorType descriptorType: DescType) -> NSAppleEventDescriptor?
struct SendOptions : OptionSet {
init(rawValue rawValue: UInt)
static var noReply: NSAppleEventDescriptor.SendOptions { get }
static var queueReply: NSAppleEventDescriptor.SendOptions { get }
static var waitForReply: NSAppleEventDescriptor.SendOptions { get }
static var neverInteract: NSAppleEventDescriptor.SendOptions { get }
static var canInteract: NSAppleEventDescriptor.SendOptions { get }
static var alwaysInteract: NSAppleEventDescriptor.SendOptions { get }
static var canSwitchLayer: NSAppleEventDescriptor.SendOptions { get }
static var dontRecord: NSAppleEventDescriptor.SendOptions { get }
static var dontExecute: NSAppleEventDescriptor.SendOptions { get }
static var dontAnnotate: NSAppleEventDescriptor.SendOptions { get }
static var defaultOptions: NSAppleEventDescriptor.SendOptions { 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 NSAppleEventDescriptor {
struct SendOptions : OptionSet {
init(rawValue rawValue: UInt)
static var noReply: NSAppleEventDescriptor.SendOptions { get }
static var queueReply: NSAppleEventDescriptor.SendOptions { get }
static var waitForReply: NSAppleEventDescriptor.SendOptions { get }
static var neverInteract: NSAppleEventDescriptor.SendOptions { get }
static var canInteract: NSAppleEventDescriptor.SendOptions { get }
static var alwaysInteract: NSAppleEventDescriptor.SendOptions { get }
static var canSwitchLayer: NSAppleEventDescriptor.SendOptions { get }
static var dontRecord: NSAppleEventDescriptor.SendOptions { get }
static var dontExecute: NSAppleEventDescriptor.SendOptions { get }
static var dontAnnotate: NSAppleEventDescriptor.SendOptions { get }
static var defaultOptions: NSAppleEventDescriptor.SendOptions { get }
}
}
extension NSAppleEventDescriptor : CVarArg {
}
extension NSAppleEventDescriptor : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var aeDesc: UnsafePointer<AEDesc> { get } |
To | var aeDesc: UnsafePointer<AEDesc>? { get } |
---|
| Declaration |
From | class func appleEventWithEventClass(_ eventClass: AEEventClass, eventID eventID: AEEventID, targetDescriptor targetDescriptor: NSAppleEventDescriptor?, returnID returnID: AEReturnID, transactionID transactionID: AETransactionID) -> NSAppleEventDescriptor |
To | class func appleEvent(withEventClass eventClass: AEEventClass, eventID eventID: AEEventID, targetDescriptor targetDescriptor: NSAppleEventDescriptor?, returnID returnID: AEReturnID, transactionID transactionID: AETransactionID) -> NSAppleEventDescriptor |
---|
| Declaration |
From | func descriptorAtIndex(_ index: Int) -> NSAppleEventDescriptor? |
To | func atIndex(_ index: Int) -> NSAppleEventDescriptor? |
---|
| Declaration |
From | func attributeDescriptorForKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor? |
To | func attributeDescriptor(forKeyword keyword: AEKeyword) -> NSAppleEventDescriptor? |
---|
| Declaration |
From | func coerceToDescriptorType(_ descriptorType: DescType) -> NSAppleEventDescriptor? |
To | func coerce(toDescriptorType descriptorType: DescType) -> NSAppleEventDescriptor? |
---|
| Declaration |
From | class func currentProcessDescriptor() -> NSAppleEventDescriptor |
To | class func currentProcess() -> NSAppleEventDescriptor |
---|
| Declaration |
From | @NSCopying var data: NSData { get } |
To | var data: Data { get } |
---|
| Declaration |
From | @NSCopying var dateValue: NSDate? { get } |
To | var dateValue: Date? { get } |
---|
| Declaration |
From | @NSCopying var fileURLValue: NSURL? { get } |
To | var fileURLValue: URL? { get } |
---|
| Declaration |
From | func descriptorForKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor? |
To | func forKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor? |
---|
| Declaration |
From | init(AEDescNoCopy aeDesc: UnsafePointer<AEDesc>) |
To | init(aeDescNoCopy aeDesc: UnsafePointer<AEDesc>) |
---|
| Declaration |
From | init(applicationURL applicationURL: NSURL) |
To | init(applicationURL applicationURL: URL) |
---|
| Declaration |
From | init(date date: NSDate) |
To | init(date date: Date) |
---|
| Declaration |
From | convenience init?(descriptorType descriptorType: DescType, bytes bytes: UnsafePointer<Void>, length byteCount: Int) |
To | convenience init?(descriptorType descriptorType: DescType, bytes bytes: UnsafeRawPointer?, length byteCount: Int) |
---|
| Declaration |
From | convenience init?(descriptorType descriptorType: DescType, data data: NSData?) |
To | convenience init?(descriptorType descriptorType: DescType, data data: Data?) |
---|
| Declaration |
From | init(fileURL fileURL: NSURL) |
To | init(fileURL fileURL: URL) |
---|
| Declaration |
From | func insertDescriptor(_ descriptor: NSAppleEventDescriptor, atIndex index: Int) |
To | func insert(_ descriptor: NSAppleEventDescriptor, at index: Int) |
---|
| Declaration |
From | func keywordForDescriptorAtIndex(_ index: Int) -> AEKeyword |
To | func keywordForDescriptor(at index: Int) -> AEKeyword |
---|
| Declaration |
From | class func listDescriptor() -> NSAppleEventDescriptor |
To | class func list() -> NSAppleEventDescriptor |
---|
| Declaration |
From | class func nullDescriptor() -> NSAppleEventDescriptor |
To | class func null() -> NSAppleEventDescriptor |
---|
| Declaration |
From | func paramDescriptorForKeyword(_ keyword: AEKeyword) -> NSAppleEventDescriptor? |
To | func paramDescriptor(forKeyword keyword: AEKeyword) -> NSAppleEventDescriptor? |
---|
| Declaration |
From | class func recordDescriptor() -> NSAppleEventDescriptor |
To | class func record() -> NSAppleEventDescriptor |
---|
| Declaration |
From | func removeDescriptorAtIndex(_ index: Int) |
To | func remove(at index: Int) |
---|
| Declaration |
From | func removeDescriptorWithKeyword(_ keyword: AEKeyword) |
To | func remove(withKeyword keyword: AEKeyword) |
---|
| Declaration |
From | func removeParamDescriptorWithKeyword(_ keyword: AEKeyword) |
To | func removeParamDescriptor(withKeyword keyword: AEKeyword) |
---|
| Declaration |
From | func sendEventWithOptions(_ sendOptions: NSAppleEventSendOptions, timeout timeoutInSeconds: NSTimeInterval) throws -> NSAppleEventDescriptor |
To | func sendEvent(options sendOptions: NSAppleEventDescriptor.SendOptions = [], timeout timeoutInSeconds: TimeInterval) throws -> NSAppleEventDescriptor |
---|
| Declaration |
From | func setAttributeDescriptor(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword) |
To | func setAttribute(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword) |
---|
| Declaration |
From | func setParamDescriptor(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword) |
To | func setParam(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword) |
---|
| Declaration | Protocols |
From | struct NSAppleEventSendOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var NoReply: NSAppleEventSendOptions { get }
static var QueueReply: NSAppleEventSendOptions { get }
static var WaitForReply: NSAppleEventSendOptions { get }
static var NeverInteract: NSAppleEventSendOptions { get }
static var CanInteract: NSAppleEventSendOptions { get }
static var AlwaysInteract: NSAppleEventSendOptions { get }
static var CanSwitchLayer: NSAppleEventSendOptions { get }
static var DontRecord: NSAppleEventSendOptions { get }
static var DontExecute: NSAppleEventSendOptions { get }
static var DontAnnotate: NSAppleEventSendOptions { get }
static var DefaultOptions: NSAppleEventSendOptions { get }
} | OptionSetType |
To | struct SendOptions : OptionSet {
init(rawValue rawValue: UInt)
static var noReply: NSAppleEventDescriptor.SendOptions { get }
static var queueReply: NSAppleEventDescriptor.SendOptions { get }
static var waitForReply: NSAppleEventDescriptor.SendOptions { get }
static var neverInteract: NSAppleEventDescriptor.SendOptions { get }
static var canInteract: NSAppleEventDescriptor.SendOptions { get }
static var alwaysInteract: NSAppleEventDescriptor.SendOptions { get }
static var canSwitchLayer: NSAppleEventDescriptor.SendOptions { get }
static var dontRecord: NSAppleEventDescriptor.SendOptions { get }
static var dontExecute: NSAppleEventDescriptor.SendOptions { get }
static var dontAnnotate: NSAppleEventDescriptor.SendOptions { get }
static var defaultOptions: NSAppleEventDescriptor.SendOptions { get }
}
extension NSAppleEventDescriptor.SendOptions {
func union(_ other: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions
func intersection(_ other: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions
func symmetricDifference(_ other: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions
}
extension NSAppleEventDescriptor.SendOptions {
func contains(_ member: NSAppleEventDescriptor.SendOptions) -> Bool
mutating func insert(_ newMember: NSAppleEventDescriptor.SendOptions) -> (inserted: Bool, memberAfterInsert: NSAppleEventDescriptor.SendOptions)
mutating func remove(_ member: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions?
mutating func update(with newMember: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions?
}
extension NSAppleEventDescriptor.SendOptions {
convenience init()
mutating func formUnion(_ other: NSAppleEventDescriptor.SendOptions)
mutating func formIntersection(_ other: NSAppleEventDescriptor.SendOptions)
mutating func formSymmetricDifference(_ other: NSAppleEventDescriptor.SendOptions)
}
extension NSAppleEventDescriptor.SendOptions {
convenience init<S : Sequence where S.Iterator.Element == NSAppleEventDescriptor.SendOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSAppleEventDescriptor.SendOptions...)
mutating func subtract(_ other: NSAppleEventDescriptor.SendOptions)
func isSubset(of other: NSAppleEventDescriptor.SendOptions) -> Bool
func isSuperset(of other: NSAppleEventDescriptor.SendOptions) -> Bool
func isDisjoint(with other: NSAppleEventDescriptor.SendOptions) -> Bool
func subtracting(_ other: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSAppleEventDescriptor.SendOptions) -> Bool
func isStrictSubset(of other: NSAppleEventDescriptor.SendOptions) -> Bool
}
extension NSAppleEventDescriptor.SendOptions {
func intersect(_ other: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions
func exclusiveOr(_ other: NSAppleEventDescriptor.SendOptions) -> NSAppleEventDescriptor.SendOptions
mutating func unionInPlace(_ other: NSAppleEventDescriptor.SendOptions)
mutating func intersectInPlace(_ other: NSAppleEventDescriptor.SendOptions)
mutating func exclusiveOrInPlace(_ other: NSAppleEventDescriptor.SendOptions)
func isSubsetOf(_ other: NSAppleEventDescriptor.SendOptions) -> Bool
func isDisjointWith(_ other: NSAppleEventDescriptor.SendOptions) -> Bool
func isSupersetOf(_ other: NSAppleEventDescriptor.SendOptions) -> Bool
mutating func subtractInPlace(_ other: NSAppleEventDescriptor.SendOptions)
func isStrictSupersetOf(_ other: NSAppleEventDescriptor.SendOptions) -> Bool
func isStrictSubsetOf(_ other: NSAppleEventDescriptor.SendOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AlwaysInteract | static var AlwaysInteract: NSAppleEventSendOptions { get } |
To | alwaysInteract | static var alwaysInteract: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | CanInteract | static var CanInteract: NSAppleEventSendOptions { get } |
To | canInteract | static var canInteract: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | CanSwitchLayer | static var CanSwitchLayer: NSAppleEventSendOptions { get } |
To | canSwitchLayer | static var canSwitchLayer: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | DefaultOptions | static var DefaultOptions: NSAppleEventSendOptions { get } |
To | defaultOptions | static var defaultOptions: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | DontAnnotate | static var DontAnnotate: NSAppleEventSendOptions { get } |
To | dontAnnotate | static var dontAnnotate: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | DontExecute | static var DontExecute: NSAppleEventSendOptions { get } |
To | dontExecute | static var dontExecute: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | DontRecord | static var DontRecord: NSAppleEventSendOptions { get } |
To | dontRecord | static var dontRecord: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | NeverInteract | static var NeverInteract: NSAppleEventSendOptions { get } |
To | neverInteract | static var neverInteract: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | NoReply | static var NoReply: NSAppleEventSendOptions { get } |
To | noReply | static var noReply: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | QueueReply | static var QueueReply: NSAppleEventSendOptions { get } |
To | queueReply | static var queueReply: NSAppleEventDescriptor.SendOptions { get } |
---|
| Name | Declaration |
From | WaitForReply | static var WaitForReply: NSAppleEventSendOptions { get } |
To | waitForReply | static var waitForReply: NSAppleEventDescriptor.SendOptions { get } |
---|
| Declaration | Protocols |
From | class NSAppleEventManager : NSObject {
class func sharedAppleEventManager() -> NSAppleEventManager
func setEventHandler(_ handler: AnyObject, andSelector handleEventSelector: Selector, forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID)
func removeEventHandlerForEventClass(_ eventClass: AEEventClass, andEventID eventID: AEEventID)
func dispatchRawAppleEvent(_ theAppleEvent: UnsafePointer<AppleEvent>, withRawReply theReply: UnsafeMutablePointer<AppleEvent>, handlerRefCon handlerRefCon: SRefCon) -> OSErr
var currentAppleEvent: NSAppleEventDescriptor? { get }
var currentReplyAppleEvent: NSAppleEventDescriptor? { get }
func suspendCurrentAppleEvent() -> NSAppleEventManagerSuspensionID
func appleEventForSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID) -> NSAppleEventDescriptor
func replyAppleEventForSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID) -> NSAppleEventDescriptor
func setCurrentAppleEventAndReplyEventWithSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID)
func resumeWithSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID)
} | -- |
To | class NSAppleEventManager : NSObject {
class func shared() -> NSAppleEventManager
func setEventHandler(_ handler: Any, andSelector handleEventSelector: Selector, forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID)
func removeEventHandler(forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID)
func dispatchRawAppleEvent(_ theAppleEvent: UnsafePointer<AppleEvent>, withRawReply theReply: UnsafeMutablePointer<AppleEvent>, handlerRefCon handlerRefCon: SRefCon) -> OSErr
var currentAppleEvent: NSAppleEventDescriptor? { get }
var currentReplyAppleEvent: NSAppleEventDescriptor? { get }
func suspendCurrentAppleEvent() -> NSAppleEventManager.SuspensionID?
func appleEvent(forSuspensionID suspensionID: NSAppleEventManager.SuspensionID) -> NSAppleEventDescriptor
func replyAppleEvent(forSuspensionID suspensionID: NSAppleEventManager.SuspensionID) -> NSAppleEventDescriptor
func setCurrentAppleEventAndReplyEventWithSuspensionID(_ suspensionID: NSAppleEventManager.SuspensionID)
func resume(withSuspensionID suspensionID: NSAppleEventManager.SuspensionID)
typealias SuspensionID = OpaquePointer
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 NSAppleEventManager {
typealias SuspensionID = OpaquePointer
}
extension NSAppleEventManager : CVarArg {
}
extension NSAppleEventManager : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func appleEventForSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID) -> NSAppleEventDescriptor |
To | func appleEvent(forSuspensionID suspensionID: NSAppleEventManager.SuspensionID) -> NSAppleEventDescriptor |
---|
| Declaration |
From | func removeEventHandlerForEventClass(_ eventClass: AEEventClass, andEventID eventID: AEEventID) |
To | func removeEventHandler(forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID) |
---|
| Declaration |
From | func replyAppleEventForSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID) -> NSAppleEventDescriptor |
To | func replyAppleEvent(forSuspensionID suspensionID: NSAppleEventManager.SuspensionID) -> NSAppleEventDescriptor |
---|
| Declaration |
From | func resumeWithSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID) |
To | func resume(withSuspensionID suspensionID: NSAppleEventManager.SuspensionID) |
---|
| Declaration |
From | func setCurrentAppleEventAndReplyEventWithSuspensionID(_ suspensionID: NSAppleEventManagerSuspensionID) |
To | func setCurrentAppleEventAndReplyEventWithSuspensionID(_ suspensionID: NSAppleEventManager.SuspensionID) |
---|
| Declaration |
From | func setEventHandler(_ handler: AnyObject, andSelector handleEventSelector: Selector, forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID) |
To | func setEventHandler(_ handler: Any, andSelector handleEventSelector: Selector, forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID) |
---|
| Declaration |
From | class func sharedAppleEventManager() -> NSAppleEventManager |
To | class func shared() -> NSAppleEventManager |
---|
| Declaration |
From | func suspendCurrentAppleEvent() -> NSAppleEventManagerSuspensionID |
To | func suspendCurrentAppleEvent() -> NSAppleEventManager.SuspensionID? |
---|
| Declaration | Protocols |
From | class NSAppleScript : NSObject, NSCopying {
init?(contentsOfURL url: NSURL, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(source source: String)
var source: String? { get }
var compiled: Bool { get }
func compileAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool
func executeAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> NSAppleEventDescriptor
func executeAppleEvent(_ event: NSAppleEventDescriptor, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> NSAppleEventDescriptor
}
extension NSAppleScript {
var richTextSource: NSAttributedString? { get }
} | NSCopying |
To | class NSAppleScript : NSObject, NSCopying {
init?(contentsOf url: URL, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(source source: String)
var source: String? { get }
var isCompiled: Bool { get }
func compileAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool
func executeAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> NSAppleEventDescriptor
func executeAppleEvent(_ event: NSAppleEventDescriptor, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> NSAppleEventDescriptor
class let errorMessage: String
class let errorNumber: String
class let errorAppName: String
class let errorBriefMessage: String
class let errorRange: 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 NSAppleScript {
var richTextSource: NSAttributedString? { get }
}
extension NSAppleScript {
class let errorMessage: String
class let errorNumber: String
class let errorAppName: String
class let errorBriefMessage: String
class let errorRange: String
}
extension NSAppleScript : CVarArg {
}
extension NSAppleScript : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Declaration |
From | func compileAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool |
To | func compileAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool |
---|
| Name | Declaration |
From | NSAppleScriptErrorAppName | let NSAppleScriptErrorAppName: String |
To | errorAppName | class let errorAppName: String |
---|
| Name | Declaration |
From | NSAppleScriptErrorBriefMessage | let NSAppleScriptErrorBriefMessage: String |
To | errorBriefMessage | class let errorBriefMessage: String |
---|
| Name | Declaration |
From | NSAppleScriptErrorMessage | let NSAppleScriptErrorMessage: String |
To | errorMessage | class let errorMessage: String |
---|
| Name | Declaration |
From | NSAppleScriptErrorNumber | let NSAppleScriptErrorNumber: String |
To | errorNumber | class let errorNumber: String |
---|
| Name | Declaration |
From | NSAppleScriptErrorRange | let NSAppleScriptErrorRange: String |
To | errorRange | class let errorRange: String |
---|
| Declaration |
From | func executeAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> NSAppleEventDescriptor |
To | func executeAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> NSAppleEventDescriptor |
---|
| Declaration |
From | func executeAppleEvent(_ event: NSAppleEventDescriptor, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> NSAppleEventDescriptor |
To | func executeAppleEvent(_ event: NSAppleEventDescriptor, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> NSAppleEventDescriptor |
---|
| Declaration |
From | init?(contentsOfURL url: NSURL, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>) |
To | init?(contentsOf url: URL, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) |
---|
| Declaration |
From | var compiled: Bool { get } |
To | var isCompiled: Bool { get } |
---|
| Declaration | Protocols |
From | class NSArchiver : NSCoder {
init(forWritingWithMutableData mdata: NSMutableData)
var archiverData: NSMutableData { get }
func encodeRootObject(_ rootObject: AnyObject)
func encodeConditionalObject(_ object: AnyObject?)
class func archivedDataWithRootObject(_ rootObject: AnyObject) -> NSData
class func archiveRootObject(_ rootObject: AnyObject, toFile path: String) -> Bool
func encodeClassName(_ trueName: String, intoClassName inArchiveName: String)
func classNameEncodedForTrueClassName(_ trueName: String) -> String?
func replaceObject(_ object: AnyObject, withObject newObject: AnyObject)
} | -- |
To | class NSArchiver : NSCoder {
init(forWritingWith mdata: NSMutableData)
var archiverData: NSMutableData { get }
func encodeRootObject(_ rootObject: Any)
func encodeConditionalObject(_ object: Any?)
class func archivedData(withRootObject rootObject: Any) -> Data
class func archiveRootObject(_ rootObject: Any, toFile path: String) -> Bool
func encodeClassName(_ trueName: String, intoClassName inArchiveName: String)
func classNameEncoded(forTrueClassName trueName: String) -> String?
func replace(_ object: Any, with newObject: Any)
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@nonobjc func decodeObject(of classes: [AnyClass]?, forKey key: String) -> Any?
@nonobjc func decodeTopLevelObject() throws -> Any?
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(of classes: [AnyClass]?, forKey key: String) throws -> Any?
func encode(_ point: NSPoint, forKey key: String)
func encode(_ size: NSSize, forKey key: String)
func encode(_ rect: NSRect, forKey key: String)
func decodePoint(forKey key: String) -> NSPoint
func decodeSize(forKey key: String) -> NSSize
func decodeRect(forKey key: String) -> NSRect
func encode(_ point: NSPoint)
func decodePoint() -> NSPoint
func encode(_ size: NSSize)
func decodeSize() -> NSSize
func encode(_ rect: NSRect)
func decodeRect() -> NSRect
func encodeNXObject(_ object: Any)
func decodeNXObject() -> Any?
func encode(_ object: Any?)
func encodeBycopyObject(_ anObject: Any?)
func encodeByrefObject(_ anObject: Any?)
func encodeArray(ofObjCType type: UnsafePointer<Int8>, count count: Int, at array: UnsafeRawPointer)
func encodeBytes(_ byteaddr: UnsafeRawPointer?, length length: Int)
func decodeObject() -> Any?
func decodeArray(ofObjCType itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutableRawPointer)
func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer?
func encodePropertyList(_ aPropertyList: Any)
func decodePropertyList() -> Any?
func setObjectZone(_ zone: NSZone?)
func objectZone() -> NSZone?
var systemVersion: UInt32 { get }
var allowsKeyedCoding: Bool { get }
func encode(_ objv: Any?, forKey key: String)
func encodeConditionalObject(_ objv: Any?, forKey key: String)
func encode(_ boolv: Bool, forKey key: String)
func encodeCInt(_ intv: Int32, forKey key: String)
func encode(_ intv: Int32, forKey key: String)
func encode(_ intv: Int64, forKey key: String)
func encode(_ realv: Float, forKey key: String)
func encode(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String)
func containsValue(forKey key: String) -> Bool
func decodeObject(forKey key: String) -> Any?
func decodeBool(forKey key: String) -> Bool
func decodeCInt(forKey key: String) -> Int32
func decodeInt32(forKey key: String) -> Int32
func decodeInt64(forKey key: String) -> Int64
func decodeFloat(forKey key: String) -> Float
func decodeDouble(forKey key: String) -> Double
func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
func encode(_ intv: Int, forKey key: String)
func decodeInteger(forKey key: String) -> Int
var requiresSecureCoding: Bool { get }
func __decodeObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) -> Any?
func decodeTopLevelObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) throws -> Any
func decodePropertyList(forKey key: String) -> Any?
var allowedClasses: Set<AnyHashable>? { get }
func failWithError(_ error: Error)
var decodingFailurePolicy: NSCoder.DecodingFailurePolicy { get }
var error: Error? { get }
enum DecodingFailurePolicy : Int {
case raiseException
case setErrorAndReturn
}
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 NSArchiver : CVarArg {
}
extension NSArchiver : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func archivedDataWithRootObject(_ rootObject: AnyObject) -> NSData |
To | class func archivedData(withRootObject rootObject: Any) -> Data |
---|
| Declaration |
From | class func archiveRootObject(_ rootObject: AnyObject, toFile path: String) -> Bool |
To | class func archiveRootObject(_ rootObject: Any, toFile path: String) -> Bool |
---|
| Declaration |
From | func classNameEncodedForTrueClassName(_ trueName: String) -> String? |
To | func classNameEncoded(forTrueClassName trueName: String) -> String? |
---|
| Declaration |
From | func encodeConditionalObject(_ object: AnyObject?) |
To | func encodeConditionalObject(_ object: Any?) |
---|
| Declaration |
From | func encodeRootObject(_ rootObject: AnyObject) |
To | func encodeRootObject(_ rootObject: Any) |
---|
| Declaration |
From | init(forWritingWithMutableData mdata: NSMutableData) |
To | init(forWritingWith mdata: NSMutableData) |
---|
| Declaration |
From | func replaceObject(_ object: AnyObject, withObject newObject: AnyObject) |
To | func replace(_ object: Any, with newObject: Any) |
---|
| Declaration | Protocols |
From | class NSArray : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func objectAtIndex(_ index: Int) -> AnyObject
init()
init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int)
init?(coder aDecoder: NSCoder)
}
extension NSArray : CKRecordValue {
}
extension NSArray : ArrayLiteralConvertible {
required convenience init(arrayLiteral elements: AnyObject...)
}
extension NSArray : SequenceType {
final func generate() -> NSFastGenerator
}
extension NSArray {
convenience init(objects elements: AnyObject...)
}
extension NSArray {
@objc(_swiftInitWithArray_NSArray:) convenience init(array anArray: NSArray)
}
extension NSArray : _Reflectable {
}
extension NSArray {
func arrayByAddingObject(_ anObject: AnyObject) -> [AnyObject]
func arrayByAddingObjectsFromArray(_ otherArray: [AnyObject]) -> [AnyObject]
func componentsJoinedByString(_ separator: String) -> String
func containsObject(_ anObject: AnyObject) -> Bool
var description: String { get }
func descriptionWithLocale(_ locale: AnyObject?) -> String
func descriptionWithLocale(_ locale: AnyObject?, indent level: Int) -> String
func firstObjectCommonWithArray(_ otherArray: [AnyObject]) -> AnyObject?
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject?>, range range: NSRange)
func indexOfObject(_ anObject: AnyObject) -> Int
func indexOfObject(_ anObject: AnyObject, inRange range: NSRange) -> Int
func indexOfObjectIdenticalTo(_ anObject: AnyObject) -> Int
func indexOfObjectIdenticalTo(_ anObject: AnyObject, inRange range: NSRange) -> Int
func isEqualToArray(_ otherArray: [AnyObject]) -> Bool
var firstObject: AnyObject? { get }
var lastObject: AnyObject? { get }
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
@NSCopying var sortedArrayHint: NSData { get }
func sortedArrayUsingFunction(_ comparator: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>) -> [AnyObject]
func sortedArrayUsingFunction(_ comparator: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>, hint hint: NSData?) -> [AnyObject]
func sortedArrayUsingSelector(_ comparator: Selector) -> [AnyObject]
func subarrayWithRange(_ range: NSRange) -> [AnyObject]
func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool) -> Bool
func writeToURL(_ url: NSURL, atomically atomically: Bool) -> Bool
func makeObjectsPerformSelector(_ aSelector: Selector)
func makeObjectsPerformSelector(_ aSelector: Selector, withObject argument: AnyObject?)
func objectsAtIndexes(_ indexes: NSIndexSet) -> [AnyObject]
subscript (_ idx: Int) -> AnyObject { get }
func objectAtIndexedSubscript(_ idx: Int) -> AnyObject
func enumerateObjectsUsingBlock(_ block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func indexOfObjectPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObjectWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObjectAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexesOfObjectsPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func indexesOfObjectsWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func indexesOfObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func sortedArrayUsingComparator(_ cmptr: NSComparator) -> [AnyObject]
func sortedArrayWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) -> [AnyObject]
func indexOfObject(_ obj: AnyObject, inSortedRange r: NSRange, options opts: NSBinarySearchingOptions, usingComparator cmp: NSComparator) -> Int
}
extension NSArray {
convenience init()
class func array() -> Self
convenience init(object anObject: AnyObject)
class func arrayWithObject(_ anObject: AnyObject) -> Self
convenience init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int)
class func arrayWithObjects(_ objects: UnsafePointer<AnyObject?>, count cnt: Int) -> Self
convenience init(array array: [AnyObject])
class func arrayWithArray(_ array: [AnyObject]) -> Self
convenience init(array array: [AnyObject])
convenience init(array array: [AnyObject], copyItems flag: Bool)
init?(contentsOfFile path: String)
class func arrayWithContentsOfFile(_ path: String) -> [AnyObject]?
init?(contentsOfURL url: NSURL)
class func arrayWithContentsOfURL(_ url: NSURL) -> [AnyObject]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOfURL url: NSURL)
}
extension NSArray {
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject?>)
}
extension NSArray {
func valueForKey(_ key: String) -> AnyObject
func setValue(_ value: AnyObject?, forKey key: String)
}
extension NSArray {
func addObserver(_ observer: NSObject, toObjectsAtIndexes indexes: NSIndexSet, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, fromObjectsAtIndexes indexes: NSIndexSet, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, fromObjectsAtIndexes indexes: NSIndexSet, forKeyPath keyPath: String)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
}
extension NSArray {
func pathsMatchingExtensions(_ filterTypes: [String]) -> [String]
}
extension NSArray {
func filteredArrayUsingPredicate(_ predicate: NSPredicate) -> [AnyObject]
}
extension NSArray {
func sortedArrayUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) -> [AnyObject]
}
extension NSArray : _Reflectable {
}
extension NSArray {
@objc(_swiftInitWithArray_NSArray:) convenience init(array anArray: NSArray)
}
extension NSArray {
convenience init(objects elements: AnyObject...)
}
extension NSArray : SequenceType {
final func generate() -> NSFastGenerator
}
extension NSArray : ArrayLiteralConvertible {
required convenience init(arrayLiteral elements: AnyObject...)
} | ArrayLiteralConvertible, CKRecordValue, NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding, SequenceType |
To | class NSArray : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func object(at index: Int) -> Any
init()
init(objects objects: UnsafePointer<AnyObject>!, count cnt: Int)
init?(coder aDecoder: NSCoder)
func adding(_ anObject: Any) -> [Any]
func addingObjects(from otherArray: [Any]) -> [Any]
func componentsJoined(by separator: String) -> String
func contains(_ anObject: Any) -> Bool
var description: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
func firstObjectCommon(with otherArray: [Any]) -> Any?
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, range range: NSRange)
func index(of anObject: Any) -> Int
func index(of anObject: Any, in range: NSRange) -> Int
func indexOfObjectIdentical(to anObject: Any) -> Int
func indexOfObjectIdentical(to anObject: Any, in range: NSRange) -> Int
func isEqual(to otherArray: [Any]) -> Bool
var firstObject: Any? { get }
var lastObject: Any? { get }
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
var sortedArrayHint: Data { get }
func sortedArray(_ comparator: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) -> [Any]
func sortedArray(_ comparator: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?, hint hint: Data?) -> [Any]
func sortedArray(using comparator: Selector) -> [Any]
func subarray(with range: NSRange) -> [Any]
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
func makeObjectsPerform(_ aSelector: Selector)
func makeObjectsPerform(_ aSelector: Selector, with argument: Any?)
func objects(at indexes: IndexSet) -> [Any]
subscript(_ idx: Int) -> Any { get }
func objectAtIndexedSubscript(_ idx: Int) -> Any
func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func indexOfObject(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObject(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObject(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexesOfObjects(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexesOfObjects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexesOfObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func index(of obj: Any, inSortedRange r: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int
class func array() -> Self
convenience init(object anObject: Any)
class func withObject(_ anObject: Any) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self
convenience init(array array: [Any])
class func withArray(_ array: [Any]) -> Self
convenience init(array array: [Any])
convenience init(array array: [Any], copyItems flag: Bool)
init?(contentsOfFile path: String)
class func withContentsOfFile(_ path: String) -> [Any]?
init?(contentsOf url: URL)
class func withContentsOf(_ url: URL) -> [Any]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!)
func pathsMatchingExtensions(_ filterTypes: [String]) -> [String]
func value(forKey key: String) -> Any
func setValue(_ value: Any?, forKey key: String)
func addObserver(_ observer: NSObject, toObjectsAt indexes: IndexSet, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: 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) -> [Any]
@nonobjc convenience init(array anArray: NSArray)
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])
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 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 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 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 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])
}
extension NSArray : CKRecordValue {
}
extension NSArray : CVarArg {
}
extension NSArray : CustomReflectable {
var customMirror: Mirror { get }
}
extension NSArray : ExpressibleByArrayLiteral {
required convenience init(arrayLiteral elements: Any...)
}
extension NSArray : Sequence {
final func makeIterator() -> NSFastEnumerationIterator
}
extension NSArray : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSArray {
func adding(_ anObject: Any) -> [Any]
func addingObjects(from otherArray: [Any]) -> [Any]
func componentsJoined(by separator: String) -> String
func contains(_ anObject: Any) -> Bool
var description: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
func firstObjectCommon(with otherArray: [Any]) -> Any?
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, range range: NSRange)
func index(of anObject: Any) -> Int
func index(of anObject: Any, in range: NSRange) -> Int
func indexOfObjectIdentical(to anObject: Any) -> Int
func indexOfObjectIdentical(to anObject: Any, in range: NSRange) -> Int
func isEqual(to otherArray: [Any]) -> Bool
var firstObject: Any? { get }
var lastObject: Any? { get }
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
var sortedArrayHint: Data { get }
func sortedArray(_ comparator: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) -> [Any]
func sortedArray(_ comparator: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?, hint hint: Data?) -> [Any]
func sortedArray(using comparator: Selector) -> [Any]
func subarray(with range: NSRange) -> [Any]
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
func makeObjectsPerform(_ aSelector: Selector)
func makeObjectsPerform(_ aSelector: Selector, with argument: Any?)
func objects(at indexes: IndexSet) -> [Any]
subscript(_ idx: Int) -> Any { get }
func objectAtIndexedSubscript(_ idx: Int) -> Any
func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func indexOfObject(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObject(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObject(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexesOfObjects(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexesOfObjects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexesOfObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func index(of obj: Any, inSortedRange r: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int
}
extension NSArray {
class func array() -> Self
convenience init(object anObject: Any)
class func withObject(_ anObject: Any) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self
convenience init(array array: [Any])
class func withArray(_ array: [Any]) -> Self
convenience init(array array: [Any])
convenience init(array array: [Any], copyItems flag: Bool)
init?(contentsOfFile path: String)
class func withContentsOfFile(_ path: String) -> [Any]?
init?(contentsOf url: URL)
class func withContentsOf(_ url: URL) -> [Any]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
}
extension NSArray {
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!)
}
extension NSArray {
func value(forKey key: String) -> Any
func setValue(_ value: Any?, forKey key: String)
}
extension NSArray {
func addObserver(_ observer: NSObject, toObjectsAt indexes: IndexSet, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: 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)
}
extension NSArray {
func pathsMatchingExtensions(_ filterTypes: [String]) -> [String]
}
extension NSArray {
func filtered(using predicate: NSPredicate) -> [Any]
}
extension NSArray {
func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any]
}
extension NSArray : CustomReflectable {
var customMirror: Mirror { get }
}
extension NSArray {
@nonobjc convenience init(array anArray: NSArray)
}
extension NSArray {
convenience init(objects elements: Any...)
}
extension NSArray : Sequence {
final func makeIterator() -> NSFastEnumerationIterator
}
extension NSArray : ExpressibleByArrayLiteral {
required convenience init(arrayLiteral elements: Any...)
}
extension NSArray {
func shuffled(using randomSource: GKRandomSource) -> [Any]
func shuffled() -> [Any]
} | CKRecordValue, CVarArg, CustomReflectable, Equatable, ExpressibleByArrayLiteral, Hashable, NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding, Sequence |
---|
| Declaration |
From | func arrayByAddingObject(_ anObject: AnyObject) -> [AnyObject] |
To | func adding(_ anObject: Any) -> [Any] |
---|
| Declaration |
From | func arrayByAddingObjectsFromArray(_ otherArray: [AnyObject]) -> [AnyObject] |
To | func addingObjects(from otherArray: [Any]) -> [Any] |
---|
| Declaration |
From | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>) |
To | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func addObserver(_ observer: NSObject, toObjectsAtIndexes indexes: NSIndexSet, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>) |
To | func addObserver(_ observer: NSObject, toObjectsAt indexes: IndexSet, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func componentsJoinedByString(_ separator: String) -> String |
To | func componentsJoined(by separator: String) -> String |
---|
| Declaration |
From | func containsObject(_ anObject: AnyObject) -> Bool |
To | func contains(_ anObject: Any) -> Bool |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?) -> String |
To | func description(withLocale locale: Any?) -> String |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?, indent level: Int) -> String |
To | func description(withLocale locale: Any?, indent level: Int) -> String |
---|
| Declaration |
From | func enumerateObjectsUsingBlock(_ block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func filteredArrayUsingPredicate(_ predicate: NSPredicate) -> [AnyObject] |
To | func filtered(using predicate: NSPredicate) -> [Any] |
---|
| Declaration |
From | var firstObject: AnyObject? { get } |
To | var firstObject: Any? { get } |
---|
| Declaration |
From | func firstObjectCommonWithArray(_ otherArray: [AnyObject]) -> AnyObject? |
To | func firstObjectCommon(with otherArray: [Any]) -> Any? |
---|
| Declaration |
From | func indexOfObject(_ anObject: AnyObject) -> Int |
To | func index(of anObject: Any) -> Int |
---|
| Declaration |
From | func indexOfObject(_ anObject: AnyObject, inRange range: NSRange) -> Int |
To | func index(of anObject: Any, in range: NSRange) -> Int |
---|
| Declaration |
From | func indexOfObject(_ obj: AnyObject, inSortedRange r: NSRange, options opts: NSBinarySearchingOptions, usingComparator cmp: NSComparator) -> Int |
To | func index(of obj: Any, inSortedRange r: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int |
---|
| Declaration |
From | func indexesOfObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexesOfObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexesOfObjectsWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexesOfObjects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexesOfObjectsPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexesOfObjects(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexOfObjectAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func indexOfObject(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexOfObjectWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func indexOfObject(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexOfObjectPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func indexOfObject(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexOfObjectIdenticalTo(_ anObject: AnyObject) -> Int |
To | func indexOfObjectIdentical(to anObject: Any) -> Int |
---|
| Declaration |
From | func indexOfObjectIdenticalTo(_ anObject: AnyObject, inRange range: NSRange) -> Int |
To | func indexOfObjectIdentical(to anObject: Any, in range: NSRange) -> Int |
---|
| Declaration |
From | convenience init(array array: [AnyObject]) |
To | convenience init(array array: [Any]) |
---|
| Declaration |
From | @objc(_swiftInitWithArray_NSArray:) convenience init(array anArray: NSArray) |
To | @nonobjc convenience init(array anArray: NSArray) |
---|
| Declaration |
From | convenience init(array array: [AnyObject], copyItems flag: Bool) |
To | convenience init(array array: [Any], copyItems flag: Bool) |
---|
| Declaration |
From | convenience init?(contentsOfURL url: NSURL) |
To | convenience init?(contentsOf url: URL) |
---|
| Declaration |
From | convenience init(object anObject: AnyObject) |
To | convenience init(object anObject: Any) |
---|
| Declaration |
From | init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int) |
To | init(objects objects: UnsafePointer<AnyObject>!, count cnt: Int) |
---|
| Declaration |
From | func isEqualToArray(_ otherArray: [AnyObject]) -> Bool |
To | func isEqual(to otherArray: [Any]) -> Bool |
---|
| Declaration |
From | var lastObject: AnyObject? { get } |
To | var lastObject: Any? { get } |
---|
| Declaration |
From | func objectAtIndex(_ index: Int) -> AnyObject |
To | func object(at index: Int) -> Any |
---|
| Declaration |
From | func objectsAtIndexes(_ indexes: NSIndexSet) -> [AnyObject] |
To | func objects(at indexes: IndexSet) -> [Any] |
---|
| Declaration |
From | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>) |
To | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func removeObserver(_ observer: NSObject, fromObjectsAtIndexes indexes: NSIndexSet, forKeyPath keyPath: String) |
To | func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: String) |
---|
| Declaration |
From | func removeObserver(_ observer: NSObject, fromObjectsAtIndexes indexes: NSIndexSet, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>) |
To | func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func setValue(_ value: AnyObject?, forKey key: String) |
To | func setValue(_ value: Any?, forKey key: String) |
---|
| Declaration |
From | func sortedArrayUsingFunction(_ comparator: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>) -> [AnyObject] |
To | func sortedArray(_ comparator: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) -> [Any] |
---|
| Declaration |
From | func sortedArrayUsingFunction(_ comparator: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>, hint hint: NSData?) -> [AnyObject] |
To | func sortedArray(_ comparator: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?, hint hint: Data?) -> [Any] |
---|
| Declaration |
From | func sortedArrayUsingComparator(_ cmptr: NSComparator) -> [AnyObject] |
To | func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] |
---|
| Declaration |
From | func sortedArrayWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) -> [AnyObject] |
To | func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] |
---|
| Declaration |
From | func sortedArrayUsingSelector(_ comparator: Selector) -> [AnyObject] |
To | func sortedArray(using comparator: Selector) -> [Any] |
---|
| Declaration |
From | func sortedArrayUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) -> [AnyObject] |
To | func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] |
---|
| Declaration |
From | @NSCopying var sortedArrayHint: NSData { get } |
To | var sortedArrayHint: Data { get } |
---|
| Declaration |
From | func subarrayWithRange(_ range: NSRange) -> [AnyObject] |
To | func subarray(with range: NSRange) -> [Any] |
---|
| Declaration |
From | subscript (_ idx: Int) -> AnyObject { get } |
To | subscript(_ idx: Int) -> Any { get } |
---|
| Declaration |
From | func valueForKey(_ key: String) -> AnyObject |
To | func value(forKey key: String) -> Any |
---|
| Declaration |
From | func writeToURL(_ url: NSURL, atomically atomically: Bool) -> Bool |
To | func write(to url: URL, atomically atomically: Bool) -> Bool |
---|
| Declaration |
From | func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool) -> Bool |
To | func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool |
---|
| Declaration | Protocols |
From | class NSAssertionHandler : NSObject {
class func currentHandler() -> NSAssertionHandler
} | -- |
To | class NSAssertionHandler : NSObject {
class var current: NSAssertionHandler { 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 NSAssertionHandler : CVarArg {
}
extension NSAssertionHandler : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration | Protocols |
From | class NSAttributedString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
var string: String { get }
func attributesAtIndex(_ location: Int, effectiveRange range: NSRangePointer) -> [String : AnyObject]
}
extension NSAttributedString {
init(URL url: NSURL, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws
init(data data: NSData, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws
func dataFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSData
func fileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSFileWrapper
init?(RTF data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(RTFD data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(HTML data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(HTML data: NSData, baseURL base: NSURL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(docFormat data: NSData, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(HTML data: NSData, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(RTFDFileWrapper wrapper: NSFileWrapper, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
func RTFFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData?
func RTFDFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData?
func RTFDFileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSFileWrapper?
func docFormatFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) -> NSData?
}
extension NSAttributedString {
func fontAttributesInRange(_ range: NSRange) -> [String : AnyObject]
func rulerAttributesInRange(_ range: NSRange) -> [String : AnyObject]
func containsAttachmentsInRange(_ range: NSRange) -> Bool
func lineBreakBeforeIndex(_ location: Int, withinRange aRange: NSRange) -> Int
func lineBreakByHyphenatingBeforeIndex(_ location: Int, withinRange aRange: NSRange) -> Int
func doubleClickAtIndex(_ location: Int) -> NSRange
func nextWordFromIndex(_ location: Int, forward isForward: Bool) -> Int
func rangeOfTextBlock(_ block: NSTextBlock, atIndex location: Int) -> NSRange
func rangeOfTextTable(_ table: NSTextTable, atIndex location: Int) -> NSRange
func rangeOfTextList(_ list: NSTextList, atIndex location: Int) -> NSRange
func itemNumberInTextList(_ list: NSTextList, atIndex location: Int) -> Int
}
extension NSAttributedString : NSPasteboardReading, NSPasteboardWriting {
class func textTypes() -> [String]
class func textUnfilteredTypes() -> [String]
}
extension NSAttributedString {
var containsAttachments: Bool { get }
class func textFileTypes() -> [AnyObject]
class func textPasteboardTypes() -> [AnyObject]
class func textUnfilteredFileTypes() -> [AnyObject]
class func textUnfilteredPasteboardTypes() -> [AnyObject]
init?(URL url: NSURL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
init?(path path: String, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>)
func URLAtIndex(_ location: Int, effectiveRange effectiveRange: NSRangePointer) -> NSURL?
}
extension NSAttributedString {
func size() -> NSSize
func drawAtPoint(_ point: NSPoint)
func drawInRect(_ rect: NSRect)
}
extension NSAttributedString {
func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, context context: NSStringDrawingContext?)
func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, context context: NSStringDrawingContext?) -> NSRect
}
extension NSAttributedString {
func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions)
func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions) -> NSRect
}
extension NSAttributedString {
init(attachment attachment: NSTextAttachment)
class func attributedStringWithAttachment(_ attachment: NSTextAttachment) -> NSAttributedString
}
extension NSAttributedString {
var length: Int { get }
func attribute(_ attrName: String, atIndex location: Int, effectiveRange range: NSRangePointer) -> AnyObject?
func attributedSubstringFromRange(_ range: NSRange) -> NSAttributedString
func attributesAtIndex(_ location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> [String : AnyObject]
func attribute(_ attrName: String, atIndex location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> AnyObject?
func isEqualToAttributedString(_ other: NSAttributedString) -> Bool
init(string str: String)
init(string str: String, attributes attrs: [String : AnyObject]?)
init(attributedString attrStr: NSAttributedString)
func enumerateAttributesInRange(_ enumerationRange: NSRange, options opts: NSAttributedStringEnumerationOptions, usingBlock block: ([String : AnyObject], NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateAttribute(_ attrName: String, inRange enumerationRange: NSRange, options opts: NSAttributedStringEnumerationOptions, usingBlock block: (AnyObject?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
} | NSCopying, NSMutableCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
To | class NSAttributedString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
var string: String { get }
func attributes(at location: Int, effectiveRange range: NSRangePointer?) -> [String : Any]
var length: Int { get }
func attribute(_ attrName: String, at location: Int, effectiveRange range: NSRangePointer?) -> Any?
func attributedSubstring(from range: NSRange) -> NSAttributedString
func attributes(at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any]
func attribute(_ attrName: String, at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any?
func isEqual(to other: NSAttributedString) -> Bool
init(string str: String)
init(string str: String, attributes attrs: [String : Any]? = nil)
init(attributedString attrStr: NSAttributedString)
func enumerateAttributes(in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: ([String : Any], NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateAttribute(_ attrName: String, in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: (Any?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reverse: NSAttributedString.EnumerationOptions { get }
static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { 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 NSAttributedString {
init(url url: URL, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws
init(data data: Data, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws
func data(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> Data
func fileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> FileWrapper
init?(rtf data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(rtfd data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(html data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(html data: Data, baseURL base: URL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(docFormat data: Data, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(html data: Data, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(rtfdFileWrapper wrapper: FileWrapper, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
func rtf(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data?
func rtfd(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data?
func rtfdFileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> FileWrapper?
func docFormat(from range: NSRange, documentAttributes dict: [String : Any] = [:]) -> Data?
}
extension NSAttributedString {
func fontAttributes(in range: NSRange) -> [String : Any]
func rulerAttributes(in range: NSRange) -> [String : Any]
func containsAttachments(in range: NSRange) -> Bool
func lineBreak(before location: Int, within aRange: NSRange) -> Int
func lineBreakByHyphenating(before location: Int, within aRange: NSRange) -> Int
func doubleClick(at location: Int) -> NSRange
func nextWord(from location: Int, forward isForward: Bool) -> Int
func range(of block: NSTextBlock, at location: Int) -> NSRange
func range(of table: NSTextTable, at location: Int) -> NSRange
func range(of list: NSTextList, at location: Int) -> NSRange
func itemNumber(in list: NSTextList, at location: Int) -> Int
}
extension NSAttributedString : NSPasteboardReading, NSPasteboardWriting {
class func textTypes() -> [String]
class func textUnfilteredTypes() -> [String]
}
extension NSAttributedString {
var containsAttachments: Bool { get }
class func textFileTypes() -> [Any]
class func textPasteboardTypes() -> [Any]
class func textUnfilteredFileTypes() -> [Any]
class func textUnfilteredPasteboardTypes() -> [Any]
init?(url url: URL, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
init?(path path: String, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
func url(at location: Int, effectiveRange effectiveRange: NSRangePointer) -> URL?
}
extension NSAttributedString {
func size() -> NSSize
func draw(at point: NSPoint)
func draw(in rect: NSRect)
}
extension NSAttributedString {
func draw(with rect: NSRect, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?)
func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) -> NSRect
}
extension NSAttributedString {
func draw(with rect: NSRect, options options: NSStringDrawingOptions = [])
func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = []) -> NSRect
}
extension NSAttributedString {
init(attachment attachment: NSTextAttachment)
class func withAttachment(_ attachment: NSTextAttachment) -> NSAttributedString
}
extension NSAttributedString : CVarArg {
}
extension NSAttributedString : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSAttributedString {
var length: Int { get }
func attribute(_ attrName: String, at location: Int, effectiveRange range: NSRangePointer?) -> Any?
func attributedSubstring(from range: NSRange) -> NSAttributedString
func attributes(at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any]
func attribute(_ attrName: String, at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any?
func isEqual(to other: NSAttributedString) -> Bool
init(string str: String)
init(string str: String, attributes attrs: [String : Any]? = nil)
init(attributedString attrStr: NSAttributedString)
func enumerateAttributes(in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: ([String : Any], NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateAttribute(_ attrName: String, in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: (Any?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
}
extension NSAttributedString {
struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reverse: NSAttributedString.EnumerationOptions { get }
static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { get }
}
} | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
---|
| Declaration |
From | func attribute(_ attrName: String, atIndex location: Int, effectiveRange range: NSRangePointer) -> AnyObject? |
To | func attribute(_ attrName: String, at location: Int, effectiveRange range: NSRangePointer?) -> Any? |
---|
| Declaration |
From | func attribute(_ attrName: String, atIndex location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> AnyObject? |
To | func attribute(_ attrName: String, at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any? |
---|
| Declaration |
From | func attributedSubstringFromRange(_ range: NSRange) -> NSAttributedString |
To | func attributedSubstring(from range: NSRange) -> NSAttributedString |
---|
| Declaration |
From | func attributesAtIndex(_ location: Int, effectiveRange range: NSRangePointer) -> [String : AnyObject] |
To | func attributes(at location: Int, effectiveRange range: NSRangePointer?) -> [String : Any] |
---|
| Declaration |
From | func attributesAtIndex(_ location: Int, longestEffectiveRange range: NSRangePointer, inRange rangeLimit: NSRange) -> [String : AnyObject] |
To | func attributes(at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any] |
---|
| Declaration |
From | func enumerateAttribute(_ attrName: String, inRange enumerationRange: NSRange, options opts: NSAttributedStringEnumerationOptions, usingBlock block: (AnyObject?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateAttribute(_ attrName: String, in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: (Any?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateAttributesInRange(_ enumerationRange: NSRange, options opts: NSAttributedStringEnumerationOptions, usingBlock block: ([String : AnyObject], NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateAttributes(in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: ([String : Any], NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | init(string str: String, attributes attrs: [String : AnyObject]?) |
To | init(string str: String, attributes attrs: [String : Any]? = nil) |
---|
| Declaration |
From | func isEqualToAttributedString(_ other: NSAttributedString) -> Bool |
To | func isEqual(to other: NSAttributedString) -> Bool |
---|
| Declaration | Protocols |
From | struct NSAttributedStringEnumerationOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Reverse: NSAttributedStringEnumerationOptions { get }
static var LongestEffectiveRangeNotRequired: NSAttributedStringEnumerationOptions { get }
} | OptionSetType |
To | struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reverse: NSAttributedString.EnumerationOptions { get }
static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { get }
}
extension NSAttributedString.EnumerationOptions {
func union(_ other: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions
func intersection(_ other: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions
func symmetricDifference(_ other: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions
}
extension NSAttributedString.EnumerationOptions {
func contains(_ member: NSAttributedString.EnumerationOptions) -> Bool
mutating func insert(_ newMember: NSAttributedString.EnumerationOptions) -> (inserted: Bool, memberAfterInsert: NSAttributedString.EnumerationOptions)
mutating func remove(_ member: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions?
mutating func update(with newMember: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions?
}
extension NSAttributedString.EnumerationOptions {
convenience init()
mutating func formUnion(_ other: NSAttributedString.EnumerationOptions)
mutating func formIntersection(_ other: NSAttributedString.EnumerationOptions)
mutating func formSymmetricDifference(_ other: NSAttributedString.EnumerationOptions)
}
extension NSAttributedString.EnumerationOptions {
convenience init<S : Sequence where S.Iterator.Element == NSAttributedString.EnumerationOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSAttributedString.EnumerationOptions...)
mutating func subtract(_ other: NSAttributedString.EnumerationOptions)
func isSubset(of other: NSAttributedString.EnumerationOptions) -> Bool
func isSuperset(of other: NSAttributedString.EnumerationOptions) -> Bool
func isDisjoint(with other: NSAttributedString.EnumerationOptions) -> Bool
func subtracting(_ other: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSAttributedString.EnumerationOptions) -> Bool
func isStrictSubset(of other: NSAttributedString.EnumerationOptions) -> Bool
}
extension NSAttributedString.EnumerationOptions {
func intersect(_ other: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions
func exclusiveOr(_ other: NSAttributedString.EnumerationOptions) -> NSAttributedString.EnumerationOptions
mutating func unionInPlace(_ other: NSAttributedString.EnumerationOptions)
mutating func intersectInPlace(_ other: NSAttributedString.EnumerationOptions)
mutating func exclusiveOrInPlace(_ other: NSAttributedString.EnumerationOptions)
func isSubsetOf(_ other: NSAttributedString.EnumerationOptions) -> Bool
func isDisjointWith(_ other: NSAttributedString.EnumerationOptions) -> Bool
func isSupersetOf(_ other: NSAttributedString.EnumerationOptions) -> Bool
mutating func subtractInPlace(_ other: NSAttributedString.EnumerationOptions)
func isStrictSupersetOf(_ other: NSAttributedString.EnumerationOptions) -> Bool
func isStrictSubsetOf(_ other: NSAttributedString.EnumerationOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration | Introduction |
From | LongestEffectiveRangeNotRequired | static var LongestEffectiveRangeNotRequired: NSAttributedStringEnumerationOptions { get } | OS X 10.10 |
To | longestEffectiveRangeNotRequired | static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Reverse | static var Reverse: NSAttributedStringEnumerationOptions { get } | OS X 10.10 |
To | reverse | static var reverse: NSAttributedString.EnumerationOptions { get } | OS X 10.12 |
---|
| Declaration | Protocols |
From | class NSBackgroundActivityScheduler : NSObject {
init(identifier identifier: String)
var identifier: String { get }
var qualityOfService: NSQualityOfService
var repeats: Bool
var interval: NSTimeInterval
var tolerance: NSTimeInterval
func scheduleWithBlock(_ block: (NSBackgroundActivityCompletionHandler) -> Void)
func invalidate()
var shouldDefer: Bool { get }
} | -- |
To | class NSBackgroundActivityScheduler : NSObject {
init(identifier identifier: String)
var identifier: String { get }
var qualityOfService: QualityOfService
var repeats: Bool
var interval: TimeInterval
var tolerance: TimeInterval
func schedule(_ block: @escaping (NSBackgroundActivityScheduler.CompletionHandler) -> Swift.Void)
func invalidate()
var shouldDefer: Bool { get }
enum Result : Int {
case finished
case deferred
}
typealias CompletionHandler = (NSBackgroundActivityScheduler.Result) -> 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 NSBackgroundActivityScheduler {
enum Result : Int {
case finished
case deferred
}
typealias CompletionHandler = (NSBackgroundActivityScheduler.Result) -> Swift.Void
}
extension NSBackgroundActivityScheduler : CVarArg {
}
extension NSBackgroundActivityScheduler : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var interval: NSTimeInterval |
To | var interval: TimeInterval |
---|
| Declaration |
From | var qualityOfService: NSQualityOfService |
To | var qualityOfService: QualityOfService |
---|
| Declaration |
From | func scheduleWithBlock(_ block: (NSBackgroundActivityCompletionHandler) -> Void) |
To | func schedule(_ block: @escaping (NSBackgroundActivityScheduler.CompletionHandler) -> Swift.Void) |
---|
| Declaration |
From | var tolerance: NSTimeInterval |
To | var tolerance: TimeInterval |
---|
| Declaration |
From | enum NSBackgroundActivityResult : Int {
case Finished
case Deferred
} |
To | enum Result : Int {
case finished
case deferred
} |
---|
| Name | Declaration |
From | Deferred | case Deferred |
To | deferred | case deferred |
---|
| Name | Declaration |
From | Finished | case Finished |
To | finished | case finished |
---|
| Declaration | Protocols |
From | struct NSBinarySearchingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var FirstEqual: NSBinarySearchingOptions { get }
static var LastEqual: NSBinarySearchingOptions { get }
static var InsertionIndex: NSBinarySearchingOptions { get }
} | OptionSetType |
To | struct NSBinarySearchingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var firstEqual: NSBinarySearchingOptions { get }
static var lastEqual: NSBinarySearchingOptions { get }
static var insertionIndex: NSBinarySearchingOptions { get }
func intersect(_ other: NSBinarySearchingOptions) -> NSBinarySearchingOptions
func exclusiveOr(_ other: NSBinarySearchingOptions) -> NSBinarySearchingOptions
mutating func unionInPlace(_ other: NSBinarySearchingOptions)
mutating func intersectInPlace(_ other: NSBinarySearchingOptions)
mutating func exclusiveOrInPlace(_ other: NSBinarySearchingOptions)
func isSubsetOf(_ other: NSBinarySearchingOptions) -> Bool
func isDisjointWith(_ other: NSBinarySearchingOptions) -> Bool
func isSupersetOf(_ other: NSBinarySearchingOptions) -> Bool
mutating func subtractInPlace(_ other: NSBinarySearchingOptions)
func isStrictSupersetOf(_ other: NSBinarySearchingOptions) -> Bool
func isStrictSubsetOf(_ other: NSBinarySearchingOptions) -> Bool
}
extension NSBinarySearchingOptions {
func union(_ other: NSBinarySearchingOptions) -> NSBinarySearchingOptions
func intersection(_ other: NSBinarySearchingOptions) -> NSBinarySearchingOptions
func symmetricDifference(_ other: NSBinarySearchingOptions) -> NSBinarySearchingOptions
}
extension NSBinarySearchingOptions {
func contains(_ member: NSBinarySearchingOptions) -> Bool
mutating func insert(_ newMember: NSBinarySearchingOptions) -> (inserted: Bool, memberAfterInsert: NSBinarySearchingOptions)
mutating func remove(_ member: NSBinarySearchingOptions) -> NSBinarySearchingOptions?
mutating func update(with newMember: NSBinarySearchingOptions) -> NSBinarySearchingOptions?
}
extension NSBinarySearchingOptions {
convenience init()
mutating func formUnion(_ other: NSBinarySearchingOptions)
mutating func formIntersection(_ other: NSBinarySearchingOptions)
mutating func formSymmetricDifference(_ other: NSBinarySearchingOptions)
}
extension NSBinarySearchingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSBinarySearchingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSBinarySearchingOptions...)
mutating func subtract(_ other: NSBinarySearchingOptions)
func isSubset(of other: NSBinarySearchingOptions) -> Bool
func isSuperset(of other: NSBinarySearchingOptions) -> Bool
func isDisjoint(with other: NSBinarySearchingOptions) -> Bool
func subtracting(_ other: NSBinarySearchingOptions) -> NSBinarySearchingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSBinarySearchingOptions) -> Bool
func isStrictSubset(of other: NSBinarySearchingOptions) -> Bool
} | OptionSet |
---|
| Declaration |
From | static var FirstEqual: NSBinarySearchingOptions { get } |
To | static var firstEqual: NSBinarySearchingOptions { get } |
---|
| Declaration |
From | static var InsertionIndex: NSBinarySearchingOptions { get } |
To | static var insertionIndex: NSBinarySearchingOptions { get } |
---|
| Declaration |
From | static var LastEqual: NSBinarySearchingOptions { get } |
To | static var lastEqual: NSBinarySearchingOptions { get } |
---|
| Declaration | Protocols | Generics[Constraints] | Generics[Parameters] |
From | class NSCache : NSObject {
var name: String
unowned(unsafe) var delegate: NSCacheDelegate?
func objectForKey(_ key: AnyObject) -> AnyObject?
func setObject(_ obj: AnyObject, forKey key: AnyObject)
func setObject(_ obj: AnyObject, forKey key: AnyObject, cost g: Int)
func removeObjectForKey(_ key: AnyObject)
func removeAllObjects()
var totalCostLimit: Int
var countLimit: Int
var evictsObjectsWithDiscardedContent: Bool
} | -- | | -- |
To | class NSCache<KeyType : AnyObject, ObjectType : AnyObject> : NSObject {
var name: String
unowned(unsafe) var delegate: NSCacheDelegate?
func object(forKey key: KeyType) -> ObjectType?
func setObject(_ obj: ObjectType, forKey key: KeyType)
func setObject(_ obj: ObjectType, forKey key: KeyType, cost g: Int)
func removeObject(forKey key: KeyType)
func removeAllObjects()
var totalCostLimit: Int
var countLimit: Int
var evictsObjectsWithDiscardedContent: Bool
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 NSCache : CVarArg {
}
extension NSCache : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable | KeyType : AnyObject, ObjectType : AnyObject | KeyType, ObjectType |
---|
| Declaration |
From | func objectForKey(_ key: AnyObject) -> AnyObject? |
To | func object(forKey key: KeyType) -> ObjectType? |
---|
| Declaration |
From | func removeObjectForKey(_ key: AnyObject) |
To | func removeObject(forKey key: KeyType) |
---|
| Declaration |
From | func setObject(_ obj: AnyObject, forKey key: AnyObject) |
To | func setObject(_ obj: ObjectType, forKey key: KeyType) |
---|
| Declaration |
From | func setObject(_ obj: AnyObject, forKey key: AnyObject, cost g: Int) |
To | func setObject(_ obj: ObjectType, forKey key: KeyType, cost g: Int) |
---|
| Declaration |
From | protocol NSCacheDelegate : NSObjectProtocol {
optional func cache(_ cache: NSCache, willEvictObject obj: AnyObject)
} |
To | protocol NSCacheDelegate : NSObjectProtocol {
optional func cache(_ cache: NSCache<AnyObject, AnyObject>, willEvictObject obj: Any)
} |
---|
| Declaration |
From | optional func cache(_ cache: NSCache, willEvictObject obj: AnyObject) |
To | optional func cache(_ cache: NSCache<AnyObject, AnyObject>, willEvictObject obj: Any) |
---|
| Declaration | Protocols |
From | class NSCalendar : NSObject, NSCopying, NSSecureCoding {
class func currentCalendar() -> NSCalendar
class func autoupdatingCurrentCalendar() -> NSCalendar
init?(identifier calendarIdentifierConstant: String)
class func calendarWithIdentifier(_ calendarIdentifierConstant: String) -> NSCalendar?
convenience init()
init?(calendarIdentifier ident: String)
var calendarIdentifier: String { get }
@NSCopying var locale: NSLocale?
@NSCopying var timeZone: NSTimeZone
var firstWeekday: Int
var minimumDaysInFirstWeek: Int
var eraSymbols: [String] { get }
var longEraSymbols: [String] { get }
var monthSymbols: [String] { get }
var shortMonthSymbols: [String] { get }
var veryShortMonthSymbols: [String] { get }
var standaloneMonthSymbols: [String] { get }
var shortStandaloneMonthSymbols: [String] { get }
var veryShortStandaloneMonthSymbols: [String] { get }
var weekdaySymbols: [String] { get }
var shortWeekdaySymbols: [String] { get }
var veryShortWeekdaySymbols: [String] { get }
var standaloneWeekdaySymbols: [String] { get }
var shortStandaloneWeekdaySymbols: [String] { get }
var veryShortStandaloneWeekdaySymbols: [String] { get }
var quarterSymbols: [String] { get }
var shortQuarterSymbols: [String] { get }
var standaloneQuarterSymbols: [String] { get }
var shortStandaloneQuarterSymbols: [String] { get }
var AMSymbol: String { get }
var PMSymbol: String { get }
func minimumRangeOfUnit(_ unit: NSCalendarUnit) -> NSRange
func maximumRangeOfUnit(_ unit: NSCalendarUnit) -> NSRange
func rangeOfUnit(_ smaller: NSCalendarUnit, inUnit larger: NSCalendarUnit, forDate date: NSDate) -> NSRange
func ordinalityOfUnit(_ smaller: NSCalendarUnit, inUnit larger: NSCalendarUnit, forDate date: NSDate) -> Int
func rangeOfUnit(_ unit: NSCalendarUnit, startDate datep: AutoreleasingUnsafeMutablePointer<NSDate?>, interval tip: UnsafeMutablePointer<NSTimeInterval>, forDate date: NSDate) -> Bool
func dateFromComponents(_ comps: NSDateComponents) -> NSDate?
func components(_ unitFlags: NSCalendarUnit, fromDate date: NSDate) -> NSDateComponents
func dateByAddingComponents(_ comps: NSDateComponents, toDate date: NSDate, options opts: NSCalendarOptions) -> NSDate?
func components(_ unitFlags: NSCalendarUnit, fromDate startingDate: NSDate, toDate resultDate: NSDate, options opts: NSCalendarOptions) -> NSDateComponents
func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>, year yearValuePointer: UnsafeMutablePointer<Int>, month monthValuePointer: UnsafeMutablePointer<Int>, day dayValuePointer: UnsafeMutablePointer<Int>, fromDate date: NSDate)
func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>, yearForWeekOfYear yearValuePointer: UnsafeMutablePointer<Int>, weekOfYear weekValuePointer: UnsafeMutablePointer<Int>, weekday weekdayValuePointer: UnsafeMutablePointer<Int>, fromDate date: NSDate)
func getHour(_ hourValuePointer: UnsafeMutablePointer<Int>, minute minuteValuePointer: UnsafeMutablePointer<Int>, second secondValuePointer: UnsafeMutablePointer<Int>, nanosecond nanosecondValuePointer: UnsafeMutablePointer<Int>, fromDate date: NSDate)
func component(_ unit: NSCalendarUnit, fromDate date: NSDate) -> Int
func dateWithEra(_ eraValue: Int, year yearValue: Int, month monthValue: Int, day dayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> NSDate?
func dateWithEra(_ eraValue: Int, yearForWeekOfYear yearValue: Int, weekOfYear weekValue: Int, weekday weekdayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> NSDate?
func startOfDayForDate(_ date: NSDate) -> NSDate
func componentsInTimeZone(_ timezone: NSTimeZone, fromDate date: NSDate) -> NSDateComponents
func compareDate(_ date1: NSDate, toDate date2: NSDate, toUnitGranularity unit: NSCalendarUnit) -> NSComparisonResult
func isDate(_ date1: NSDate, equalToDate date2: NSDate, toUnitGranularity unit: NSCalendarUnit) -> Bool
func isDate(_ date1: NSDate, inSameDayAsDate date2: NSDate) -> Bool
func isDateInToday(_ date: NSDate) -> Bool
func isDateInYesterday(_ date: NSDate) -> Bool
func isDateInTomorrow(_ date: NSDate) -> Bool
func isDateInWeekend(_ date: NSDate) -> Bool
func rangeOfWeekendStartDate(_ datep: AutoreleasingUnsafeMutablePointer<NSDate?>, interval tip: UnsafeMutablePointer<NSTimeInterval>, containingDate date: NSDate) -> Bool
func nextWeekendStartDate(_ datep: AutoreleasingUnsafeMutablePointer<NSDate?>, interval tip: UnsafeMutablePointer<NSTimeInterval>, options options: NSCalendarOptions, afterDate date: NSDate) -> Bool
func components(_ unitFlags: NSCalendarUnit, fromDateComponents startingDateComp: NSDateComponents, toDateComponents resultDateComp: NSDateComponents, options options: NSCalendarOptions) -> NSDateComponents
func dateByAddingUnit(_ unit: NSCalendarUnit, value value: Int, toDate date: NSDate, options options: NSCalendarOptions) -> NSDate?
func enumerateDatesStartingAfterDate(_ start: NSDate, matchingComponents comps: NSDateComponents, options opts: NSCalendarOptions, usingBlock block: (NSDate?, Bool, UnsafeMutablePointer<ObjCBool>) -> Void)
func nextDateAfterDate(_ date: NSDate, matchingComponents comps: NSDateComponents, options options: NSCalendarOptions) -> NSDate?
func nextDateAfterDate(_ date: NSDate, matchingUnit unit: NSCalendarUnit, value value: Int, options options: NSCalendarOptions) -> NSDate?
func nextDateAfterDate(_ date: NSDate, matchingHour hourValue: Int, minute minuteValue: Int, second secondValue: Int, options options: NSCalendarOptions) -> NSDate?
func dateBySettingUnit(_ unit: NSCalendarUnit, value v: Int, ofDate date: NSDate, options opts: NSCalendarOptions) -> NSDate?
func dateBySettingHour(_ h: Int, minute m: Int, second s: Int, ofDate date: NSDate, options opts: NSCalendarOptions) -> NSDate?
func date(_ date: NSDate, matchesComponents components: NSDateComponents) -> Bool
} | NSCopying, NSSecureCoding |
To | class NSCalendar : NSObject, NSCopying, NSSecureCoding {
class var current: Calendar { get }
class var autoupdatingCurrent: Calendar { get }
init?(identifier calendarIdentifierConstant: NSCalendar.Identifier)
class func withIdentifier(_ calendarIdentifierConstant: NSCalendar.Identifier) -> Calendar?
convenience init()
init?(calendarIdentifier ident: NSCalendar.Identifier)
var calendarIdentifier: NSCalendar.Identifier { get }
var locale: Locale?
var timeZone: TimeZone
var firstWeekday: Int
var minimumDaysInFirstWeek: Int
var eraSymbols: [String] { get }
var longEraSymbols: [String] { get }
var monthSymbols: [String] { get }
var shortMonthSymbols: [String] { get }
var veryShortMonthSymbols: [String] { get }
var standaloneMonthSymbols: [String] { get }
var shortStandaloneMonthSymbols: [String] { get }
var veryShortStandaloneMonthSymbols: [String] { get }
var weekdaySymbols: [String] { get }
var shortWeekdaySymbols: [String] { get }
var veryShortWeekdaySymbols: [String] { get }
var standaloneWeekdaySymbols: [String] { get }
var shortStandaloneWeekdaySymbols: [String] { get }
var veryShortStandaloneWeekdaySymbols: [String] { get }
var quarterSymbols: [String] { get }
var shortQuarterSymbols: [String] { get }
var standaloneQuarterSymbols: [String] { get }
var shortStandaloneQuarterSymbols: [String] { get }
var amSymbol: String { get }
var pmSymbol: String { get }
func minimumRange(of unit: NSCalendar.Unit) -> NSRange
func maximumRange(of unit: NSCalendar.Unit) -> NSRange
func range(of smaller: NSCalendar.Unit, in larger: NSCalendar.Unit, for date: Date) -> NSRange
func ordinality(of smaller: NSCalendar.Unit, in larger: NSCalendar.Unit, for date: Date) -> Int
func range(of unit: NSCalendar.Unit, start datep: AutoreleasingUnsafeMutablePointer<NSDate?>?, interval tip: UnsafeMutablePointer<TimeInterval>?, for date: Date) -> Bool
func date(from comps: DateComponents) -> Date?
func components(_ unitFlags: NSCalendar.Unit, from date: Date) -> DateComponents
func date(byAdding comps: DateComponents, to date: Date, options opts: NSCalendar.Options = []) -> Date?
func components(_ unitFlags: NSCalendar.Unit, from startingDate: Date, to resultDate: Date, options opts: NSCalendar.Options = []) -> DateComponents
func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>?, year yearValuePointer: UnsafeMutablePointer<Int>?, month monthValuePointer: UnsafeMutablePointer<Int>?, day dayValuePointer: UnsafeMutablePointer<Int>?, from date: Date)
func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>?, yearForWeekOfYear yearValuePointer: UnsafeMutablePointer<Int>?, weekOfYear weekValuePointer: UnsafeMutablePointer<Int>?, weekday weekdayValuePointer: UnsafeMutablePointer<Int>?, from date: Date)
func getHour(_ hourValuePointer: UnsafeMutablePointer<Int>?, minute minuteValuePointer: UnsafeMutablePointer<Int>?, second secondValuePointer: UnsafeMutablePointer<Int>?, nanosecond nanosecondValuePointer: UnsafeMutablePointer<Int>?, from date: Date)
func component(_ unit: NSCalendar.Unit, from date: Date) -> Int
func date(era eraValue: Int, year yearValue: Int, month monthValue: Int, day dayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> Date?
func date(era eraValue: Int, yearForWeekOfYear yearValue: Int, weekOfYear weekValue: Int, weekday weekdayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> Date?
func startOfDay(for date: Date) -> Date
func components(in timezone: TimeZone, from date: Date) -> DateComponents
func compare(_ date1: Date, to date2: Date, toUnitGranularity unit: NSCalendar.Unit) -> ComparisonResult
func isDate(_ date1: Date, equalTo date2: Date, toUnitGranularity unit: NSCalendar.Unit) -> Bool
func isDate(_ date1: Date, inSameDayAs date2: Date) -> Bool
func isDateInToday(_ date: Date) -> Bool
func isDateInYesterday(_ date: Date) -> Bool
func isDateInTomorrow(_ date: Date) -> Bool
func isDateInWeekend(_ date: Date) -> Bool
func range(ofWeekendStart datep: AutoreleasingUnsafeMutablePointer<NSDate?>?, interval tip: UnsafeMutablePointer<TimeInterval>?, containing date: Date) -> Bool
func nextWeekendStart(_ datep: AutoreleasingUnsafeMutablePointer<NSDate?>?, interval tip: UnsafeMutablePointer<TimeInterval>?, options options: NSCalendar.Options = [], after date: Date) -> Bool
func components(_ unitFlags: NSCalendar.Unit, from startingDateComp: DateComponents, to resultDateComp: DateComponents, options options: NSCalendar.Options = []) -> DateComponents
func date(byAdding unit: NSCalendar.Unit, value value: Int, to date: Date, options options: NSCalendar.Options = []) -> Date?
func enumerateDates(startingAfter start: Date, matching comps: DateComponents, options opts: NSCalendar.Options = [], using block: (Date?, Bool, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func nextDate(after date: Date, matching comps: DateComponents, options options: NSCalendar.Options = []) -> Date?
func nextDate(after date: Date, matching unit: NSCalendar.Unit, value value: Int, options options: NSCalendar.Options = []) -> Date?
func nextDate(after date: Date, matchingHour hourValue: Int, minute minuteValue: Int, second secondValue: Int, options options: NSCalendar.Options = []) -> Date?
func date(bySettingUnit unit: NSCalendar.Unit, value v: Int, of date: Date, options opts: NSCalendar.Options = []) -> Date?
func date(bySettingHour h: Int, minute m: Int, second s: Int, of date: Date, options opts: NSCalendar.Options = []) -> Date?
func date(_ date: Date, matchesComponents components: DateComponents) -> Bool
struct Identifier : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
struct Unit : OptionSet {
init(rawValue rawValue: UInt)
static var era: NSCalendar.Unit { get }
static var year: NSCalendar.Unit { get }
static var month: NSCalendar.Unit { get }
static var day: NSCalendar.Unit { get }
static var hour: NSCalendar.Unit { get }
static var minute: NSCalendar.Unit { get }
static var second: NSCalendar.Unit { get }
static var weekday: NSCalendar.Unit { get }
static var weekdayOrdinal: NSCalendar.Unit { get }
static var quarter: NSCalendar.Unit { get }
static var weekOfMonth: NSCalendar.Unit { get }
static var weekOfYear: NSCalendar.Unit { get }
static var yearForWeekOfYear: NSCalendar.Unit { get }
static var nanosecond: NSCalendar.Unit { get }
static var calendar: NSCalendar.Unit { get }
static var timeZone: NSCalendar.Unit { get }
static var NSEraCalendarUnit: NSCalendar.Unit { get }
static var NSYearCalendarUnit: NSCalendar.Unit { get }
static var NSMonthCalendarUnit: NSCalendar.Unit { get }
static var NSDayCalendarUnit: NSCalendar.Unit { get }
static var NSHourCalendarUnit: NSCalendar.Unit { get }
static var NSMinuteCalendarUnit: NSCalendar.Unit { get }
static var NSSecondCalendarUnit: NSCalendar.Unit { get }
static var NSWeekCalendarUnit: NSCalendar.Unit { get }
static var NSWeekdayCalendarUnit: NSCalendar.Unit { get }
static var NSWeekdayOrdinalCalendarUnit: NSCalendar.Unit { get }
static var NSQuarterCalendarUnit: NSCalendar.Unit { get }
static var NSWeekOfMonthCalendarUnit: NSCalendar.Unit { get }
static var NSWeekOfYearCalendarUnit: NSCalendar.Unit { get }
static var NSYearForWeekOfYearCalendarUnit: NSCalendar.Unit { get }
static var NSCalendarCalendarUnit: NSCalendar.Unit { get }
static var NSTimeZoneCalendarUnit: NSCalendar.Unit { get }
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var wrapComponents: NSCalendar.Options { get }
static var matchStrictly: NSCalendar.Options { get }
static var searchBackwards: NSCalendar.Options { get }
static var matchPreviousTimePreservingSmallerUnits: NSCalendar.Options { get }
static var matchNextTimePreservingSmallerUnits: NSCalendar.Options { get }
static var matchNextTime: NSCalendar.Options { get }
static var matchFirst: NSCalendar.Options { get }
static var matchLast: NSCalendar.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 NSCalendar {
struct Identifier : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
struct Unit : OptionSet {
init(rawValue rawValue: UInt)
static var era: NSCalendar.Unit { get }
static var year: NSCalendar.Unit { get }
static var month: NSCalendar.Unit { get }
static var day: NSCalendar.Unit { get }
static var hour: NSCalendar.Unit { get }
static var minute: NSCalendar.Unit { get }
static var second: NSCalendar.Unit { get }
static var weekday: NSCalendar.Unit { get }
static var weekdayOrdinal: NSCalendar.Unit { get }
static var quarter: NSCalendar.Unit { get }
static var weekOfMonth: NSCalendar.Unit { get }
static var weekOfYear: NSCalendar.Unit { get }
static var yearForWeekOfYear: NSCalendar.Unit { get }
static var nanosecond: NSCalendar.Unit { get }
static var calendar: NSCalendar.Unit { get }
static var timeZone: NSCalendar.Unit { get }
static var NSEraCalendarUnit: NSCalendar.Unit { get }
static var NSYearCalendarUnit: NSCalendar.Unit { get }
static var NSMonthCalendarUnit: NSCalendar.Unit { get }
static var NSDayCalendarUnit: NSCalendar.Unit { get }
static var NSHourCalendarUnit: NSCalendar.Unit { get }
static var NSMinuteCalendarUnit: NSCalendar.Unit { get }
static var NSSecondCalendarUnit: NSCalendar.Unit { get }
static var NSWeekCalendarUnit: NSCalendar.Unit { get }
static var NSWeekdayCalendarUnit: NSCalendar.Unit { get }
static var NSWeekdayOrdinalCalendarUnit: NSCalendar.Unit { get }
static var NSQuarterCalendarUnit: NSCalendar.Unit { get }
static var NSWeekOfMonthCalendarUnit: NSCalendar.Unit { get }
static var NSWeekOfYearCalendarUnit: NSCalendar.Unit { get }
static var NSYearForWeekOfYearCalendarUnit: NSCalendar.Unit { get }
static var NSCalendarCalendarUnit: NSCalendar.Unit { get }
static var NSTimeZoneCalendarUnit: NSCalendar.Unit { get }
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var wrapComponents: NSCalendar.Options { get }
static var matchStrictly: NSCalendar.Options { get }
static var searchBackwards: NSCalendar.Options { get }
static var matchPreviousTimePreservingSmallerUnits: NSCalendar.Options { get }
static var matchNextTimePreservingSmallerUnits: NSCalendar.Options { get }
static var matchNextTime: NSCalendar.Options { get }
static var matchFirst: NSCalendar.Options { get }
static var matchLast: NSCalendar.Options { get }
}
}
extension NSCalendar : CVarArg {
}
extension NSCalendar : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSCalendar {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var AMSymbol: String { get } |
To | var amSymbol: String { get } |
---|
| Declaration |
From | var calendarIdentifier: String { get } |
To | var calendarIdentifier: NSCalendar.Identifier { get } |
---|
| Declaration |
From | func compareDate(_ date1: NSDate, toDate date2: NSDate, toUnitGranularity unit: NSCalendarUnit) -> NSComparisonResult |
To | func compare(_ date1: Date, to date2: Date, toUnitGranularity unit: NSCalendar.Unit) -> ComparisonResult |
---|
| Declaration |
From | func component(_ unit: NSCalendarUnit, fromDate date: NSDate) -> Int |
To | func component(_ unit: NSCalendar.Unit, from date: Date) -> Int |
---|
| Declaration |
From | func components(_ unitFlags: NSCalendarUnit, fromDate date: NSDate) -> NSDateComponents |
To | func components(_ unitFlags: NSCalendar.Unit, from date: Date) -> DateComponents |
---|
| Declaration |
From | func components(_ unitFlags: NSCalendarUnit, fromDateComponents startingDateComp: NSDateComponents, toDateComponents resultDateComp: NSDateComponents, options options: NSCalendarOptions) -> NSDateComponents |
To | func components(_ unitFlags: NSCalendar.Unit, from startingDateComp: DateComponents, to resultDateComp: DateComponents, options options: NSCalendar.Options = []) -> DateComponents |
---|
| Declaration |
From | func components(_ unitFlags: NSCalendarUnit, fromDate startingDate: NSDate, toDate resultDate: NSDate, options opts: NSCalendarOptions) -> NSDateComponents |
To | func components(_ unitFlags: NSCalendar.Unit, from startingDate: Date, to resultDate: Date, options opts: NSCalendar.Options = []) -> DateComponents |
---|
| Declaration |
From | func componentsInTimeZone(_ timezone: NSTimeZone, fromDate date: NSDate) -> NSDateComponents |
To | func components(in timezone: TimeZone, from date: Date) -> DateComponents |
---|
| Declaration |
From | func date(_ date: NSDate, matchesComponents components: NSDateComponents) -> Bool |
To | func date(_ date: Date, matchesComponents components: DateComponents) -> Bool |
---|
| Declaration |
From | func dateByAddingComponents(_ comps: NSDateComponents, toDate date: NSDate, options opts: NSCalendarOptions) -> NSDate? |
To | func date(byAdding comps: DateComponents, to date: Date, options opts: NSCalendar.Options = []) -> Date? |
---|
| Declaration |
From | func dateByAddingUnit(_ unit: NSCalendarUnit, value value: Int, toDate date: NSDate, options options: NSCalendarOptions) -> NSDate? |
To | func date(byAdding unit: NSCalendar.Unit, value value: Int, to date: Date, options options: NSCalendar.Options = []) -> Date? |
---|
| Declaration |
From | func dateBySettingHour(_ h: Int, minute m: Int, second s: Int, ofDate date: NSDate, options opts: NSCalendarOptions) -> NSDate? |
To | func date(bySettingHour h: Int, minute m: Int, second s: Int, of date: Date, options opts: NSCalendar.Options = []) -> Date? |
---|
| Declaration |
From | func dateBySettingUnit(_ unit: NSCalendarUnit, value v: Int, ofDate date: NSDate, options opts: NSCalendarOptions) -> NSDate? |
To | func date(bySettingUnit unit: NSCalendar.Unit, value v: Int, of date: Date, options opts: NSCalendar.Options = []) -> Date? |
---|
| Declaration |
From | func dateWithEra(_ eraValue: Int, year yearValue: Int, month monthValue: Int, day dayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> NSDate? |
To | func date(era eraValue: Int, year yearValue: Int, month monthValue: Int, day dayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> Date? |
---|
| Declaration |
From | func dateWithEra(_ eraValue: Int, yearForWeekOfYear yearValue: Int, weekOfYear weekValue: Int, weekday weekdayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> NSDate? |
To | func date(era eraValue: Int, yearForWeekOfYear yearValue: Int, weekOfYear weekValue: Int, weekday weekdayValue: Int, hour hourValue: Int, minute minuteValue: Int, second secondValue: Int, nanosecond nanosecondValue: Int) -> Date? |
---|
| Declaration |
From | func dateFromComponents(_ comps: NSDateComponents) -> NSDate? |
To | func date(from comps: DateComponents) -> Date? |
---|
| Declaration |
From | func enumerateDatesStartingAfterDate(_ start: NSDate, matchingComponents comps: NSDateComponents, options opts: NSCalendarOptions, usingBlock block: (NSDate?, Bool, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateDates(startingAfter start: Date, matching comps: DateComponents, options opts: NSCalendar.Options = [], using block: (Date?, Bool, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>, year yearValuePointer: UnsafeMutablePointer<Int>, month monthValuePointer: UnsafeMutablePointer<Int>, day dayValuePointer: UnsafeMutablePointer<Int>, fromDate date: NSDate) |
To | func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>?, year yearValuePointer: UnsafeMutablePointer<Int>?, month monthValuePointer: UnsafeMutablePointer<Int>?, day dayValuePointer: UnsafeMutablePointer<Int>?, from date: Date) |
---|
| Declaration |
From | func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>, yearForWeekOfYear yearValuePointer: UnsafeMutablePointer<Int>, weekOfYear weekValuePointer: UnsafeMutablePointer<Int>, weekday weekdayValuePointer: UnsafeMutablePointer<Int>, fromDate date: NSDate) |
To | func getEra(_ eraValuePointer: UnsafeMutablePointer<Int>?, yearForWeekOfYear yearValuePointer: UnsafeMutablePointer<Int>?, weekOfYear weekValuePointer: UnsafeMutablePointer<Int>?, weekday weekdayValuePointer: UnsafeMutablePointer<Int>?, from date: Date) |
---|
| Declaration |
From | func getHour(_ hourValuePointer: UnsafeMutablePointer<Int>, minute minuteValuePointer: UnsafeMutablePointer<Int>, second secondValuePointer: UnsafeMutablePointer<Int>, nanosecond nanosecondValuePointer: UnsafeMutablePointer<Int>, fromDate date: NSDate) |
To | func getHour(_ hourValuePointer: UnsafeMutablePointer<Int>?, minute minuteValuePointer: UnsafeMutablePointer<Int>?, second secondValuePointer: UnsafeMutablePointer<Int>?, nanosecond nanosecondValuePointer: UnsafeMutablePointer<Int>?, from date: Date) |
---|
| Declaration |
From | init?(calendarIdentifier ident: String) |
To | init?(calendarIdentifier ident: NSCalendar.Identifier) |
---|
| Declaration |
From | init?(identifier calendarIdentifierConstant: String) |
To | init?(identifier calendarIdentifierConstant: NSCalendar.Identifier) |
---|
| Declaration |
From | func isDate(_ date1: NSDate, equalToDate date2: NSDate, toUnitGranularity unit: NSCalendarUnit) -> Bool |
To | func isDate(_ date1: Date, equalTo date2: Date, toUnitGranularity unit: NSCalendar.Unit) -> Bool |
---|
| Declaration |
From | func isDate(_ date1: NSDate, inSameDayAsDate date2: NSDate) -> Bool |
To | func isDate(_ date1: Date, inSameDayAs date2: Date) -> Bool |
---|
| Declaration |
From | func isDateInToday(_ date: NSDate) -> Bool |
To | func isDateInToday(_ date: Date) -> Bool |
---|
| Declaration |
From | func isDateInTomorrow(_ date: NSDate) -> Bool |
To | func isDateInTomorrow(_ date: Date) -> Bool |
---|
| Declaration |
From | func isDateInWeekend(_ date: NSDate) -> Bool |
To | func isDateInWeekend(_ date: Date) -> Bool |
---|
| Declaration |
From | func isDateInYesterday(_ date: NSDate) -> Bool |
To | func isDateInYesterday(_ date: Date) -> Bool |
---|
| Declaration |
From | @NSCopying var locale: NSLocale? |
To | var locale: Locale? |
---|
| Declaration |
From | func maximumRangeOfUnit(_ unit: NSCalendarUnit) -> NSRange |
To | func maximumRange(of unit: NSCalendar.Unit) -> NSRange |
---|
| Declaration |
From | func minimumRangeOfUnit(_ unit: NSCalendarUnit) -> NSRange |
To | func minimumRange(of unit: NSCalendar.Unit) -> NSRange |
---|
| Declaration |
From | func nextDateAfterDate(_ date: NSDate, matchingComponents comps: NSDateComponents, options options: NSCalendarOptions) -> NSDate? |
To | func nextDate(after date: Date, matching comps: DateComponents, options options: NSCalendar.Options = []) -> Date? |
---|
| Declaration |
From | func nextDateAfterDate(_ date: NSDate, matchingUnit unit: NSCalendarUnit, value value: Int, options options: NSCalendarOptions) -> NSDate? |
To | func nextDate(after date: Date, matching unit: NSCalendar.Unit, value value: Int, options options: NSCalendar.Options = []) -> Date? |
---|
| Declaration |
From | func nextDateAfterDate(_ date: NSDate, matchingHour hourValue: Int, minute minuteValue: Int, second secondValue: Int, options options: NSCalendarOptions) -> NSDate? |
To | func nextDate(after date: Date, matchingHour hourValue: Int, minute minuteValue: Int, second secondValue: Int, options options: NSCalendar.Options = []) -> Date? |
---|
| Declaration |
From | func nextWeekendStartDate(_ datep: AutoreleasingUnsafeMutablePointer<NSDate?>, interval tip: UnsafeMutablePointer<NSTimeInterval>, options options: NSCalendarOptions, afterDate date: NSDate) -> Bool |
To | func nextWeekendStart(_ datep: AutoreleasingUnsafeMutablePointer<NSDate?>?, interval tip: UnsafeMutablePointer<TimeInterval>?, options options: NSCalendar.Options = [], after date: Date) -> Bool |
---|
| Declaration |
From | func ordinalityOfUnit(_ smaller: NSCalendarUnit, inUnit larger: NSCalendarUnit, forDate date: NSDate) -> Int |
To | func ordinality(of smaller: NSCalendar.Unit, in larger: NSCalendar.Unit, for date: Date) -> Int |
---|
| Declaration |
From | var PMSymbol: String { get } |
To | var pmSymbol: String { get } |
---|
| Declaration |
From | func rangeOfUnit(_ smaller: NSCalendarUnit, inUnit larger: NSCalendarUnit, forDate date: NSDate) -> NSRange |
To | func range(of smaller: NSCalendar.Unit, in larger: NSCalendar.Unit, for date: Date) -> NSRange |
---|
| Declaration |
From | func rangeOfUnit(_ unit: NSCalendarUnit, startDate datep: AutoreleasingUnsafeMutablePointer<NSDate?>, interval tip: UnsafeMutablePointer<NSTimeInterval>, forDate date: NSDate) -> Bool |
To | func range(of unit: NSCalendar.Unit, start datep: AutoreleasingUnsafeMutablePointer<NSDate?>?, interval tip: UnsafeMutablePointer<TimeInterval>?, for date: Date) -> Bool |
---|
| Declaration |
From | func rangeOfWeekendStartDate(_ datep: AutoreleasingUnsafeMutablePointer<NSDate?>, interval tip: UnsafeMutablePointer<NSTimeInterval>, containingDate date: NSDate) -> Bool |
To | func range(ofWeekendStart datep: AutoreleasingUnsafeMutablePointer<NSDate?>?, interval tip: UnsafeMutablePointer<TimeInterval>?, containing date: Date) -> Bool |
---|
| Declaration |
From | func startOfDayForDate(_ date: NSDate) -> NSDate |
To | func startOfDay(for date: Date) -> Date |
---|
| Declaration |
From | @NSCopying var timeZone: NSTimeZone |
To | var timeZone: TimeZone |
---|
| Name | Declaration |
From | NSCalendarIdentifierBuddhist | let NSCalendarIdentifierBuddhist: String |
To | buddhist | static let buddhist: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierChinese | let NSCalendarIdentifierChinese: String |
To | chinese | static let chinese: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierCoptic | let NSCalendarIdentifierCoptic: String |
To | coptic | static let coptic: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierEthiopicAmeteAlem | let NSCalendarIdentifierEthiopicAmeteAlem: String |
To | ethiopicAmeteAlem | static let ethiopicAmeteAlem: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierEthiopicAmeteMihret | let NSCalendarIdentifierEthiopicAmeteMihret: String |
To | ethiopicAmeteMihret | static let ethiopicAmeteMihret: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierGregorian | let NSCalendarIdentifierGregorian: String |
To | gregorian | static let gregorian: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierHebrew | let NSCalendarIdentifierHebrew: String |
To | hebrew | static let hebrew: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierIndian | let NSCalendarIdentifierIndian: String |
To | indian | static let indian: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierIslamic | let NSCalendarIdentifierIslamic: String |
To | islamic | static let islamic: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierIslamicCivil | let NSCalendarIdentifierIslamicCivil: String |
To | islamicCivil | static let islamicCivil: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierIslamicTabular | let NSCalendarIdentifierIslamicTabular: String |
To | islamicTabular | static let islamicTabular: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierIslamicUmmAlQura | let NSCalendarIdentifierIslamicUmmAlQura: String |
To | islamicUmmAlQura | static let islamicUmmAlQura: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierISO8601 | let NSCalendarIdentifierISO8601: String |
To | ISO8601 | static let ISO8601: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierJapanese | let NSCalendarIdentifierJapanese: String |
To | japanese | static let japanese: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierPersian | let NSCalendarIdentifierPersian: String |
To | persian | static let persian: NSCalendar.Identifier |
---|
| Name | Declaration |
From | NSCalendarIdentifierRepublicOfChina | let NSCalendarIdentifierRepublicOfChina: String |
To | republicOfChina | static let republicOfChina: NSCalendar.Identifier |
---|
| Declaration | Protocols |
From | struct NSCalendarOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var WrapComponents: NSCalendarOptions { get }
static var MatchStrictly: NSCalendarOptions { get }
static var SearchBackwards: NSCalendarOptions { get }
static var MatchPreviousTimePreservingSmallerUnits: NSCalendarOptions { get }
static var MatchNextTimePreservingSmallerUnits: NSCalendarOptions { get }
static var MatchNextTime: NSCalendarOptions { get }
static var MatchFirst: NSCalendarOptions { get }
static var MatchLast: NSCalendarOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var wrapComponents: NSCalendar.Options { get }
static var matchStrictly: NSCalendar.Options { get }
static var searchBackwards: NSCalendar.Options { get }
static var matchPreviousTimePreservingSmallerUnits: NSCalendar.Options { get }
static var matchNextTimePreservingSmallerUnits: NSCalendar.Options { get }
static var matchNextTime: NSCalendar.Options { get }
static var matchFirst: NSCalendar.Options { get }
static var matchLast: NSCalendar.Options { get }
}
extension NSCalendar.Options {
func union(_ other: NSCalendar.Options) -> NSCalendar.Options
func intersection(_ other: NSCalendar.Options) -> NSCalendar.Options
func symmetricDifference(_ other: NSCalendar.Options) -> NSCalendar.Options
}
extension NSCalendar.Options {
func contains(_ member: NSCalendar.Options) -> Bool
mutating func insert(_ newMember: NSCalendar.Options) -> (inserted: Bool, memberAfterInsert: NSCalendar.Options)
mutating func remove(_ member: NSCalendar.Options) -> NSCalendar.Options?
mutating func update(with newMember: NSCalendar.Options) -> NSCalendar.Options?
}
extension NSCalendar.Options {
convenience init()
mutating func formUnion(_ other: NSCalendar.Options)
mutating func formIntersection(_ other: NSCalendar.Options)
mutating func formSymmetricDifference(_ other: NSCalendar.Options)
}
extension NSCalendar.Options {
convenience init<S : Sequence where S.Iterator.Element == NSCalendar.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSCalendar.Options...)
mutating func subtract(_ other: NSCalendar.Options)
func isSubset(of other: NSCalendar.Options) -> Bool
func isSuperset(of other: NSCalendar.Options) -> Bool
func isDisjoint(with other: NSCalendar.Options) -> Bool
func subtracting(_ other: NSCalendar.Options) -> NSCalendar.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSCalendar.Options) -> Bool
func isStrictSubset(of other: NSCalendar.Options) -> Bool
}
extension NSCalendar.Options {
func intersect(_ other: NSCalendar.Options) -> NSCalendar.Options
func exclusiveOr(_ other: NSCalendar.Options) -> NSCalendar.Options
mutating func unionInPlace(_ other: NSCalendar.Options)
mutating func intersectInPlace(_ other: NSCalendar.Options)
mutating func exclusiveOrInPlace(_ other: NSCalendar.Options)
func isSubsetOf(_ other: NSCalendar.Options) -> Bool
func isDisjointWith(_ other: NSCalendar.Options) -> Bool
func isSupersetOf(_ other: NSCalendar.Options) -> Bool
mutating func subtractInPlace(_ other: NSCalendar.Options)
func isStrictSupersetOf(_ other: NSCalendar.Options) -> Bool
func isStrictSubsetOf(_ other: NSCalendar.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | MatchFirst | static var MatchFirst: NSCalendarOptions { get } |
To | matchFirst | static var matchFirst: NSCalendar.Options { get } |
---|
| Name | Declaration |
From | MatchLast | static var MatchLast: NSCalendarOptions { get } |
To | matchLast | static var matchLast: NSCalendar.Options { get } |
---|
| Name | Declaration |
From | MatchNextTime | static var MatchNextTime: NSCalendarOptions { get } |
To | matchNextTime | static var matchNextTime: NSCalendar.Options { get } |
---|
| Name | Declaration |
From | MatchNextTimePreservingSmallerUnits | static var MatchNextTimePreservingSmallerUnits: NSCalendarOptions { get } |
To | matchNextTimePreservingSmallerUnits | static var matchNextTimePreservingSmallerUnits: NSCalendar.Options { get } |
---|
| Name | Declaration |
From | MatchPreviousTimePreservingSmallerUnits | static var MatchPreviousTimePreservingSmallerUnits: NSCalendarOptions { get } |
To | matchPreviousTimePreservingSmallerUnits | static var matchPreviousTimePreservingSmallerUnits: NSCalendar.Options { get } |
---|
| Name | Declaration |
From | MatchStrictly | static var MatchStrictly: NSCalendarOptions { get } |
To | matchStrictly | static var matchStrictly: NSCalendar.Options { get } |
---|
| Name | Declaration |
From | SearchBackwards | static var SearchBackwards: NSCalendarOptions { get } |
To | searchBackwards | static var searchBackwards: NSCalendar.Options { get } |
---|
| Name | Declaration | Introduction |
From | WrapComponents | static var WrapComponents: NSCalendarOptions { get } | OS X 10.10 |
To | wrapComponents | static var wrapComponents: NSCalendar.Options { get } | OS X 10.12 |
---|
| Declaration | Protocols |
From | struct NSCalendarUnit : OptionSetType {
init(rawValue rawValue: UInt)
static var Era: NSCalendarUnit { get }
static var Year: NSCalendarUnit { get }
static var Month: NSCalendarUnit { get }
static var Day: NSCalendarUnit { get }
static var Hour: NSCalendarUnit { get }
static var Minute: NSCalendarUnit { get }
static var Second: NSCalendarUnit { get }
static var Weekday: NSCalendarUnit { get }
static var WeekdayOrdinal: NSCalendarUnit { get }
static var Quarter: NSCalendarUnit { get }
static var WeekOfMonth: NSCalendarUnit { get }
static var WeekOfYear: NSCalendarUnit { get }
static var YearForWeekOfYear: NSCalendarUnit { get }
static var Nanosecond: NSCalendarUnit { get }
static var Calendar: NSCalendarUnit { get }
static var TimeZone: NSCalendarUnit { get }
static var NSEraCalendarUnit: NSCalendarUnit { get }
static var NSYearCalendarUnit: NSCalendarUnit { get }
static var NSMonthCalendarUnit: NSCalendarUnit { get }
static var NSDayCalendarUnit: NSCalendarUnit { get }
static var NSHourCalendarUnit: NSCalendarUnit { get }
static var NSMinuteCalendarUnit: NSCalendarUnit { get }
static var NSSecondCalendarUnit: NSCalendarUnit { get }
static var NSWeekCalendarUnit: NSCalendarUnit { get }
static var NSWeekdayCalendarUnit: NSCalendarUnit { get }
static var NSWeekdayOrdinalCalendarUnit: NSCalendarUnit { get }
static var NSQuarterCalendarUnit: NSCalendarUnit { get }
static var NSWeekOfMonthCalendarUnit: NSCalendarUnit { get }
static var NSWeekOfYearCalendarUnit: NSCalendarUnit { get }
static var NSYearForWeekOfYearCalendarUnit: NSCalendarUnit { get }
static var NSCalendarCalendarUnit: NSCalendarUnit { get }
static var NSTimeZoneCalendarUnit: NSCalendarUnit { get }
} | OptionSetType |
To | struct Unit : OptionSet {
init(rawValue rawValue: UInt)
static var era: NSCalendar.Unit { get }
static var year: NSCalendar.Unit { get }
static var month: NSCalendar.Unit { get }
static var day: NSCalendar.Unit { get }
static var hour: NSCalendar.Unit { get }
static var minute: NSCalendar.Unit { get }
static var second: NSCalendar.Unit { get }
static var weekday: NSCalendar.Unit { get }
static var weekdayOrdinal: NSCalendar.Unit { get }
static var quarter: NSCalendar.Unit { get }
static var weekOfMonth: NSCalendar.Unit { get }
static var weekOfYear: NSCalendar.Unit { get }
static var yearForWeekOfYear: NSCalendar.Unit { get }
static var nanosecond: NSCalendar.Unit { get }
static var calendar: NSCalendar.Unit { get }
static var timeZone: NSCalendar.Unit { get }
static var NSEraCalendarUnit: NSCalendar.Unit { get }
static var NSYearCalendarUnit: NSCalendar.Unit { get }
static var NSMonthCalendarUnit: NSCalendar.Unit { get }
static var NSDayCalendarUnit: NSCalendar.Unit { get }
static var NSHourCalendarUnit: NSCalendar.Unit { get }
static var NSMinuteCalendarUnit: NSCalendar.Unit { get }
static var NSSecondCalendarUnit: NSCalendar.Unit { get }
static var NSWeekCalendarUnit: NSCalendar.Unit { get }
static var NSWeekdayCalendarUnit: NSCalendar.Unit { get }
static var NSWeekdayOrdinalCalendarUnit: NSCalendar.Unit { get }
static var NSQuarterCalendarUnit: NSCalendar.Unit { get }
static var NSWeekOfMonthCalendarUnit: NSCalendar.Unit { get }
static var NSWeekOfYearCalendarUnit: NSCalendar.Unit { get }
static var NSYearForWeekOfYearCalendarUnit: NSCalendar.Unit { get }
static var NSCalendarCalendarUnit: NSCalendar.Unit { get }
static var NSTimeZoneCalendarUnit: NSCalendar.Unit { get }
}
extension NSCalendar.Unit {
func union(_ other: NSCalendar.Unit) -> NSCalendar.Unit
func intersection(_ other: NSCalendar.Unit) -> NSCalendar.Unit
func symmetricDifference(_ other: NSCalendar.Unit) -> NSCalendar.Unit
}
extension NSCalendar.Unit {
func contains(_ member: NSCalendar.Unit) -> Bool
mutating func insert(_ newMember: NSCalendar.Unit) -> (inserted: Bool, memberAfterInsert: NSCalendar.Unit)
mutating func remove(_ member: NSCalendar.Unit) -> NSCalendar.Unit?
mutating func update(with newMember: NSCalendar.Unit) -> NSCalendar.Unit?
}
extension NSCalendar.Unit {
convenience init()
mutating func formUnion(_ other: NSCalendar.Unit)
mutating func formIntersection(_ other: NSCalendar.Unit)
mutating func formSymmetricDifference(_ other: NSCalendar.Unit)
}
extension NSCalendar.Unit {
convenience init<S : Sequence where S.Iterator.Element == NSCalendar.Unit>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSCalendar.Unit...)
mutating func subtract(_ other: NSCalendar.Unit)
func isSubset(of other: NSCalendar.Unit) -> Bool
func isSuperset(of other: NSCalendar.Unit) -> Bool
func isDisjoint(with other: NSCalendar.Unit) -> Bool
func subtracting(_ other: NSCalendar.Unit) -> NSCalendar.Unit
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSCalendar.Unit) -> Bool
func isStrictSubset(of other: NSCalendar.Unit) -> Bool
}
extension NSCalendar.Unit {
func intersect(_ other: NSCalendar.Unit) -> NSCalendar.Unit
func exclusiveOr(_ other: NSCalendar.Unit) -> NSCalendar.Unit
mutating func unionInPlace(_ other: NSCalendar.Unit)
mutating func intersectInPlace(_ other: NSCalendar.Unit)
mutating func exclusiveOrInPlace(_ other: NSCalendar.Unit)
func isSubsetOf(_ other: NSCalendar.Unit) -> Bool
func isDisjointWith(_ other: NSCalendar.Unit) -> Bool
func isSupersetOf(_ other: NSCalendar.Unit) -> Bool
mutating func subtractInPlace(_ other: NSCalendar.Unit)
func isStrictSupersetOf(_ other: NSCalendar.Unit) -> Bool
func isStrictSubsetOf(_ other: NSCalendar.Unit) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | Calendar | static var Calendar: NSCalendarUnit { get } |
To | calendar | static var calendar: NSCalendar.Unit { get } |
---|
| Name | Declaration | Introduction |
From | Day | static var Day: NSCalendarUnit { get } | OS X 10.10 |
To | day | static var day: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Era | static var Era: NSCalendarUnit { get } | OS X 10.10 |
To | era | static var era: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Hour | static var Hour: NSCalendarUnit { get } | OS X 10.10 |
To | hour | static var hour: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Minute | static var Minute: NSCalendarUnit { get } | OS X 10.10 |
To | minute | static var minute: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Month | static var Month: NSCalendarUnit { get } | OS X 10.10 |
To | month | static var month: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration |
From | Nanosecond | static var Nanosecond: NSCalendarUnit { get } |
To | nanosecond | static var nanosecond: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSCalendarCalendarUnit: NSCalendarUnit { get } |
To | static var NSCalendarCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSDayCalendarUnit: NSCalendarUnit { get } |
To | static var NSDayCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSEraCalendarUnit: NSCalendarUnit { get } |
To | static var NSEraCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSHourCalendarUnit: NSCalendarUnit { get } |
To | static var NSHourCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSMinuteCalendarUnit: NSCalendarUnit { get } |
To | static var NSMinuteCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSMonthCalendarUnit: NSCalendarUnit { get } |
To | static var NSMonthCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSQuarterCalendarUnit: NSCalendarUnit { get } |
To | static var NSQuarterCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSSecondCalendarUnit: NSCalendarUnit { get } |
To | static var NSSecondCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSTimeZoneCalendarUnit: NSCalendarUnit { get } |
To | static var NSTimeZoneCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSWeekCalendarUnit: NSCalendarUnit { get } |
To | static var NSWeekCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSWeekdayCalendarUnit: NSCalendarUnit { get } |
To | static var NSWeekdayCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSWeekdayOrdinalCalendarUnit: NSCalendarUnit { get } |
To | static var NSWeekdayOrdinalCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSWeekOfMonthCalendarUnit: NSCalendarUnit { get } |
To | static var NSWeekOfMonthCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSWeekOfYearCalendarUnit: NSCalendarUnit { get } |
To | static var NSWeekOfYearCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSYearCalendarUnit: NSCalendarUnit { get } |
To | static var NSYearCalendarUnit: NSCalendar.Unit { get } |
---|
| Declaration |
From | static var NSYearForWeekOfYearCalendarUnit: NSCalendarUnit { get } |
To | static var NSYearForWeekOfYearCalendarUnit: NSCalendar.Unit { get } |
---|
| Name | Declaration |
From | Quarter | static var Quarter: NSCalendarUnit { get } |
To | quarter | static var quarter: NSCalendar.Unit { get } |
---|
| Name | Declaration | Introduction |
From | Second | static var Second: NSCalendarUnit { get } | OS X 10.10 |
To | second | static var second: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration |
From | TimeZone | static var TimeZone: NSCalendarUnit { get } |
To | timeZone | static var timeZone: NSCalendar.Unit { get } |
---|
| Name | Declaration | Introduction |
From | Weekday | static var Weekday: NSCalendarUnit { get } | OS X 10.10 |
To | weekday | static var weekday: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | WeekdayOrdinal | static var WeekdayOrdinal: NSCalendarUnit { get } | OS X 10.10 |
To | weekdayOrdinal | static var weekdayOrdinal: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration |
From | WeekOfMonth | static var WeekOfMonth: NSCalendarUnit { get } |
To | weekOfMonth | static var weekOfMonth: NSCalendar.Unit { get } |
---|
| Name | Declaration |
From | WeekOfYear | static var WeekOfYear: NSCalendarUnit { get } |
To | weekOfYear | static var weekOfYear: NSCalendar.Unit { get } |
---|
| Name | Declaration | Introduction |
From | Year | static var Year: NSCalendarUnit { get } | OS X 10.10 |
To | year | static var year: NSCalendar.Unit { get } | OS X 10.12 |
---|
| Name | Declaration |
From | YearForWeekOfYear | static var YearForWeekOfYear: NSCalendarUnit { get } |
To | yearForWeekOfYear | static var yearForWeekOfYear: NSCalendar.Unit { get } |
---|
| Declaration | Protocols |
From | class NSCharacterSet : NSObject, NSCopying, NSMutableCopying, NSCoding {
class func controlCharacterSet() -> NSCharacterSet
class func whitespaceCharacterSet() -> NSCharacterSet
class func whitespaceAndNewlineCharacterSet() -> NSCharacterSet
class func decimalDigitCharacterSet() -> NSCharacterSet
class func letterCharacterSet() -> NSCharacterSet
class func lowercaseLetterCharacterSet() -> NSCharacterSet
class func uppercaseLetterCharacterSet() -> NSCharacterSet
class func nonBaseCharacterSet() -> NSCharacterSet
class func alphanumericCharacterSet() -> NSCharacterSet
class func decomposableCharacterSet() -> NSCharacterSet
class func illegalCharacterSet() -> NSCharacterSet
class func punctuationCharacterSet() -> NSCharacterSet
class func capitalizedLetterCharacterSet() -> NSCharacterSet
class func symbolCharacterSet() -> NSCharacterSet
class func newlineCharacterSet() -> NSCharacterSet
init(range aRange: NSRange)
class func characterSetWithRange(_ aRange: NSRange) -> NSCharacterSet
init(charactersInString aString: String)
class func characterSetWithCharactersInString(_ aString: String) -> NSCharacterSet
init(bitmapRepresentation data: NSData)
class func characterSetWithBitmapRepresentation(_ data: NSData) -> NSCharacterSet
init?(contentsOfFile fName: String)
class func characterSetWithContentsOfFile(_ fName: String) -> NSCharacterSet?
init(coder aDecoder: NSCoder)
func characterIsMember(_ aCharacter: unichar) -> Bool
@NSCopying var bitmapRepresentation: NSData { get }
@NSCopying var invertedSet: NSCharacterSet { get }
func longCharacterIsMember(_ theLongChar: UTF32Char) -> Bool
func isSupersetOfSet(_ theOtherSet: NSCharacterSet) -> Bool
func hasMemberInPlane(_ thePlane: UInt8) -> Bool
}
extension NSCharacterSet {
class func URLUserAllowedCharacterSet() -> NSCharacterSet
class func URLPasswordAllowedCharacterSet() -> NSCharacterSet
class func URLHostAllowedCharacterSet() -> NSCharacterSet
class func URLPathAllowedCharacterSet() -> NSCharacterSet
class func URLQueryAllowedCharacterSet() -> NSCharacterSet
class func URLFragmentAllowedCharacterSet() -> NSCharacterSet
} | NSCoding, NSCopying, NSMutableCopying |
To | class NSCharacterSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
class var controlCharacters: CharacterSet { get }
class var whitespaces: CharacterSet { get }
class var whitespacesAndNewlines: CharacterSet { get }
class var decimalDigits: CharacterSet { get }
class var letters: CharacterSet { get }
class var lowercaseLetters: CharacterSet { get }
class var uppercaseLetters: CharacterSet { get }
class var nonBaseCharacters: CharacterSet { get }
class var alphanumerics: CharacterSet { get }
class var decomposables: CharacterSet { get }
class var illegalCharacters: CharacterSet { get }
class var punctuationCharacters: CharacterSet { get }
class var capitalizedLetters: CharacterSet { get }
class var symbols: CharacterSet { get }
class var newlines: CharacterSet { get }
init(range aRange: NSRange)
class func withRange(_ aRange: NSRange) -> CharacterSet
init(charactersIn aString: String)
class func withCharactersIn(_ aString: String) -> CharacterSet
init(bitmapRepresentation data: Data)
class func withBitmapRepresentation(_ data: Data) -> CharacterSet
init?(contentsOfFile fName: String)
class func withContentsOfFile(_ fName: String) -> CharacterSet?
init(coder aDecoder: NSCoder)
func characterIsMember(_ aCharacter: unichar) -> Bool
var bitmapRepresentation: Data { get }
var inverted: CharacterSet { get }
func longCharacterIsMember(_ theLongChar: UTF32Char) -> Bool
func isSuperset(of theOtherSet: CharacterSet) -> Bool
func hasMemberInPlane(_ thePlane: UInt8) -> Bool
class var urlUserAllowed: CharacterSet { get }
class var urlPasswordAllowed: CharacterSet { get }
class var urlHostAllowed: CharacterSet { get }
class var urlPathAllowed: CharacterSet { get }
class var urlQueryAllowed: CharacterSet { get }
class var urlFragmentAllowed: CharacterSet { 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 NSCharacterSet : CVarArg {
}
extension NSCharacterSet : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSCharacterSet {
class var urlUserAllowed: CharacterSet { get }
class var urlPasswordAllowed: CharacterSet { get }
class var urlHostAllowed: CharacterSet { get }
class var urlPathAllowed: CharacterSet { get }
class var urlQueryAllowed: CharacterSet { get }
class var urlFragmentAllowed: CharacterSet { get }
}
extension NSCharacterSet {
} | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
---|
| Declaration |
From | @NSCopying var bitmapRepresentation: NSData { get } |
To | var bitmapRepresentation: Data { get } |
---|
| Declaration |
From | init(bitmapRepresentation data: NSData) |
To | init(bitmapRepresentation data: Data) |
---|
| Declaration |
From | init(charactersInString aString: String) |
To | init(charactersIn aString: String) |
---|
| Declaration |
From | @NSCopying var invertedSet: NSCharacterSet { get } |
To | var inverted: CharacterSet { get } |
---|
| Declaration |
From | func isSupersetOfSet(_ theOtherSet: NSCharacterSet) -> Bool |
To | func isSuperset(of theOtherSet: CharacterSet) -> Bool |
---|
| Declaration | Protocols |
From | class NSClassDescription : NSObject {
class func registerClassDescription(_ description: NSClassDescription, forClass aClass: AnyClass)
class func invalidateClassDescriptionCache()
init?(forClass aClass: AnyClass)
class func classDescriptionForClass(_ aClass: AnyClass) -> NSClassDescription?
var attributeKeys: [String] { get }
var toOneRelationshipKeys: [String] { get }
var toManyRelationshipKeys: [String] { get }
func inverseForRelationshipKey(_ relationshipKey: String) -> String?
} | -- |
To | class NSClassDescription : NSObject {
class func register(_ description: NSClassDescription, for aClass: Swift.AnyClass)
class func invalidateClassDescriptionCache()
init?(for aClass: Swift.AnyClass)
class func forClass(_ aClass: Swift.AnyClass) -> NSClassDescription?
var attributeKeys: [String] { get }
var toOneRelationshipKeys: [String] { get }
var toManyRelationshipKeys: [String] { get }
func inverse(forRelationshipKey relationshipKey: String) -> 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 }
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 NSClassDescription : CVarArg {
}
extension NSClassDescription : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | init?(forClass aClass: AnyClass) |
To | init?(for aClass: Swift.AnyClass) |
---|
| Declaration |
From | func inverseForRelationshipKey(_ relationshipKey: String) -> String? |
To | func inverse(forRelationshipKey relationshipKey: String) -> String? |
---|
| Declaration |
From | class func registerClassDescription(_ description: NSClassDescription, forClass aClass: AnyClass) |
To | class func register(_ description: NSClassDescription, for aClass: Swift.AnyClass) |
---|
| Declaration | Protocols |
From | class NSCoder : NSObject {
func encodeValueOfObjCType(_ type: UnsafePointer<Int8>, at addr: UnsafePointer<Void>)
func encodeDataObject(_ data: NSData)
func decodeValueOfObjCType(_ type: UnsafePointer<Int8>, at data: UnsafeMutablePointer<Void>)
func decodeDataObject() -> NSData?
func versionForClassName(_ className: String) -> Int
}
extension NSCoder {
func encodeCMTime(_ time: CMTime, forKey key: String)
func decodeCMTimeForKey(_ key: String) -> CMTime
func encodeCMTimeRange(_ timeRange: CMTimeRange, forKey key: String)
func decodeCMTimeRangeForKey(_ key: String) -> CMTimeRange
func encodeCMTimeMapping(_ timeMapping: CMTimeMapping, forKey key: String)
func decodeCMTimeMappingForKey(_ key: String) -> CMTimeMapping
}
extension NSCoder {
func decodeNXColor() -> NSColor!
}
extension NSCoder {
@warn_unused_result
func decodeObjectOfClass<DecodedObjectType : NSCoding where DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) -> DecodedObjectType?
@warn_unused_result
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@warn_unused_result
func decodeTopLevelObject() throws -> AnyObject?
@warn_unused_result
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@warn_unused_result
func decodeTopLevelObjectOfClass<DecodedObjectType : NSCoding where DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) throws -> DecodedObjectType?
@warn_unused_result
func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
}
extension NSCoder {
func encodeObject(_ object: AnyObject?)
func encodeRootObject(_ rootObject: AnyObject)
func encodeBycopyObject(_ anObject: AnyObject?)
func encodeByrefObject(_ anObject: AnyObject?)
func encodeConditionalObject(_ object: AnyObject?)
func encodeArrayOfObjCType(_ type: UnsafePointer<Int8>, count count: Int, at array: UnsafePointer<Void>)
func encodeBytes(_ byteaddr: UnsafePointer<Void>, length length: Int)
func decodeObject() -> AnyObject?
func decodeTopLevelObject() throws -> AnyObject
func decodeArrayOfObjCType(_ itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutablePointer<Void>)
func decodeBytesWithReturnedLength(_ lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutablePointer<Void>
func encodePropertyList(_ aPropertyList: AnyObject)
func decodePropertyList() -> AnyObject?
func setObjectZone(_ zone: NSZone)
func objectZone() -> NSZone
var systemVersion: UInt32 { get }
var allowsKeyedCoding: Bool { get }
func encodeObject(_ objv: AnyObject?, forKey key: String)
func encodeConditionalObject(_ objv: AnyObject?, forKey key: String)
func encodeBool(_ boolv: Bool, forKey key: String)
func encodeInt(_ intv: Int32, forKey key: String)
func encodeInt32(_ intv: Int32, forKey key: String)
func encodeInt64(_ intv: Int64, forKey key: String)
func encodeFloat(_ realv: Float, forKey key: String)
func encodeDouble(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>, length lenv: Int, forKey key: String)
func containsValueForKey(_ key: String) -> Bool
func decodeObjectForKey(_ key: String) -> AnyObject?
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject
func decodeBoolForKey(_ key: String) -> Bool
func decodeIntForKey(_ key: String) -> Int32
func decodeInt32ForKey(_ key: String) -> Int32
func decodeInt64ForKey(_ key: String) -> Int64
func decodeFloatForKey(_ key: String) -> Float
func decodeDoubleForKey(_ key: String) -> Double
func decodeBytesForKey(_ key: String, returnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafePointer<UInt8>
func encodeInteger(_ intv: Int, forKey key: String)
func decodeIntegerForKey(_ key: String) -> Int
var requiresSecureCoding: Bool { get }
func decodeObjectOfClass(_ aClass: AnyClass, forKey key: String) -> AnyObject?
func decodeTopLevelObjectOfClass(_ aClass: AnyClass, forKey key: String) throws -> AnyObject
func __decodeObjectOfClasses(_ classes: Set<NSObject>?, forKey key: String) -> AnyObject?
func decodeTopLevelObjectOfClasses(_ classes: Set<NSObject>?, forKey key: String) throws -> AnyObject
func decodePropertyListForKey(_ key: String) -> AnyObject?
var allowedClasses: Set<NSObject>? { get }
func failWithError(_ error: NSError)
}
extension NSCoder {
func encodeNXObject(_ object: AnyObject)
func decodeNXObject() -> AnyObject?
}
extension NSCoder {
func encodePoint(_ point: NSPoint)
func decodePoint() -> NSPoint
func encodeSize(_ size: NSSize)
func decodeSize() -> NSSize
func encodeRect(_ rect: NSRect)
func decodeRect() -> NSRect
}
extension NSCoder {
func encodePoint(_ point: NSPoint, forKey key: String)
func encodeSize(_ size: NSSize, forKey key: String)
func encodeRect(_ rect: NSRect, forKey key: String)
func decodePointForKey(_ key: String) -> NSPoint
func decodeSizeForKey(_ key: String) -> NSSize
func decodeRectForKey(_ key: String) -> NSRect
}
extension NSCoder {
@warn_unused_result
func decodeObjectOfClass<DecodedObjectType : NSCoding where DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) -> DecodedObjectType?
@warn_unused_result
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@warn_unused_result
func decodeTopLevelObject() throws -> AnyObject?
@warn_unused_result
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@warn_unused_result
func decodeTopLevelObjectOfClass<DecodedObjectType : NSCoding where DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) throws -> DecodedObjectType?
@warn_unused_result
func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
} | -- |
To | class NSCoder : NSObject {
func encodeValue(ofObjCType type: UnsafePointer<Int8>, at addr: UnsafeRawPointer)
func encode(_ data: Data)
func decodeValue(ofObjCType type: UnsafePointer<Int8>, at data: UnsafeMutableRawPointer)
func decodeData() -> Data?
func version(forClassName className: String) -> Int
enum DecodingFailurePolicy : Int {
case raiseException
case setErrorAndReturn
}
func encode(_ object: Any?)
func encodeRootObject(_ rootObject: Any)
func encodeBycopyObject(_ anObject: Any?)
func encodeByrefObject(_ anObject: Any?)
func encodeConditionalObject(_ object: Any?)
func encodeArray(ofObjCType type: UnsafePointer<Int8>, count count: Int, at array: UnsafeRawPointer)
func encodeBytes(_ byteaddr: UnsafeRawPointer?, length length: Int)
func decodeObject() -> Any?
func decodeTopLevelObject() throws -> Any
func decodeArray(ofObjCType itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutableRawPointer)
func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer?
func encodePropertyList(_ aPropertyList: Any)
func decodePropertyList() -> Any?
func setObjectZone(_ zone: NSZone?)
func objectZone() -> NSZone?
var systemVersion: UInt32 { get }
var allowsKeyedCoding: Bool { get }
func encode(_ objv: Any?, forKey key: String)
func encodeConditionalObject(_ objv: Any?, forKey key: String)
func encode(_ boolv: Bool, forKey key: String)
func encodeCInt(_ intv: Int32, forKey key: String)
func encode(_ intv: Int32, forKey key: String)
func encode(_ intv: Int64, forKey key: String)
func encode(_ realv: Float, forKey key: String)
func encode(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String)
func containsValue(forKey key: String) -> Bool
func decodeObject(forKey key: String) -> Any?
func decodeTopLevelObject(forKey key: String) throws -> Any
func decodeBool(forKey key: String) -> Bool
func decodeCInt(forKey key: String) -> Int32
func decodeInt32(forKey key: String) -> Int32
func decodeInt64(forKey key: String) -> Int64
func decodeFloat(forKey key: String) -> Float
func decodeDouble(forKey key: String) -> Double
func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
func encode(_ intv: Int, forKey key: String)
func decodeInteger(forKey key: String) -> Int
var requiresSecureCoding: Bool { get }
func decodeObject(of aClass: Swift.AnyClass, forKey key: String) -> Any?
func decodeTopLevelObject(of aClass: Swift.AnyClass, forKey key: String) throws -> Any
func __decodeObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) -> Any?
func decodeTopLevelObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) throws -> Any
func decodePropertyList(forKey key: String) -> Any?
var allowedClasses: Set<AnyHashable>? { get }
func failWithError(_ error: Error)
var decodingFailurePolicy: NSCoder.DecodingFailurePolicy { get }
var error: Error? { get }
func encodeNXObject(_ object: Any)
func decodeNXObject() -> Any?
func encode(_ point: NSPoint)
func decodePoint() -> NSPoint
func encode(_ size: NSSize)
func decodeSize() -> NSSize
func encode(_ rect: NSRect)
func decodeRect() -> NSRect
func encode(_ point: NSPoint, forKey key: String)
func encode(_ size: NSSize, forKey key: String)
func encode(_ rect: NSRect, forKey key: String)
func decodePoint(forKey key: String) -> NSPoint
func decodeSize(forKey key: String) -> NSSize
func decodeRect(forKey key: String) -> NSRect
func decodeObjectOfClass<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) -> DecodedObjectType?
func decodeObject<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(of cls: DecodedObjectType.Type, forKey key: String) -> DecodedObjectType?
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@nonobjc func decodeObject(of classes: [Swift.AnyClass]?, forKey key: String) -> Any?
@nonobjc func decodeTopLevelObject() throws -> Any?
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(forKey key: String) throws -> AnyObject?
func decodeTopLevelObjectOfClass<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) throws -> DecodedObjectType?
func decodeTopLevelObject<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(of cls: DecodedObjectType.Type, forKey key: String) throws -> DecodedObjectType?
@nonobjc func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(of classes: [Swift.AnyClass]?, forKey key: String) throws -> 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 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 NSCoder {
func encode(_ time: CMTime, forKey key: String)
func decodeTime(forKey key: String) -> CMTime
func encode(_ timeRange: CMTimeRange, forKey key: String)
func decodeTimeRange(forKey key: String) -> CMTimeRange
func encode(_ timeMapping: CMTimeMapping, forKey key: String)
func decodeTimeMapping(forKey key: String) -> CMTimeMapping
}
extension NSCoder {
func decodeNXColor() -> NSColor!
}
extension NSCoder {
enum DecodingFailurePolicy : Int {
case raiseException
case setErrorAndReturn
}
}
extension NSCoder : CVarArg {
}
extension NSCoder : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSCoder {
func encode(_ object: Any?)
func encodeRootObject(_ rootObject: Any)
func encodeBycopyObject(_ anObject: Any?)
func encodeByrefObject(_ anObject: Any?)
func encodeConditionalObject(_ object: Any?)
func encodeArray(ofObjCType type: UnsafePointer<Int8>, count count: Int, at array: UnsafeRawPointer)
func encodeBytes(_ byteaddr: UnsafeRawPointer?, length length: Int)
func decodeObject() -> Any?
func decodeTopLevelObject() throws -> Any
func decodeArray(ofObjCType itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutableRawPointer)
func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer?
func encodePropertyList(_ aPropertyList: Any)
func decodePropertyList() -> Any?
func setObjectZone(_ zone: NSZone?)
func objectZone() -> NSZone?
var systemVersion: UInt32 { get }
var allowsKeyedCoding: Bool { get }
func encode(_ objv: Any?, forKey key: String)
func encodeConditionalObject(_ objv: Any?, forKey key: String)
func encode(_ boolv: Bool, forKey key: String)
func encodeCInt(_ intv: Int32, forKey key: String)
func encode(_ intv: Int32, forKey key: String)
func encode(_ intv: Int64, forKey key: String)
func encode(_ realv: Float, forKey key: String)
func encode(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String)
func containsValue(forKey key: String) -> Bool
func decodeObject(forKey key: String) -> Any?
func decodeTopLevelObject(forKey key: String) throws -> Any
func decodeBool(forKey key: String) -> Bool
func decodeCInt(forKey key: String) -> Int32
func decodeInt32(forKey key: String) -> Int32
func decodeInt64(forKey key: String) -> Int64
func decodeFloat(forKey key: String) -> Float
func decodeDouble(forKey key: String) -> Double
func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
func encode(_ intv: Int, forKey key: String)
func decodeInteger(forKey key: String) -> Int
var requiresSecureCoding: Bool { get }
func decodeObject(of aClass: Swift.AnyClass, forKey key: String) -> Any?
func decodeTopLevelObject(of aClass: Swift.AnyClass, forKey key: String) throws -> Any
func __decodeObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) -> Any?
func decodeTopLevelObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) throws -> Any
func decodePropertyList(forKey key: String) -> Any?
var allowedClasses: Set<AnyHashable>? { get }
func failWithError(_ error: Error)
var decodingFailurePolicy: NSCoder.DecodingFailurePolicy { get }
var error: Error? { get }
}
extension NSCoder {
func encodeNXObject(_ object: Any)
func decodeNXObject() -> Any?
}
extension NSCoder {
func encode(_ point: NSPoint)
func decodePoint() -> NSPoint
func encode(_ size: NSSize)
func decodeSize() -> NSSize
func encode(_ rect: NSRect)
func decodeRect() -> NSRect
}
extension NSCoder {
func encode(_ point: NSPoint, forKey key: String)
func encode(_ size: NSSize, forKey key: String)
func encode(_ rect: NSRect, forKey key: String)
func decodePoint(forKey key: String) -> NSPoint
func decodeSize(forKey key: String) -> NSSize
func decodeRect(forKey key: String) -> NSRect
}
extension NSCoder {
func decodeObjectOfClass<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) -> DecodedObjectType?
func decodeObject<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(of cls: DecodedObjectType.Type, forKey key: String) -> DecodedObjectType?
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@nonobjc func decodeObject(of classes: [Swift.AnyClass]?, forKey key: String) -> Any?
@nonobjc func decodeTopLevelObject() throws -> Any?
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(forKey key: String) throws -> AnyObject?
func decodeTopLevelObjectOfClass<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(_ cls: DecodedObjectType.Type, forKey key: String) throws -> DecodedObjectType?
func decodeTopLevelObject<DecodedObjectType where DecodedObjectType : NSCoding, DecodedObjectType : NSObject>(of cls: DecodedObjectType.Type, forKey key: String) throws -> DecodedObjectType?
@nonobjc func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(of classes: [Swift.AnyClass]?, forKey key: String) throws -> Any?
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var allowedClasses: Set<NSObject>? { get } |
To | var allowedClasses: Set<AnyHashable>? { get } |
---|
| Declaration |
From | func containsValueForKey(_ key: String) -> Bool |
To | func containsValue(forKey key: String) -> Bool |
---|
| Declaration |
From | func decodeArrayOfObjCType(_ itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutablePointer<Void>) |
To | func decodeArray(ofObjCType itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutableRawPointer) |
---|
| Declaration |
From | func decodeBoolForKey(_ key: String) -> Bool |
To | func decodeBool(forKey key: String) -> Bool |
---|
| Declaration |
From | func decodeBytesForKey(_ key: String, returnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafePointer<UInt8> |
To | func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>? |
---|
| Declaration |
From | func decodeBytesWithReturnedLength(_ lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutablePointer<Void> |
To | func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer? |
---|
| Declaration |
From | func decodeIntForKey(_ key: String) -> Int32 |
To | func decodeCInt(forKey key: String) -> Int32 |
---|
| Declaration |
From | func decodeDataObject() -> NSData? |
To | func decodeData() -> Data? |
---|
| Declaration |
From | func decodeDoubleForKey(_ key: String) -> Double |
To | func decodeDouble(forKey key: String) -> Double |
---|
| Declaration |
From | func decodeFloatForKey(_ key: String) -> Float |
To | func decodeFloat(forKey key: String) -> Float |
---|
| Declaration |
From | func decodeInt32ForKey(_ key: String) -> Int32 |
To | func decodeInt32(forKey key: String) -> Int32 |
---|
| Declaration |
From | func decodeInt64ForKey(_ key: String) -> Int64 |
To | func decodeInt64(forKey key: String) -> Int64 |
---|
| Declaration |
From | func decodeIntegerForKey(_ key: String) -> Int |
To | func decodeInteger(forKey key: String) -> Int |
---|
| Declaration |
From | func decodeObject() -> AnyObject? |
To | func decodeObject() -> Any? |
---|
| Declaration |
From | func decodeObjectForKey(_ key: String) -> AnyObject? |
To | func decodeObject(forKey key: String) -> Any? |
---|
| Declaration |
From | func decodePointForKey(_ key: String) -> NSPoint |
To | func decodePoint(forKey key: String) -> NSPoint |
---|
| Declaration |
From | func decodePropertyList() -> AnyObject? |
To | func decodePropertyList() -> Any? |
---|
| Declaration |
From | func decodePropertyListForKey(_ key: String) -> AnyObject? |
To | func decodePropertyList(forKey key: String) -> Any? |
---|
| Declaration |
From | func decodeRectForKey(_ key: String) -> NSRect |
To | func decodeRect(forKey key: String) -> NSRect |
---|
| Declaration |
From | func decodeSizeForKey(_ key: String) -> NSSize |
To | func decodeSize(forKey key: String) -> NSSize |
---|
| Declaration |
From | func decodeValueOfObjCType(_ type: UnsafePointer<Int8>, at data: UnsafeMutablePointer<Void>) |
To | func decodeValue(ofObjCType type: UnsafePointer<Int8>, at data: UnsafeMutableRawPointer) |
---|
| Declaration |
From | func encodeSize(_ size: NSSize) |
To | func encode(_ size: NSSize) |
---|
| Declaration |
From | func encodePoint(_ point: NSPoint) |
To | func encode(_ point: NSPoint) |
---|
| Declaration |
From | func encodeObject(_ object: AnyObject?) |
To | func encode(_ object: Any?) |
---|
| Declaration |
From | func encodeRect(_ rect: NSRect) |
To | func encode(_ rect: NSRect) |
---|
| Declaration |
From | func encodeDataObject(_ data: NSData) |
To | func encode(_ data: Data) |
---|
| Declaration |
From | func encodeDouble(_ realv: Double, forKey key: String) |
To | func encode(_ realv: Double, forKey key: String) |
---|
| Declaration |
From | func encodeInt64(_ intv: Int64, forKey key: String) |
To | func encode(_ intv: Int64, forKey key: String) |
---|
| Declaration |
From | func encodeInteger(_ intv: Int, forKey key: String) |
To | func encode(_ intv: Int, forKey key: String) |
---|
| Declaration |
From | func encodeFloat(_ realv: Float, forKey key: String) |
To | func encode(_ realv: Float, forKey key: String) |
---|
| Declaration |
From | func encodeInt32(_ intv: Int32, forKey key: String) |
To | func encode(_ intv: Int32, forKey key: String) |
---|
| Declaration |
From | func encodePoint(_ point: NSPoint, forKey key: String) |
To | func encode(_ point: NSPoint, forKey key: String) |
---|
| Declaration |
From | func encodeRect(_ rect: NSRect, forKey key: String) |
To | func encode(_ rect: NSRect, forKey key: String) |
---|
| Declaration |
From | func encodeBool(_ boolv: Bool, forKey key: String) |
To | func encode(_ boolv: Bool, forKey key: String) |
---|
| Declaration |
From | func encodeObject(_ objv: AnyObject?, forKey key: String) |
To | func encode(_ objv: Any?, forKey key: String) |
---|
| Declaration |
From | func encodeSize(_ size: NSSize, forKey key: String) |
To | func encode(_ size: NSSize, forKey key: String) |
---|
| Declaration |
From | func encodeArrayOfObjCType(_ type: UnsafePointer<Int8>, count count: Int, at array: UnsafePointer<Void>) |
To | func encodeArray(ofObjCType type: UnsafePointer<Int8>, count count: Int, at array: UnsafeRawPointer) |
---|
| Declaration |
From | func encodeBycopyObject(_ anObject: AnyObject?) |
To | func encodeBycopyObject(_ anObject: Any?) |
---|
| Declaration |
From | func encodeByrefObject(_ anObject: AnyObject?) |
To | func encodeByrefObject(_ anObject: Any?) |
---|
| Declaration |
From | func encodeBytes(_ byteaddr: UnsafePointer<Void>, length length: Int) |
To | func encodeBytes(_ byteaddr: UnsafeRawPointer?, length length: Int) |
---|
| Declaration |
From | func encodeBytes(_ bytesp: UnsafePointer<UInt8>, length lenv: Int, forKey key: String) |
To | func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String) |
---|
| Declaration |
From | func encodeInt(_ intv: Int32, forKey key: String) |
To | func encodeCInt(_ intv: Int32, forKey key: String) |
---|
| Declaration |
From | func encodeConditionalObject(_ object: AnyObject?) |
To | func encodeConditionalObject(_ object: Any?) |
---|
| Declaration |
From | func encodeConditionalObject(_ objv: AnyObject?, forKey key: String) |
To | func encodeConditionalObject(_ objv: Any?, forKey key: String) |
---|
| Declaration |
From | func encodePropertyList(_ aPropertyList: AnyObject) |
To | func encodePropertyList(_ aPropertyList: Any) |
---|
| Declaration |
From | func encodeRootObject(_ rootObject: AnyObject) |
To | func encodeRootObject(_ rootObject: Any) |
---|
| Declaration |
From | func encodeValueOfObjCType(_ type: UnsafePointer<Int8>, at addr: UnsafePointer<Void>) |
To | func encodeValue(ofObjCType type: UnsafePointer<Int8>, at addr: UnsafeRawPointer) |
---|
| Declaration |
From | func failWithError(_ error: NSError) |
To | func failWithError(_ error: Error) |
---|
| Declaration |
From | func versionForClassName(_ className: String) -> Int |
To | func version(forClassName className: String) -> Int |
---|
| Declaration |
From | protocol NSCoding {
func encodeWithCoder(_ aCoder: NSCoder)
init?(coder aDecoder: NSCoder)
} |
To | protocol NSCoding {
func encode(with aCoder: NSCoder)
init?(coder aDecoder: NSCoder)
} |
---|
| Declaration |
From | func encodeWithCoder(_ aCoder: NSCoder) |
To | func encode(with aCoder: NSCoder) |
---|
| Declaration | Protocols |
From | class NSComparisonPredicate : NSPredicate {
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicateModifier, type type: NSPredicateOperatorType, options options: NSComparisonPredicateOptions)
class func predicateWithLeftExpression(_ lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicateModifier, type type: NSPredicateOperatorType, options options: NSComparisonPredicateOptions) -> NSComparisonPredicate
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector)
class func predicateWithLeftExpression(_ lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector) -> NSComparisonPredicate
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicateModifier, type type: NSPredicateOperatorType, options options: NSComparisonPredicateOptions)
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector)
init?(coder coder: NSCoder)
var predicateOperatorType: NSPredicateOperatorType { get }
var comparisonPredicateModifier: NSComparisonPredicateModifier { get }
var leftExpression: NSExpression { get }
var rightExpression: NSExpression { get }
var customSelector: Selector { get }
var options: NSComparisonPredicateOptions { get }
} | -- |
To | class NSComparisonPredicate : NSPredicate {
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicate.Modifier, type type: NSComparisonPredicate.Operator, options options: NSComparisonPredicate.Options = [])
class func withLeftExpression(_ lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicate.Modifier, type type: NSComparisonPredicate.Operator, options options: NSComparisonPredicate.Options = []) -> NSComparisonPredicate
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector)
class func withLeftExpression(_ lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector) -> NSComparisonPredicate
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicate.Modifier, type type: NSComparisonPredicate.Operator, options options: NSComparisonPredicate.Options = [])
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector)
init?(coder coder: NSCoder)
var predicateOperatorType: NSComparisonPredicate.Operator { get }
var comparisonPredicateModifier: NSComparisonPredicate.Modifier { get }
var leftExpression: NSExpression { get }
var rightExpression: NSExpression { get }
var customSelector: Selector? { get }
var options: NSComparisonPredicate.Options { get }
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSComparisonPredicate.Options { get }
static var diacriticInsensitive: NSComparisonPredicate.Options { get }
static var normalized: NSComparisonPredicate.Options { get }
}
enum Modifier : UInt {
case direct
case all
case any
}
enum Operator : UInt {
case lessThan
case lessThanOrEqualTo
case greaterThan
case greaterThanOrEqualTo
case equalTo
case notEqualTo
case matches
case like
case beginsWith
case endsWith
case `in`
case customSelector
case contains
case between
}
convenience init(format predicateFormat: String, _ args: CVarArg...)
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 NSComparisonPredicate {
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSComparisonPredicate.Options { get }
static var diacriticInsensitive: NSComparisonPredicate.Options { get }
static var normalized: NSComparisonPredicate.Options { get }
}
enum Modifier : UInt {
case direct
case all
case any
}
enum Operator : UInt {
case lessThan
case lessThanOrEqualTo
case greaterThan
case greaterThanOrEqualTo
case equalTo
case notEqualTo
case matches
case like
case beginsWith
case endsWith
case `in`
case customSelector
case contains
case between
}
}
extension NSComparisonPredicate : CVarArg {
}
extension NSComparisonPredicate : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var comparisonPredicateModifier: NSComparisonPredicateModifier { get } |
To | var comparisonPredicateModifier: NSComparisonPredicate.Modifier { get } |
---|
| Declaration |
From | var customSelector: Selector { get } |
To | var customSelector: Selector? { get } |
---|
| Declaration |
From | init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicateModifier, type type: NSPredicateOperatorType, options options: NSComparisonPredicateOptions) |
To | init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, modifier modifier: NSComparisonPredicate.Modifier, type type: NSComparisonPredicate.Operator, options options: NSComparisonPredicate.Options = []) |
---|
| Declaration |
From | var options: NSComparisonPredicateOptions { get } |
To | var options: NSComparisonPredicate.Options { get } |
---|
| Declaration |
From | var predicateOperatorType: NSPredicateOperatorType { get } |
To | var predicateOperatorType: NSComparisonPredicate.Operator { get } |
---|
| Declaration |
From | enum NSComparisonPredicateModifier : UInt {
case DirectPredicateModifier
case AllPredicateModifier
case AnyPredicateModifier
} |
To | enum Modifier : UInt {
case direct
case all
case any
} |
---|
| Name | Declaration | Introduction |
From | AllPredicateModifier | case AllPredicateModifier | OS X 10.10 |
To | all | case all | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | AnyPredicateModifier | case AnyPredicateModifier | OS X 10.10 |
To | any | case any | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | DirectPredicateModifier | case DirectPredicateModifier | OS X 10.10 |
To | direct | case direct | OS X 10.12 |
---|
| Declaration |
From | enum NSPredicateOperatorType : UInt {
case LessThanPredicateOperatorType
case LessThanOrEqualToPredicateOperatorType
case GreaterThanPredicateOperatorType
case GreaterThanOrEqualToPredicateOperatorType
case EqualToPredicateOperatorType
case NotEqualToPredicateOperatorType
case MatchesPredicateOperatorType
case LikePredicateOperatorType
case BeginsWithPredicateOperatorType
case EndsWithPredicateOperatorType
case InPredicateOperatorType
case CustomSelectorPredicateOperatorType
case ContainsPredicateOperatorType
case BetweenPredicateOperatorType
} |
To | enum Operator : UInt {
case lessThan
case lessThanOrEqualTo
case greaterThan
case greaterThanOrEqualTo
case equalTo
case notEqualTo
case matches
case like
case beginsWith
case endsWith
case `in`
case customSelector
case contains
case between
} |
---|
| Name | Declaration | Introduction |
From | BeginsWithPredicateOperatorType | case BeginsWithPredicateOperatorType | OS X 10.10 |
To | beginsWith | case beginsWith | OS X 10.12 |
---|
| Name | Declaration |
From | BetweenPredicateOperatorType | case BetweenPredicateOperatorType |
To | between | case between |
---|
| Name | Declaration |
From | ContainsPredicateOperatorType | case ContainsPredicateOperatorType |
To | contains | case contains |
---|
| Name | Declaration | Introduction |
From | CustomSelectorPredicateOperatorType | case CustomSelectorPredicateOperatorType | OS X 10.10 |
To | customSelector | case customSelector | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | EndsWithPredicateOperatorType | case EndsWithPredicateOperatorType | OS X 10.10 |
To | endsWith | case endsWith | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | EqualToPredicateOperatorType | case EqualToPredicateOperatorType | OS X 10.10 |
To | equalTo | case equalTo | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | GreaterThanPredicateOperatorType | case GreaterThanPredicateOperatorType | OS X 10.10 |
To | greaterThan | case greaterThan | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | GreaterThanOrEqualToPredicateOperatorType | case GreaterThanOrEqualToPredicateOperatorType | OS X 10.10 |
To | greaterThanOrEqualTo | case greaterThanOrEqualTo | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | InPredicateOperatorType | case InPredicateOperatorType | OS X 10.10 |
To | in | case `in` | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | LessThanPredicateOperatorType | case LessThanPredicateOperatorType | OS X 10.10 |
To | lessThan | case lessThan | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | LessThanOrEqualToPredicateOperatorType | case LessThanOrEqualToPredicateOperatorType | OS X 10.10 |
To | lessThanOrEqualTo | case lessThanOrEqualTo | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | LikePredicateOperatorType | case LikePredicateOperatorType | OS X 10.10 |
To | like | case like | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | MatchesPredicateOperatorType | case MatchesPredicateOperatorType | OS X 10.10 |
To | matches | case matches | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NotEqualToPredicateOperatorType | case NotEqualToPredicateOperatorType | OS X 10.10 |
To | notEqualTo | case notEqualTo | OS X 10.12 |
---|
| Declaration | Protocols |
From | struct NSComparisonPredicateOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var CaseInsensitivePredicateOption: NSComparisonPredicateOptions { get }
static var DiacriticInsensitivePredicateOption: NSComparisonPredicateOptions { get }
static var NormalizedPredicateOption: NSComparisonPredicateOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSComparisonPredicate.Options { get }
static var diacriticInsensitive: NSComparisonPredicate.Options { get }
static var normalized: NSComparisonPredicate.Options { get }
}
extension NSComparisonPredicate.Options {
func union(_ other: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options
func intersection(_ other: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options
func symmetricDifference(_ other: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options
}
extension NSComparisonPredicate.Options {
func contains(_ member: NSComparisonPredicate.Options) -> Bool
mutating func insert(_ newMember: NSComparisonPredicate.Options) -> (inserted: Bool, memberAfterInsert: NSComparisonPredicate.Options)
mutating func remove(_ member: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options?
mutating func update(with newMember: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options?
}
extension NSComparisonPredicate.Options {
convenience init()
mutating func formUnion(_ other: NSComparisonPredicate.Options)
mutating func formIntersection(_ other: NSComparisonPredicate.Options)
mutating func formSymmetricDifference(_ other: NSComparisonPredicate.Options)
}
extension NSComparisonPredicate.Options {
convenience init<S : Sequence where S.Iterator.Element == NSComparisonPredicate.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSComparisonPredicate.Options...)
mutating func subtract(_ other: NSComparisonPredicate.Options)
func isSubset(of other: NSComparisonPredicate.Options) -> Bool
func isSuperset(of other: NSComparisonPredicate.Options) -> Bool
func isDisjoint(with other: NSComparisonPredicate.Options) -> Bool
func subtracting(_ other: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSComparisonPredicate.Options) -> Bool
func isStrictSubset(of other: NSComparisonPredicate.Options) -> Bool
}
extension NSComparisonPredicate.Options {
func intersect(_ other: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options
func exclusiveOr(_ other: NSComparisonPredicate.Options) -> NSComparisonPredicate.Options
mutating func unionInPlace(_ other: NSComparisonPredicate.Options)
mutating func intersectInPlace(_ other: NSComparisonPredicate.Options)
mutating func exclusiveOrInPlace(_ other: NSComparisonPredicate.Options)
func isSubsetOf(_ other: NSComparisonPredicate.Options) -> Bool
func isDisjointWith(_ other: NSComparisonPredicate.Options) -> Bool
func isSupersetOf(_ other: NSComparisonPredicate.Options) -> Bool
mutating func subtractInPlace(_ other: NSComparisonPredicate.Options)
func isStrictSupersetOf(_ other: NSComparisonPredicate.Options) -> Bool
func isStrictSubsetOf(_ other: NSComparisonPredicate.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration | Introduction |
From | CaseInsensitivePredicateOption | static var CaseInsensitivePredicateOption: NSComparisonPredicateOptions { get } | OS X 10.10 |
To | caseInsensitive | static var caseInsensitive: NSComparisonPredicate.Options { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | DiacriticInsensitivePredicateOption | static var DiacriticInsensitivePredicateOption: NSComparisonPredicateOptions { get } | OS X 10.10 |
To | diacriticInsensitive | static var diacriticInsensitive: NSComparisonPredicate.Options { get } | OS X 10.12 |
---|
| Name | Declaration |
From | NormalizedPredicateOption | static var NormalizedPredicateOption: NSComparisonPredicateOptions { get } |
To | normalized | static var normalized: NSComparisonPredicate.Options { get } |
---|
| Declaration | Protocols |
From | class NSCompoundPredicate : NSPredicate {
init(type type: NSCompoundPredicateType, subpredicates subpredicates: [NSPredicate])
init?(coder coder: NSCoder)
var compoundPredicateType: NSCompoundPredicateType { get }
var subpredicates: [AnyObject] { get }
init(andPredicateWithSubpredicates subpredicates: [NSPredicate])
class func andPredicateWithSubpredicates(_ subpredicates: [NSPredicate]) -> NSCompoundPredicate
init(orPredicateWithSubpredicates subpredicates: [NSPredicate])
class func orPredicateWithSubpredicates(_ subpredicates: [NSPredicate]) -> NSCompoundPredicate
init(notPredicateWithSubpredicate predicate: NSPredicate)
class func notPredicateWithSubpredicate(_ predicate: NSPredicate) -> NSCompoundPredicate
} | -- |
To | class NSCompoundPredicate : NSPredicate {
init(type type: NSCompoundPredicate.LogicalType, subpredicates subpredicates: [NSPredicate])
init?(coder coder: NSCoder)
var compoundPredicateType: NSCompoundPredicate.LogicalType { get }
var subpredicates: [Any] { get }
init(andPredicateWithSubpredicates subpredicates: [NSPredicate])
class func andPredicate(withSubpredicates subpredicates: [NSPredicate]) -> NSCompoundPredicate
init(orPredicateWithSubpredicates subpredicates: [NSPredicate])
class func orPredicate(withSubpredicates subpredicates: [NSPredicate]) -> NSCompoundPredicate
init(notPredicateWithSubpredicate predicate: NSPredicate)
class func notPredicate(withSubpredicate predicate: NSPredicate) -> NSCompoundPredicate
enum LogicalType : UInt {
case not
case and
case or
}
convenience init(format predicateFormat: String, _ args: CVarArg...)
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 NSCompoundPredicate {
enum LogicalType : UInt {
case not
case and
case or
}
}
extension NSCompoundPredicate : CVarArg {
}
extension NSCompoundPredicate : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var compoundPredicateType: NSCompoundPredicateType { get } |
To | var compoundPredicateType: NSCompoundPredicate.LogicalType { get } |
---|
| Declaration |
From | init(type type: NSCompoundPredicateType, subpredicates subpredicates: [NSPredicate]) |
To | init(type type: NSCompoundPredicate.LogicalType, subpredicates subpredicates: [NSPredicate]) |
---|
| Declaration |
From | var subpredicates: [AnyObject] { get } |
To | var subpredicates: [Any] { get } |
---|
| Declaration |
From | enum NSCompoundPredicateType : UInt {
case NotPredicateType
case AndPredicateType
case OrPredicateType
} |
To | enum LogicalType : UInt {
case not
case and
case or
} |
---|
| Name | Declaration | Introduction |
From | AndPredicateType | case AndPredicateType | OS X 10.10 |
To | and | case and | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NotPredicateType | case NotPredicateType | OS X 10.10 |
To | not | case not | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | OrPredicateType | case OrPredicateType | OS X 10.10 |
To | or | case or | OS X 10.12 |
---|
| Declaration | Protocols |
From | class NSCondition : NSObject, NSLocking {
func wait()
func waitUntilDate(_ limit: NSDate) -> Bool
func signal()
func broadcast()
var name: String?
} | NSLocking |
To | class NSCondition : NSObject, NSLocking {
func wait()
func wait(until limit: Date) -> Bool
func signal()
func broadcast()
var name: 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 NSCondition : CVarArg {
}
extension NSCondition : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSLocking |
---|
| Declaration |
From | func waitUntilDate(_ limit: NSDate) -> Bool |
To | func wait(until limit: Date) -> Bool |
---|
| Declaration | Protocols |
From | class NSConditionLock : NSObject, NSLocking {
init(condition condition: Int)
var condition: Int { get }
func lockWhenCondition(_ condition: Int)
func tryLock() -> Bool
func tryLockWhenCondition(_ condition: Int) -> Bool
func unlockWithCondition(_ condition: Int)
func lockBeforeDate(_ limit: NSDate) -> Bool
func lockWhenCondition(_ condition: Int, beforeDate limit: NSDate) -> Bool
var name: String?
} | NSLocking |
To | class NSConditionLock : NSObject, NSLocking {
init(condition condition: Int)
var condition: Int { get }
func lock(whenCondition condition: Int)
func `try`() -> Bool
func tryLock(whenCondition condition: Int) -> Bool
func unlock(withCondition condition: Int)
func lock(before limit: Date) -> Bool
func lock(whenCondition condition: Int, before limit: Date) -> Bool
var name: 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 NSConditionLock : CVarArg {
}
extension NSConditionLock : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSLocking |
---|
| Declaration |
From | func lockBeforeDate(_ limit: NSDate) -> Bool |
To | func lock(before limit: Date) -> Bool |
---|
| Declaration |
From | func lockWhenCondition(_ condition: Int) |
To | func lock(whenCondition condition: Int) |
---|
| Declaration |
From | func lockWhenCondition(_ condition: Int, beforeDate limit: NSDate) -> Bool |
To | func lock(whenCondition condition: Int, before limit: Date) -> Bool |
---|
| Declaration |
From | func tryLock() -> Bool |
To | func `try`() -> Bool |
---|
| Declaration |
From | func tryLockWhenCondition(_ condition: Int) -> Bool |
To | func tryLock(whenCondition condition: Int) -> Bool |
---|
| Declaration |
From | func unlockWithCondition(_ condition: Int) |
To | func unlock(withCondition condition: Int) |
---|
| Declaration |
From | protocol NSCopying {
func copyWithZone(_ zone: NSZone) -> AnyObject
} |
To | protocol NSCopying {
func copy(with zone: NSZone? = nil) -> Any
} |
---|
| Declaration |
From | func copyWithZone(_ zone: NSZone) -> AnyObject |
To | func copy(with zone: NSZone? = nil) -> Any |
---|
| Declaration | Protocols |
From | class NSCountedSet : NSMutableSet {
init(capacity numItems: Int)
convenience init(array array: [AnyObject])
convenience init(set set: Set<NSObject>)
func countForObject(_ object: AnyObject) -> Int
func objectEnumerator() -> NSEnumerator
func addObject(_ object: AnyObject)
func removeObject(_ object: AnyObject)
} | -- |
To | class NSCountedSet : NSMutableSet {
init(capacity numItems: Int)
convenience init(array array: [Any])
convenience init(set set: Set<AnyHashable>)
func count(for object: Any) -> Int
func objectEnumerator() -> NSEnumerator
func add(_ object: Any)
func remove(_ object: Any)
func filter(using predicate: NSPredicate)
class func withCapacity(_ numItems: Int) -> Self
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>)
convenience init(objects elements: Any...)
@nonobjc convenience init(set anSet: NSSet)
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?
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?)
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?
}
extension NSCountedSet : Sequence {
func makeIterator() -> NSFastEnumerationIterator
}
extension NSCountedSet : ExpressibleByArrayLiteral {
required convenience init(arrayLiteral elements: Any...)
}
extension NSCountedSet : CustomReflectable {
var customMirror: Mirror { get }
}
extension NSCountedSet : CVarArg {
}
extension NSCountedSet : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, CustomReflectable, Equatable, ExpressibleByArrayLiteral, Hashable, Sequence |
---|
| Declaration |
From | func addObject(_ object: AnyObject) |
To | func add(_ object: Any) |
---|
| Declaration |
From | func countForObject(_ object: AnyObject) -> Int |
To | func count(for object: Any) -> Int |
---|
| Declaration |
From | convenience init(array array: [AnyObject]) |
To | convenience init(array array: [Any]) |
---|
| Declaration |
From | convenience init(set set: Set<NSObject>) |
To | convenience init(set set: Set<AnyHashable>) |
---|
| Declaration |
From | func removeObject(_ object: AnyObject) |
To | func remove(_ object: Any) |
---|
| Declaration |
From | class NSCreateCommand : NSScriptCommand {
var createClassDescription: NSScriptClassDescription { get }
var resolvedKeyDictionary: [String : AnyObject] { get }
} |
To | class NSCreateCommand : NSScriptCommand {
var createClassDescription: NSScriptClassDescription { get }
var resolvedKeyDictionary: [String : Any] { get }
} |
---|
| Declaration |
From | var resolvedKeyDictionary: [String : AnyObject] { get } |
To | var resolvedKeyDictionary: [String : Any] { get } |
---|
| Declaration | Protocols |
From | class NSData : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
var length: Int { get }
var bytes: UnsafePointer<Void> { get }
}
extension NSData : CKRecordValue {
}
extension NSData {
var description: String { get }
func getBytes(_ buffer: UnsafeMutablePointer<Void>, length length: Int)
func getBytes(_ buffer: UnsafeMutablePointer<Void>, range range: NSRange)
func isEqualToData(_ other: NSData) -> Bool
func subdataWithRange(_ range: NSRange) -> NSData
func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool) -> Bool
func writeToURL(_ url: NSURL, atomically atomically: Bool) -> Bool
func writeToFile(_ path: String, options writeOptionsMask: NSDataWritingOptions) throws
func writeToURL(_ url: NSURL, options writeOptionsMask: NSDataWritingOptions) throws
func rangeOfData(_ dataToFind: NSData, options mask: NSDataSearchOptions, range searchRange: NSRange) -> NSRange
func enumerateByteRangesUsingBlock(_ block: (UnsafePointer<Void>, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
}
extension NSData {
convenience init()
class func data() -> Self
convenience init(bytes bytes: UnsafePointer<Void>, length length: Int)
class func dataWithBytes(_ bytes: UnsafePointer<Void>, length length: Int) -> Self
convenience init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int)
class func dataWithBytesNoCopy(_ bytes: UnsafeMutablePointer<Void>, length length: Int) -> Self
convenience init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int, freeWhenDone b: Bool)
class func dataWithBytesNoCopy(_ bytes: UnsafeMutablePointer<Void>, length length: Int, freeWhenDone b: Bool) -> Self
convenience init(contentsOfFile path: String, options readOptionsMask: NSDataReadingOptions) throws
class func dataWithContentsOfFile(_ path: String, options readOptionsMask: NSDataReadingOptions) throws -> Self
convenience init(contentsOfURL url: NSURL, options readOptionsMask: NSDataReadingOptions) throws
class func dataWithContentsOfURL(_ url: NSURL, options readOptionsMask: NSDataReadingOptions) throws -> Self
convenience init?(contentsOfFile path: String)
class func dataWithContentsOfFile(_ path: String) -> Self?
convenience init?(contentsOfURL url: NSURL)
class func dataWithContentsOfURL(_ url: NSURL) -> Self?
init(bytes bytes: UnsafePointer<Void>, length length: Int)
init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int)
init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int, freeWhenDone b: Bool)
init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int, deallocator deallocator: ((UnsafeMutablePointer<Void>, Int) -> Void)?)
init(contentsOfFile path: String, options readOptionsMask: NSDataReadingOptions) throws
init(contentsOfURL url: NSURL, options readOptionsMask: NSDataReadingOptions) throws
init?(contentsOfFile path: String)
init?(contentsOfURL url: NSURL)
init(data data: NSData)
class func dataWithData(_ data: NSData) -> Self
}
extension NSData {
init?(base64EncodedString base64String: String, options options: NSDataBase64DecodingOptions)
func base64EncodedStringWithOptions(_ options: NSDataBase64EncodingOptions) -> String
init?(base64EncodedData base64Data: NSData, options options: NSDataBase64DecodingOptions)
func base64EncodedDataWithOptions(_ options: NSDataBase64EncodingOptions) -> NSData
}
extension NSData {
func getBytes(_ buffer: UnsafeMutablePointer<Void>)
class func dataWithContentsOfMappedFile(_ path: String) -> AnyObject?
init?(contentsOfMappedFile path: String)
init?(base64Encoding base64String: String)
func base64Encoding() -> String
} | CKRecordValue, NSCopying, NSMutableCopying, NSSecureCoding |
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: (@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 {
} | CKRecordValue, CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
---|
| Declaration |
From | func base64EncodedDataWithOptions(_ options: NSDataBase64EncodingOptions) -> NSData |
To | func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data |
---|
| Declaration |
From | func base64EncodedStringWithOptions(_ options: NSDataBase64EncodingOptions) -> String |
To | func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String |
---|
| Declaration |
From | var bytes: UnsafePointer<Void> { get } |
To | var bytes: UnsafeRawPointer { get } |
---|
| Declaration |
From | class func dataWithContentsOfMappedFile(_ path: String) -> AnyObject? |
To | class func dataWithContentsOfMappedFile(_ path: String) -> Any? |
---|
| Declaration |
From | func enumerateByteRangesUsingBlock(_ block: (UnsafePointer<Void>, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func getBytes(_ buffer: UnsafeMutablePointer<Void>) |
To | func getBytes(_ buffer: UnsafeMutableRawPointer) |
---|
| Declaration |
From | func getBytes(_ buffer: UnsafeMutablePointer<Void>, length length: Int) |
To | func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int) |
---|
| Declaration |
From | func getBytes(_ buffer: UnsafeMutablePointer<Void>, range range: NSRange) |
To | func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange) |
---|
| Declaration |
From | init?(base64EncodedString base64String: String, options options: NSDataBase64DecodingOptions) |
To | init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = []) |
---|
| Declaration |
From | init?(base64EncodedData base64Data: NSData, options options: NSDataBase64DecodingOptions) |
To | init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = []) |
---|
| Declaration |
From | init(bytes bytes: UnsafePointer<Void>, length length: Int) |
To | init(bytes bytes: UnsafeRawPointer?, length length: Int) |
---|
| Declaration |
From | init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int) |
To | init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int) |
---|
| Declaration |
From | init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int, deallocator deallocator: ((UnsafeMutablePointer<Void>, Int) -> Void)?) |
To | init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) |
---|
| Declaration |
From | init(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length length: Int, freeWhenDone b: Bool) |
To | init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) |
---|
| Declaration |
From | init?(contentsOfURL url: NSURL) |
To | init?(contentsOf url: URL) |
---|
| Declaration |
From | init(contentsOfURL url: NSURL, options readOptionsMask: NSDataReadingOptions) throws |
To | init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws |
---|
| Declaration |
From | init(contentsOfFile path: String, options readOptionsMask: NSDataReadingOptions) throws |
To | init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws |
---|
| Declaration |
From | init(data data: NSData) |
To | init(data data: Data) |
---|
| Declaration |
From | func isEqualToData(_ other: NSData) -> Bool |
To | func isEqual(to other: Data) -> Bool |
---|
| Declaration |
From | func rangeOfData(_ dataToFind: NSData, options mask: NSDataSearchOptions, range searchRange: NSRange) -> NSRange |
To | func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange |
---|
| Declaration |
From | func subdataWithRange(_ range: NSRange) -> NSData |
To | func subdata(with range: NSRange) -> Data |
---|
| Declaration |
From | func writeToURL(_ url: NSURL, atomically atomically: Bool) -> Bool |
To | func write(to url: URL, atomically atomically: Bool) -> Bool |
---|
| Declaration |
From | func writeToURL(_ url: NSURL, options writeOptionsMask: NSDataWritingOptions) throws |
To | func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws |
---|
| Declaration |
From | func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool) -> Bool |
To | func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool |
---|
| Declaration |
From | func writeToFile(_ path: String, options writeOptionsMask: NSDataWritingOptions) throws |
To | func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws |
---|
| Declaration | Protocols |
From | struct NSDataBase64DecodingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var IgnoreUnknownCharacters: NSDataBase64DecodingOptions { get }
} | OptionSetType |
To | struct Base64DecodingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get }
}
extension NSData.Base64DecodingOptions {
func union(_ other: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions
func intersection(_ other: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions
func symmetricDifference(_ other: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions
}
extension NSData.Base64DecodingOptions {
func contains(_ member: NSData.Base64DecodingOptions) -> Bool
mutating func insert(_ newMember: NSData.Base64DecodingOptions) -> (inserted: Bool, memberAfterInsert: NSData.Base64DecodingOptions)
mutating func remove(_ member: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions?
mutating func update(with newMember: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions?
}
extension NSData.Base64DecodingOptions {
convenience init()
mutating func formUnion(_ other: NSData.Base64DecodingOptions)
mutating func formIntersection(_ other: NSData.Base64DecodingOptions)
mutating func formSymmetricDifference(_ other: NSData.Base64DecodingOptions)
}
extension NSData.Base64DecodingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSData.Base64DecodingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSData.Base64DecodingOptions...)
mutating func subtract(_ other: NSData.Base64DecodingOptions)
func isSubset(of other: NSData.Base64DecodingOptions) -> Bool
func isSuperset(of other: NSData.Base64DecodingOptions) -> Bool
func isDisjoint(with other: NSData.Base64DecodingOptions) -> Bool
func subtracting(_ other: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSData.Base64DecodingOptions) -> Bool
func isStrictSubset(of other: NSData.Base64DecodingOptions) -> Bool
}
extension NSData.Base64DecodingOptions {
func intersect(_ other: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions
func exclusiveOr(_ other: NSData.Base64DecodingOptions) -> NSData.Base64DecodingOptions
mutating func unionInPlace(_ other: NSData.Base64DecodingOptions)
mutating func intersectInPlace(_ other: NSData.Base64DecodingOptions)
mutating func exclusiveOrInPlace(_ other: NSData.Base64DecodingOptions)
func isSubsetOf(_ other: NSData.Base64DecodingOptions) -> Bool
func isDisjointWith(_ other: NSData.Base64DecodingOptions) -> Bool
func isSupersetOf(_ other: NSData.Base64DecodingOptions) -> Bool
mutating func subtractInPlace(_ other: NSData.Base64DecodingOptions)
func isStrictSupersetOf(_ other: NSData.Base64DecodingOptions) -> Bool
func isStrictSubsetOf(_ other: NSData.Base64DecodingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | IgnoreUnknownCharacters | static var IgnoreUnknownCharacters: NSDataBase64DecodingOptions { get } |
To | ignoreUnknownCharacters | static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get } |
---|
| Declaration | Protocols |
From | struct NSDataBase64EncodingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Encoding64CharacterLineLength: NSDataBase64EncodingOptions { get }
static var Encoding76CharacterLineLength: NSDataBase64EncodingOptions { get }
static var EncodingEndLineWithCarriageReturn: NSDataBase64EncodingOptions { get }
static var EncodingEndLineWithLineFeed: NSDataBase64EncodingOptions { get }
} | OptionSetType |
To | 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 }
}
extension NSData.Base64EncodingOptions {
func union(_ other: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions
func intersection(_ other: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions
func symmetricDifference(_ other: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions
}
extension NSData.Base64EncodingOptions {
func contains(_ member: NSData.Base64EncodingOptions) -> Bool
mutating func insert(_ newMember: NSData.Base64EncodingOptions) -> (inserted: Bool, memberAfterInsert: NSData.Base64EncodingOptions)
mutating func remove(_ member: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions?
mutating func update(with newMember: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions?
}
extension NSData.Base64EncodingOptions {
convenience init()
mutating func formUnion(_ other: NSData.Base64EncodingOptions)
mutating func formIntersection(_ other: NSData.Base64EncodingOptions)
mutating func formSymmetricDifference(_ other: NSData.Base64EncodingOptions)
}
extension NSData.Base64EncodingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSData.Base64EncodingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSData.Base64EncodingOptions...)
mutating func subtract(_ other: NSData.Base64EncodingOptions)
func isSubset(of other: NSData.Base64EncodingOptions) -> Bool
func isSuperset(of other: NSData.Base64EncodingOptions) -> Bool
func isDisjoint(with other: NSData.Base64EncodingOptions) -> Bool
func subtracting(_ other: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSData.Base64EncodingOptions) -> Bool
func isStrictSubset(of other: NSData.Base64EncodingOptions) -> Bool
}
extension NSData.Base64EncodingOptions {
func intersect(_ other: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions
func exclusiveOr(_ other: NSData.Base64EncodingOptions) -> NSData.Base64EncodingOptions
mutating func unionInPlace(_ other: NSData.Base64EncodingOptions)
mutating func intersectInPlace(_ other: NSData.Base64EncodingOptions)
mutating func exclusiveOrInPlace(_ other: NSData.Base64EncodingOptions)
func isSubsetOf(_ other: NSData.Base64EncodingOptions) -> Bool
func isDisjointWith(_ other: NSData.Base64EncodingOptions) -> Bool
func isSupersetOf(_ other: NSData.Base64EncodingOptions) -> Bool
mutating func subtractInPlace(_ other: NSData.Base64EncodingOptions)
func isStrictSupersetOf(_ other: NSData.Base64EncodingOptions) -> Bool
func isStrictSubsetOf(_ other: NSData.Base64EncodingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | EncodingEndLineWithCarriageReturn | static var EncodingEndLineWithCarriageReturn: NSDataBase64EncodingOptions { get } |
To | endLineWithCarriageReturn | static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get } |
---|
| Name | Declaration |
From | EncodingEndLineWithLineFeed | static var EncodingEndLineWithLineFeed: NSDataBase64EncodingOptions { get } |
To | endLineWithLineFeed | static var endLineWithLineFeed: NSData.Base64EncodingOptions { get } |
---|
| Name | Declaration |
From | Encoding64CharacterLineLength | static var Encoding64CharacterLineLength: NSDataBase64EncodingOptions { get } |
To | lineLength64Characters | static var lineLength64Characters: NSData.Base64EncodingOptions { get } |
---|
| Name | Declaration |
From | Encoding76CharacterLineLength | static var Encoding76CharacterLineLength: NSDataBase64EncodingOptions { get } |
To | lineLength76Characters | static var lineLength76Characters: NSData.Base64EncodingOptions { get } |
---|
| Declaration | Protocols |
From | struct NSDataReadingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var DataReadingMappedIfSafe: NSDataReadingOptions { get }
static var DataReadingUncached: NSDataReadingOptions { get }
static var DataReadingMappedAlways: NSDataReadingOptions { get }
static var DataReadingMapped: NSDataReadingOptions { get }
static var MappedRead: NSDataReadingOptions { get }
static var UncachedRead: NSDataReadingOptions { get }
} | OptionSetType |
To | 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 }
}
extension NSData.ReadingOptions {
func union(_ other: NSData.ReadingOptions) -> NSData.ReadingOptions
func intersection(_ other: NSData.ReadingOptions) -> NSData.ReadingOptions
func symmetricDifference(_ other: NSData.ReadingOptions) -> NSData.ReadingOptions
}
extension NSData.ReadingOptions {
func contains(_ member: NSData.ReadingOptions) -> Bool
mutating func insert(_ newMember: NSData.ReadingOptions) -> (inserted: Bool, memberAfterInsert: NSData.ReadingOptions)
mutating func remove(_ member: NSData.ReadingOptions) -> NSData.ReadingOptions?
mutating func update(with newMember: NSData.ReadingOptions) -> NSData.ReadingOptions?
}
extension NSData.ReadingOptions {
convenience init()
mutating func formUnion(_ other: NSData.ReadingOptions)
mutating func formIntersection(_ other: NSData.ReadingOptions)
mutating func formSymmetricDifference(_ other: NSData.ReadingOptions)
}
extension NSData.ReadingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSData.ReadingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSData.ReadingOptions...)
mutating func subtract(_ other: NSData.ReadingOptions)
func isSubset(of other: NSData.ReadingOptions) -> Bool
func isSuperset(of other: NSData.ReadingOptions) -> Bool
func isDisjoint(with other: NSData.ReadingOptions) -> Bool
func subtracting(_ other: NSData.ReadingOptions) -> NSData.ReadingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSData.ReadingOptions) -> Bool
func isStrictSubset(of other: NSData.ReadingOptions) -> Bool
}
extension NSData.ReadingOptions {
func intersect(_ other: NSData.ReadingOptions) -> NSData.ReadingOptions
func exclusiveOr(_ other: NSData.ReadingOptions) -> NSData.ReadingOptions
mutating func unionInPlace(_ other: NSData.ReadingOptions)
mutating func intersectInPlace(_ other: NSData.ReadingOptions)
mutating func exclusiveOrInPlace(_ other: NSData.ReadingOptions)
func isSubsetOf(_ other: NSData.ReadingOptions) -> Bool
func isDisjointWith(_ other: NSData.ReadingOptions) -> Bool
func isSupersetOf(_ other: NSData.ReadingOptions) -> Bool
mutating func subtractInPlace(_ other: NSData.ReadingOptions)
func isStrictSupersetOf(_ other: NSData.ReadingOptions) -> Bool
func isStrictSubsetOf(_ other: NSData.ReadingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | DataReadingMappedAlways | static var DataReadingMappedAlways: NSDataReadingOptions { get } |
To | alwaysMapped | static var alwaysMapped: NSData.ReadingOptions { get } |
---|
| Name | Declaration |
From | DataReadingMapped | static var DataReadingMapped: NSDataReadingOptions { get } |
To | dataReadingMapped | static var dataReadingMapped: NSData.ReadingOptions { get } |
---|
| Name | Declaration |
From | DataReadingMappedIfSafe | static var DataReadingMappedIfSafe: NSDataReadingOptions { get } |
To | mappedIfSafe | static var mappedIfSafe: NSData.ReadingOptions { get } |
---|
| Name | Declaration |
From | MappedRead | static var MappedRead: NSDataReadingOptions { get } |
To | mappedRead | static var mappedRead: NSData.ReadingOptions { get } |
---|
| Name | Declaration |
From | DataReadingUncached | static var DataReadingUncached: NSDataReadingOptions { get } |
To | uncached | static var uncached: NSData.ReadingOptions { get } |
---|
| Name | Declaration |
From | UncachedRead | static var UncachedRead: NSDataReadingOptions { get } |
To | uncachedRead | static var uncachedRead: NSData.ReadingOptions { get } |
---|
| Declaration | Protocols |
From | struct NSDataSearchOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Backwards: NSDataSearchOptions { get }
static var Anchored: NSDataSearchOptions { get }
} | OptionSetType |
To | struct SearchOptions : OptionSet {
init(rawValue rawValue: UInt)
static var backwards: NSData.SearchOptions { get }
static var anchored: NSData.SearchOptions { get }
}
extension NSData.SearchOptions {
func union(_ other: NSData.SearchOptions) -> NSData.SearchOptions
func intersection(_ other: NSData.SearchOptions) -> NSData.SearchOptions
func symmetricDifference(_ other: NSData.SearchOptions) -> NSData.SearchOptions
}
extension NSData.SearchOptions {
func contains(_ member: NSData.SearchOptions) -> Bool
mutating func insert(_ newMember: NSData.SearchOptions) -> (inserted: Bool, memberAfterInsert: NSData.SearchOptions)
mutating func remove(_ member: NSData.SearchOptions) -> NSData.SearchOptions?
mutating func update(with newMember: NSData.SearchOptions) -> NSData.SearchOptions?
}
extension NSData.SearchOptions {
convenience init()
mutating func formUnion(_ other: NSData.SearchOptions)
mutating func formIntersection(_ other: NSData.SearchOptions)
mutating func formSymmetricDifference(_ other: NSData.SearchOptions)
}
extension NSData.SearchOptions {
convenience init<S : Sequence where S.Iterator.Element == NSData.SearchOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSData.SearchOptions...)
mutating func subtract(_ other: NSData.SearchOptions)
func isSubset(of other: NSData.SearchOptions) -> Bool
func isSuperset(of other: NSData.SearchOptions) -> Bool
func isDisjoint(with other: NSData.SearchOptions) -> Bool
func subtracting(_ other: NSData.SearchOptions) -> NSData.SearchOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSData.SearchOptions) -> Bool
func isStrictSubset(of other: NSData.SearchOptions) -> Bool
}
extension NSData.SearchOptions {
func intersect(_ other: NSData.SearchOptions) -> NSData.SearchOptions
func exclusiveOr(_ other: NSData.SearchOptions) -> NSData.SearchOptions
mutating func unionInPlace(_ other: NSData.SearchOptions)
mutating func intersectInPlace(_ other: NSData.SearchOptions)
mutating func exclusiveOrInPlace(_ other: NSData.SearchOptions)
func isSubsetOf(_ other: NSData.SearchOptions) -> Bool
func isDisjointWith(_ other: NSData.SearchOptions) -> Bool
func isSupersetOf(_ other: NSData.SearchOptions) -> Bool
mutating func subtractInPlace(_ other: NSData.SearchOptions)
func isStrictSupersetOf(_ other: NSData.SearchOptions) -> Bool
func isStrictSubsetOf(_ other: NSData.SearchOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | Anchored | static var Anchored: NSDataSearchOptions { get } |
To | anchored | static var anchored: NSData.SearchOptions { get } |
---|
| Name | Declaration |
From | Backwards | static var Backwards: NSDataSearchOptions { get } |
To | backwards | static var backwards: NSData.SearchOptions { get } |
---|
| Declaration | Protocols |
From | struct NSDataWritingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var DataWritingAtomic: NSDataWritingOptions { get }
static var DataWritingWithoutOverwriting: NSDataWritingOptions { get }
static var DataWritingFileProtectionNone: NSDataWritingOptions { get }
static var DataWritingFileProtectionComplete: NSDataWritingOptions { get }
static var DataWritingFileProtectionCompleteUnlessOpen: NSDataWritingOptions { get }
static var DataWritingFileProtectionCompleteUntilFirstUserAuthentication: NSDataWritingOptions { get }
static var DataWritingFileProtectionMask: NSDataWritingOptions { get }
static var AtomicWrite: NSDataWritingOptions { get }
} | OptionSetType |
To | 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 }
}
extension NSData.WritingOptions {
func union(_ other: NSData.WritingOptions) -> NSData.WritingOptions
func intersection(_ other: NSData.WritingOptions) -> NSData.WritingOptions
func symmetricDifference(_ other: NSData.WritingOptions) -> NSData.WritingOptions
}
extension NSData.WritingOptions {
func contains(_ member: NSData.WritingOptions) -> Bool
mutating func insert(_ newMember: NSData.WritingOptions) -> (inserted: Bool, memberAfterInsert: NSData.WritingOptions)
mutating func remove(_ member: NSData.WritingOptions) -> NSData.WritingOptions?
mutating func update(with newMember: NSData.WritingOptions) -> NSData.WritingOptions?
}
extension NSData.WritingOptions {
convenience init()
mutating func formUnion(_ other: NSData.WritingOptions)
mutating func formIntersection(_ other: NSData.WritingOptions)
mutating func formSymmetricDifference(_ other: NSData.WritingOptions)
}
extension NSData.WritingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSData.WritingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSData.WritingOptions...)
mutating func subtract(_ other: NSData.WritingOptions)
func isSubset(of other: NSData.WritingOptions) -> Bool
func isSuperset(of other: NSData.WritingOptions) -> Bool
func isDisjoint(with other: NSData.WritingOptions) -> Bool
func subtracting(_ other: NSData.WritingOptions) -> NSData.WritingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSData.WritingOptions) -> Bool
func isStrictSubset(of other: NSData.WritingOptions) -> Bool
}
extension NSData.WritingOptions {
func intersect(_ other: NSData.WritingOptions) -> NSData.WritingOptions
func exclusiveOr(_ other: NSData.WritingOptions) -> NSData.WritingOptions
mutating func unionInPlace(_ other: NSData.WritingOptions)
mutating func intersectInPlace(_ other: NSData.WritingOptions)
mutating func exclusiveOrInPlace(_ other: NSData.WritingOptions)
func isSubsetOf(_ other: NSData.WritingOptions) -> Bool
func isDisjointWith(_ other: NSData.WritingOptions) -> Bool
func isSupersetOf(_ other: NSData.WritingOptions) -> Bool
mutating func subtractInPlace(_ other: NSData.WritingOptions)
func isStrictSupersetOf(_ other: NSData.WritingOptions) -> Bool
func isStrictSubsetOf(_ other: NSData.WritingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | DataWritingAtomic | static var DataWritingAtomic: NSDataWritingOptions { get } |
To | atomic | static var atomic: NSData.WritingOptions { get } |
---|
| Name | Declaration |
From | AtomicWrite | static var AtomicWrite: NSDataWritingOptions { get } |
To | atomicWrite | static var atomicWrite: NSData.WritingOptions { get } |
---|
| Name | Declaration |
From | DataWritingWithoutOverwriting | static var DataWritingWithoutOverwriting: NSDataWritingOptions { get } |
To | withoutOverwriting | static var withoutOverwriting: NSData.WritingOptions { get } |
---|
| Declaration | Protocols |
From | class NSDataDetector : NSRegularExpression {
init(types checkingTypes: NSTextCheckingTypes) throws
class func dataDetectorWithTypes(_ checkingTypes: NSTextCheckingTypes) throws -> NSDataDetector
init(types checkingTypes: NSTextCheckingTypes) throws
var checkingTypes: NSTextCheckingTypes { get }
} | -- |
To | class NSDataDetector : NSRegularExpression {
init(types checkingTypes: NSTextCheckingTypes) throws
class func withTypes(_ checkingTypes: NSTextCheckingTypes) throws -> NSDataDetector
init(types checkingTypes: NSTextCheckingTypes) throws
var checkingTypes: NSTextCheckingTypes { get }
func stringByReplacingMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> String
func replaceMatches(in string: NSMutableString, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> Int
func replacementString(for result: NSTextCheckingResult, in string: String, offset offset: Int, template templ: String) -> String
class func escapedTemplate(for string: String) -> String
func enumerateMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, using block: (NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void)
func matches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> [NSTextCheckingResult]
func numberOfMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> Int
func firstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSTextCheckingResult?
func rangeOfFirstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSRange
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSRegularExpression.Options { get }
static var allowCommentsAndWhitespace: NSRegularExpression.Options { get }
static var ignoreMetacharacters: NSRegularExpression.Options { get }
static var dotMatchesLineSeparators: NSRegularExpression.Options { get }
static var anchorsMatchLines: NSRegularExpression.Options { get }
static var useUnixLineSeparators: NSRegularExpression.Options { get }
static var useUnicodeWordBoundaries: NSRegularExpression.Options { get }
}
struct MatchingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reportProgress: NSRegularExpression.MatchingOptions { get }
static var reportCompletion: NSRegularExpression.MatchingOptions { get }
static var anchored: NSRegularExpression.MatchingOptions { get }
static var withTransparentBounds: NSRegularExpression.MatchingOptions { get }
static var withoutAnchoringBounds: NSRegularExpression.MatchingOptions { get }
}
struct MatchingFlags : OptionSet {
init(rawValue rawValue: UInt)
static var progress: NSRegularExpression.MatchingFlags { get }
static var completed: NSRegularExpression.MatchingFlags { get }
static var hitEnd: NSRegularExpression.MatchingFlags { get }
static var requiredEnd: NSRegularExpression.MatchingFlags { get }
static var internalError: NSRegularExpression.MatchingFlags { 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 NSDataDetector : CVarArg {
}
extension NSDataDetector : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration | Protocols |
From | class NSDate : NSObject, NSCopying, NSSecureCoding {
var timeIntervalSinceReferenceDate: NSTimeInterval { get }
init()
init(timeIntervalSinceReferenceDate ti: NSTimeInterval)
init?(coder aDecoder: NSCoder)
}
extension NSDate : CKRecordValue {
}
extension NSDate {
class func dateWithNaturalLanguageString(_ string: String, locale locale: AnyObject?) -> AnyObject?
class func dateWithNaturalLanguageString(_ string: String) -> AnyObject?
class func dateWithString(_ aString: String) -> AnyObject
func dateWithCalendarFormat(_ format: String?, timeZone aTimeZone: NSTimeZone?) -> NSCalendarDate
func descriptionWithCalendarFormat(_ format: String?, timeZone aTimeZone: NSTimeZone?, locale locale: AnyObject?) -> String?
convenience init?(string description: String)
}
extension NSDate : _Reflectable {
}
extension NSDate {
func timeIntervalSinceDate(_ anotherDate: NSDate) -> NSTimeInterval
var timeIntervalSinceNow: NSTimeInterval { get }
var timeIntervalSince1970: NSTimeInterval { get }
func addTimeInterval(_ seconds: NSTimeInterval) -> AnyObject
func dateByAddingTimeInterval(_ ti: NSTimeInterval) -> Self
func earlierDate(_ anotherDate: NSDate) -> NSDate
func laterDate(_ anotherDate: NSDate) -> NSDate
func compare(_ other: NSDate) -> NSComparisonResult
func isEqualToDate(_ otherDate: NSDate) -> Bool
var description: String { get }
func descriptionWithLocale(_ locale: AnyObject?) -> String
class func timeIntervalSinceReferenceDate() -> NSTimeInterval
}
extension NSDate {
class func date() -> Self
convenience init(timeIntervalSinceNow secs: NSTimeInterval)
class func dateWithTimeIntervalSinceNow(_ secs: NSTimeInterval) -> Self
class func dateWithTimeIntervalSinceReferenceDate(_ ti: NSTimeInterval) -> Self
convenience init(timeIntervalSince1970 secs: NSTimeInterval)
class func dateWithTimeIntervalSince1970(_ secs: NSTimeInterval) -> Self
convenience init(timeInterval secsToBeAdded: NSTimeInterval, sinceDate date: NSDate)
class func dateWithTimeInterval(_ secsToBeAdded: NSTimeInterval, sinceDate date: NSDate) -> Self
class func distantFuture() -> NSDate
class func distantPast() -> NSDate
convenience init(timeIntervalSinceNow secs: NSTimeInterval)
convenience init(timeIntervalSince1970 secs: NSTimeInterval)
convenience init(timeInterval secsToBeAdded: NSTimeInterval, sinceDate date: NSDate)
}
extension NSDate : _Reflectable {
} | CKRecordValue, NSCopying, NSSecureCoding |
To | class NSDate : NSObject, NSCopying, NSSecureCoding {
var timeIntervalSinceReferenceDate: TimeInterval { get }
init()
init(timeIntervalSinceReferenceDate ti: TimeInterval)
init?(coder aDecoder: NSCoder)
class func date(withNaturalLanguageString string: String, locale locale: Any?) -> Any?
class func date(withNaturalLanguageString string: String) -> Any?
class func date(with aString: String) -> Any
func date(withCalendarFormat format: String?, timeZone aTimeZone: TimeZone?) -> NSCalendarDate
func description(withCalendarFormat format: String?, timeZone aTimeZone: TimeZone?, locale locale: Any?) -> String?
convenience init?(string description: String)
class func date() -> Self
convenience init(timeIntervalSinceNow secs: TimeInterval)
class func withTimeInterval(sinceNow secs: TimeInterval) -> Self
class func withTimeInterval(sinceReferenceDate ti: TimeInterval) -> Self
convenience init(timeIntervalSince1970 secs: TimeInterval)
class func withTimeIntervalSince1970(_ secs: TimeInterval) -> Self
convenience init(timeInterval secsToBeAdded: TimeInterval, since date: Date)
class func withTimeInterval(_ secsToBeAdded: TimeInterval, since date: Date) -> Self
class var distantFuture: Date { get }
class var distantPast: Date { get }
convenience init(timeIntervalSinceNow secs: TimeInterval)
convenience init(timeIntervalSince1970 secs: TimeInterval)
convenience init(timeInterval secsToBeAdded: TimeInterval, since date: Date)
func timeIntervalSince(_ anotherDate: Date) -> TimeInterval
var timeIntervalSinceNow: TimeInterval { get }
var timeIntervalSince1970: TimeInterval { get }
func addTimeInterval(_ seconds: TimeInterval) -> Any
func addingTimeInterval(_ ti: TimeInterval) -> Self
func earlierDate(_ anotherDate: Date) -> Date
func laterDate(_ anotherDate: Date) -> Date
func compare(_ other: Date) -> ComparisonResult
func isEqual(to otherDate: Date) -> Bool
var description: String { get }
func description(with locale: Any?) -> String
class var timeIntervalSinceReferenceDate: TimeInterval { 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 NSDate : CKRecordValue {
}
extension NSDate {
class func date(withNaturalLanguageString string: String, locale locale: Any?) -> Any?
class func date(withNaturalLanguageString string: String) -> Any?
class func date(with aString: String) -> Any
func date(withCalendarFormat format: String?, timeZone aTimeZone: TimeZone?) -> NSCalendarDate
func description(withCalendarFormat format: String?, timeZone aTimeZone: TimeZone?, locale locale: Any?) -> String?
convenience init?(string description: String)
}
extension NSDate : CVarArg {
}
extension NSDate : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
}
extension NSDate : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSDate {
func timeIntervalSince(_ anotherDate: Date) -> TimeInterval
var timeIntervalSinceNow: TimeInterval { get }
var timeIntervalSince1970: TimeInterval { get }
func addTimeInterval(_ seconds: TimeInterval) -> Any
func addingTimeInterval(_ ti: TimeInterval) -> Self
func earlierDate(_ anotherDate: Date) -> Date
func laterDate(_ anotherDate: Date) -> Date
func compare(_ other: Date) -> ComparisonResult
func isEqual(to otherDate: Date) -> Bool
var description: String { get }
func description(with locale: Any?) -> String
class var timeIntervalSinceReferenceDate: TimeInterval { get }
}
extension NSDate {
class func date() -> Self
convenience init(timeIntervalSinceNow secs: TimeInterval)
class func withTimeInterval(sinceNow secs: TimeInterval) -> Self
class func withTimeInterval(sinceReferenceDate ti: TimeInterval) -> Self
convenience init(timeIntervalSince1970 secs: TimeInterval)
class func withTimeIntervalSince1970(_ secs: TimeInterval) -> Self
convenience init(timeInterval secsToBeAdded: TimeInterval, since date: Date)
class func withTimeInterval(_ secsToBeAdded: TimeInterval, since date: Date) -> Self
class var distantFuture: Date { get }
class var distantPast: Date { get }
convenience init(timeIntervalSinceNow secs: TimeInterval)
convenience init(timeIntervalSince1970 secs: TimeInterval)
convenience init(timeInterval secsToBeAdded: TimeInterval, since date: Date)
}
extension NSDate {
}
extension NSDate : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
} | CKRecordValue, CVarArg, CustomPlaygroundQuickLookable, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func dateByAddingTimeInterval(_ ti: NSTimeInterval) -> Self |
To | func addingTimeInterval(_ ti: TimeInterval) -> Self |
---|
| Declaration |
From | func compare(_ other: NSDate) -> NSComparisonResult |
To | func compare(_ other: Date) -> ComparisonResult |
---|
| Declaration |
From | class func dateWithString(_ aString: String) -> AnyObject |
To | class func date(with aString: String) -> Any |
---|
| Declaration |
From | func dateWithCalendarFormat(_ format: String?, timeZone aTimeZone: NSTimeZone?) -> NSCalendarDate |
To | func date(withCalendarFormat format: String?, timeZone aTimeZone: TimeZone?) -> NSCalendarDate |
---|
| Declaration |
From | class func dateWithNaturalLanguageString(_ string: String) -> AnyObject? |
To | class func date(withNaturalLanguageString string: String) -> Any? |
---|
| Declaration |
From | class func dateWithNaturalLanguageString(_ string: String, locale locale: AnyObject?) -> AnyObject? |
To | class func date(withNaturalLanguageString string: String, locale locale: Any?) -> Any? |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?) -> String |
To | func description(with locale: Any?) -> String |
---|
| Declaration |
From | func descriptionWithCalendarFormat(_ format: String?, timeZone aTimeZone: NSTimeZone?, locale locale: AnyObject?) -> String? |
To | func description(withCalendarFormat format: String?, timeZone aTimeZone: TimeZone?, locale locale: Any?) -> String? |
---|
| Declaration |
From | func earlierDate(_ anotherDate: NSDate) -> NSDate |
To | func earlierDate(_ anotherDate: Date) -> Date |
---|
| Declaration |
From | convenience init(timeInterval secsToBeAdded: NSTimeInterval, sinceDate date: NSDate) |
To | convenience init(timeInterval secsToBeAdded: TimeInterval, since date: Date) |
---|
| Declaration |
From | convenience init(timeIntervalSince1970 secs: NSTimeInterval) |
To | convenience init(timeIntervalSince1970 secs: TimeInterval) |
---|
| Declaration |
From | convenience init(timeIntervalSinceNow secs: NSTimeInterval) |
To | convenience init(timeIntervalSinceNow secs: TimeInterval) |
---|
| Declaration |
From | init(timeIntervalSinceReferenceDate ti: NSTimeInterval) |
To | init(timeIntervalSinceReferenceDate ti: TimeInterval) |
---|
| Declaration |
From | func isEqualToDate(_ otherDate: NSDate) -> Bool |
To | func isEqual(to otherDate: Date) -> Bool |
---|
| Declaration |
From | func laterDate(_ anotherDate: NSDate) -> NSDate |
To | func laterDate(_ anotherDate: Date) -> Date |
---|
| Declaration |
From | func timeIntervalSinceDate(_ anotherDate: NSDate) -> NSTimeInterval |
To | func timeIntervalSince(_ anotherDate: Date) -> TimeInterval |
---|
| Declaration |
From | var timeIntervalSince1970: NSTimeInterval { get } |
To | var timeIntervalSince1970: TimeInterval { get } |
---|
| Declaration |
From | var timeIntervalSinceNow: NSTimeInterval { get } |
To | var timeIntervalSinceNow: TimeInterval { get } |
---|
| Declaration |
From | var timeIntervalSinceReferenceDate: NSTimeInterval { get } |
To | var timeIntervalSinceReferenceDate: TimeInterval { get } |
---|
| Declaration | Protocols |
From | class NSDateComponents : NSObject, NSCopying, NSSecureCoding {
@NSCopying var calendar: NSCalendar?
@NSCopying var timeZone: NSTimeZone?
var era: Int
var year: Int
var month: Int
var day: Int
var hour: Int
var minute: Int
var second: Int
var nanosecond: Int
var weekday: Int
var weekdayOrdinal: Int
var quarter: Int
var weekOfMonth: Int
var weekOfYear: Int
var yearForWeekOfYear: Int
var leapMonth: Bool
@NSCopying var date: NSDate? { get }
func week() -> Int
func setWeek(_ v: Int)
func setValue(_ value: Int, forComponent unit: NSCalendarUnit)
func valueForComponent(_ unit: NSCalendarUnit) -> Int
var validDate: Bool { get }
func isValidDateInCalendar(_ calendar: NSCalendar) -> Bool
} | NSCopying, NSSecureCoding |
To | class NSDateComponents : NSObject, NSCopying, NSSecureCoding {
var calendar: Calendar?
var timeZone: TimeZone?
var era: Int
var year: Int
var month: Int
var day: Int
var hour: Int
var minute: Int
var second: Int
var nanosecond: Int
var weekday: Int
var weekdayOrdinal: Int
var quarter: Int
var weekOfMonth: Int
var weekOfYear: Int
var yearForWeekOfYear: Int
var isLeapMonth: Bool
var date: Date? { get }
func week() -> Int
func setWeek(_ v: Int)
func setValue(_ value: Int, forComponent unit: NSCalendar.Unit)
func value(forComponent unit: NSCalendar.Unit) -> Int
var isValidDate: Bool { get }
func isValidDate(in calendar: Calendar) -> Bool
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 NSDateComponents : CVarArg {
}
extension NSDateComponents : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSDateComponents {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | @NSCopying var calendar: NSCalendar? |
To | var calendar: Calendar? |
---|
| Declaration |
From | @NSCopying var date: NSDate? { get } |
To | var date: Date? { get } |
---|
| Declaration |
From | var leapMonth: Bool |
To | var isLeapMonth: Bool |
---|
| Declaration |
From | var validDate: Bool { get } |
To | var isValidDate: Bool { get } |
---|
| Declaration |
From | func isValidDateInCalendar(_ calendar: NSCalendar) -> Bool |
To | func isValidDate(in calendar: Calendar) -> Bool |
---|
| Declaration |
From | func setValue(_ value: Int, forComponent unit: NSCalendarUnit) |
To | func setValue(_ value: Int, forComponent unit: NSCalendar.Unit) |
---|
| Declaration |
From | @NSCopying var timeZone: NSTimeZone? |
To | var timeZone: TimeZone? |
---|
| Declaration |
From | func valueForComponent(_ unit: NSCalendarUnit) -> Int |
To | func value(forComponent unit: NSCalendar.Unit) -> Int |
---|
| Declaration | Protocols |
From | class NSDecimalNumber : NSNumber {
convenience init(mantissa mantissa: UInt64, exponent exponent: Int16, isNegative flag: Bool)
init(decimal dcm: NSDecimal)
convenience init(string numberValue: String?)
convenience init(string numberValue: String?, locale locale: AnyObject?)
func descriptionWithLocale(_ locale: AnyObject?) -> String
var decimalValue: NSDecimal { get }
class func decimalNumberWithMantissa(_ mantissa: UInt64, exponent exponent: Int16, isNegative flag: Bool) -> NSDecimalNumber
class func decimalNumberWithDecimal(_ dcm: NSDecimal) -> NSDecimalNumber
class func decimalNumberWithString(_ numberValue: String?) -> NSDecimalNumber
class func decimalNumberWithString(_ numberValue: String?, locale locale: AnyObject?) -> NSDecimalNumber
class func zero() -> NSDecimalNumber
class func one() -> NSDecimalNumber
class func minimumDecimalNumber() -> NSDecimalNumber
class func maximumDecimalNumber() -> NSDecimalNumber
class func notANumber() -> NSDecimalNumber
func decimalNumberByAdding(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func decimalNumberByAdding(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func decimalNumberBySubtracting(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func decimalNumberBySubtracting(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func decimalNumberByMultiplyingBy(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func decimalNumberByMultiplyingBy(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func decimalNumberByDividingBy(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func decimalNumberByDividingBy(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func decimalNumberByRaisingToPower(_ power: Int) -> NSDecimalNumber
func decimalNumberByRaisingToPower(_ power: Int, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func decimalNumberByMultiplyingByPowerOf10(_ power: Int16) -> NSDecimalNumber
func decimalNumberByMultiplyingByPowerOf10(_ power: Int16, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func decimalNumberByRoundingAccordingToBehavior(_ behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func compare(_ decimalNumber: NSNumber) -> NSComparisonResult
class func setDefaultBehavior(_ behavior: NSDecimalNumberBehaviors)
class func defaultBehavior() -> NSDecimalNumberBehaviors
var objCType: UnsafePointer<Int8> { get }
var doubleValue: Double { get }
} | -- |
To | class NSDecimalNumber : NSNumber {
convenience init(mantissa mantissa: UInt64, exponent exponent: Int16, isNegative flag: Bool)
init(decimal dcm: Decimal)
convenience init(string numberValue: String?)
convenience init(string numberValue: String?, locale locale: Any?)
func description(withLocale locale: Any?) -> String
var decimalValue: Decimal { get }
class func withMantissa(_ mantissa: UInt64, exponent exponent: Int16, isNegative flag: Bool) -> NSDecimalNumber
class func withDecimal(_ dcm: Decimal) -> NSDecimalNumber
class func withString(_ numberValue: String?) -> NSDecimalNumber
class func withString(_ numberValue: String?, locale locale: Any?) -> NSDecimalNumber
@NSCopying class var zero: NSDecimalNumber { get }
@NSCopying class var one: NSDecimalNumber { get }
@NSCopying class var minimum: NSDecimalNumber { get }
@NSCopying class var maximum: NSDecimalNumber { get }
@NSCopying class var notANumber: NSDecimalNumber { get }
func adding(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func adding(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func subtracting(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func subtracting(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func multiplying(by decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func multiplying(by decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func dividing(by decimalNumber: NSDecimalNumber) -> NSDecimalNumber
func dividing(by decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func raising(toPower power: Int) -> NSDecimalNumber
func raising(toPower power: Int, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func multiplying(byPowerOf10 power: Int16) -> NSDecimalNumber
func multiplying(byPowerOf10 power: Int16, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func rounding(accordingToBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber
func compare(_ decimalNumber: NSNumber) -> ComparisonResult
class var defaultBehavior: NSDecimalNumberBehaviors
var objCType: UnsafePointer<Int8> { get }
var doubleValue: Double { get }
enum RoundingMode : UInt {
case plain
case down
case up
case bankers
}
enum CalculationError : UInt {
case noError
case lossOfPrecision
case underflow
case overflow
case divideByZero
}
var decimalValue: Decimal { get }
init(char value: Int8)
class func withChar(_ value: Int8) -> NSNumber
init(unsignedChar value: UInt8)
class func withUnsignedChar(_ value: UInt8) -> NSNumber
init(short value: Int16)
class func withShort(_ value: Int16) -> NSNumber
init(unsignedShort value: UInt16)
class func withUnsignedShort(_ value: UInt16) -> NSNumber
init(int value: Int32)
class func withInt(_ value: Int32) -> NSNumber
init(unsignedInt value: UInt32)
class func withUnsignedInt(_ value: UInt32) -> NSNumber
init(long value: Int)
class func withLong(_ value: Int) -> NSNumber
init(unsignedLong value: UInt)
class func withUnsignedLong(_ value: UInt) -> NSNumber
init(longLong value: Int64)
class func withLongLong(_ value: Int64) -> NSNumber
init(unsignedLongLong value: UInt64)
class func withUnsignedLongLong(_ value: UInt64) -> NSNumber
init(float value: Float)
class func withFloat(_ value: Float) -> NSNumber
init(double value: Double)
class func withDouble(_ value: Double) -> NSNumber
init(bool value: Bool)
class func withBool(_ value: Bool) -> NSNumber
init(integer value: Int)
class func withInteger(_ value: Int) -> NSNumber
init(unsignedInteger value: UInt)
class func withUnsignedInteger(_ value: UInt) -> NSNumber
init(point point: NSPoint)
class func withPoint(_ point: NSPoint) -> NSValue
init(size size: NSSize)
class func withSize(_ size: NSSize) -> NSValue
init(rect rect: NSRect)
class func withRect(_ rect: NSRect) -> NSValue
init(edgeInsets insets: EdgeInsets)
class func withEdgeInsets(_ insets: EdgeInsets) -> NSValue
var pointValue: NSPoint { get }
var sizeValue: NSSize { get }
var rectValue: NSRect { get }
var edgeInsetsValue: EdgeInsets { get }
init(range range: NSRange)
class func withRange(_ range: NSRange) -> NSValue
var rangeValue: NSRange { get }
init(nonretainedObject anObject: Any?)
class func withNonretainedObject(_ anObject: Any?) -> NSValue
var nonretainedObjectValue: Any? { get }
init(pointer pointer: UnsafeRawPointer?)
class func withPointer(_ pointer: UnsafeRawPointer?) -> NSValue
var pointerValue: UnsafeMutableRawPointer? { get }
func isEqual(to value: NSValue) -> Bool
class func withBytes(_ value: UnsafeRawPointer, objCType type: UnsafePointer<Int8>) -> NSValue
init(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>)
class func value(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>) -> NSValue
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 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 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 NSDecimalNumber {
enum RoundingMode : UInt {
case plain
case down
case up
case bankers
}
enum CalculationError : UInt {
case noError
case lossOfPrecision
case underflow
case overflow
case divideByZero
}
}
extension NSDecimalNumber : CVarArg {
}
extension NSDecimalNumber : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSDecimalNumber : ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, ExpressibleByBooleanLiteral {
required convenience init(integerLiteral value: Int)
required convenience init(floatLiteral value: Double)
required convenience init(booleanLiteral value: Bool)
} | CVarArg, Equatable, ExpressibleByBooleanLiteral, ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, Hashable |
---|
| Declaration |
From | func decimalNumberByAdding(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
To | func adding(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByAdding(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
To | func adding(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
---|
| Declaration |
From | func compare(_ decimalNumber: NSNumber) -> NSComparisonResult |
To | func compare(_ decimalNumber: NSNumber) -> ComparisonResult |
---|
| Declaration |
From | var decimalValue: NSDecimal { get } |
To | var decimalValue: Decimal { get } |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?) -> String |
To | func description(withLocale locale: Any?) -> String |
---|
| Declaration |
From | func decimalNumberByDividingBy(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
To | func dividing(by decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByDividingBy(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
To | func dividing(by decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
---|
| Declaration |
From | init(decimal dcm: NSDecimal) |
To | init(decimal dcm: Decimal) |
---|
| Declaration |
From | convenience init(string numberValue: String?, locale locale: AnyObject?) |
To | convenience init(string numberValue: String?, locale locale: Any?) |
---|
| Declaration |
From | func decimalNumberByMultiplyingBy(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
To | func multiplying(by decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByMultiplyingBy(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
To | func multiplying(by decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByMultiplyingByPowerOf10(_ power: Int16) -> NSDecimalNumber |
To | func multiplying(byPowerOf10 power: Int16) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByMultiplyingByPowerOf10(_ power: Int16, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
To | func multiplying(byPowerOf10 power: Int16, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByRaisingToPower(_ power: Int) -> NSDecimalNumber |
To | func raising(toPower power: Int) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByRaisingToPower(_ power: Int, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
To | func raising(toPower power: Int, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberByRoundingAccordingToBehavior(_ behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
To | func rounding(accordingToBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberBySubtracting(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
To | func subtracting(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber |
---|
| Declaration |
From | func decimalNumberBySubtracting(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
To | func subtracting(_ decimalNumber: NSDecimalNumber, withBehavior behavior: NSDecimalNumberBehaviors?) -> NSDecimalNumber |
---|
| Declaration |
From | enum NSCalculationError : UInt {
case NoError
case LossOfPrecision
case Underflow
case Overflow
case DivideByZero
} |
To | enum CalculationError : UInt {
case noError
case lossOfPrecision
case underflow
case overflow
case divideByZero
} |
---|
| Name | Declaration | Introduction |
From | DivideByZero | case DivideByZero | OS X 10.10 |
To | divideByZero | case divideByZero | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | LossOfPrecision | case LossOfPrecision | OS X 10.10 |
To | lossOfPrecision | case lossOfPrecision | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NoError | case NoError | OS X 10.10 |
To | noError | case noError | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Overflow | case Overflow | OS X 10.10 |
To | overflow | case overflow | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Underflow | case Underflow | OS X 10.10 |
To | underflow | case underflow | OS X 10.12 |
---|
| Declaration |
From | enum NSRoundingMode : UInt {
case RoundPlain
case RoundDown
case RoundUp
case RoundBankers
} |
To | enum RoundingMode : UInt {
case plain
case down
case up
case bankers
} |
---|
| Name | Declaration | Introduction |
From | RoundBankers | case RoundBankers | OS X 10.10 |
To | bankers | case bankers | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | RoundDown | case RoundDown | OS X 10.10 |
To | down | case down | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | RoundPlain | case RoundPlain | OS X 10.10 |
To | plain | case plain | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | RoundUp | case RoundUp | OS X 10.10 |
To | up | case up | OS X 10.12 |
---|
| Declaration |
From | protocol NSDecimalNumberBehaviors {
func roundingMode() -> NSRoundingMode
func scale() -> Int16
func exceptionDuringOperation(_ operation: Selector, error error: NSCalculationError, leftOperand leftOperand: NSDecimalNumber, rightOperand rightOperand: NSDecimalNumber?) -> NSDecimalNumber?
} |
To | protocol NSDecimalNumberBehaviors {
func roundingMode() -> NSDecimalNumber.RoundingMode
func scale() -> Int16
func exceptionDuringOperation(_ operation: Selector, error error: NSDecimalNumber.CalculationError, leftOperand leftOperand: NSDecimalNumber, rightOperand rightOperand: NSDecimalNumber?) -> NSDecimalNumber?
} |
---|
| Declaration |
From | func exceptionDuringOperation(_ operation: Selector, error error: NSCalculationError, leftOperand leftOperand: NSDecimalNumber, rightOperand rightOperand: NSDecimalNumber?) -> NSDecimalNumber? |
To | func exceptionDuringOperation(_ operation: Selector, error error: NSDecimalNumber.CalculationError, leftOperand leftOperand: NSDecimalNumber, rightOperand rightOperand: NSDecimalNumber?) -> NSDecimalNumber? |
---|
| Declaration |
From | func roundingMode() -> NSRoundingMode |
To | func roundingMode() -> NSDecimalNumber.RoundingMode |
---|
| Declaration | Protocols |
From | class NSDecimalNumberHandler : NSObject, NSDecimalNumberBehaviors, NSCoding {
class func defaultDecimalNumberHandler() -> NSDecimalNumberHandler
init(roundingMode roundingMode: NSRoundingMode, scale scale: Int16, raiseOnExactness exact: Bool, raiseOnOverflow overflow: Bool, raiseOnUnderflow underflow: Bool, raiseOnDivideByZero divideByZero: Bool)
class func decimalNumberHandlerWithRoundingMode(_ roundingMode: NSRoundingMode, scale scale: Int16, raiseOnExactness exact: Bool, raiseOnOverflow overflow: Bool, raiseOnUnderflow underflow: Bool, raiseOnDivideByZero divideByZero: Bool) -> Self
} | NSCoding, NSDecimalNumberBehaviors |
To | class NSDecimalNumberHandler : NSObject, NSDecimalNumberBehaviors, NSCoding {
class func `default`() -> NSDecimalNumberHandler
init(roundingMode roundingMode: NSDecimalNumber.RoundingMode, scale scale: Int16, raiseOnExactness exact: Bool, raiseOnOverflow overflow: Bool, raiseOnUnderflow underflow: Bool, raiseOnDivideByZero divideByZero: Bool)
class func withRoundingMode(_ roundingMode: NSDecimalNumber.RoundingMode, scale scale: Int16, raiseOnExactness exact: Bool, raiseOnOverflow overflow: Bool, raiseOnUnderflow underflow: Bool, raiseOnDivideByZero divideByZero: Bool) -> Self
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 NSDecimalNumberHandler : CVarArg {
}
extension NSDecimalNumberHandler : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSDecimalNumberBehaviors |
---|
| Declaration |
From | class func defaultDecimalNumberHandler() -> NSDecimalNumberHandler |
To | class func `default`() -> NSDecimalNumberHandler |
---|
| Declaration |
From | init(roundingMode roundingMode: NSRoundingMode, scale scale: Int16, raiseOnExactness exact: Bool, raiseOnOverflow overflow: Bool, raiseOnUnderflow underflow: Bool, raiseOnDivideByZero divideByZero: Bool) |
To | init(roundingMode roundingMode: NSDecimalNumber.RoundingMode, scale scale: Int16, raiseOnExactness exact: Bool, raiseOnOverflow overflow: Bool, raiseOnUnderflow underflow: Bool, raiseOnDivideByZero divideByZero: Bool) |
---|
| Declaration | Protocols |
From | class NSDictionary : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func objectForKey(_ aKey: AnyObject) -> AnyObject?
func keyEnumerator() -> NSEnumerator
init()
init(objects objects: UnsafePointer<AnyObject?>, forKeys keys: UnsafePointer<NSCopying?>, count cnt: Int)
init?(coder aDecoder: NSCoder)
}
extension NSDictionary : DictionaryLiteralConvertible {
required convenience init(dictionaryLiteral elements: (NSCopying, AnyObject)...)
}
extension NSDictionary : SequenceType {
final class Generator : GeneratorType {
func next() -> (key: AnyObject, value: AnyObject)?
}
func generate() -> NSDictionary.Generator
}
extension NSDictionary {
@objc(_swiftInitWithDictionary_NSDictionary:) convenience init(dictionary otherDictionary: NSDictionary)
}
extension NSDictionary : _Reflectable {
}
extension NSDictionary {
var allKeys: [AnyObject] { get }
func allKeysForObject(_ anObject: AnyObject) -> [AnyObject]
var allValues: [AnyObject] { get }
var description: String { get }
var descriptionInStringsFileFormat: String { get }
func descriptionWithLocale(_ locale: AnyObject?) -> String
func descriptionWithLocale(_ locale: AnyObject?, indent level: Int) -> String
func isEqualToDictionary(_ otherDictionary: [NSObject : AnyObject]) -> Bool
func objectEnumerator() -> NSEnumerator
func objectsForKeys(_ keys: [AnyObject], notFoundMarker marker: AnyObject) -> [AnyObject]
func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool) -> Bool
func writeToURL(_ url: NSURL, atomically atomically: Bool) -> Bool
func keysSortedByValueUsingSelector(_ comparator: Selector) -> [AnyObject]
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject?>, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject?>, count count: Int)
subscript (_ key: NSCopying) -> AnyObject? { get }
func objectForKeyedSubscript(_ key: NSCopying) -> AnyObject?
func enumerateKeysAndObjectsUsingBlock(_ block: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateKeysAndObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void)
func keysSortedByValueUsingComparator(_ cmptr: NSComparator) -> [AnyObject]
func keysSortedByValueWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) -> [AnyObject]
func keysOfEntriesPassingTest(_ predicate: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject>
func keysOfEntriesWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject>
}
extension NSDictionary {
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject?>, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject?>)
}
extension NSDictionary {
convenience init()
class func dictionary() -> Self
convenience init(object object: AnyObject, forKey key: NSCopying)
class func dictionaryWithObject(_ object: AnyObject, forKey key: NSCopying) -> Self
convenience init(objects objects: UnsafePointer<AnyObject?>, forKeys keys: UnsafePointer<NSCopying?>, count cnt: Int)
class func dictionaryWithObjects(_ objects: UnsafePointer<AnyObject?>, forKeys keys: UnsafePointer<NSCopying?>, count cnt: Int) -> Self
convenience init(dictionary dict: [NSObject : AnyObject])
class func dictionaryWithDictionary(_ dict: [NSObject : AnyObject]) -> Self
convenience init(objects objects: [AnyObject], forKeys keys: [NSCopying])
class func dictionaryWithObjects(_ objects: [AnyObject], forKeys keys: [NSCopying]) -> Self
convenience init(dictionary otherDictionary: [NSObject : AnyObject])
convenience init(dictionary otherDictionary: [NSObject : AnyObject], copyItems flag: Bool)
convenience init(objects objects: [AnyObject], forKeys keys: [NSCopying])
init?(contentsOfFile path: String)
class func dictionaryWithContentsOfFile(_ path: String) -> [NSObject : AnyObject]?
init?(contentsOfURL url: NSURL)
class func dictionaryWithContentsOfURL(_ url: NSURL) -> [NSObject : AnyObject]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOfURL url: NSURL)
}
extension NSDictionary {
class func sharedKeySetForKeys(_ keys: [NSCopying]) -> AnyObject
}
extension NSDictionary {
func fileSize() -> UInt64
func fileModificationDate() -> NSDate?
func fileType() -> String?
func filePosixPermissions() -> Int
func fileOwnerAccountName() -> String?
func fileGroupOwnerAccountName() -> String?
func fileSystemNumber() -> Int
func fileSystemFileNumber() -> Int
func fileExtensionHidden() -> Bool
func fileHFSCreatorCode() -> OSType
func fileHFSTypeCode() -> OSType
func fileIsImmutable() -> Bool
func fileIsAppendOnly() -> Bool
func fileCreationDate() -> NSDate?
func fileOwnerAccountID() -> NSNumber?
func fileGroupOwnerAccountID() -> NSNumber?
}
extension NSDictionary {
func valueForKey(_ key: String) -> AnyObject?
}
extension NSDictionary : _Reflectable {
}
extension NSDictionary {
@objc(_swiftInitWithDictionary_NSDictionary:) convenience init(dictionary otherDictionary: NSDictionary)
}
extension NSDictionary : SequenceType {
final class Generator : GeneratorType {
func next() -> (key: AnyObject, value: AnyObject)?
}
func generate() -> NSDictionary.Generator
}
extension NSDictionary : DictionaryLiteralConvertible {
required convenience init(dictionaryLiteral elements: (NSCopying, AnyObject)...)
} | DictionaryLiteralConvertible, NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding, SequenceType |
To | class NSDictionary : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func object(forKey aKey: Any) -> Any?
func keyEnumerator() -> NSEnumerator
init()
init(objects objects: UnsafePointer<AnyObject>!, forKeys keys: UnsafePointer<NSCopying>!, count cnt: Int)
init?(coder aDecoder: NSCoder)
var allKeys: [Any] { get }
func allKeys(for anObject: Any) -> [Any]
var allValues: [Any] { get }
var description: String { get }
var descriptionInStringsFileFormat: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
func isEqual(to otherDictionary: [AnyHashable : Any]) -> Bool
func objectEnumerator() -> NSEnumerator
func objects(forKeys keys: [Any], notFoundMarker marker: Any) -> [Any]
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
func keysSortedByValue(using comparator: Selector) -> [Any]
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject>!, count count: Int)
subscript(_ key: NSCopying) -> Any? { get }
func objectForKeyedSubscript(_ key: NSCopying) -> Any?
func enumerateKeysAndObjects(_ block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateKeysAndObjects(options opts: NSEnumerationOptions = [], using block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func keysSortedByValue(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func keysSortedByValue(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func keysOfEntries(passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable>
func keysOfEntries(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable>
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject>!)
class func dictionary() -> Self
convenience init(object object: Any, forKey key: NSCopying)
class func withObject(_ object: Any, forKey key: NSCopying) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, forKeys keys: UnsafePointer<NSCopying>!, count cnt: Int) -> Self
convenience init(dictionary dict: [AnyHashable : Any])
class func withDictionary(_ dict: [AnyHashable : Any]) -> Self
convenience init(objects objects: [Any], forKeys keys: [NSCopying])
class func withObjects(_ objects: [Any], forKeys keys: [NSCopying]) -> Self
convenience init(dictionary otherDictionary: [AnyHashable : Any])
convenience init(dictionary otherDictionary: [AnyHashable : Any], copyItems flag: Bool)
convenience init(objects objects: [Any], forKeys keys: [NSCopying])
init?(contentsOfFile path: String)
class func withContentsOfFile(_ path: String) -> [AnyHashable : Any]?
init?(contentsOf url: URL)
class func withContentsOf(_ url: URL) -> [AnyHashable : Any]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
class func sharedKeySet(forKeys keys: [NSCopying]) -> Any
func fileSize() -> UInt64
func fileModificationDate() -> Date?
func fileType() -> String?
func filePosixPermissions() -> Int
func fileOwnerAccountName() -> String?
func fileGroupOwnerAccountName() -> String?
func fileSystemNumber() -> Int
func fileSystemFileNumber() -> Int
func fileExtensionHidden() -> Bool
func fileHFSCreatorCode() -> OSType
func fileHFSTypeCode() -> OSType
func fileIsImmutable() -> Bool
func fileIsAppendOnly() -> Bool
func fileCreationDate() -> Date?
func fileOwnerAccountID() -> NSNumber?
func fileGroupOwnerAccountID() -> NSNumber?
func value(forKey key: String) -> Any?
@objc(_swiftInitWithDictionary_NSDictionary:) convenience init(dictionary otherDictionary: NSDictionary)
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 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 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 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?
@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
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
}
extension NSDictionary : NSFetchRequestResult {
}
extension NSDictionary : CVarArg {
}
extension NSDictionary : CustomReflectable {
var customMirror: Mirror { get }
}
extension NSDictionary : ExpressibleByDictionaryLiteral {
required convenience init(dictionaryLiteral elements: (Any, Any)...)
}
extension NSDictionary : Sequence {
final class Iterator : IteratorProtocol {
func next() -> (key: Any, value: Any)?
}
@objc subscript(_ key: Any) -> Any? { get }
func makeIterator() -> NSDictionary.Iterator
}
extension NSDictionary : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSDictionary {
var allKeys: [Any] { get }
func allKeys(for anObject: Any) -> [Any]
var allValues: [Any] { get }
var description: String { get }
var descriptionInStringsFileFormat: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
func isEqual(to otherDictionary: [AnyHashable : Any]) -> Bool
func objectEnumerator() -> NSEnumerator
func objects(forKeys keys: [Any], notFoundMarker marker: Any) -> [Any]
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
func keysSortedByValue(using comparator: Selector) -> [Any]
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject>!, count count: Int)
subscript(_ key: NSCopying) -> Any? { get }
func objectForKeyedSubscript(_ key: NSCopying) -> Any?
func enumerateKeysAndObjects(_ block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateKeysAndObjects(options opts: NSEnumerationOptions = [], using block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func keysSortedByValue(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func keysSortedByValue(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func keysOfEntries(passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable>
func keysOfEntries(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable>
}
extension NSDictionary {
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject>!)
}
extension NSDictionary {
class func dictionary() -> Self
convenience init(object object: Any, forKey key: NSCopying)
class func withObject(_ object: Any, forKey key: NSCopying) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, forKeys keys: UnsafePointer<NSCopying>!, count cnt: Int) -> Self
convenience init(dictionary dict: [AnyHashable : Any])
class func withDictionary(_ dict: [AnyHashable : Any]) -> Self
convenience init(objects objects: [Any], forKeys keys: [NSCopying])
class func withObjects(_ objects: [Any], forKeys keys: [NSCopying]) -> Self
convenience init(dictionary otherDictionary: [AnyHashable : Any])
convenience init(dictionary otherDictionary: [AnyHashable : Any], copyItems flag: Bool)
convenience init(objects objects: [Any], forKeys keys: [NSCopying])
init?(contentsOfFile path: String)
class func withContentsOfFile(_ path: String) -> [AnyHashable : Any]?
init?(contentsOf url: URL)
class func withContentsOf(_ url: URL) -> [AnyHashable : Any]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
}
extension NSDictionary {
class func sharedKeySet(forKeys keys: [NSCopying]) -> Any
}
extension NSDictionary {
func fileSize() -> UInt64
func fileModificationDate() -> Date?
func fileType() -> String?
func filePosixPermissions() -> Int
func fileOwnerAccountName() -> String?
func fileGroupOwnerAccountName() -> String?
func fileSystemNumber() -> Int
func fileSystemFileNumber() -> Int
func fileExtensionHidden() -> Bool
func fileHFSCreatorCode() -> OSType
func fileHFSTypeCode() -> OSType
func fileIsImmutable() -> Bool
func fileIsAppendOnly() -> Bool
func fileCreationDate() -> Date?
func fileOwnerAccountID() -> NSNumber?
func fileGroupOwnerAccountID() -> NSNumber?
}
extension NSDictionary {
func value(forKey key: String) -> Any?
}
extension NSDictionary : CustomReflectable {
var customMirror: Mirror { get }
}
extension NSDictionary {
@objc(_swiftInitWithDictionary_NSDictionary:) convenience init(dictionary otherDictionary: NSDictionary)
}
extension NSDictionary : Sequence {
final class Iterator : IteratorProtocol {
func next() -> (key: Any, value: Any)?
}
@objc subscript(_ key: Any) -> Any? { get }
func makeIterator() -> NSDictionary.Iterator
}
extension NSDictionary : ExpressibleByDictionaryLiteral {
required convenience init(dictionaryLiteral elements: (Any, Any)...)
} | CVarArg, CustomReflectable, Equatable, ExpressibleByDictionaryLiteral, Hashable, NSCopying, NSFastEnumeration, NSFetchRequestResult, NSMutableCopying, NSSecureCoding, Sequence |
---|
| Declaration |
From | var allKeys: [AnyObject] { get } |
To | var allKeys: [Any] { get } |
---|
| Declaration |
From | func allKeysForObject(_ anObject: AnyObject) -> [AnyObject] |
To | func allKeys(for anObject: Any) -> [Any] |
---|
| Declaration |
From | var allValues: [AnyObject] { get } |
To | var allValues: [Any] { get } |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?) -> String |
To | func description(withLocale locale: Any?) -> String |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?, indent level: Int) -> String |
To | func description(withLocale locale: Any?, indent level: Int) -> String |
---|
| Declaration |
From | func enumerateKeysAndObjectsUsingBlock(_ block: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateKeysAndObjects(_ block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateKeysAndObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateKeysAndObjects(options opts: NSEnumerationOptions = [], using block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func fileCreationDate() -> NSDate? |
To | func fileCreationDate() -> Date? |
---|
| Declaration |
From | func fileModificationDate() -> NSDate? |
To | func fileModificationDate() -> Date? |
---|
| Declaration |
From | convenience init?(contentsOfURL url: NSURL) |
To | convenience init?(contentsOf url: URL) |
---|
| Declaration |
From | convenience init(dictionary otherDictionary: [NSObject : AnyObject]) |
To | convenience init(dictionary otherDictionary: [AnyHashable : Any]) |
---|
| Declaration |
From | convenience init(dictionary otherDictionary: [NSObject : AnyObject], copyItems flag: Bool) |
To | convenience init(dictionary otherDictionary: [AnyHashable : Any], copyItems flag: Bool) |
---|
| Declaration |
From | convenience init(object object: AnyObject, forKey key: NSCopying) |
To | convenience init(object object: Any, forKey key: NSCopying) |
---|
| Declaration |
From | convenience init(objects objects: [AnyObject], forKeys keys: [NSCopying]) |
To | convenience init(objects objects: [Any], forKeys keys: [NSCopying]) |
---|
| Declaration |
From | init(objects objects: UnsafePointer<AnyObject?>, forKeys keys: UnsafePointer<NSCopying?>, count cnt: Int) |
To | init(objects objects: UnsafePointer<AnyObject>!, forKeys keys: UnsafePointer<NSCopying>!, count cnt: Int) |
---|
| Declaration |
From | func isEqualToDictionary(_ otherDictionary: [NSObject : AnyObject]) -> Bool |
To | func isEqual(to otherDictionary: [AnyHashable : Any]) -> Bool |
---|
| Declaration |
From | func keysOfEntriesWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject> |
To | func keysOfEntries(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> |
---|
| Declaration |
From | func keysOfEntriesPassingTest(_ predicate: (AnyObject, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject> |
To | func keysOfEntries(passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> |
---|
| Declaration |
From | func keysSortedByValueUsingComparator(_ cmptr: NSComparator) -> [AnyObject] |
To | func keysSortedByValue(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] |
---|
| Declaration |
From | func keysSortedByValueWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) -> [AnyObject] |
To | func keysSortedByValue(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] |
---|
| Declaration |
From | func keysSortedByValueUsingSelector(_ comparator: Selector) -> [AnyObject] |
To | func keysSortedByValue(using comparator: Selector) -> [Any] |
---|
| Declaration |
From | func objectForKey(_ aKey: AnyObject) -> AnyObject? |
To | func object(forKey aKey: Any) -> Any? |
---|
| Declaration |
From | func objectsForKeys(_ keys: [AnyObject], notFoundMarker marker: AnyObject) -> [AnyObject] |
To | func objects(forKeys keys: [Any], notFoundMarker marker: Any) -> [Any] |
---|
| Declaration |
From | class func sharedKeySetForKeys(_ keys: [NSCopying]) -> AnyObject |
To | class func sharedKeySet(forKeys keys: [NSCopying]) -> Any |
---|
| Declaration |
From | subscript (_ key: NSCopying) -> AnyObject? { get } |
To | subscript(_ key: NSCopying) -> Any? { get } |
---|
| Declaration |
From | func valueForKey(_ key: String) -> AnyObject? |
To | func value(forKey key: String) -> Any? |
---|
| Declaration |
From | func writeToURL(_ url: NSURL, atomically atomically: Bool) -> Bool |
To | func write(to url: URL, atomically atomically: Bool) -> Bool |
---|
| Declaration |
From | func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool) -> Bool |
To | func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool |
---|
| Declaration | Protocols |
From | class NSDistributedLock : NSObject {
init?(path path: String)
class func lockWithPath(_ path: String) -> NSDistributedLock?
convenience init()
init?(path path: String)
func tryLock() -> Bool
func unlock()
func breakLock()
@NSCopying var lockDate: NSDate { get }
} | -- |
To | class NSDistributedLock : NSObject {
init?(path path: String)
class func withPath(_ path: String) -> NSDistributedLock?
convenience init()
init?(path path: String)
func `try`() -> Bool
func unlock()
func `break`()
var lockDate: Date { 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 NSDistributedLock : CVarArg {
}
extension NSDistributedLock : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func breakLock() |
To | func `break`() |
---|
| Declaration |
From | @NSCopying var lockDate: NSDate { get } |
To | var lockDate: Date { get } |
---|
| Declaration |
From | func tryLock() -> Bool |
To | func `try`() -> Bool |
---|
| Declaration | Protocols |
From | struct NSEnumerationOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Concurrent: NSEnumerationOptions { get }
static var Reverse: NSEnumerationOptions { get }
} | OptionSetType |
To | struct NSEnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var concurrent: NSEnumerationOptions { get }
static var reverse: NSEnumerationOptions { get }
func intersect(_ other: NSEnumerationOptions) -> NSEnumerationOptions
func exclusiveOr(_ other: NSEnumerationOptions) -> NSEnumerationOptions
mutating func unionInPlace(_ other: NSEnumerationOptions)
mutating func intersectInPlace(_ other: NSEnumerationOptions)
mutating func exclusiveOrInPlace(_ other: NSEnumerationOptions)
func isSubsetOf(_ other: NSEnumerationOptions) -> Bool
func isDisjointWith(_ other: NSEnumerationOptions) -> Bool
func isSupersetOf(_ other: NSEnumerationOptions) -> Bool
mutating func subtractInPlace(_ other: NSEnumerationOptions)
func isStrictSupersetOf(_ other: NSEnumerationOptions) -> Bool
func isStrictSubsetOf(_ other: NSEnumerationOptions) -> Bool
}
extension NSEnumerationOptions {
func union(_ other: NSEnumerationOptions) -> NSEnumerationOptions
func intersection(_ other: NSEnumerationOptions) -> NSEnumerationOptions
func symmetricDifference(_ other: NSEnumerationOptions) -> NSEnumerationOptions
}
extension NSEnumerationOptions {
func contains(_ member: NSEnumerationOptions) -> Bool
mutating func insert(_ newMember: NSEnumerationOptions) -> (inserted: Bool, memberAfterInsert: NSEnumerationOptions)
mutating func remove(_ member: NSEnumerationOptions) -> NSEnumerationOptions?
mutating func update(with newMember: NSEnumerationOptions) -> NSEnumerationOptions?
}
extension NSEnumerationOptions {
convenience init()
mutating func formUnion(_ other: NSEnumerationOptions)
mutating func formIntersection(_ other: NSEnumerationOptions)
mutating func formSymmetricDifference(_ other: NSEnumerationOptions)
}
extension NSEnumerationOptions {
convenience init<S : Sequence where S.Iterator.Element == NSEnumerationOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSEnumerationOptions...)
mutating func subtract(_ other: NSEnumerationOptions)
func isSubset(of other: NSEnumerationOptions) -> Bool
func isSuperset(of other: NSEnumerationOptions) -> Bool
func isDisjoint(with other: NSEnumerationOptions) -> Bool
func subtracting(_ other: NSEnumerationOptions) -> NSEnumerationOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSEnumerationOptions) -> Bool
func isStrictSubset(of other: NSEnumerationOptions) -> Bool
} | OptionSet |
---|
| Declaration |
From | static var Concurrent: NSEnumerationOptions { get } |
To | static var concurrent: NSEnumerationOptions { get } |
---|
| Declaration |
From | static var Reverse: NSEnumerationOptions { get } |
To | static var reverse: NSEnumerationOptions { get } |
---|
| Declaration | Protocols |
From | class NSEnumerator : NSObject, NSFastEnumeration {
func nextObject() -> AnyObject?
}
extension NSEnumerator : SequenceType {
func generate() -> NSFastGenerator
}
extension NSEnumerator {
var allObjects: [AnyObject] { get }
}
extension NSEnumerator : SequenceType {
func generate() -> NSFastGenerator
} | NSFastEnumeration, SequenceType |
To | class NSEnumerator : NSObject, NSFastEnumeration {
func nextObject() -> Any?
var allObjects: [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 NSEnumerator : CVarArg {
}
extension NSEnumerator : Sequence {
func makeIterator() -> NSFastEnumerationIterator
}
extension NSEnumerator : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSEnumerator {
var allObjects: [Any] { get }
}
extension NSEnumerator : Sequence {
func makeIterator() -> NSFastEnumerationIterator
} | CVarArg, Equatable, Hashable, NSFastEnumeration, Sequence |
---|
| Declaration |
From | var allObjects: [AnyObject] { get } |
To | var allObjects: [Any] { get } |
---|
| Declaration |
From | func nextObject() -> AnyObject? |
To | func nextObject() -> Any? |
---|
| Declaration | Protocols |
From | class NSError : NSObject, NSCopying, NSSecureCoding {
init(domain domain: String, code code: Int, userInfo dict: [NSObject : AnyObject]?)
class func errorWithDomain(_ domain: String, code code: Int, userInfo dict: [NSObject : AnyObject]?) -> Self
var domain: String { get }
var code: Int { get }
var userInfo: [NSObject : AnyObject] { get }
var localizedDescription: String { get }
var localizedFailureReason: String? { get }
var localizedRecoverySuggestion: String? { get }
var localizedRecoveryOptions: [String]? { get }
var recoveryAttempter: AnyObject? { get }
var helpAnchor: String? { get }
class func setUserInfoValueProviderForDomain(_ errorDomain: String, provider provider: ((NSError, String) -> AnyObject?)?)
class func userInfoValueProviderForDomain(_ errorDomain: String) -> ((NSError, String) -> AnyObject?)?
}
extension NSError : ErrorType {
}
extension NSError : ErrorType {
} | ErrorType, NSCopying, NSSecureCoding |
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: (@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 {
} | CVarArg, Equatable, Error, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | init(domain domain: String, code code: Int, userInfo dict: [NSObject : AnyObject]?) |
To | init(domain domain: String, code code: Int, userInfo dict: [AnyHashable : Any]? = nil) |
---|
| Declaration |
From | var recoveryAttempter: AnyObject? { get } |
To | var recoveryAttempter: Any? { get } |
---|
| Declaration |
From | class func setUserInfoValueProviderForDomain(_ errorDomain: String, provider provider: ((NSError, String) -> AnyObject?)?) |
To | class func setUserInfoValueProvider(forDomain errorDomain: String, provider provider: (@escaping (Error, String) -> Any?)? = nil) |
---|
| Declaration |
From | var userInfo: [NSObject : AnyObject] { get } |
To | var userInfo: [AnyHashable : Any] { get } |
---|
| Declaration |
From | class func userInfoValueProviderForDomain(_ errorDomain: String) -> ((NSError, String) -> AnyObject?)? |
To | class func userInfoValueProvider(forDomain errorDomain: String) -> ((Error, String) -> Any?)? |
---|
| Declaration | Protocols |
From | class NSException : NSObject, NSCopying, NSCoding {
init(name name: String, reason reason: String?, userInfo userInfo: [NSObject : AnyObject]?)
class func exceptionWithName(_ name: String, reason reason: String?, userInfo userInfo: [NSObject : AnyObject]?) -> NSException
init(name aName: String, reason aReason: String?, userInfo aUserInfo: [NSObject : AnyObject]?)
var name: String { get }
var reason: String? { get }
var userInfo: [NSObject : AnyObject]? { get }
var callStackReturnAddresses: [NSNumber] { get }
var callStackSymbols: [String] { get }
func raise()
}
extension NSException {
class func raise(_ name: String, format format: String, arguments argList: CVaListPointer)
} | NSCoding, NSCopying |
To | class NSException : NSObject, NSCopying, NSCoding {
init(name name: NSExceptionName, reason reason: String?, userInfo userInfo: [AnyHashable : Any]? = nil)
class func withName(_ name: NSExceptionName, reason reason: String?, userInfo userInfo: [AnyHashable : Any]? = nil) -> NSException
init(name aName: NSExceptionName, reason aReason: String?, userInfo aUserInfo: [AnyHashable : Any]? = nil)
var name: NSExceptionName { get }
var reason: String? { get }
var userInfo: [AnyHashable : Any]? { get }
var callStackReturnAddresses: [NSNumber] { get }
var callStackSymbols: [String] { get }
func raise()
class func raise(_ name: NSExceptionName, format format: String, arguments argList: CVaListPointer)
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 NSException : CVarArg {
}
extension NSException : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSException {
class func raise(_ name: NSExceptionName, format format: String, arguments argList: CVaListPointer)
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
---|
| Declaration |
From | init(name aName: String, reason aReason: String?, userInfo aUserInfo: [NSObject : AnyObject]?) |
To | init(name aName: NSExceptionName, reason aReason: String?, userInfo aUserInfo: [AnyHashable : Any]? = nil) |
---|
| Declaration |
From | var name: String { get } |
To | var name: NSExceptionName { get } |
---|
| Declaration |
From | class func raise(_ name: String, format format: String, arguments argList: CVaListPointer) |
To | class func raise(_ name: NSExceptionName, format format: String, arguments argList: CVaListPointer) |
---|
| Declaration |
From | var userInfo: [NSObject : AnyObject]? { get } |
To | var userInfo: [AnyHashable : Any]? { get } |
---|
| Name | Declaration |
From | NSCharacterConversionException | let NSCharacterConversionException: String |
To | characterConversionException | static let characterConversionException: NSExceptionName |
---|
| Name | Declaration |
From | NSDecimalNumberDivideByZeroException | let NSDecimalNumberDivideByZeroException: String |
To | decimalNumberDivideByZeroException | static let decimalNumberDivideByZeroException: NSExceptionName |
---|
| Name | Declaration |
From | NSDecimalNumberExactnessException | let NSDecimalNumberExactnessException: String |
To | decimalNumberExactnessException | static let decimalNumberExactnessException: NSExceptionName |
---|
| Name | Declaration |
From | NSDecimalNumberOverflowException | let NSDecimalNumberOverflowException: String |
To | decimalNumberOverflowException | static let decimalNumberOverflowException: NSExceptionName |
---|
| Name | Declaration |
From | NSDecimalNumberUnderflowException | let NSDecimalNumberUnderflowException: String |
To | decimalNumberUnderflowException | static let decimalNumberUnderflowException: NSExceptionName |
---|
| Name | Declaration |
From | NSDestinationInvalidException | let NSDestinationInvalidException: String |
To | destinationInvalidException | static let destinationInvalidException: NSExceptionName |
---|
| Name | Declaration |
From | NSFileHandleOperationException | let NSFileHandleOperationException: String |
To | fileHandleOperationException | static let fileHandleOperationException: NSExceptionName |
---|
| Name | Declaration |
From | NSGenericException | let NSGenericException: String |
To | genericException | static let genericException: NSExceptionName |
---|
| Name | Declaration |
From | NSInconsistentArchiveException | let NSInconsistentArchiveException: String |
To | inconsistentArchiveException | static let inconsistentArchiveException: NSExceptionName |
---|
| Name | Declaration |
From | NSInternalInconsistencyException | let NSInternalInconsistencyException: String |
To | internalInconsistencyException | static let internalInconsistencyException: NSExceptionName |
---|
| Name | Declaration |
From | NSInvalidArchiveOperationException | let NSInvalidArchiveOperationException: String |
To | invalidArchiveOperationException | static let invalidArchiveOperationException: NSExceptionName |
---|
| Name | Declaration |
From | NSInvalidArgumentException | let NSInvalidArgumentException: String |
To | invalidArgumentException | static let invalidArgumentException: NSExceptionName |
---|
| Name | Declaration |
From | NSInvalidReceivePortException | let NSInvalidReceivePortException: String |
To | invalidReceivePortException | static let invalidReceivePortException: NSExceptionName |
---|
| Name | Declaration |
From | NSInvalidSendPortException | let NSInvalidSendPortException: String |
To | invalidSendPortException | static let invalidSendPortException: NSExceptionName |
---|
| Name | Declaration |
From | NSInvalidUnarchiveOperationException | let NSInvalidUnarchiveOperationException: String |
To | invalidUnarchiveOperationException | static let invalidUnarchiveOperationException: NSExceptionName |
---|
| Name | Declaration |
From | NSInvocationOperationCancelledException | let NSInvocationOperationCancelledException: String |
To | invocationOperationCancelledException | static let invocationOperationCancelledException: NSExceptionName |
---|
| Name | Declaration |
From | NSInvocationOperationVoidResultException | let NSInvocationOperationVoidResultException: String |
To | invocationOperationVoidResultException | static let invocationOperationVoidResultException: NSExceptionName |
---|
| Name | Declaration |
From | NSMallocException | let NSMallocException: String |
To | mallocException | static let mallocException: NSExceptionName |
---|
| Name | Declaration |
From | NSObjectInaccessibleException | let NSObjectInaccessibleException: String |
To | objectInaccessibleException | static let objectInaccessibleException: NSExceptionName |
---|
| Name | Declaration |
From | NSObjectNotAvailableException | let NSObjectNotAvailableException: String |
To | objectNotAvailableException | static let objectNotAvailableException: NSExceptionName |
---|
| Name | Declaration |
From | NSOldStyleException | let NSOldStyleException: String |
To | oldStyleException | static let oldStyleException: NSExceptionName |
---|
| Name | Declaration |
From | NSParseErrorException | let NSParseErrorException: String |
To | parseErrorException | static let parseErrorException: NSExceptionName |
---|
| Name | Declaration |
From | NSPortReceiveException | let NSPortReceiveException: String |
To | portReceiveException | static let portReceiveException: NSExceptionName |
---|
| Name | Declaration |
From | NSPortSendException | let NSPortSendException: String |
To | portSendException | static let portSendException: NSExceptionName |
---|
| Name | Declaration |
From | NSPortTimeoutException | let NSPortTimeoutException: String |
To | portTimeoutException | static let portTimeoutException: NSExceptionName |
---|
| Name | Declaration |
From | NSRangeException | let NSRangeException: String |
To | rangeException | static let rangeException: NSExceptionName |
---|
| Name | Declaration |
From | NSUndefinedKeyException | let NSUndefinedKeyException: String |
To | undefinedKeyException | static let undefinedKeyException: NSExceptionName |
---|
| Declaration | Protocols |
From | class NSExpression : NSObject, NSSecureCoding, NSCopying {
init(format expressionFormat: String, argumentArray arguments: [AnyObject])
class func expressionWithFormat(_ expressionFormat: String, argumentArray arguments: [AnyObject]) -> NSExpression
init(format expressionFormat: String, arguments argList: CVaListPointer)
class func expressionWithFormat(_ expressionFormat: String, arguments argList: CVaListPointer) -> NSExpression
init(forConstantValue obj: AnyObject?)
class func expressionForConstantValue(_ obj: AnyObject?) -> NSExpression
class func expressionForEvaluatedObject() -> NSExpression
init(forVariable string: String)
class func expressionForVariable(_ string: String) -> NSExpression
init(forKeyPath keyPath: String)
class func expressionForKeyPath(_ keyPath: String) -> NSExpression
init(forFunction name: String, arguments parameters: [AnyObject])
class func expressionForFunction(_ name: String, arguments parameters: [AnyObject]) -> NSExpression
init(forAggregate subexpressions: [AnyObject])
class func expressionForAggregate(_ subexpressions: [AnyObject]) -> NSExpression
init(forUnionSet left: NSExpression, with right: NSExpression)
class func expressionForUnionSet(_ left: NSExpression, with right: NSExpression) -> NSExpression
init(forIntersectSet left: NSExpression, with right: NSExpression)
class func expressionForIntersectSet(_ left: NSExpression, with right: NSExpression) -> NSExpression
init(forMinusSet left: NSExpression, with right: NSExpression)
class func expressionForMinusSet(_ left: NSExpression, with right: NSExpression) -> NSExpression
init(forSubquery expression: NSExpression, usingIteratorVariable variable: String, predicate predicate: AnyObject)
class func expressionForSubquery(_ expression: NSExpression, usingIteratorVariable variable: String, predicate predicate: AnyObject) -> NSExpression
init(forFunction target: NSExpression, selectorName name: String, arguments parameters: [AnyObject]?)
class func expressionForFunction(_ target: NSExpression, selectorName name: String, arguments parameters: [AnyObject]?) -> NSExpression
class func expressionForAnyKey() -> NSExpression
init(forBlock block: (AnyObject?, [AnyObject], NSMutableDictionary?) -> AnyObject, arguments arguments: [NSExpression]?)
class func expressionForBlock(_ block: (AnyObject?, [AnyObject], NSMutableDictionary?) -> AnyObject, arguments arguments: [NSExpression]?) -> NSExpression
init(forConditional predicate: NSPredicate, trueExpression trueExpression: NSExpression, falseExpression falseExpression: NSExpression)
class func expressionForConditional(_ predicate: NSPredicate, trueExpression trueExpression: NSExpression, falseExpression falseExpression: NSExpression) -> NSExpression
init(expressionType type: NSExpressionType)
init?(coder coder: NSCoder)
var expressionType: NSExpressionType { get }
var constantValue: AnyObject { get }
var keyPath: String { get }
var function: String { get }
var variable: String { get }
@NSCopying var operand: NSExpression { get }
var arguments: [NSExpression]? { get }
var collection: AnyObject { get }
@NSCopying var predicate: NSPredicate { get }
@NSCopying var leftExpression: NSExpression { get }
@NSCopying var rightExpression: NSExpression { get }
@NSCopying var trueExpression: NSExpression { get }
@NSCopying var falseExpression: NSExpression { get }
var expressionBlock: (AnyObject?, [AnyObject], NSMutableDictionary?) -> AnyObject { get }
func expressionValueWithObject(_ object: AnyObject?, context context: NSMutableDictionary?) -> AnyObject
func allowEvaluation()
}
extension NSExpression {
convenience init(format expressionFormat: String, _ args: CVarArgType...)
}
extension NSExpression {
convenience init(format expressionFormat: String, _ args: CVarArgType...)
} | NSCopying, NSSecureCoding |
To | class NSExpression : NSObject, NSSecureCoding, NSCopying {
init(format expressionFormat: String, argumentArray arguments: [Any])
class func withFormat(_ expressionFormat: String, argumentArray arguments: [Any]) -> NSExpression
init(format expressionFormat: String, arguments argList: CVaListPointer)
class func withFormat(_ expressionFormat: String, arguments argList: CVaListPointer) -> NSExpression
init(forConstantValue obj: Any?)
class func forConstantValue(_ obj: Any?) -> NSExpression
class func expressionForEvaluatedObject() -> NSExpression
init(forVariable string: String)
class func forVariable(_ string: String) -> NSExpression
init(forKeyPath keyPath: String)
class func forKeyPath(_ keyPath: String) -> NSExpression
init(forFunction name: String, arguments parameters: [Any])
class func forFunction(_ name: String, arguments parameters: [Any]) -> NSExpression
init(forAggregate subexpressions: [Any])
class func forAggregate(_ subexpressions: [Any]) -> NSExpression
init(forUnionSet left: NSExpression, with right: NSExpression)
class func forUnionSet(_ left: NSExpression, with right: NSExpression) -> NSExpression
init(forIntersectSet left: NSExpression, with right: NSExpression)
class func forIntersectSet(_ left: NSExpression, with right: NSExpression) -> NSExpression
init(forMinusSet left: NSExpression, with right: NSExpression)
class func forMinusSet(_ left: NSExpression, with right: NSExpression) -> NSExpression
init(forSubquery expression: NSExpression, usingIteratorVariable variable: String, predicate predicate: Any)
class func forSubquery(_ expression: NSExpression, usingIteratorVariable variable: String, predicate predicate: Any) -> NSExpression
init(forFunction target: NSExpression, selectorName name: String, arguments parameters: [Any]?)
class func forFunction(_ target: NSExpression, selectorName name: String, arguments parameters: [Any]?) -> NSExpression
class func expressionForAnyKey() -> NSExpression
init(block block: @escaping (Any?, [Any], NSMutableDictionary?) -> Any, arguments arguments: [NSExpression]?)
class func forBlock(_ block: @escaping (Any?, [Any], NSMutableDictionary?) -> Any, arguments arguments: [NSExpression]?) -> NSExpression
init(forConditional predicate: NSPredicate, trueExpression trueExpression: NSExpression, falseExpression falseExpression: NSExpression)
class func forConditional(_ predicate: NSPredicate, trueExpression trueExpression: NSExpression, falseExpression falseExpression: NSExpression) -> NSExpression
init(expressionType type: NSExpression.ExpressionType)
init?(coder coder: NSCoder)
var expressionType: NSExpression.ExpressionType { get }
var constantValue: Any? { get }
var keyPath: String { get }
var function: String { get }
var variable: String { get }
@NSCopying var operand: NSExpression { get }
var arguments: [NSExpression]? { get }
var collection: Any { get }
@NSCopying var predicate: NSPredicate { get }
@NSCopying var left: NSExpression { get }
@NSCopying var right: NSExpression { get }
@NSCopying var `true`: NSExpression { get }
@NSCopying var `false`: NSExpression { get }
var expressionBlock: (Any?, [Any], NSMutableDictionary?) -> Any { get }
func expressionValue(with object: Any?, context context: NSMutableDictionary?) -> Any?
func allowEvaluation()
convenience init(format expressionFormat: String, _ args: CVarArg...)
enum ExpressionType : UInt {
case constantValue
case evaluatedObject
case variable
case keyPath
case function
case unionSet
case intersectSet
case minusSet
case subquery
case aggregate
case anyKey
case block
case conditional
}
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 NSExpression {
enum ExpressionType : UInt {
case constantValue
case evaluatedObject
case variable
case keyPath
case function
case unionSet
case intersectSet
case minusSet
case subquery
case aggregate
case anyKey
case block
case conditional
}
}
extension NSExpression : CVarArg {
}
extension NSExpression : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSExpression {
convenience init(format expressionFormat: String, _ args: CVarArg...)
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var collection: AnyObject { get } |
To | var collection: Any { get } |
---|
| Declaration |
From | var constantValue: AnyObject { get } |
To | var constantValue: Any? { get } |
---|
| Declaration |
From | var expressionBlock: (AnyObject?, [AnyObject], NSMutableDictionary?) -> AnyObject { get } |
To | var expressionBlock: (Any?, [Any], NSMutableDictionary?) -> Any { get } |
---|
| Declaration |
From | var expressionType: NSExpressionType { get } |
To | var expressionType: NSExpression.ExpressionType { get } |
---|
| Declaration |
From | func expressionValueWithObject(_ object: AnyObject?, context context: NSMutableDictionary?) -> AnyObject |
To | func expressionValue(with object: Any?, context context: NSMutableDictionary?) -> Any? |
---|
| Declaration |
From | @NSCopying var falseExpression: NSExpression { get } |
To | @NSCopying var `false`: NSExpression { get } |
---|
| Declaration |
From | init(forBlock block: (AnyObject?, [AnyObject], NSMutableDictionary?) -> AnyObject, arguments arguments: [NSExpression]?) |
To | init(block block: @escaping (Any?, [Any], NSMutableDictionary?) -> Any, arguments arguments: [NSExpression]?) |
---|
| Declaration |
From | init(expressionType type: NSExpressionType) |
To | init(expressionType type: NSExpression.ExpressionType) |
---|
| Declaration |
From | init(forAggregate subexpressions: [AnyObject]) |
To | init(forAggregate subexpressions: [Any]) |
---|
| Declaration |
From | init(forConstantValue obj: AnyObject?) |
To | init(forConstantValue obj: Any?) |
---|
| Declaration |
From | init(forFunction name: String, arguments parameters: [AnyObject]) |
To | init(forFunction name: String, arguments parameters: [Any]) |
---|
| Declaration |
From | init(forFunction target: NSExpression, selectorName name: String, arguments parameters: [AnyObject]?) |
To | init(forFunction target: NSExpression, selectorName name: String, arguments parameters: [Any]?) |
---|
| Declaration |
From | init(format expressionFormat: String, argumentArray arguments: [AnyObject]) |
To | init(format expressionFormat: String, argumentArray arguments: [Any]) |
---|
| Declaration |
From | init(forSubquery expression: NSExpression, usingIteratorVariable variable: String, predicate predicate: AnyObject) |
To | init(forSubquery expression: NSExpression, usingIteratorVariable variable: String, predicate predicate: Any) |
---|
| Declaration |
From | @NSCopying var leftExpression: NSExpression { get } |
To | @NSCopying var left: NSExpression { get } |
---|
| Declaration |
From | @NSCopying var rightExpression: NSExpression { get } |
To | @NSCopying var right: NSExpression { get } |
---|
| Declaration |
From | @NSCopying var trueExpression: NSExpression { get } |
To | @NSCopying var `true`: NSExpression { get } |
---|
| Declaration |
From | enum NSExpressionType : UInt {
case ConstantValueExpressionType
case EvaluatedObjectExpressionType
case VariableExpressionType
case KeyPathExpressionType
case FunctionExpressionType
case UnionSetExpressionType
case IntersectSetExpressionType
case MinusSetExpressionType
case SubqueryExpressionType
case AggregateExpressionType
case AnyKeyExpressionType
case BlockExpressionType
case ConditionalExpressionType
} |
To | enum ExpressionType : UInt {
case constantValue
case evaluatedObject
case variable
case keyPath
case function
case unionSet
case intersectSet
case minusSet
case subquery
case aggregate
case anyKey
case block
case conditional
} |
---|
| Name | Declaration |
From | AggregateExpressionType | case AggregateExpressionType |
To | aggregate | case aggregate |
---|
| Name | Declaration |
From | AnyKeyExpressionType | case AnyKeyExpressionType |
To | anyKey | case anyKey |
---|
| Name | Declaration |
From | BlockExpressionType | case BlockExpressionType |
To | block | case block |
---|
| Name | Declaration |
From | ConditionalExpressionType | case ConditionalExpressionType |
To | conditional | case conditional |
---|
| Name | Declaration |
From | ConstantValueExpressionType | case ConstantValueExpressionType |
To | constantValue | case constantValue |
---|
| Name | Declaration |
From | EvaluatedObjectExpressionType | case EvaluatedObjectExpressionType |
To | evaluatedObject | case evaluatedObject |
---|
| Name | Declaration |
From | FunctionExpressionType | case FunctionExpressionType |
To | function | case function |
---|
| Name | Declaration |
From | IntersectSetExpressionType | case IntersectSetExpressionType |
To | intersectSet | case intersectSet |
---|
| Name | Declaration |
From | KeyPathExpressionType | case KeyPathExpressionType |
To | keyPath | case keyPath |
---|
| Name | Declaration |
From | MinusSetExpressionType | case MinusSetExpressionType |
To | minusSet | case minusSet |
---|
| Name | Declaration |
From | SubqueryExpressionType | case SubqueryExpressionType |
To | subquery | case subquery |
---|
| Name | Declaration |
From | UnionSetExpressionType | case UnionSetExpressionType |
To | unionSet | case unionSet |
---|
| Name | Declaration |
From | VariableExpressionType | case VariableExpressionType |
To | variable | case variable |
---|
| Declaration | Protocols |
From | class NSExtensionContext : NSObject {
var inputItems: [AnyObject] { get }
func completeRequestReturningItems(_ items: [AnyObject]?, completionHandler completionHandler: ((Bool) -> Void)?)
func cancelRequestWithError(_ error: NSError)
func openURL(_ URL: NSURL, completionHandler completionHandler: ((Bool) -> Void)?)
} | -- |
To | 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 }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func cancelRequestWithError(_ error: NSError) |
To | func cancelRequest(withError error: Error) |
---|
| Declaration |
From | func completeRequestReturningItems(_ items: [AnyObject]?, completionHandler completionHandler: ((Bool) -> Void)?) |
To | func completeRequest(returningItems items: [Any]?, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
---|
| Declaration |
From | var inputItems: [AnyObject] { get } |
To | var inputItems: [Any] { get } |
---|
| Declaration |
From | func openURL(_ URL: NSURL, completionHandler completionHandler: ((Bool) -> Void)?) |
To | func open(_ URL: URL, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
---|
| Declaration | Protocols |
From | class NSExtensionItem : NSObject, NSCopying, NSSecureCoding {
@NSCopying var attributedTitle: NSAttributedString?
@NSCopying var attributedContentText: NSAttributedString?
var attachments: [AnyObject]?
var userInfo: [NSObject : AnyObject]?
} | NSCopying, NSSecureCoding |
To | class NSExtensionItem : NSObject, NSCopying, NSSecureCoding {
@NSCopying var attributedTitle: NSAttributedString?
@NSCopying var attributedContentText: NSAttributedString?
var attachments: [Any]?
var userInfo: [AnyHashable : 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 NSExtensionItem : CVarArg {
}
extension NSExtensionItem : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var attachments: [AnyObject]? |
To | var attachments: [Any]? |
---|
| Declaration |
From | var userInfo: [NSObject : AnyObject]? |
To | var userInfo: [AnyHashable : Any]? |
---|
| Declaration |
From | protocol NSExtensionRequestHandling : NSObjectProtocol {
func beginRequestWithExtensionContext(_ context: NSExtensionContext)
} |
To | protocol NSExtensionRequestHandling : NSObjectProtocol {
func beginRequest(with context: NSExtensionContext)
} |
---|
| Declaration |
From | func beginRequestWithExtensionContext(_ context: NSExtensionContext) |
To | func beginRequest(with context: NSExtensionContext) |
---|
| Declaration |
From | protocol NSFastEnumeration {
func countByEnumeratingWithState(_ state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int
} |
To | protocol NSFastEnumeration {
func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>!, count len: Int) -> Int
} |
---|
| Declaration |
From | func countByEnumeratingWithState(_ state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int |
To | func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>!, count len: Int) -> Int |
---|
| Declaration |
From | struct NSFastEnumerationState {
var state: UInt
var itemsPtr: AutoreleasingUnsafeMutablePointer<AnyObject?>
var mutationsPtr: UnsafeMutablePointer<UInt>
var extra: (UInt, UInt, UInt, UInt, UInt)
init()
init(state state: UInt, itemsPtr itemsPtr: AutoreleasingUnsafeMutablePointer<AnyObject?>, mutationsPtr mutationsPtr: UnsafeMutablePointer<UInt>, extra extra: (UInt, UInt, UInt, UInt, UInt))
} |
To | struct NSFastEnumerationState {
var state: UInt
var itemsPtr: AutoreleasingUnsafeMutablePointer<AnyObject?>?
var mutationsPtr: UnsafeMutablePointer<UInt>?
var extra: (UInt, UInt, UInt, UInt, UInt)
init()
init(state state: UInt, itemsPtr itemsPtr: AutoreleasingUnsafeMutablePointer<AnyObject?>?, mutationsPtr mutationsPtr: UnsafeMutablePointer<UInt>?, extra extra: (UInt, UInt, UInt, UInt, UInt))
} |
---|
| Declaration |
From | var itemsPtr: AutoreleasingUnsafeMutablePointer<AnyObject?> |
To | var itemsPtr: AutoreleasingUnsafeMutablePointer<AnyObject?>? |
---|
| Declaration |
From | var mutationsPtr: UnsafeMutablePointer<UInt> |
To | var mutationsPtr: UnsafeMutablePointer<UInt>? |
---|
| Declaration | Protocols |
From | class NSFileAccessIntent : NSObject {
class func readingIntentWithURL(_ url: NSURL, options options: NSFileCoordinatorReadingOptions) -> Self
class func writingIntentWithURL(_ url: NSURL, options options: NSFileCoordinatorWritingOptions) -> Self
@NSCopying var URL: NSURL { get }
} | -- |
To | class NSFileAccessIntent : NSObject {
class func readingIntent(with url: URL, options options: NSFileCoordinator.ReadingOptions = []) -> Self
class func writingIntent(with url: URL, options options: NSFileCoordinator.WritingOptions = []) -> Self
var url: URL { 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 NSFileAccessIntent : CVarArg {
}
extension NSFileAccessIntent : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func readingIntentWithURL(_ url: NSURL, options options: NSFileCoordinatorReadingOptions) -> Self |
To | class func readingIntent(with url: URL, options options: NSFileCoordinator.ReadingOptions = []) -> Self |
---|
| Declaration |
From | @NSCopying var URL: NSURL { get } |
To | var url: URL { get } |
---|
| Declaration |
From | class func writingIntentWithURL(_ url: NSURL, options options: NSFileCoordinatorWritingOptions) -> Self |
To | class func writingIntent(with url: URL, options options: NSFileCoordinator.WritingOptions = []) -> Self |
---|
| Declaration | Protocols |
From | class NSFileCoordinator : NSObject {
class func addFilePresenter(_ filePresenter: NSFilePresenter)
class func removeFilePresenter(_ filePresenter: NSFilePresenter)
class func filePresenters() -> [NSFilePresenter]
init(filePresenter filePresenterOrNil: NSFilePresenter?)
var purposeIdentifier: String
func coordinateAccessWithIntents(_ intents: [NSFileAccessIntent], queue queue: NSOperationQueue, byAccessor accessor: (NSError?) -> Void)
func coordinateReadingItemAtURL(_ url: NSURL, options options: NSFileCoordinatorReadingOptions, error outError: NSErrorPointer, byAccessor reader: (NSURL) -> Void)
func coordinateWritingItemAtURL(_ url: NSURL, options options: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor writer: (NSURL) -> Void)
func coordinateReadingItemAtURL(_ readingURL: NSURL, options readingOptions: NSFileCoordinatorReadingOptions, writingItemAtURL writingURL: NSURL, options writingOptions: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor readerWriter: (NSURL, NSURL) -> Void)
func coordinateWritingItemAtURL(_ url1: NSURL, options options1: NSFileCoordinatorWritingOptions, writingItemAtURL url2: NSURL, options options2: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor writer: (NSURL, NSURL) -> Void)
func prepareForReadingItemsAtURLs(_ readingURLs: [NSURL], options readingOptions: NSFileCoordinatorReadingOptions, writingItemsAtURLs writingURLs: [NSURL], options writingOptions: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor batchAccessor: (() -> Void) -> Void)
func itemAtURL(_ oldURL: NSURL, willMoveToURL newURL: NSURL)
func itemAtURL(_ oldURL: NSURL, didMoveToURL newURL: NSURL)
func cancel()
} | -- |
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 (@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 }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func coordinateReadingItemAtURL(_ url: NSURL, options options: NSFileCoordinatorReadingOptions, error outError: NSErrorPointer, byAccessor reader: (NSURL) -> Void) |
To | func coordinate(readingItemAt url: URL, options options: NSFileCoordinator.ReadingOptions = [], error outError: NSErrorPointer, byAccessor reader: @escaping (URL) -> Swift.Void) |
---|
| Declaration |
From | func coordinateReadingItemAtURL(_ readingURL: NSURL, options readingOptions: NSFileCoordinatorReadingOptions, writingItemAtURL writingURL: NSURL, options writingOptions: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor readerWriter: (NSURL, NSURL) -> Void) |
To | 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) |
---|
| Declaration |
From | func coordinateAccessWithIntents(_ intents: [NSFileAccessIntent], queue queue: NSOperationQueue, byAccessor accessor: (NSError?) -> Void) |
To | func coordinate(with intents: [NSFileAccessIntent], queue queue: OperationQueue, byAccessor accessor: @escaping (Error?) -> Swift.Void) |
---|
| Declaration |
From | func coordinateWritingItemAtURL(_ url: NSURL, options options: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor writer: (NSURL) -> Void) |
To | func coordinate(writingItemAt url: URL, options options: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor writer: @escaping (URL) -> Swift.Void) |
---|
| Declaration |
From | func coordinateWritingItemAtURL(_ url1: NSURL, options options1: NSFileCoordinatorWritingOptions, writingItemAtURL url2: NSURL, options options2: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor writer: (NSURL, NSURL) -> Void) |
To | 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) |
---|
| Declaration |
From | func itemAtURL(_ oldURL: NSURL, didMoveToURL newURL: NSURL) |
To | func item(at oldURL: URL, didMoveTo newURL: URL) |
---|
| Declaration |
From | func itemAtURL(_ oldURL: NSURL, willMoveToURL newURL: NSURL) |
To | func item(at oldURL: URL, willMoveTo newURL: URL) |
---|
| Declaration |
From | func prepareForReadingItemsAtURLs(_ readingURLs: [NSURL], options readingOptions: NSFileCoordinatorReadingOptions, writingItemsAtURLs writingURLs: [NSURL], options writingOptions: NSFileCoordinatorWritingOptions, error outError: NSErrorPointer, byAccessor batchAccessor: (() -> Void) -> Void) |
To | 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) |
---|
| Declaration | Protocols |
From | struct NSFileCoordinatorReadingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var WithoutChanges: NSFileCoordinatorReadingOptions { get }
static var ResolvesSymbolicLink: NSFileCoordinatorReadingOptions { get }
static var ImmediatelyAvailableMetadataOnly: NSFileCoordinatorReadingOptions { get }
static var ForUploading: NSFileCoordinatorReadingOptions { get }
} | OptionSetType |
To | 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 }
}
extension NSFileCoordinator.ReadingOptions {
func union(_ other: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions
func intersection(_ other: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions
func symmetricDifference(_ other: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions
}
extension NSFileCoordinator.ReadingOptions {
func contains(_ member: NSFileCoordinator.ReadingOptions) -> Bool
mutating func insert(_ newMember: NSFileCoordinator.ReadingOptions) -> (inserted: Bool, memberAfterInsert: NSFileCoordinator.ReadingOptions)
mutating func remove(_ member: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions?
mutating func update(with newMember: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions?
}
extension NSFileCoordinator.ReadingOptions {
convenience init()
mutating func formUnion(_ other: NSFileCoordinator.ReadingOptions)
mutating func formIntersection(_ other: NSFileCoordinator.ReadingOptions)
mutating func formSymmetricDifference(_ other: NSFileCoordinator.ReadingOptions)
}
extension NSFileCoordinator.ReadingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSFileCoordinator.ReadingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSFileCoordinator.ReadingOptions...)
mutating func subtract(_ other: NSFileCoordinator.ReadingOptions)
func isSubset(of other: NSFileCoordinator.ReadingOptions) -> Bool
func isSuperset(of other: NSFileCoordinator.ReadingOptions) -> Bool
func isDisjoint(with other: NSFileCoordinator.ReadingOptions) -> Bool
func subtracting(_ other: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSFileCoordinator.ReadingOptions) -> Bool
func isStrictSubset(of other: NSFileCoordinator.ReadingOptions) -> Bool
}
extension NSFileCoordinator.ReadingOptions {
func intersect(_ other: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions
func exclusiveOr(_ other: NSFileCoordinator.ReadingOptions) -> NSFileCoordinator.ReadingOptions
mutating func unionInPlace(_ other: NSFileCoordinator.ReadingOptions)
mutating func intersectInPlace(_ other: NSFileCoordinator.ReadingOptions)
mutating func exclusiveOrInPlace(_ other: NSFileCoordinator.ReadingOptions)
func isSubsetOf(_ other: NSFileCoordinator.ReadingOptions) -> Bool
func isDisjointWith(_ other: NSFileCoordinator.ReadingOptions) -> Bool
func isSupersetOf(_ other: NSFileCoordinator.ReadingOptions) -> Bool
mutating func subtractInPlace(_ other: NSFileCoordinator.ReadingOptions)
func isStrictSupersetOf(_ other: NSFileCoordinator.ReadingOptions) -> Bool
func isStrictSubsetOf(_ other: NSFileCoordinator.ReadingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | ForUploading | static var ForUploading: NSFileCoordinatorReadingOptions { get } |
To | forUploading | static var forUploading: NSFileCoordinator.ReadingOptions { get } |
---|
| Name | Declaration |
From | ImmediatelyAvailableMetadataOnly | static var ImmediatelyAvailableMetadataOnly: NSFileCoordinatorReadingOptions { get } |
To | immediatelyAvailableMetadataOnly | static var immediatelyAvailableMetadataOnly: NSFileCoordinator.ReadingOptions { get } |
---|
| Name | Declaration |
From | ResolvesSymbolicLink | static var ResolvesSymbolicLink: NSFileCoordinatorReadingOptions { get } |
To | resolvesSymbolicLink | static var resolvesSymbolicLink: NSFileCoordinator.ReadingOptions { get } |
---|
| Name | Declaration |
From | WithoutChanges | static var WithoutChanges: NSFileCoordinatorReadingOptions { get } |
To | withoutChanges | static var withoutChanges: NSFileCoordinator.ReadingOptions { get } |
---|
| Declaration | Protocols |
From | struct NSFileCoordinatorWritingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var ForDeleting: NSFileCoordinatorWritingOptions { get }
static var ForMoving: NSFileCoordinatorWritingOptions { get }
static var ForMerging: NSFileCoordinatorWritingOptions { get }
static var ForReplacing: NSFileCoordinatorWritingOptions { get }
static var ContentIndependentMetadataOnly: NSFileCoordinatorWritingOptions { get }
} | OptionSetType |
To | 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.WritingOptions {
func union(_ other: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions
func intersection(_ other: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions
func symmetricDifference(_ other: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions
}
extension NSFileCoordinator.WritingOptions {
func contains(_ member: NSFileCoordinator.WritingOptions) -> Bool
mutating func insert(_ newMember: NSFileCoordinator.WritingOptions) -> (inserted: Bool, memberAfterInsert: NSFileCoordinator.WritingOptions)
mutating func remove(_ member: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions?
mutating func update(with newMember: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions?
}
extension NSFileCoordinator.WritingOptions {
convenience init()
mutating func formUnion(_ other: NSFileCoordinator.WritingOptions)
mutating func formIntersection(_ other: NSFileCoordinator.WritingOptions)
mutating func formSymmetricDifference(_ other: NSFileCoordinator.WritingOptions)
}
extension NSFileCoordinator.WritingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSFileCoordinator.WritingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSFileCoordinator.WritingOptions...)
mutating func subtract(_ other: NSFileCoordinator.WritingOptions)
func isSubset(of other: NSFileCoordinator.WritingOptions) -> Bool
func isSuperset(of other: NSFileCoordinator.WritingOptions) -> Bool
func isDisjoint(with other: NSFileCoordinator.WritingOptions) -> Bool
func subtracting(_ other: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSFileCoordinator.WritingOptions) -> Bool
func isStrictSubset(of other: NSFileCoordinator.WritingOptions) -> Bool
}
extension NSFileCoordinator.WritingOptions {
func intersect(_ other: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions
func exclusiveOr(_ other: NSFileCoordinator.WritingOptions) -> NSFileCoordinator.WritingOptions
mutating func unionInPlace(_ other: NSFileCoordinator.WritingOptions)
mutating func intersectInPlace(_ other: NSFileCoordinator.WritingOptions)
mutating func exclusiveOrInPlace(_ other: NSFileCoordinator.WritingOptions)
func isSubsetOf(_ other: NSFileCoordinator.WritingOptions) -> Bool
func isDisjointWith(_ other: NSFileCoordinator.WritingOptions) -> Bool
func isSupersetOf(_ other: NSFileCoordinator.WritingOptions) -> Bool
mutating func subtractInPlace(_ other: NSFileCoordinator.WritingOptions)
func isStrictSupersetOf(_ other: NSFileCoordinator.WritingOptions) -> Bool
func isStrictSubsetOf(_ other: NSFileCoordinator.WritingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | ContentIndependentMetadataOnly | static var ContentIndependentMetadataOnly: NSFileCoordinatorWritingOptions { get } |
To | contentIndependentMetadataOnly | static var contentIndependentMetadataOnly: NSFileCoordinator.WritingOptions { get } |
---|
| Name | Declaration |
From | ForDeleting | static var ForDeleting: NSFileCoordinatorWritingOptions { get } |
To | forDeleting | static var forDeleting: NSFileCoordinator.WritingOptions { get } |
---|
| Name | Declaration |
From | ForMerging | static var ForMerging: NSFileCoordinatorWritingOptions { get } |
To | forMerging | static var forMerging: NSFileCoordinator.WritingOptions { get } |
---|
| Name | Declaration |
From | ForMoving | static var ForMoving: NSFileCoordinatorWritingOptions { get } |
To | forMoving | static var forMoving: NSFileCoordinator.WritingOptions { get } |
---|
| Name | Declaration |
From | ForReplacing | static var ForReplacing: NSFileCoordinatorWritingOptions { get } |
To | forReplacing | static var forReplacing: NSFileCoordinator.WritingOptions { get } |
---|
| Declaration |
From | protocol NSFilePresenter : NSObjectProtocol {
@NSCopying var presentedItemURL: NSURL? { get }
var presentedItemOperationQueue: NSOperationQueue { get }
@NSCopying optional var primaryPresentedItemURL: NSURL? { get }
optional func relinquishPresentedItemToReader(_ reader: ((() -> Void)?) -> Void)
optional func relinquishPresentedItemToWriter(_ writer: ((() -> Void)?) -> Void)
optional func savePresentedItemChangesWithCompletionHandler(_ completionHandler: (NSError?) -> Void)
optional func accommodatePresentedItemDeletionWithCompletionHandler(_ completionHandler: (NSError?) -> Void)
optional func presentedItemDidMoveToURL(_ newURL: NSURL)
optional func presentedItemDidChange()
optional func presentedItemDidGainVersion(_ version: NSFileVersion)
optional func presentedItemDidLoseVersion(_ version: NSFileVersion)
optional func presentedItemDidResolveConflictVersion(_ version: NSFileVersion)
optional func accommodatePresentedSubitemDeletionAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void)
optional func presentedSubitemDidAppearAtURL(_ url: NSURL)
optional func presentedSubitemAtURL(_ oldURL: NSURL, didMoveToURL newURL: NSURL)
optional func presentedSubitemDidChangeAtURL(_ url: NSURL)
optional func presentedSubitemAtURL(_ url: NSURL, didGainVersion version: NSFileVersion)
optional func presentedSubitemAtURL(_ url: NSURL, didLoseVersion version: NSFileVersion)
optional func presentedSubitemAtURL(_ url: NSURL, didResolveConflictVersion 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 ((@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)
} |
---|
| Declaration |
From | optional func accommodatePresentedItemDeletionWithCompletionHandler(_ completionHandler: (NSError?) -> Void) |
To | optional func accommodatePresentedItemDeletion(completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
---|
| Declaration |
From | optional func accommodatePresentedSubitemDeletionAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) |
To | optional func accommodatePresentedSubitemDeletion(at url: URL, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
---|
| Declaration |
From | optional func presentedItemDidGainVersion(_ version: NSFileVersion) |
To | optional func presentedItemDidGain(_ version: NSFileVersion) |
---|
| Declaration |
From | optional func presentedItemDidLoseVersion(_ version: NSFileVersion) |
To | optional func presentedItemDidLose(_ version: NSFileVersion) |
---|
| Declaration |
From | optional func presentedItemDidMoveToURL(_ newURL: NSURL) |
To | optional func presentedItemDidMove(to newURL: URL) |
---|
| Declaration |
From | optional func presentedItemDidResolveConflictVersion(_ version: NSFileVersion) |
To | optional func presentedItemDidResolveConflict(_ version: NSFileVersion) |
---|
| Declaration |
From | var presentedItemOperationQueue: NSOperationQueue { get } |
To | var presentedItemOperationQueue: OperationQueue { get } |
---|
| Declaration |
From | @NSCopying var presentedItemURL: NSURL? { get } |
To | var presentedItemURL: URL? { get } |
---|
| Declaration |
From | optional func presentedSubitemAtURL(_ url: NSURL, didGainVersion version: NSFileVersion) |
To | optional func presentedSubitem(at url: URL, didGain version: NSFileVersion) |
---|
| Declaration |
From | optional func presentedSubitemAtURL(_ url: NSURL, didLoseVersion version: NSFileVersion) |
To | optional func presentedSubitem(at url: URL, didLose version: NSFileVersion) |
---|
| Declaration |
From | optional func presentedSubitemAtURL(_ oldURL: NSURL, didMoveToURL newURL: NSURL) |
To | optional func presentedSubitem(at oldURL: URL, didMoveTo newURL: URL) |
---|
| Declaration |
From | optional func presentedSubitemAtURL(_ url: NSURL, didResolveConflictVersion version: NSFileVersion) |
To | optional func presentedSubitem(at url: URL, didResolve version: NSFileVersion) |
---|
| Declaration |
From | optional func presentedSubitemDidAppearAtURL(_ url: NSURL) |
To | optional func presentedSubitemDidAppear(at url: URL) |
---|
| Declaration |
From | optional func presentedSubitemDidChangeAtURL(_ url: NSURL) |
To | optional func presentedSubitemDidChange(at url: URL) |
---|
| Declaration |
From | @NSCopying optional var primaryPresentedItemURL: NSURL? { get } |
To | optional var primaryPresentedItemURL: URL? { get } |
---|
| Declaration |
From | optional func relinquishPresentedItemToReader(_ reader: ((() -> Void)?) -> Void) |
To | optional func relinquishPresentedItem(toReader reader: @escaping ((@escaping () -> Swift.Void)?) -> Swift.Void) |
---|
| Declaration |
From | optional func relinquishPresentedItemToWriter(_ writer: ((() -> Void)?) -> Void) |
To | optional func relinquishPresentedItem(toWriter writer: @escaping ((@escaping () -> Swift.Void)?) -> Swift.Void) |
---|
| Declaration |
From | optional func savePresentedItemChangesWithCompletionHandler(_ completionHandler: (NSError?) -> Void) |
To | optional func savePresentedItemChanges(completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
---|
| Declaration | Protocols |
From | class NSFileSecurity : NSObject, NSCopying, NSCoding {
init?(coder aDecoder: NSCoder)
} | NSCoding, NSCopying |
To | class NSFileSecurity : NSObject, NSCopying, NSCoding {
init?(coder aDecoder: NSCoder)
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 NSFileSecurity : CVarArg {
}
extension NSFileSecurity : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
---|
| Declaration | Protocols |
From | class NSFileVersion : NSObject {
class func currentVersionOfItemAtURL(_ url: NSURL) -> NSFileVersion?
class func otherVersionsOfItemAtURL(_ url: NSURL) -> [NSFileVersion]?
class func unresolvedConflictVersionsOfItemAtURL(_ url: NSURL) -> [NSFileVersion]?
class func getNonlocalVersionsOfItemAtURL(_ url: NSURL, completionHandler completionHandler: ([NSFileVersion]?, NSError?) -> Void)
init?(ofItemAtURL url: NSURL, forPersistentIdentifier persistentIdentifier: AnyObject)
class func versionOfItemAtURL(_ url: NSURL, forPersistentIdentifier persistentIdentifier: AnyObject) -> NSFileVersion?
class func addVersionOfItemAtURL(_ url: NSURL, withContentsOfURL contentsURL: NSURL, options options: NSFileVersionAddingOptions) throws -> NSFileVersion
class func temporaryDirectoryURLForNewVersionOfItemAtURL(_ url: NSURL) -> NSURL
@NSCopying var URL: NSURL { get }
var localizedName: String? { get }
var localizedNameOfSavingComputer: String? { get }
@NSCopying var modificationDate: NSDate? { get }
var persistentIdentifier: NSCoding { get }
var conflict: Bool { get }
var resolved: Bool
var discardable: Bool
var hasLocalContents: Bool { get }
var hasThumbnail: Bool { get }
func replaceItemAtURL(_ url: NSURL, options options: NSFileVersionReplacingOptions) throws -> NSURL
func remove() throws
class func removeOtherVersionsOfItemAtURL(_ url: NSURL) throws
} | -- |
To | class NSFileVersion : NSObject {
class func currentVersionOfItem(at url: URL) -> NSFileVersion?
class func otherVersionsOfItem(at url: URL) -> [NSFileVersion]?
class func unresolvedConflictVersionsOfItem(at url: URL) -> [NSFileVersion]?
class func getNonlocalVersionsOfItem(at url: URL, completionHandler completionHandler: @escaping ([NSFileVersion]?, Error?) -> Swift.Void)
class func version(itemAt url: URL, forPersistentIdentifier persistentIdentifier: Any) -> NSFileVersion?
class func addOfItem(at url: URL, withContentsOf contentsURL: URL, options options: NSFileVersion.AddingOptions = []) throws -> NSFileVersion
class func temporaryDirectoryURLForNewVersionOfItem(at url: URL) -> URL
var url: URL { get }
var localizedName: String? { get }
var localizedNameOfSavingComputer: String? { get }
var modificationDate: Date? { get }
var persistentIdentifier: NSCoding { get }
var isConflict: Bool { get }
var isResolved: Bool
var isDiscardable: Bool
var hasLocalContents: Bool { get }
var hasThumbnail: Bool { get }
func replaceItem(at url: URL, options options: NSFileVersion.ReplacingOptions = []) throws -> URL
func remove() throws
class func removeOtherVersionsOfItem(at url: URL) throws
struct AddingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byMoving: NSFileVersion.AddingOptions { get }
}
struct ReplacingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byMoving: NSFileVersion.ReplacingOptions { 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 NSFileVersion {
struct AddingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byMoving: NSFileVersion.AddingOptions { get }
}
struct ReplacingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byMoving: NSFileVersion.ReplacingOptions { get }
}
}
extension NSFileVersion : CVarArg {
}
extension NSFileVersion : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func addVersionOfItemAtURL(_ url: NSURL, withContentsOfURL contentsURL: NSURL, options options: NSFileVersionAddingOptions) throws -> NSFileVersion |
To | class func addOfItem(at url: URL, withContentsOf contentsURL: URL, options options: NSFileVersion.AddingOptions = []) throws -> NSFileVersion |
---|
| Declaration |
From | class func currentVersionOfItemAtURL(_ url: NSURL) -> NSFileVersion? |
To | class func currentVersionOfItem(at url: URL) -> NSFileVersion? |
---|
| Declaration |
From | class func getNonlocalVersionsOfItemAtURL(_ url: NSURL, completionHandler completionHandler: ([NSFileVersion]?, NSError?) -> Void) |
To | class func getNonlocalVersionsOfItem(at url: URL, completionHandler completionHandler: @escaping ([NSFileVersion]?, Error?) -> Swift.Void) |
---|
| Declaration |
From | var conflict: Bool { get } |
To | var isConflict: Bool { get } |
---|
| Declaration |
From | var discardable: Bool |
To | var isDiscardable: Bool |
---|
| Declaration |
From | var resolved: Bool |
To | var isResolved: Bool |
---|
| Declaration |
From | @NSCopying var modificationDate: NSDate? { get } |
To | var modificationDate: Date? { get } |
---|
| Declaration |
From | class func otherVersionsOfItemAtURL(_ url: NSURL) -> [NSFileVersion]? |
To | class func otherVersionsOfItem(at url: URL) -> [NSFileVersion]? |
---|
| Declaration |
From | class func removeOtherVersionsOfItemAtURL(_ url: NSURL) throws |
To | class func removeOtherVersionsOfItem(at url: URL) throws |
---|
| Declaration |
From | func replaceItemAtURL(_ url: NSURL, options options: NSFileVersionReplacingOptions) throws -> NSURL |
To | func replaceItem(at url: URL, options options: NSFileVersion.ReplacingOptions = []) throws -> URL |
---|
| Declaration |
From | class func temporaryDirectoryURLForNewVersionOfItemAtURL(_ url: NSURL) -> NSURL |
To | class func temporaryDirectoryURLForNewVersionOfItem(at url: URL) -> URL |
---|
| Declaration |
From | class func unresolvedConflictVersionsOfItemAtURL(_ url: NSURL) -> [NSFileVersion]? |
To | class func unresolvedConflictVersionsOfItem(at url: URL) -> [NSFileVersion]? |
---|
| Declaration |
From | @NSCopying var URL: NSURL { get } |
To | var url: URL { get } |
---|
| Name | Declaration |
From | init(itemAt:forPersistentIdentifier:) | init?(ofItemAtURL url: NSURL, forPersistentIdentifier persistentIdentifier: AnyObject) |
To | version(itemAt:forPersistentIdentifier:) | class func version(itemAt url: URL, forPersistentIdentifier persistentIdentifier: Any) -> NSFileVersion? |
---|
| Declaration | Protocols |
From | struct NSFileVersionAddingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var ByMoving: NSFileVersionAddingOptions { get }
} | OptionSetType |
To | struct AddingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byMoving: NSFileVersion.AddingOptions { get }
}
extension NSFileVersion.AddingOptions {
func union(_ other: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions
func intersection(_ other: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions
func symmetricDifference(_ other: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions
}
extension NSFileVersion.AddingOptions {
func contains(_ member: NSFileVersion.AddingOptions) -> Bool
mutating func insert(_ newMember: NSFileVersion.AddingOptions) -> (inserted: Bool, memberAfterInsert: NSFileVersion.AddingOptions)
mutating func remove(_ member: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions?
mutating func update(with newMember: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions?
}
extension NSFileVersion.AddingOptions {
convenience init()
mutating func formUnion(_ other: NSFileVersion.AddingOptions)
mutating func formIntersection(_ other: NSFileVersion.AddingOptions)
mutating func formSymmetricDifference(_ other: NSFileVersion.AddingOptions)
}
extension NSFileVersion.AddingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSFileVersion.AddingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSFileVersion.AddingOptions...)
mutating func subtract(_ other: NSFileVersion.AddingOptions)
func isSubset(of other: NSFileVersion.AddingOptions) -> Bool
func isSuperset(of other: NSFileVersion.AddingOptions) -> Bool
func isDisjoint(with other: NSFileVersion.AddingOptions) -> Bool
func subtracting(_ other: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSFileVersion.AddingOptions) -> Bool
func isStrictSubset(of other: NSFileVersion.AddingOptions) -> Bool
}
extension NSFileVersion.AddingOptions {
func intersect(_ other: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions
func exclusiveOr(_ other: NSFileVersion.AddingOptions) -> NSFileVersion.AddingOptions
mutating func unionInPlace(_ other: NSFileVersion.AddingOptions)
mutating func intersectInPlace(_ other: NSFileVersion.AddingOptions)
mutating func exclusiveOrInPlace(_ other: NSFileVersion.AddingOptions)
func isSubsetOf(_ other: NSFileVersion.AddingOptions) -> Bool
func isDisjointWith(_ other: NSFileVersion.AddingOptions) -> Bool
func isSupersetOf(_ other: NSFileVersion.AddingOptions) -> Bool
mutating func subtractInPlace(_ other: NSFileVersion.AddingOptions)
func isStrictSupersetOf(_ other: NSFileVersion.AddingOptions) -> Bool
func isStrictSubsetOf(_ other: NSFileVersion.AddingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | ByMoving | static var ByMoving: NSFileVersionAddingOptions { get } |
To | byMoving | static var byMoving: NSFileVersion.AddingOptions { get } |
---|
| Declaration | Protocols |
From | struct NSFileVersionReplacingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var ByMoving: NSFileVersionReplacingOptions { get }
} | OptionSetType |
To | struct ReplacingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byMoving: NSFileVersion.ReplacingOptions { get }
}
extension NSFileVersion.ReplacingOptions {
func union(_ other: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions
func intersection(_ other: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions
func symmetricDifference(_ other: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions
}
extension NSFileVersion.ReplacingOptions {
func contains(_ member: NSFileVersion.ReplacingOptions) -> Bool
mutating func insert(_ newMember: NSFileVersion.ReplacingOptions) -> (inserted: Bool, memberAfterInsert: NSFileVersion.ReplacingOptions)
mutating func remove(_ member: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions?
mutating func update(with newMember: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions?
}
extension NSFileVersion.ReplacingOptions {
convenience init()
mutating func formUnion(_ other: NSFileVersion.ReplacingOptions)
mutating func formIntersection(_ other: NSFileVersion.ReplacingOptions)
mutating func formSymmetricDifference(_ other: NSFileVersion.ReplacingOptions)
}
extension NSFileVersion.ReplacingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSFileVersion.ReplacingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSFileVersion.ReplacingOptions...)
mutating func subtract(_ other: NSFileVersion.ReplacingOptions)
func isSubset(of other: NSFileVersion.ReplacingOptions) -> Bool
func isSuperset(of other: NSFileVersion.ReplacingOptions) -> Bool
func isDisjoint(with other: NSFileVersion.ReplacingOptions) -> Bool
func subtracting(_ other: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSFileVersion.ReplacingOptions) -> Bool
func isStrictSubset(of other: NSFileVersion.ReplacingOptions) -> Bool
}
extension NSFileVersion.ReplacingOptions {
func intersect(_ other: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions
func exclusiveOr(_ other: NSFileVersion.ReplacingOptions) -> NSFileVersion.ReplacingOptions
mutating func unionInPlace(_ other: NSFileVersion.ReplacingOptions)
mutating func intersectInPlace(_ other: NSFileVersion.ReplacingOptions)
mutating func exclusiveOrInPlace(_ other: NSFileVersion.ReplacingOptions)
func isSubsetOf(_ other: NSFileVersion.ReplacingOptions) -> Bool
func isDisjointWith(_ other: NSFileVersion.ReplacingOptions) -> Bool
func isSupersetOf(_ other: NSFileVersion.ReplacingOptions) -> Bool
mutating func subtractInPlace(_ other: NSFileVersion.ReplacingOptions)
func isStrictSupersetOf(_ other: NSFileVersion.ReplacingOptions) -> Bool
func isStrictSubsetOf(_ other: NSFileVersion.ReplacingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | ByMoving | static var ByMoving: NSFileVersionReplacingOptions { get } |
To | byMoving | static var byMoving: NSFileVersion.ReplacingOptions { get } |
---|
| Declaration |
From | struct NSHashEnumerator {
var _pi: Int
var _si: Int
var _bs: UnsafeMutablePointer<Void>
init()
init(_pi _pi: Int, _si _si: Int, _bs _bs: UnsafeMutablePointer<Void>)
} |
To | struct NSHashEnumerator {
var _pi: Int
var _si: Int
var _bs: UnsafeMutableRawPointer?
init()
init(_pi _pi: Int, _si _si: Int, _bs _bs: UnsafeMutableRawPointer?)
} |
---|
| Declaration | Protocols | Generics[Constraints] | Generics[Parameters] |
From | class NSHashTable : NSObject, NSCopying, NSCoding, NSFastEnumeration {
init(options options: NSPointerFunctionsOptions, capacity initialCapacity: Int)
init(pointerFunctions functions: NSPointerFunctions, capacity initialCapacity: Int)
init(options options: NSPointerFunctionsOptions)
class func hashTableWithOptions(_ options: NSPointerFunctionsOptions) -> NSHashTable
class func hashTableWithWeakObjects() -> AnyObject
class func weakObjectsHashTable() -> NSHashTable
@NSCopying var pointerFunctions: NSPointerFunctions { get }
var count: Int { get }
func member(_ object: AnyObject?) -> AnyObject?
func objectEnumerator() -> NSEnumerator
func addObject(_ object: AnyObject?)
func removeObject(_ object: AnyObject?)
func removeAllObjects()
var allObjects: [AnyObject] { get }
var anyObject: AnyObject? { get }
func containsObject(_ anObject: AnyObject?) -> Bool
func intersectsHashTable(_ other: NSHashTable) -> Bool
func isEqualToHashTable(_ other: NSHashTable) -> Bool
func isSubsetOfHashTable(_ other: NSHashTable) -> Bool
func intersectHashTable(_ other: NSHashTable)
func unionHashTable(_ other: NSHashTable)
func minusHashTable(_ other: NSHashTable)
var setRepresentation: Set<NSObject> { get }
} | NSCoding, NSCopying, NSFastEnumeration | | -- |
To | class NSHashTable<ObjectType : AnyObject> : NSObject, NSCopying, NSCoding, NSFastEnumeration {
init(options options: NSPointerFunctions.Options = [], capacity initialCapacity: Int)
init(pointerFunctions functions: NSPointerFunctions, capacity initialCapacity: Int)
init(options options: NSPointerFunctions.Options = [])
class func withOptions(_ options: NSPointerFunctions.Options = []) -> NSHashTable<ObjectType>
class func hashTableWithWeakObjects() -> Any
class func weakObjects() -> NSHashTable<ObjectType>
@NSCopying var pointerFunctions: NSPointerFunctions { get }
var count: Int { get }
func member(_ object: ObjectType?) -> ObjectType?
func objectEnumerator() -> NSEnumerator
func add(_ object: ObjectType?)
func remove(_ object: ObjectType?)
func removeAllObjects()
var allObjects: [ObjectType] { get }
var anyObject: ObjectType? { get }
func contains(_ anObject: ObjectType?) -> Bool
func intersects(_ other: NSHashTable<ObjectType>) -> Bool
func isEqual(to other: NSHashTable<ObjectType>) -> Bool
func isSubset(of other: NSHashTable<ObjectType>) -> Bool
func intersect(_ other: NSHashTable<ObjectType>)
func union(_ other: NSHashTable<ObjectType>)
func minus(_ other: NSHashTable<ObjectType>)
var setRepresentation: Set<AnyHashable> { 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 NSHashTable : CVarArg {
}
extension NSHashTable : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSFastEnumeration | ObjectType : AnyObject | ObjectType |
---|
| Declaration |
From | func addObject(_ object: AnyObject?) |
To | func add(_ object: ObjectType?) |
---|
| Declaration |
From | var allObjects: [AnyObject] { get } |
To | var allObjects: [ObjectType] { get } |
---|
| Declaration |
From | var anyObject: AnyObject? { get } |
To | var anyObject: ObjectType? { get } |
---|
| Declaration |
From | func containsObject(_ anObject: AnyObject?) -> Bool |
To | func contains(_ anObject: ObjectType?) -> Bool |
---|
| Declaration |
From | init(options options: NSPointerFunctionsOptions) |
To | init(options options: NSPointerFunctions.Options = []) |
---|
| Declaration |
From | init(options options: NSPointerFunctionsOptions, capacity initialCapacity: Int) |
To | init(options options: NSPointerFunctions.Options = [], capacity initialCapacity: Int) |
---|
| Declaration |
From | func intersectHashTable(_ other: NSHashTable) |
To | func intersect(_ other: NSHashTable<ObjectType>) |
---|
| Declaration |
From | func intersectsHashTable(_ other: NSHashTable) -> Bool |
To | func intersects(_ other: NSHashTable<ObjectType>) -> Bool |
---|
| Declaration |
From | func isEqualToHashTable(_ other: NSHashTable) -> Bool |
To | func isEqual(to other: NSHashTable<ObjectType>) -> Bool |
---|
| Declaration |
From | func isSubsetOfHashTable(_ other: NSHashTable) -> Bool |
To | func isSubset(of other: NSHashTable<ObjectType>) -> Bool |
---|
| Declaration |
From | func member(_ object: AnyObject?) -> AnyObject? |
To | func member(_ object: ObjectType?) -> ObjectType? |
---|
| Declaration |
From | func minusHashTable(_ other: NSHashTable) |
To | func minus(_ other: NSHashTable<ObjectType>) |
---|
| Declaration |
From | func removeObject(_ object: AnyObject?) |
To | func remove(_ object: ObjectType?) |
---|
| Declaration |
From | var setRepresentation: Set<NSObject> { get } |
To | var setRepresentation: Set<AnyHashable> { get } |
---|
| Declaration |
From | func unionHashTable(_ other: NSHashTable) |
To | func union(_ other: NSHashTable<ObjectType>) |
---|
| Declaration |
From | class func weakObjectsHashTable() -> NSHashTable |
To | class func weakObjects() -> NSHashTable<ObjectType> |
---|
| Declaration |
From | struct NSHashTableCallBacks {
var hash: ((NSHashTable, UnsafePointer<Void>) -> Int)?
var isEqual: ((NSHashTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)?
var retain: ((NSHashTable, UnsafePointer<Void>) -> Void)?
var release: ((NSHashTable, UnsafeMutablePointer<Void>) -> Void)?
var describe: ((NSHashTable, UnsafePointer<Void>) -> String?)?
init()
init(hash hash: ((NSHashTable, UnsafePointer<Void>) -> Int)?, isEqual isEqual: ((NSHashTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)?, retain retain: ((NSHashTable, UnsafePointer<Void>) -> Void)?, release release: ((NSHashTable, UnsafeMutablePointer<Void>) -> Void)?, describe describe: ((NSHashTable, UnsafePointer<Void>) -> 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: (@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?)?)
} |
---|
| Declaration |
From | var describe: ((NSHashTable, UnsafePointer<Void>) -> String?)? |
To | var describe: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> String?)? |
---|
| Declaration |
From | var hash: ((NSHashTable, UnsafePointer<Void>) -> Int)? |
To | var hash: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Int)? |
---|
| Declaration |
From | var isEqual: ((NSHashTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)? |
To | var isEqual: ((NSHashTable<AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)? |
---|
| Declaration |
From | var release: ((NSHashTable, UnsafeMutablePointer<Void>) -> Void)? |
To | var release: ((NSHashTable<AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? |
---|
| Declaration |
From | var retain: ((NSHashTable, UnsafePointer<Void>) -> Void)? |
To | var retain: ((NSHashTable<AnyObject>, UnsafeRawPointer) -> Swift.Void)? |
---|
| Declaration | Protocols |
From | class NSIndexPath : NSObject, NSCopying, NSSecureCoding {
convenience init(index index: Int)
class func indexPathWithIndex(_ index: Int) -> Self
convenience init(indexes indexes: UnsafePointer<Int>, length length: Int)
class func indexPathWithIndexes(_ indexes: UnsafePointer<Int>, length length: Int) -> Self
init(indexes indexes: UnsafePointer<Int>, length length: Int)
convenience init(index index: Int)
func indexPathByAddingIndex(_ index: Int) -> NSIndexPath
func indexPathByRemovingLastIndex() -> NSIndexPath
func indexAtPosition(_ position: Int) -> Int
var length: Int { get }
func getIndexes(_ indexes: UnsafeMutablePointer<Int>, range positionRange: NSRange)
func compare(_ otherObject: NSIndexPath) -> NSComparisonResult
}
extension NSIndexPath {
init(forItem item: Int, inSection section: Int)
class func indexPathForItem(_ item: Int, inSection section: Int) -> NSIndexPath
var item: Int { get }
var section: Int { get }
}
extension NSIndexPath {
func getIndexes(_ indexes: UnsafeMutablePointer<Int>)
} | NSCopying, NSSecureCoding |
To | class NSIndexPath : NSObject, NSCopying, NSSecureCoding {
convenience init(index index: Int)
class func withIndex(_ index: Int) -> Self
convenience init(indexes indexes: UnsafePointer<Int>!, length length: Int)
class func withIndexes(_ indexes: UnsafePointer<Int>!, length length: Int) -> Self
init(indexes indexes: UnsafePointer<Int>!, length length: Int)
convenience init(index index: Int)
func adding(_ index: Int) -> IndexPath
func removingLastIndex() -> IndexPath
func index(atPosition position: Int) -> Int
var length: Int { get }
func getIndexes(_ indexes: UnsafeMutablePointer<Int>, range positionRange: NSRange)
func compare(_ otherObject: IndexPath) -> ComparisonResult
func getIndexes(_ indexes: UnsafeMutablePointer<Int>)
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 NSIndexPath {
init(forItem item: Int, inSection section: Int)
class func forItem(_ item: Int, inSection section: Int) -> IndexPath
var item: Int { get }
var section: Int { get }
}
extension NSIndexPath : CVarArg {
}
extension NSIndexPath : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSIndexPath {
func getIndexes(_ indexes: UnsafeMutablePointer<Int>)
}
extension NSIndexPath {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func indexPathByAddingIndex(_ index: Int) -> NSIndexPath |
To | func adding(_ index: Int) -> IndexPath |
---|
| Declaration |
From | func compare(_ otherObject: NSIndexPath) -> NSComparisonResult |
To | func compare(_ otherObject: IndexPath) -> ComparisonResult |
---|
| Declaration |
From | func indexAtPosition(_ position: Int) -> Int |
To | func index(atPosition position: Int) -> Int |
---|
| Declaration |
From | init(indexes indexes: UnsafePointer<Int>, length length: Int) |
To | init(indexes indexes: UnsafePointer<Int>!, length length: Int) |
---|
| Declaration |
From | func indexPathByRemovingLastIndex() -> NSIndexPath |
To | func removingLastIndex() -> IndexPath |
---|
| Declaration | Protocols |
From | class NSIndexSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
convenience init()
class func indexSet() -> Self
convenience init(index value: Int)
class func indexSetWithIndex(_ value: Int) -> Self
convenience init(indexesInRange range: NSRange)
class func indexSetWithIndexesInRange(_ range: NSRange) -> Self
init(indexesInRange range: NSRange)
init(indexSet indexSet: NSIndexSet)
convenience init(index value: Int)
func isEqualToIndexSet(_ indexSet: NSIndexSet) -> Bool
var count: Int { get }
var firstIndex: Int { get }
var lastIndex: Int { get }
func indexGreaterThanIndex(_ value: Int) -> Int
func indexLessThanIndex(_ value: Int) -> Int
func indexGreaterThanOrEqualToIndex(_ value: Int) -> Int
func indexLessThanOrEqualToIndex(_ value: Int) -> Int
func getIndexes(_ indexBuffer: UnsafeMutablePointer<Int>, maxCount bufferSize: Int, inIndexRange range: NSRangePointer) -> Int
func countOfIndexesInRange(_ range: NSRange) -> Int
func containsIndex(_ value: Int) -> Bool
func containsIndexesInRange(_ range: NSRange) -> Bool
func containsIndexes(_ indexSet: NSIndexSet) -> Bool
func intersectsIndexesInRange(_ range: NSRange) -> Bool
func enumerateIndexesUsingBlock(_ block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateIndexesWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateIndexesInRange(_ range: NSRange, options opts: NSEnumerationOptions, usingBlock block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func indexPassingTest(_ predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexInRange(_ range: NSRange, options opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexesPassingTest(_ predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func indexesWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func indexesInRange(_ range: NSRange, options opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func enumerateRangesUsingBlock(_ block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateRangesWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateRangesInRange(_ range: NSRange, options opts: NSEnumerationOptions, usingBlock block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
}
extension NSIndexSet : SequenceType {
func generate() -> NSIndexSetGenerator
}
extension NSIndexSet : SequenceType {
func generate() -> NSIndexSetGenerator
} | NSCopying, NSMutableCopying, NSSecureCoding, SequenceType |
To | class NSIndexSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
convenience init()
class func indexSet() -> Self
convenience init(index value: Int)
class func withIndex(_ value: Int) -> Self
convenience init(indexesIn range: NSRange)
class func withIndexesIn(_ range: NSRange) -> Self
init(indexesIn range: NSRange)
init(indexSet indexSet: IndexSet)
convenience init(index value: Int)
func isEqual(to indexSet: IndexSet) -> Bool
var count: Int { get }
var firstIndex: Int { get }
var lastIndex: Int { get }
func indexGreaterThanIndex(_ value: Int) -> Int
func indexLessThanIndex(_ value: Int) -> Int
func indexGreaterThanOrEqual(to value: Int) -> Int
func indexLessThanOrEqual(to value: Int) -> Int
func getIndexes(_ indexBuffer: UnsafeMutablePointer<Int>, maxCount bufferSize: Int, inIndexRange range: NSRangePointer?) -> Int
func countOfIndexes(in range: NSRange) -> Int
func contains(_ value: Int) -> Bool
func contains(in range: NSRange) -> Bool
func contains(_ indexSet: IndexSet) -> Bool
func intersects(in range: NSRange) -> Bool
func enumerate(_ block: (Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerate(options opts: NSEnumerationOptions = [], using block: (Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerate(in range: NSRange, options opts: NSEnumerationOptions = [], using block: (Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func index(passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(in range: NSRange, options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexes(passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(in range: NSRange, options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func enumerateRanges(_ block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateRanges(options opts: NSEnumerationOptions = [], using block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateRanges(in range: NSRange, options opts: NSEnumerationOptions = [], using block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> 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 NSIndexSet : CVarArg {
}
extension NSIndexSet : Sequence {
func makeIterator() -> NSIndexSetIterator
}
extension NSIndexSet : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSIndexSet : Sequence {
func makeIterator() -> NSIndexSetIterator
}
extension NSIndexSet {
} | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding, Sequence |
---|
| Declaration |
From | func containsIndexes(_ indexSet: NSIndexSet) -> Bool |
To | func contains(_ indexSet: IndexSet) -> Bool |
---|
| Declaration |
From | func containsIndex(_ value: Int) -> Bool |
To | func contains(_ value: Int) -> Bool |
---|
| Declaration |
From | func containsIndexesInRange(_ range: NSRange) -> Bool |
To | func contains(in range: NSRange) -> Bool |
---|
| Declaration |
From | func countOfIndexesInRange(_ range: NSRange) -> Int |
To | func countOfIndexes(in range: NSRange) -> Int |
---|
| Declaration |
From | func enumerateIndexesUsingBlock(_ block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerate(_ block: (Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateIndexesInRange(_ range: NSRange, options opts: NSEnumerationOptions, usingBlock block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerate(in range: NSRange, options opts: NSEnumerationOptions = [], using block: (Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateIndexesWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerate(options opts: NSEnumerationOptions = [], using block: (Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateRangesUsingBlock(_ block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateRanges(_ block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateRangesInRange(_ range: NSRange, options opts: NSEnumerationOptions, usingBlock block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateRanges(in range: NSRange, options opts: NSEnumerationOptions = [], using block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateRangesWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateRanges(options opts: NSEnumerationOptions = [], using block: (NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func getIndexes(_ indexBuffer: UnsafeMutablePointer<Int>, maxCount bufferSize: Int, inIndexRange range: NSRangePointer) -> Int |
To | func getIndexes(_ indexBuffer: UnsafeMutablePointer<Int>, maxCount bufferSize: Int, inIndexRange range: NSRangePointer?) -> Int |
---|
| Declaration |
From | func indexInRange(_ range: NSRange, options opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func index(in range: NSRange, options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func index(options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexPassingTest(_ predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func index(passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexesInRange(_ range: NSRange, options opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexes(in range: NSRange, options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexesWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexes(options opts: NSEnumerationOptions = [], passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexesPassingTest(_ predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexes(passingTest predicate: (Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexGreaterThanOrEqualToIndex(_ value: Int) -> Int |
To | func indexGreaterThanOrEqual(to value: Int) -> Int |
---|
| Declaration |
From | func indexLessThanOrEqualToIndex(_ value: Int) -> Int |
To | func indexLessThanOrEqual(to value: Int) -> Int |
---|
| Declaration |
From | init(indexesInRange range: NSRange) |
To | init(indexesIn range: NSRange) |
---|
| Declaration |
From | init(indexSet indexSet: NSIndexSet) |
To | init(indexSet indexSet: IndexSet) |
---|
| Declaration |
From | func intersectsIndexesInRange(_ range: NSRange) -> Bool |
To | func intersects(in range: NSRange) -> Bool |
---|
| Declaration |
From | func isEqualToIndexSet(_ indexSet: NSIndexSet) -> Bool |
To | func isEqual(to indexSet: IndexSet) -> Bool |
---|
| Declaration | Protocols |
From | class NSItemProvider : NSObject, NSCopying {
init(item item: NSSecureCoding?, typeIdentifier typeIdentifier: String?)
convenience init?(contentsOfURL fileURL: NSURL!)
func registerItemForTypeIdentifier(_ typeIdentifier: String, loadHandler loadHandler: NSItemProviderLoadHandler)
var registeredTypeIdentifiers: [AnyObject] { get }
func hasItemConformingToTypeIdentifier(_ typeIdentifier: String) -> Bool
func loadItemForTypeIdentifier(_ typeIdentifier: String, options options: [NSObject : AnyObject]?, completionHandler completionHandler: NSItemProviderCompletionHandler?)
}
extension NSItemProvider {
var sourceFrame: NSRect { get }
var containerFrame: NSRect { get }
var preferredPresentationSize: NSSize { get }
}
extension NSItemProvider {
var previewImageHandler: NSItemProviderLoadHandler?
func loadPreviewImageWithOptions(_ options: [NSObject : AnyObject]!, completionHandler completionHandler: NSItemProviderCompletionHandler!)
} | NSCopying |
To | 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
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Name | Declaration |
From | NSItemProviderErrorDomain | let NSItemProviderErrorDomain: String |
To | errorDomain | class let errorDomain: String |
---|
| Declaration |
From | convenience init?(contentsOfURL fileURL: NSURL!) |
To | convenience init?(contentsOf fileURL: URL!) |
---|
| Declaration |
From | func loadItemForTypeIdentifier(_ typeIdentifier: String, options options: [NSObject : AnyObject]?, completionHandler completionHandler: NSItemProviderCompletionHandler?) |
To | func loadItem(forTypeIdentifier typeIdentifier: String, options options: [AnyHashable : Any]? = nil, completionHandler completionHandler: NSItemProvider.CompletionHandler? = nil) |
---|
| Declaration |
From | func loadPreviewImageWithOptions(_ options: [NSObject : AnyObject]!, completionHandler completionHandler: NSItemProviderCompletionHandler!) |
To | func loadPreviewImage(options options: [AnyHashable : Any]! = [:], completionHandler completionHandler: NSItemProvider.CompletionHandler!) |
---|
| Declaration |
From | var previewImageHandler: NSItemProviderLoadHandler? |
To | var previewImageHandler: NSItemProvider.LoadHandler? |
---|
| Declaration |
From | var registeredTypeIdentifiers: [AnyObject] { get } |
To | var registeredTypeIdentifiers: [Any] { get } |
---|
| Declaration |
From | func registerItemForTypeIdentifier(_ typeIdentifier: String, loadHandler loadHandler: NSItemProviderLoadHandler) |
To | func registerItem(forTypeIdentifier typeIdentifier: String, loadHandler loadHandler: NSItemProvider.LoadHandler) |
---|
| Declaration |
From | enum NSItemProviderErrorCode : Int {
case UnknownError
case ItemUnavailableError
case UnexpectedValueClassError
case UnavailableCoercionError
} |
To | enum ErrorCode : Int {
case unknownError
case itemUnavailableError
case unexpectedValueClassError
case unavailableCoercionError
} |
---|
| Name | Declaration |
From | ItemUnavailableError | case ItemUnavailableError |
To | itemUnavailableError | case itemUnavailableError |
---|
| Name | Declaration |
From | UnavailableCoercionError | case UnavailableCoercionError |
To | unavailableCoercionError | case unavailableCoercionError |
---|
| Name | Declaration |
From | UnexpectedValueClassError | case UnexpectedValueClassError |
To | unexpectedValueClassError | case unexpectedValueClassError |
---|
| Name | Declaration |
From | UnknownError | case UnknownError |
To | unknownError | case unknownError |
---|
| Declaration | Protocols |
From | class NSKeyedArchiver : NSCoder {
class func archivedDataWithRootObject(_ rootObject: AnyObject) -> NSData
class func archiveRootObject(_ rootObject: AnyObject, toFile path: String) -> Bool
init(forWritingWithMutableData data: NSMutableData)
unowned(unsafe) var delegate: NSKeyedArchiverDelegate?
var outputFormat: NSPropertyListFormat
func finishEncoding()
class func setClassName(_ codedName: String?, forClass cls: AnyClass)
func setClassName(_ codedName: String?, forClass cls: AnyClass)
class func classNameForClass(_ cls: AnyClass) -> String?
func classNameForClass(_ cls: AnyClass) -> String?
func encodeObject(_ objv: AnyObject?, forKey key: String)
func encodeConditionalObject(_ objv: AnyObject?, forKey key: String)
func encodeBool(_ boolv: Bool, forKey key: String)
func encodeInt(_ intv: Int32, forKey key: String)
func encodeInt32(_ intv: Int32, forKey key: String)
func encodeInt64(_ intv: Int64, forKey key: String)
func encodeFloat(_ realv: Float, forKey key: String)
func encodeDouble(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>, length lenv: Int, forKey key: String)
var requiresSecureCoding: Bool
} | -- |
To | class NSKeyedArchiver : NSCoder {
init()
class func archivedData(withRootObject rootObject: Any) -> Data
class func archiveRootObject(_ rootObject: Any, toFile path: String) -> Bool
init(forWritingWith data: NSMutableData)
unowned(unsafe) var delegate: NSKeyedArchiverDelegate?
var outputFormat: PropertyListSerialization.PropertyListFormat
var encodedData: Data { get }
func finishEncoding()
class func setClassName(_ codedName: String?, for cls: Swift.AnyClass)
func setClassName(_ codedName: String?, for cls: Swift.AnyClass)
class func className(for cls: Swift.AnyClass) -> String?
func className(for cls: Swift.AnyClass) -> String?
func encode(_ objv: Any?, forKey key: String)
func encodeConditionalObject(_ objv: Any?, forKey key: String)
func encode(_ boolv: Bool, forKey key: String)
func encodeCInt(_ intv: Int32, forKey key: String)
func encode(_ intv: Int32, forKey key: String)
func encode(_ intv: Int64, forKey key: String)
func encode(_ realv: Float, forKey key: String)
func encode(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String)
var requiresSecureCoding: Bool
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@nonobjc func decodeObject(of classes: [AnyClass]?, forKey key: String) -> Any?
@nonobjc func decodeTopLevelObject() throws -> Any?
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(of classes: [AnyClass]?, forKey key: String) throws -> Any?
func encode(_ point: NSPoint, forKey key: String)
func encode(_ size: NSSize, forKey key: String)
func encode(_ rect: NSRect, forKey key: String)
func decodePoint(forKey key: String) -> NSPoint
func decodeSize(forKey key: String) -> NSSize
func decodeRect(forKey key: String) -> NSRect
func encode(_ point: NSPoint)
func decodePoint() -> NSPoint
func encode(_ size: NSSize)
func decodeSize() -> NSSize
func encode(_ rect: NSRect)
func decodeRect() -> NSRect
func encodeNXObject(_ object: Any)
func decodeNXObject() -> Any?
func encode(_ object: Any?)
func encodeRootObject(_ rootObject: Any)
func encodeBycopyObject(_ anObject: Any?)
func encodeByrefObject(_ anObject: Any?)
func encodeConditionalObject(_ object: Any?)
func encodeArray(ofObjCType type: UnsafePointer<Int8>, count count: Int, at array: UnsafeRawPointer)
func encodeBytes(_ byteaddr: UnsafeRawPointer?, length length: Int)
func decodeObject() -> Any?
func decodeArray(ofObjCType itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutableRawPointer)
func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer?
func encodePropertyList(_ aPropertyList: Any)
func decodePropertyList() -> Any?
func setObjectZone(_ zone: NSZone?)
func objectZone() -> NSZone?
var systemVersion: UInt32 { get }
var allowsKeyedCoding: Bool { get }
func encode(_ objv: Any?, forKey key: String)
func encode(_ boolv: Bool, forKey key: String)
func encode(_ intv: Int32, forKey key: String)
func encode(_ intv: Int64, forKey key: String)
func encode(_ realv: Float, forKey key: String)
func encode(_ realv: Double, forKey key: String)
func containsValue(forKey key: String) -> Bool
func decodeObject(forKey key: String) -> Any?
func decodeBool(forKey key: String) -> Bool
func decodeCInt(forKey key: String) -> Int32
func decodeInt32(forKey key: String) -> Int32
func decodeInt64(forKey key: String) -> Int64
func decodeFloat(forKey key: String) -> Float
func decodeDouble(forKey key: String) -> Double
func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
func encode(_ intv: Int, forKey key: String)
func decodeInteger(forKey key: String) -> Int
var requiresSecureCoding: Bool { get }
func __decodeObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) -> Any?
func decodeTopLevelObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) throws -> Any
func decodePropertyList(forKey key: String) -> Any?
var allowedClasses: Set<AnyHashable>? { get }
func failWithError(_ error: Error)
var decodingFailurePolicy: NSCoder.DecodingFailurePolicy { get }
var error: Error? { get }
enum DecodingFailurePolicy : Int {
case raiseException
case setErrorAndReturn
}
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 NSKeyedArchiver : CVarArg {
}
extension NSKeyedArchiver : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func archivedDataWithRootObject(_ rootObject: AnyObject) -> NSData |
To | class func archivedData(withRootObject rootObject: Any) -> Data |
---|
| Declaration |
From | class func archiveRootObject(_ rootObject: AnyObject, toFile path: String) -> Bool |
To | class func archiveRootObject(_ rootObject: Any, toFile path: String) -> Bool |
---|
| Declaration |
From | class func classNameForClass(_ cls: AnyClass) -> String? |
To | class func className(for cls: Swift.AnyClass) -> String? |
---|
| Declaration |
From | func classNameForClass(_ cls: AnyClass) -> String? |
To | func className(for cls: Swift.AnyClass) -> String? |
---|
| Declaration |
From | func encodeBool(_ boolv: Bool, forKey key: String) |
To | func encode(_ boolv: Bool, forKey key: String) |
---|
| Declaration |
From | func encodeDouble(_ realv: Double, forKey key: String) |
To | func encode(_ realv: Double, forKey key: String) |
---|
| Declaration |
From | func encodeInt32(_ intv: Int32, forKey key: String) |
To | func encode(_ intv: Int32, forKey key: String) |
---|
| Declaration |
From | func encodeObject(_ objv: AnyObject?, forKey key: String) |
To | func encode(_ objv: Any?, forKey key: String) |
---|
| Declaration |
From | func encodeFloat(_ realv: Float, forKey key: String) |
To | func encode(_ realv: Float, forKey key: String) |
---|
| Declaration |
From | func encodeInt64(_ intv: Int64, forKey key: String) |
To | func encode(_ intv: Int64, forKey key: String) |
---|
| Declaration |
From | func encodeBytes(_ bytesp: UnsafePointer<UInt8>, length lenv: Int, forKey key: String) |
To | func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String) |
---|
| Declaration |
From | func encodeConditionalObject(_ objv: AnyObject?, forKey key: String) |
To | func encodeConditionalObject(_ objv: Any?, forKey key: String) |
---|
| Declaration |
From | init(forWritingWithMutableData data: NSMutableData) |
To | init(forWritingWith data: NSMutableData) |
---|
| Declaration |
From | var outputFormat: NSPropertyListFormat |
To | var outputFormat: PropertyListSerialization.PropertyListFormat |
---|
| Declaration |
From | class func setClassName(_ codedName: String?, forClass cls: AnyClass) |
To | class func setClassName(_ codedName: String?, for cls: Swift.AnyClass) |
---|
| Declaration |
From | func setClassName(_ codedName: String?, forClass cls: AnyClass) |
To | func setClassName(_ codedName: String?, for cls: Swift.AnyClass) |
---|
| Declaration |
From | protocol NSKeyedArchiverDelegate : NSObjectProtocol {
optional func archiver(_ archiver: NSKeyedArchiver, willEncodeObject object: AnyObject) -> AnyObject?
optional func archiver(_ archiver: NSKeyedArchiver, didEncodeObject object: AnyObject?)
optional func archiver(_ archiver: NSKeyedArchiver, willReplaceObject object: AnyObject?, withObject newObject: AnyObject?)
optional func archiverWillFinish(_ archiver: NSKeyedArchiver)
optional func archiverDidFinish(_ archiver: NSKeyedArchiver)
} |
To | protocol NSKeyedArchiverDelegate : NSObjectProtocol {
optional func archiver(_ archiver: NSKeyedArchiver, willEncode object: Any) -> Any?
optional func archiver(_ archiver: NSKeyedArchiver, didEncode object: Any?)
optional func archiver(_ archiver: NSKeyedArchiver, willReplace object: Any?, with newObject: Any?)
optional func archiverWillFinish(_ archiver: NSKeyedArchiver)
optional func archiverDidFinish(_ archiver: NSKeyedArchiver)
} |
---|
| Declaration |
From | optional func archiver(_ archiver: NSKeyedArchiver, didEncodeObject object: AnyObject?) |
To | optional func archiver(_ archiver: NSKeyedArchiver, didEncode object: Any?) |
---|
| Declaration |
From | optional func archiver(_ archiver: NSKeyedArchiver, willEncodeObject object: AnyObject) -> AnyObject? |
To | optional func archiver(_ archiver: NSKeyedArchiver, willEncode object: Any) -> Any? |
---|
| Declaration |
From | optional func archiver(_ archiver: NSKeyedArchiver, willReplaceObject object: AnyObject?, withObject newObject: AnyObject?) |
To | optional func archiver(_ archiver: NSKeyedArchiver, willReplace object: Any?, with newObject: Any?) |
---|
| Declaration | Protocols |
From | class NSKeyedUnarchiver : NSCoder {
class func unarchiveObjectWithData(_ data: NSData) -> AnyObject?
class func unarchiveTopLevelObjectWithData(_ data: NSData) throws -> AnyObject
class func unarchiveObjectWithFile(_ path: String) -> AnyObject?
init(forReadingWithData data: NSData)
unowned(unsafe) var delegate: NSKeyedUnarchiverDelegate?
func finishDecoding()
class func setClass(_ cls: AnyClass?, forClassName codedName: String)
func setClass(_ cls: AnyClass?, forClassName codedName: String)
class func classForClassName(_ codedName: String) -> AnyClass?
func classForClassName(_ codedName: String) -> AnyClass?
func containsValueForKey(_ key: String) -> Bool
func decodeObjectForKey(_ key: String) -> AnyObject?
func decodeBoolForKey(_ key: String) -> Bool
func decodeIntForKey(_ key: String) -> Int32
func decodeInt32ForKey(_ key: String) -> Int32
func decodeInt64ForKey(_ key: String) -> Int64
func decodeFloatForKey(_ key: String) -> Float
func decodeDoubleForKey(_ key: String) -> Double
func decodeBytesForKey(_ key: String, returnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafePointer<UInt8>
var requiresSecureCoding: Bool
}
extension NSKeyedUnarchiver {
@warn_unused_result
class func unarchiveTopLevelObjectWithData(_ data: NSData) throws -> AnyObject?
}
extension NSKeyedUnarchiver {
@warn_unused_result
class func unarchiveTopLevelObjectWithData(_ data: NSData) throws -> AnyObject?
} | -- |
To | class NSKeyedUnarchiver : NSCoder {
class func unarchiveObject(with data: Data) -> Any?
class func unarchiveTopLevelObject(with data: Data) throws -> Any
class func unarchiveObject(withFile path: String) -> Any?
init(forReadingWith data: Data)
unowned(unsafe) var delegate: NSKeyedUnarchiverDelegate?
func finishDecoding()
class func setClass(_ cls: Swift.AnyClass?, forClassName codedName: String)
func setClass(_ cls: Swift.AnyClass?, forClassName codedName: String)
class func `class`(forClassName codedName: String) -> Swift.AnyClass?
func `class`(forClassName codedName: String) -> Swift.AnyClass?
func containsValue(forKey key: String) -> Bool
func decodeObject(forKey key: String) -> Any?
func decodeBool(forKey key: String) -> Bool
func decodeCInt(forKey key: String) -> Int32
func decodeInt32(forKey key: String) -> Int32
func decodeInt64(forKey key: String) -> Int64
func decodeFloat(forKey key: String) -> Float
func decodeDouble(forKey key: String) -> Double
func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
var requiresSecureCoding: Bool
var decodingFailurePolicy: NSCoder.DecodingFailurePolicy
@nonobjc class func unarchiveTopLevelObjectWithData(_ data: NSData) throws -> AnyObject?
func encode(_ point: NSPoint, forKey key: String)
func encode(_ size: NSSize, forKey key: String)
func encode(_ rect: NSRect, forKey key: String)
func decodePoint(forKey key: String) -> NSPoint
func decodeSize(forKey key: String) -> NSSize
func decodeRect(forKey key: String) -> NSRect
func encode(_ point: NSPoint)
func decodePoint() -> NSPoint
func encode(_ size: NSSize)
func decodeSize() -> NSSize
func encode(_ rect: NSRect)
func decodeRect() -> NSRect
func encodeNXObject(_ object: Any)
func decodeNXObject() -> Any?
func encode(_ object: Any?)
func encodeRootObject(_ rootObject: Any)
func encodeBycopyObject(_ anObject: Any?)
func encodeByrefObject(_ anObject: Any?)
func encodeConditionalObject(_ object: Any?)
func encodeArray(ofObjCType type: UnsafePointer<Int8>, count count: Int, at array: UnsafeRawPointer)
func encodeBytes(_ byteaddr: UnsafeRawPointer?, length length: Int)
func decodeObject() -> Any?
func decodeArray(ofObjCType itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutableRawPointer)
func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer?
func encodePropertyList(_ aPropertyList: Any)
func decodePropertyList() -> Any?
func setObjectZone(_ zone: NSZone?)
func objectZone() -> NSZone?
var systemVersion: UInt32 { get }
var allowsKeyedCoding: Bool { get }
func encode(_ objv: Any?, forKey key: String)
func encodeConditionalObject(_ objv: Any?, forKey key: String)
func encode(_ boolv: Bool, forKey key: String)
func encodeCInt(_ intv: Int32, forKey key: String)
func encode(_ intv: Int32, forKey key: String)
func encode(_ intv: Int64, forKey key: String)
func encode(_ realv: Float, forKey key: String)
func encode(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String)
func encode(_ intv: Int, forKey key: String)
func decodeInteger(forKey key: String) -> Int
var requiresSecureCoding: Bool { get }
func __decodeObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) -> Any?
func decodeTopLevelObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) throws -> Any
func decodePropertyList(forKey key: String) -> Any?
var allowedClasses: Set<AnyHashable>? { get }
func failWithError(_ error: Error)
var decodingFailurePolicy: NSCoder.DecodingFailurePolicy { get }
var error: Error? { get }
enum DecodingFailurePolicy : Int {
case raiseException
case setErrorAndReturn
}
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?)
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@nonobjc func decodeObject(of classes: [AnyClass]?, forKey key: String) -> Any?
@nonobjc func decodeTopLevelObject() throws -> Any?
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(of classes: [AnyClass]?, forKey key: String) throws -> 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?
class func classForKeyedUnarchiver() -> AnyClass
}
extension NSKeyedUnarchiver : CVarArg {
}
extension NSKeyedUnarchiver : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSKeyedUnarchiver {
@nonobjc class func unarchiveTopLevelObjectWithData(_ data: NSData) throws -> AnyObject?
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func classForClassName(_ codedName: String) -> AnyClass? |
To | class func `class`(forClassName codedName: String) -> Swift.AnyClass? |
---|
| Declaration |
From | func classForClassName(_ codedName: String) -> AnyClass? |
To | func `class`(forClassName codedName: String) -> Swift.AnyClass? |
---|
| Declaration |
From | func containsValueForKey(_ key: String) -> Bool |
To | func containsValue(forKey key: String) -> Bool |
---|
| Declaration |
From | func decodeBoolForKey(_ key: String) -> Bool |
To | func decodeBool(forKey key: String) -> Bool |
---|
| Declaration |
From | func decodeBytesForKey(_ key: String, returnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafePointer<UInt8> |
To | func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>? |
---|
| Declaration |
From | func decodeDoubleForKey(_ key: String) -> Double |
To | func decodeDouble(forKey key: String) -> Double |
---|
| Declaration |
From | func decodeFloatForKey(_ key: String) -> Float |
To | func decodeFloat(forKey key: String) -> Float |
---|
| Declaration |
From | func decodeInt32ForKey(_ key: String) -> Int32 |
To | func decodeInt32(forKey key: String) -> Int32 |
---|
| Declaration |
From | func decodeInt64ForKey(_ key: String) -> Int64 |
To | func decodeInt64(forKey key: String) -> Int64 |
---|
| Declaration |
From | func decodeObjectForKey(_ key: String) -> AnyObject? |
To | func decodeObject(forKey key: String) -> Any? |
---|
| Declaration |
From | init(forReadingWithData data: NSData) |
To | init(forReadingWith data: Data) |
---|
| Declaration |
From | class func setClass(_ cls: AnyClass?, forClassName codedName: String) |
To | class func setClass(_ cls: Swift.AnyClass?, forClassName codedName: String) |
---|
| Declaration |
From | func setClass(_ cls: AnyClass?, forClassName codedName: String) |
To | func setClass(_ cls: Swift.AnyClass?, forClassName codedName: String) |
---|
| Declaration |
From | class func unarchiveObjectWithData(_ data: NSData) -> AnyObject? |
To | class func unarchiveObject(with data: Data) -> Any? |
---|
| Declaration |
From | class func unarchiveObjectWithFile(_ path: String) -> AnyObject? |
To | class func unarchiveObject(withFile path: String) -> Any? |
---|
Modified NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(_: NSData) throws -> AnyObject? [class]
| Declaration |
From | @warn_unused_result
class func unarchiveTopLevelObjectWithData(_ data: NSData) throws -> AnyObject? |
To | @nonobjc class func unarchiveTopLevelObjectWithData(_ data: NSData) throws -> AnyObject? |
---|
| Declaration |
From | protocol NSKeyedUnarchiverDelegate : NSObjectProtocol {
optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, cannotDecodeObjectOfClassName name: String, originalClasses classNames: [String]) -> AnyClass?
optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, didDecodeObject object: AnyObject?) -> AnyObject?
optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, willReplaceObject object: AnyObject, withObject newObject: AnyObject)
optional func unarchiverWillFinish(_ unarchiver: NSKeyedUnarchiver)
optional func unarchiverDidFinish(_ unarchiver: NSKeyedUnarchiver)
} |
To | protocol NSKeyedUnarchiverDelegate : NSObjectProtocol {
optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, cannotDecodeObjectOfClassName name: String, originalClasses classNames: [String]) -> Swift.AnyClass?
optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, didDecode object: Any?) -> Any?
optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, willReplace object: Any, with newObject: Any)
optional func unarchiverWillFinish(_ unarchiver: NSKeyedUnarchiver)
optional func unarchiverDidFinish(_ unarchiver: NSKeyedUnarchiver)
} |
---|
| Declaration |
From | optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, cannotDecodeObjectOfClassName name: String, originalClasses classNames: [String]) -> AnyClass? |
To | optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, cannotDecodeObjectOfClassName name: String, originalClasses classNames: [String]) -> Swift.AnyClass? |
---|
| Declaration |
From | optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, didDecodeObject object: AnyObject?) -> AnyObject? |
To | optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, didDecode object: Any?) -> Any? |
---|
| Declaration |
From | optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, willReplaceObject object: AnyObject, withObject newObject: AnyObject) |
To | optional func unarchiver(_ unarchiver: NSKeyedUnarchiver, willReplace object: Any, with newObject: Any) |
---|
| Declaration |
From | enum NSKeyValueChange : UInt {
case Setting
case Insertion
case Removal
case Replacement
} |
To | enum NSKeyValueChange : UInt {
case setting
case insertion
case removal
case replacement
} |
---|
| Declaration |
From | case Insertion |
To | case insertion |
---|
| Declaration |
From | case Removal |
To | case removal |
---|
| Declaration |
From | case Replacement |
To | case replacement |
---|
| Declaration |
From | case Setting |
To | case setting |
---|
| Name | Declaration |
From | NSKeyValueChangeIndexesKey | let NSKeyValueChangeIndexesKey: String |
To | indexesKey | static let indexesKey: NSKeyValueChangeKey |
---|
| Name | Declaration |
From | NSKeyValueChangeKindKey | let NSKeyValueChangeKindKey: String |
To | kindKey | static let kindKey: NSKeyValueChangeKey |
---|
| Name | Declaration |
From | NSKeyValueChangeNewKey | let NSKeyValueChangeNewKey: String |
To | newKey | static let newKey: NSKeyValueChangeKey |
---|
| Name | Declaration |
From | NSKeyValueChangeNotificationIsPriorKey | let NSKeyValueChangeNotificationIsPriorKey: String |
To | notificationIsPriorKey | static let notificationIsPriorKey: NSKeyValueChangeKey |
---|
| Name | Declaration |
From | NSKeyValueChangeOldKey | let NSKeyValueChangeOldKey: String |
To | oldKey | static let oldKey: NSKeyValueChangeKey |
---|
| Declaration | Protocols |
From | struct NSKeyValueObservingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var New: NSKeyValueObservingOptions { get }
static var Old: NSKeyValueObservingOptions { get }
static var Initial: NSKeyValueObservingOptions { get }
static var Prior: NSKeyValueObservingOptions { get }
} | OptionSetType |
To | struct NSKeyValueObservingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var new: NSKeyValueObservingOptions { get }
static var old: NSKeyValueObservingOptions { get }
static var initial: NSKeyValueObservingOptions { get }
static var prior: NSKeyValueObservingOptions { get }
func intersect(_ other: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions
func exclusiveOr(_ other: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions
mutating func unionInPlace(_ other: NSKeyValueObservingOptions)
mutating func intersectInPlace(_ other: NSKeyValueObservingOptions)
mutating func exclusiveOrInPlace(_ other: NSKeyValueObservingOptions)
func isSubsetOf(_ other: NSKeyValueObservingOptions) -> Bool
func isDisjointWith(_ other: NSKeyValueObservingOptions) -> Bool
func isSupersetOf(_ other: NSKeyValueObservingOptions) -> Bool
mutating func subtractInPlace(_ other: NSKeyValueObservingOptions)
func isStrictSupersetOf(_ other: NSKeyValueObservingOptions) -> Bool
func isStrictSubsetOf(_ other: NSKeyValueObservingOptions) -> Bool
}
extension NSKeyValueObservingOptions {
func union(_ other: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions
func intersection(_ other: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions
func symmetricDifference(_ other: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions
}
extension NSKeyValueObservingOptions {
func contains(_ member: NSKeyValueObservingOptions) -> Bool
mutating func insert(_ newMember: NSKeyValueObservingOptions) -> (inserted: Bool, memberAfterInsert: NSKeyValueObservingOptions)
mutating func remove(_ member: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions?
mutating func update(with newMember: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions?
}
extension NSKeyValueObservingOptions {
convenience init()
mutating func formUnion(_ other: NSKeyValueObservingOptions)
mutating func formIntersection(_ other: NSKeyValueObservingOptions)
mutating func formSymmetricDifference(_ other: NSKeyValueObservingOptions)
}
extension NSKeyValueObservingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSKeyValueObservingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSKeyValueObservingOptions...)
mutating func subtract(_ other: NSKeyValueObservingOptions)
func isSubset(of other: NSKeyValueObservingOptions) -> Bool
func isSuperset(of other: NSKeyValueObservingOptions) -> Bool
func isDisjoint(with other: NSKeyValueObservingOptions) -> Bool
func subtracting(_ other: NSKeyValueObservingOptions) -> NSKeyValueObservingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSKeyValueObservingOptions) -> Bool
func isStrictSubset(of other: NSKeyValueObservingOptions) -> Bool
} | OptionSet |
---|
| Declaration |
From | static var Initial: NSKeyValueObservingOptions { get } |
To | static var initial: NSKeyValueObservingOptions { get } |
---|
| Declaration |
From | static var New: NSKeyValueObservingOptions { get } |
To | static var new: NSKeyValueObservingOptions { get } |
---|
| Declaration |
From | static var Old: NSKeyValueObservingOptions { get } |
To | static var old: NSKeyValueObservingOptions { get } |
---|
| Declaration |
From | static var Prior: NSKeyValueObservingOptions { get } |
To | static var prior: NSKeyValueObservingOptions { get } |
---|
| Name | Declaration | Introduction |
From | NSAverageKeyValueOperator | let NSAverageKeyValueOperator: String | OS X 10.10 |
To | averageKeyValueOperator | static let averageKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSCountKeyValueOperator | let NSCountKeyValueOperator: String | OS X 10.10 |
To | countKeyValueOperator | static let countKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSDistinctUnionOfArraysKeyValueOperator | let NSDistinctUnionOfArraysKeyValueOperator: String | OS X 10.10 |
To | distinctUnionOfArraysKeyValueOperator | static let distinctUnionOfArraysKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSDistinctUnionOfObjectsKeyValueOperator | let NSDistinctUnionOfObjectsKeyValueOperator: String | OS X 10.10 |
To | distinctUnionOfObjectsKeyValueOperator | static let distinctUnionOfObjectsKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSDistinctUnionOfSetsKeyValueOperator | let NSDistinctUnionOfSetsKeyValueOperator: String | OS X 10.10 |
To | distinctUnionOfSetsKeyValueOperator | static let distinctUnionOfSetsKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSMaximumKeyValueOperator | let NSMaximumKeyValueOperator: String | OS X 10.10 |
To | maximumKeyValueOperator | static let maximumKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSMinimumKeyValueOperator | let NSMinimumKeyValueOperator: String | OS X 10.10 |
To | minimumKeyValueOperator | static let minimumKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSSumKeyValueOperator | let NSSumKeyValueOperator: String | OS X 10.10 |
To | sumKeyValueOperator | static let sumKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSUnionOfArraysKeyValueOperator | let NSUnionOfArraysKeyValueOperator: String | OS X 10.10 |
To | unionOfArraysKeyValueOperator | static let unionOfArraysKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSUnionOfObjectsKeyValueOperator | let NSUnionOfObjectsKeyValueOperator: String | OS X 10.10 |
To | unionOfObjectsKeyValueOperator | static let unionOfObjectsKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSUnionOfSetsKeyValueOperator | let NSUnionOfSetsKeyValueOperator: String | OS X 10.10 |
To | unionOfSetsKeyValueOperator | static let unionOfSetsKeyValueOperator: NSKeyValueOperator | OS X 10.12 |
---|
| Declaration |
From | enum NSKeyValueSetMutationKind : UInt {
case UnionSetMutation
case MinusSetMutation
case IntersectSetMutation
case SetSetMutation
} |
To | enum NSKeyValueSetMutationKind : UInt {
case union
case minus
case intersect
case set
} |
---|
| Declaration |
From | case IntersectSetMutation |
To | case intersect |
---|
| Declaration |
From | case MinusSetMutation |
To | case minus |
---|
| Declaration |
From | case SetSetMutation |
To | case set |
---|
| Declaration |
From | case UnionSetMutation |
To | case union |
---|
| Declaration | Protocols |
From | class NSLinguisticTagger : NSObject {
init(tagSchemes tagSchemes: [String], options opts: Int)
var tagSchemes: [String] { get }
var string: String?
class func availableTagSchemesForLanguage(_ language: String) -> [String]
func setOrthography(_ orthography: NSOrthography?, range range: NSRange)
func orthographyAtIndex(_ charIndex: Int, effectiveRange effectiveRange: NSRangePointer) -> NSOrthography?
func stringEditedInRange(_ newRange: NSRange, changeInLength delta: Int)
func enumerateTagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, usingBlock block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func sentenceRangeForRange(_ range: NSRange) -> NSRange
func tagAtIndex(_ charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer, sentenceRange sentenceRange: NSRangePointer) -> String?
func tagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>) -> [String]
func possibleTagsAtIndex(_ charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer, sentenceRange sentenceRange: NSRangePointer, scores scores: AutoreleasingUnsafeMutablePointer<NSArray?>) -> [String]?
} | -- |
To | class NSLinguisticTagger : NSObject {
init(tagSchemes tagSchemes: [String], options opts: Int)
var tagSchemes: [String] { get }
var string: String?
class func availableTagSchemes(forLanguage language: String) -> [String]
func setOrthography(_ orthography: NSOrthography?, range range: NSRange)
func orthography(at charIndex: Int, effectiveRange effectiveRange: NSRangePointer?) -> NSOrthography?
func stringEdited(in newRange: NSRange, changeInLength delta: Int)
func enumerateTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], using block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func sentenceRange(for range: NSRange) -> NSRange
func tag(at charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer?, sentenceRange sentenceRange: NSRangePointer?) -> String?
func tags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String]
func possibleTags(at charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer?, sentenceRange sentenceRange: NSRangePointer?, scores scores: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String]?
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var omitWords: NSLinguisticTagger.Options { get }
static var omitPunctuation: NSLinguisticTagger.Options { get }
static var omitWhitespace: NSLinguisticTagger.Options { get }
static var omitOther: NSLinguisticTagger.Options { get }
static var joinNames: NSLinguisticTagger.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 NSLinguisticTagger {
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var omitWords: NSLinguisticTagger.Options { get }
static var omitPunctuation: NSLinguisticTagger.Options { get }
static var omitWhitespace: NSLinguisticTagger.Options { get }
static var omitOther: NSLinguisticTagger.Options { get }
static var joinNames: NSLinguisticTagger.Options { get }
}
}
extension NSLinguisticTagger : CVarArg {
}
extension NSLinguisticTagger : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func availableTagSchemesForLanguage(_ language: String) -> [String] |
To | class func availableTagSchemes(forLanguage language: String) -> [String] |
---|
| Declaration |
From | func enumerateTagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, usingBlock block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], using block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func orthographyAtIndex(_ charIndex: Int, effectiveRange effectiveRange: NSRangePointer) -> NSOrthography? |
To | func orthography(at charIndex: Int, effectiveRange effectiveRange: NSRangePointer?) -> NSOrthography? |
---|
| Declaration |
From | func possibleTagsAtIndex(_ charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer, sentenceRange sentenceRange: NSRangePointer, scores scores: AutoreleasingUnsafeMutablePointer<NSArray?>) -> [String]? |
To | func possibleTags(at charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer?, sentenceRange sentenceRange: NSRangePointer?, scores scores: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String]? |
---|
| Declaration |
From | func sentenceRangeForRange(_ range: NSRange) -> NSRange |
To | func sentenceRange(for range: NSRange) -> NSRange |
---|
| Declaration |
From | func stringEditedInRange(_ newRange: NSRange, changeInLength delta: Int) |
To | func stringEdited(in newRange: NSRange, changeInLength delta: Int) |
---|
| Declaration |
From | func tagAtIndex(_ charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer, sentenceRange sentenceRange: NSRangePointer) -> String? |
To | func tag(at charIndex: Int, scheme tagScheme: String, tokenRange tokenRange: NSRangePointer?, sentenceRange sentenceRange: NSRangePointer?) -> String? |
---|
| Declaration |
From | func tagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>) -> [String] |
To | func tags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String] |
---|
| Declaration | Protocols |
From | struct NSLinguisticTaggerOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var OmitWords: NSLinguisticTaggerOptions { get }
static var OmitPunctuation: NSLinguisticTaggerOptions { get }
static var OmitWhitespace: NSLinguisticTaggerOptions { get }
static var OmitOther: NSLinguisticTaggerOptions { get }
static var JoinNames: NSLinguisticTaggerOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var omitWords: NSLinguisticTagger.Options { get }
static var omitPunctuation: NSLinguisticTagger.Options { get }
static var omitWhitespace: NSLinguisticTagger.Options { get }
static var omitOther: NSLinguisticTagger.Options { get }
static var joinNames: NSLinguisticTagger.Options { get }
}
extension NSLinguisticTagger.Options {
func union(_ other: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options
func intersection(_ other: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options
func symmetricDifference(_ other: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options
}
extension NSLinguisticTagger.Options {
func contains(_ member: NSLinguisticTagger.Options) -> Bool
mutating func insert(_ newMember: NSLinguisticTagger.Options) -> (inserted: Bool, memberAfterInsert: NSLinguisticTagger.Options)
mutating func remove(_ member: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options?
mutating func update(with newMember: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options?
}
extension NSLinguisticTagger.Options {
convenience init()
mutating func formUnion(_ other: NSLinguisticTagger.Options)
mutating func formIntersection(_ other: NSLinguisticTagger.Options)
mutating func formSymmetricDifference(_ other: NSLinguisticTagger.Options)
}
extension NSLinguisticTagger.Options {
convenience init<S : Sequence where S.Iterator.Element == NSLinguisticTagger.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSLinguisticTagger.Options...)
mutating func subtract(_ other: NSLinguisticTagger.Options)
func isSubset(of other: NSLinguisticTagger.Options) -> Bool
func isSuperset(of other: NSLinguisticTagger.Options) -> Bool
func isDisjoint(with other: NSLinguisticTagger.Options) -> Bool
func subtracting(_ other: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSLinguisticTagger.Options) -> Bool
func isStrictSubset(of other: NSLinguisticTagger.Options) -> Bool
}
extension NSLinguisticTagger.Options {
func intersect(_ other: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options
func exclusiveOr(_ other: NSLinguisticTagger.Options) -> NSLinguisticTagger.Options
mutating func unionInPlace(_ other: NSLinguisticTagger.Options)
mutating func intersectInPlace(_ other: NSLinguisticTagger.Options)
mutating func exclusiveOrInPlace(_ other: NSLinguisticTagger.Options)
func isSubsetOf(_ other: NSLinguisticTagger.Options) -> Bool
func isDisjointWith(_ other: NSLinguisticTagger.Options) -> Bool
func isSupersetOf(_ other: NSLinguisticTagger.Options) -> Bool
mutating func subtractInPlace(_ other: NSLinguisticTagger.Options)
func isStrictSupersetOf(_ other: NSLinguisticTagger.Options) -> Bool
func isStrictSubsetOf(_ other: NSLinguisticTagger.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | JoinNames | static var JoinNames: NSLinguisticTaggerOptions { get } |
To | joinNames | static var joinNames: NSLinguisticTagger.Options { get } |
---|
| Name | Declaration |
From | OmitOther | static var OmitOther: NSLinguisticTaggerOptions { get } |
To | omitOther | static var omitOther: NSLinguisticTagger.Options { get } |
---|
| Name | Declaration |
From | OmitPunctuation | static var OmitPunctuation: NSLinguisticTaggerOptions { get } |
To | omitPunctuation | static var omitPunctuation: NSLinguisticTagger.Options { get } |
---|
| Name | Declaration |
From | OmitWhitespace | static var OmitWhitespace: NSLinguisticTaggerOptions { get } |
To | omitWhitespace | static var omitWhitespace: NSLinguisticTagger.Options { get } |
---|
| Name | Declaration |
From | OmitWords | static var OmitWords: NSLinguisticTaggerOptions { get } |
To | omitWords | static var omitWords: NSLinguisticTagger.Options { get } |
---|
| Declaration | Protocols |
From | class NSLocale : NSObject, NSCopying, NSSecureCoding {
func objectForKey(_ key: AnyObject) -> AnyObject?
func displayNameForKey(_ key: AnyObject, value value: AnyObject) -> String?
init(localeIdentifier string: String)
init?(coder aDecoder: NSCoder)
}
extension NSLocale {
var localeIdentifier: String { get }
}
extension NSLocale {
class func autoupdatingCurrentLocale() -> NSLocale
class func currentLocale() -> NSLocale
class func systemLocale() -> NSLocale
convenience init(localeIdentifier ident: String)
class func localeWithLocaleIdentifier(_ ident: String) -> Self
convenience init()
}
extension NSLocale {
class func availableLocaleIdentifiers() -> [String]
class func ISOLanguageCodes() -> [String]
class func ISOCountryCodes() -> [String]
class func ISOCurrencyCodes() -> [String]
class func commonISOCurrencyCodes() -> [String]
class func preferredLanguages() -> [String]
class func componentsFromLocaleIdentifier(_ string: String) -> [String : String]
class func localeIdentifierFromComponents(_ dict: [String : String]) -> String
class func canonicalLocaleIdentifierFromString(_ string: String) -> String
class func canonicalLanguageIdentifierFromString(_ string: String) -> String
class func localeIdentifierFromWindowsLocaleCode(_ lcid: UInt32) -> String?
class func windowsLocaleCodeFromLocaleIdentifier(_ localeIdentifier: String) -> UInt32
class func characterDirectionForLanguage(_ isoLangCode: String) -> NSLocaleLanguageDirection
class func lineDirectionForLanguage(_ isoLangCode: String) -> NSLocaleLanguageDirection
} | NSCopying, NSSecureCoding |
To | class NSLocale : NSObject, NSCopying, NSSecureCoding {
func object(forKey key: NSLocale.Key) -> Any?
func displayName(forKey key: NSLocale.Key, value value: Any) -> String?
init(localeIdentifier string: String)
init?(coder aDecoder: NSCoder)
struct Key : RawRepresentable, Equatable, Hashable, Comparable {
init(rawValue rawValue: String)
}
enum LanguageDirection : UInt {
case unknown
case leftToRight
case rightToLeft
case topToBottom
case bottomToTop
}
class let currentLocaleDidChangeNotification: NSNotification.Name
class var availableLocaleIdentifiers: [String] { get }
class var isoLanguageCodes: [String] { get }
class var isoCountryCodes: [String] { get }
class var isoCurrencyCodes: [String] { get }
class var commonISOCurrencyCodes: [String] { get }
class var preferredLanguages: [String] { get }
class func components(fromLocaleIdentifier string: String) -> [String : String]
class func localeIdentifier(fromComponents dict: [String : String]) -> String
class func canonicalLocaleIdentifier(from string: String) -> String
class func canonicalLanguageIdentifier(from string: String) -> String
class func localeIdentifier(fromWindowsLocaleCode lcid: UInt32) -> String?
class func windowsLocaleCode(fromLocaleIdentifier localeIdentifier: String) -> UInt32
class func characterDirection(forLanguage isoLangCode: String) -> NSLocale.LanguageDirection
class func lineDirection(forLanguage isoLangCode: String) -> NSLocale.LanguageDirection
class var autoupdatingCurrent: Locale { get }
class var current: Locale { get }
class var system: Locale { get }
class func withLocaleIdentifier(_ ident: String) -> Self
var localeIdentifier: String { get }
func localizedString(forLocaleIdentifier localeIdentifier: String) -> String
var languageCode: String { get }
func localizedString(forLanguageCode languageCode: String) -> String?
var countryCode: String? { get }
func localizedString(forCountryCode countryCode: String) -> String?
var scriptCode: String? { get }
func localizedString(forScriptCode scriptCode: String) -> String?
var variantCode: String? { get }
func localizedString(forVariantCode variantCode: String) -> String?
var exemplarCharacterSet: CharacterSet { get }
var calendarIdentifier: String { get }
func localizedString(forCalendarIdentifier calendarIdentifier: String) -> String?
var collationIdentifier: String? { get }
func localizedString(forCollationIdentifier collationIdentifier: String) -> String?
var usesMetricSystem: Bool { get }
var decimalSeparator: String { get }
var groupingSeparator: String { get }
var currencySymbol: String { get }
var currencyCode: String? { get }
func localizedString(forCurrencyCode currencyCode: String) -> String?
var collatorIdentifier: String { get }
func localizedString(forCollatorIdentifier collatorIdentifier: String) -> String?
var quotationBeginDelimiter: String { get }
var quotationEndDelimiter: String { get }
var alternateQuotationBeginDelimiter: String { get }
var alternateQuotationEndDelimiter: String { 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 NSLocale {
struct Key : RawRepresentable, Equatable, Hashable, Comparable {
init(rawValue rawValue: String)
}
enum LanguageDirection : UInt {
case unknown
case leftToRight
case rightToLeft
case topToBottom
case bottomToTop
}
class let currentLocaleDidChangeNotification: NSNotification.Name
}
extension NSLocale : CVarArg {
}
extension NSLocale : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSLocale {
var localeIdentifier: String { get }
func localizedString(forLocaleIdentifier localeIdentifier: String) -> String
var languageCode: String { get }
func localizedString(forLanguageCode languageCode: String) -> String?
var countryCode: String? { get }
func localizedString(forCountryCode countryCode: String) -> String?
var scriptCode: String? { get }
func localizedString(forScriptCode scriptCode: String) -> String?
var variantCode: String? { get }
func localizedString(forVariantCode variantCode: String) -> String?
var exemplarCharacterSet: CharacterSet { get }
var calendarIdentifier: String { get }
func localizedString(forCalendarIdentifier calendarIdentifier: String) -> String?
var collationIdentifier: String? { get }
func localizedString(forCollationIdentifier collationIdentifier: String) -> String?
var usesMetricSystem: Bool { get }
var decimalSeparator: String { get }
var groupingSeparator: String { get }
var currencySymbol: String { get }
var currencyCode: String? { get }
func localizedString(forCurrencyCode currencyCode: String) -> String?
var collatorIdentifier: String { get }
func localizedString(forCollatorIdentifier collatorIdentifier: String) -> String?
var quotationBeginDelimiter: String { get }
var quotationEndDelimiter: String { get }
var alternateQuotationBeginDelimiter: String { get }
var alternateQuotationEndDelimiter: String { get }
}
extension NSLocale {
class var autoupdatingCurrent: Locale { get }
class var current: Locale { get }
class var system: Locale { get }
class func withLocaleIdentifier(_ ident: String) -> Self
}
extension NSLocale {
class var availableLocaleIdentifiers: [String] { get }
class var isoLanguageCodes: [String] { get }
class var isoCountryCodes: [String] { get }
class var isoCurrencyCodes: [String] { get }
class var commonISOCurrencyCodes: [String] { get }
class var preferredLanguages: [String] { get }
class func components(fromLocaleIdentifier string: String) -> [String : String]
class func localeIdentifier(fromComponents dict: [String : String]) -> String
class func canonicalLocaleIdentifier(from string: String) -> String
class func canonicalLanguageIdentifier(from string: String) -> String
class func localeIdentifier(fromWindowsLocaleCode lcid: UInt32) -> String?
class func windowsLocaleCode(fromLocaleIdentifier localeIdentifier: String) -> UInt32
class func characterDirection(forLanguage isoLangCode: String) -> NSLocale.LanguageDirection
class func lineDirection(forLanguage isoLangCode: String) -> NSLocale.LanguageDirection
}
extension NSLocale {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | class func canonicalLanguageIdentifierFromString(_ string: String) -> String |
To | class func canonicalLanguageIdentifier(from string: String) -> String |
---|
| Declaration |
From | class func canonicalLocaleIdentifierFromString(_ string: String) -> String |
To | class func canonicalLocaleIdentifier(from string: String) -> String |
---|
| Declaration |
From | class func characterDirectionForLanguage(_ isoLangCode: String) -> NSLocaleLanguageDirection |
To | class func characterDirection(forLanguage isoLangCode: String) -> NSLocale.LanguageDirection |
---|
| Declaration |
From | class func componentsFromLocaleIdentifier(_ string: String) -> [String : String] |
To | class func components(fromLocaleIdentifier string: String) -> [String : String] |
---|
| Name | Declaration |
From | NSCurrentLocaleDidChangeNotification | let NSCurrentLocaleDidChangeNotification: String |
To | currentLocaleDidChangeNotification | class let currentLocaleDidChangeNotification: NSNotification.Name |
---|
| Declaration |
From | func displayNameForKey(_ key: AnyObject, value value: AnyObject) -> String? |
To | func displayName(forKey key: NSLocale.Key, value value: Any) -> String? |
---|
| Declaration |
From | class func lineDirectionForLanguage(_ isoLangCode: String) -> NSLocaleLanguageDirection |
To | class func lineDirection(forLanguage isoLangCode: String) -> NSLocale.LanguageDirection |
---|
| Declaration |
From | class func localeIdentifierFromComponents(_ dict: [String : String]) -> String |
To | class func localeIdentifier(fromComponents dict: [String : String]) -> String |
---|
| Declaration |
From | class func localeIdentifierFromWindowsLocaleCode(_ lcid: UInt32) -> String? |
To | class func localeIdentifier(fromWindowsLocaleCode lcid: UInt32) -> String? |
---|
| Declaration |
From | func objectForKey(_ key: AnyObject) -> AnyObject? |
To | func object(forKey key: NSLocale.Key) -> Any? |
---|
| Declaration |
From | class func windowsLocaleCodeFromLocaleIdentifier(_ localeIdentifier: String) -> UInt32 |
To | class func windowsLocaleCode(fromLocaleIdentifier localeIdentifier: String) -> UInt32 |
---|
| Name | Declaration |
From | NSLocaleAlternateQuotationBeginDelimiterKey | let NSLocaleAlternateQuotationBeginDelimiterKey: String |
To | alternateQuotationBeginDelimiterKey | static let alternateQuotationBeginDelimiterKey: NSLocale.Key |
---|
| Name | Declaration |
From | NSLocaleAlternateQuotationEndDelimiterKey | let NSLocaleAlternateQuotationEndDelimiterKey: String |
To | alternateQuotationEndDelimiterKey | static let alternateQuotationEndDelimiterKey: NSLocale.Key |
---|
| Name | Declaration | Introduction |
From | NSLocaleCalendar | let NSLocaleCalendar: String | OS X 10.10 |
To | calendar | static let calendar: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleCollationIdentifier | let NSLocaleCollationIdentifier: String | OS X 10.10 |
To | collationIdentifier | static let collationIdentifier: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration |
From | NSLocaleCollatorIdentifier | let NSLocaleCollatorIdentifier: String |
To | collatorIdentifier | static let collatorIdentifier: NSLocale.Key |
---|
| Name | Declaration | Introduction |
From | NSLocaleCountryCode | let NSLocaleCountryCode: String | OS X 10.10 |
To | countryCode | static let countryCode: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleCurrencyCode | let NSLocaleCurrencyCode: String | OS X 10.10 |
To | currencyCode | static let currencyCode: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleCurrencySymbol | let NSLocaleCurrencySymbol: String | OS X 10.10 |
To | currencySymbol | static let currencySymbol: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleDecimalSeparator | let NSLocaleDecimalSeparator: String | OS X 10.10 |
To | decimalSeparator | static let decimalSeparator: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleExemplarCharacterSet | let NSLocaleExemplarCharacterSet: String | OS X 10.10 |
To | exemplarCharacterSet | static let exemplarCharacterSet: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleGroupingSeparator | let NSLocaleGroupingSeparator: String | OS X 10.10 |
To | groupingSeparator | static let groupingSeparator: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleIdentifier | let NSLocaleIdentifier: String | OS X 10.10 |
To | identifier | static let identifier: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleLanguageCode | let NSLocaleLanguageCode: String | OS X 10.10 |
To | languageCode | static let languageCode: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleMeasurementSystem | let NSLocaleMeasurementSystem: String | OS X 10.10 |
To | measurementSystem | static let measurementSystem: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration |
From | NSLocaleQuotationBeginDelimiterKey | let NSLocaleQuotationBeginDelimiterKey: String |
To | quotationBeginDelimiterKey | static let quotationBeginDelimiterKey: NSLocale.Key |
---|
| Name | Declaration |
From | NSLocaleQuotationEndDelimiterKey | let NSLocaleQuotationEndDelimiterKey: String |
To | quotationEndDelimiterKey | static let quotationEndDelimiterKey: NSLocale.Key |
---|
| Name | Declaration | Introduction |
From | NSLocaleScriptCode | let NSLocaleScriptCode: String | OS X 10.10 |
To | scriptCode | static let scriptCode: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleUsesMetricSystem | let NSLocaleUsesMetricSystem: String | OS X 10.10 |
To | usesMetricSystem | static let usesMetricSystem: NSLocale.Key | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSLocaleVariantCode | let NSLocaleVariantCode: String | OS X 10.10 |
To | variantCode | static let variantCode: NSLocale.Key | OS X 10.12 |
---|
| Declaration |
From | enum NSLocaleLanguageDirection : UInt {
case Unknown
case LeftToRight
case RightToLeft
case TopToBottom
case BottomToTop
} |
To | enum LanguageDirection : UInt {
case unknown
case leftToRight
case rightToLeft
case topToBottom
case bottomToTop
} |
---|
| Name | Declaration | Introduction |
From | BottomToTop | case BottomToTop | OS X 10.10 |
To | bottomToTop | case bottomToTop | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | LeftToRight | case LeftToRight | OS X 10.10 |
To | leftToRight | case leftToRight | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | RightToLeft | case RightToLeft | OS X 10.10 |
To | rightToLeft | case rightToLeft | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | TopToBottom | case TopToBottom | OS X 10.10 |
To | topToBottom | case topToBottom | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Unknown | case Unknown | OS X 10.10 |
To | unknown | case unknown | OS X 10.12 |
---|
| Declaration | Protocols |
From | class NSLock : NSObject, NSLocking {
func tryLock() -> Bool
func lockBeforeDate(_ limit: NSDate) -> Bool
var name: String?
} | NSLocking |
To | class NSLock : NSObject, NSLocking {
func `try`() -> Bool
func lock(before limit: Date) -> Bool
var name: 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 NSLock : CVarArg {
}
extension NSLock : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSLocking |
---|
| Declaration |
From | func lockBeforeDate(_ limit: NSDate) -> Bool |
To | func lock(before limit: Date) -> Bool |
---|
| Declaration |
From | func tryLock() -> Bool |
To | func `try`() -> Bool |
---|
| Declaration |
From | class NSLogicalTest : NSScriptWhoseTest {
init(andTestWithTests subTests: [NSSpecifierTest])
init(orTestWithTests subTests: [NSSpecifierTest])
init(notTestWithTest subTest: NSScriptWhoseTest)
} |
To | class NSLogicalTest : NSScriptWhoseTest {
init(andTestWith subTests: [NSSpecifierTest])
init(orTestWith subTests: [NSSpecifierTest])
init(notTestWith subTest: NSScriptWhoseTest)
} |
---|
| Declaration |
From | init(andTestWithTests subTests: [NSSpecifierTest]) |
To | init(andTestWith subTests: [NSSpecifierTest]) |
---|
| Declaration |
From | init(notTestWithTest subTest: NSScriptWhoseTest) |
To | init(notTestWith subTest: NSScriptWhoseTest) |
---|
| Declaration |
From | init(orTestWithTests subTests: [NSSpecifierTest]) |
To | init(orTestWith subTests: [NSSpecifierTest]) |
---|
| Declaration | Protocols |
From | class NSMachPort : NSPort {
class func portWithMachPort(_ machPort: UInt32) -> NSPort
init(machPort machPort: UInt32)
func setDelegate(_ anObject: NSMachPortDelegate?)
func delegate() -> NSMachPortDelegate?
class func portWithMachPort(_ machPort: UInt32, options f: NSMachPortOptions) -> NSPort
init(machPort machPort: UInt32, options f: NSMachPortOptions)
var machPort: UInt32 { get }
func scheduleInRunLoop(_ runLoop: NSRunLoop, forMode mode: String)
func removeFromRunLoop(_ runLoop: NSRunLoop, forMode mode: String)
} | -- |
To | class NSMachPort : Port {
class func port(withMachPort machPort: UInt32) -> Port
init(machPort machPort: UInt32)
func setDelegate(_ anObject: NSMachPortDelegate?)
func delegate() -> NSMachPortDelegate?
class func port(withMachPort machPort: UInt32, options f: NSMachPort.Options = []) -> Port
init(machPort machPort: UInt32, options f: NSMachPort.Options = [])
var machPort: UInt32 { get }
func schedule(in runLoop: RunLoop, forMode mode: RunLoopMode)
func remove(from runLoop: RunLoop, forMode mode: RunLoopMode)
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var deallocateNone: NSMachPort.Options { get }
static var deallocateSendRight: NSMachPort.Options { get }
static var deallocateReceiveRight: NSMachPort.Options { get }
}
class let didBecomeInvalidNotification: NSNotification.Name
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 NSMachPort : CVarArg {
}
extension NSMachPort : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSMachPort {
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var deallocateNone: NSMachPort.Options { get }
static var deallocateSendRight: NSMachPort.Options { get }
static var deallocateReceiveRight: NSMachPort.Options { get }
}
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | init(machPort machPort: UInt32, options f: NSMachPortOptions) |
To | init(machPort machPort: UInt32, options f: NSMachPort.Options = []) |
---|
| Declaration |
From | class func portWithMachPort(_ machPort: UInt32) -> NSPort |
To | class func port(withMachPort machPort: UInt32) -> Port |
---|
| Declaration |
From | class func portWithMachPort(_ machPort: UInt32, options f: NSMachPortOptions) -> NSPort |
To | class func port(withMachPort machPort: UInt32, options f: NSMachPort.Options = []) -> Port |
---|
| Declaration |
From | func removeFromRunLoop(_ runLoop: NSRunLoop, forMode mode: String) |
To | func remove(from runLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Declaration |
From | func scheduleInRunLoop(_ runLoop: NSRunLoop, forMode mode: String) |
To | func schedule(in runLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Declaration | Protocols |
From | struct NSMachPortOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var DeallocateNone: NSMachPortOptions { get }
static var DeallocateSendRight: NSMachPortOptions { get }
static var DeallocateReceiveRight: NSMachPortOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var deallocateNone: NSMachPort.Options { get }
static var deallocateSendRight: NSMachPort.Options { get }
static var deallocateReceiveRight: NSMachPort.Options { get }
}
extension NSMachPort.Options {
func union(_ other: NSMachPort.Options) -> NSMachPort.Options
func intersection(_ other: NSMachPort.Options) -> NSMachPort.Options
func symmetricDifference(_ other: NSMachPort.Options) -> NSMachPort.Options
}
extension NSMachPort.Options {
func contains(_ member: NSMachPort.Options) -> Bool
mutating func insert(_ newMember: NSMachPort.Options) -> (inserted: Bool, memberAfterInsert: NSMachPort.Options)
mutating func remove(_ member: NSMachPort.Options) -> NSMachPort.Options?
mutating func update(with newMember: NSMachPort.Options) -> NSMachPort.Options?
}
extension NSMachPort.Options {
convenience init()
mutating func formUnion(_ other: NSMachPort.Options)
mutating func formIntersection(_ other: NSMachPort.Options)
mutating func formSymmetricDifference(_ other: NSMachPort.Options)
}
extension NSMachPort.Options {
convenience init<S : Sequence where S.Iterator.Element == NSMachPort.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSMachPort.Options...)
mutating func subtract(_ other: NSMachPort.Options)
func isSubset(of other: NSMachPort.Options) -> Bool
func isSuperset(of other: NSMachPort.Options) -> Bool
func isDisjoint(with other: NSMachPort.Options) -> Bool
func subtracting(_ other: NSMachPort.Options) -> NSMachPort.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSMachPort.Options) -> Bool
func isStrictSubset(of other: NSMachPort.Options) -> Bool
}
extension NSMachPort.Options {
func intersect(_ other: NSMachPort.Options) -> NSMachPort.Options
func exclusiveOr(_ other: NSMachPort.Options) -> NSMachPort.Options
mutating func unionInPlace(_ other: NSMachPort.Options)
mutating func intersectInPlace(_ other: NSMachPort.Options)
mutating func exclusiveOrInPlace(_ other: NSMachPort.Options)
func isSubsetOf(_ other: NSMachPort.Options) -> Bool
func isDisjointWith(_ other: NSMachPort.Options) -> Bool
func isSupersetOf(_ other: NSMachPort.Options) -> Bool
mutating func subtractInPlace(_ other: NSMachPort.Options)
func isStrictSupersetOf(_ other: NSMachPort.Options) -> Bool
func isStrictSubsetOf(_ other: NSMachPort.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | DeallocateReceiveRight | static var DeallocateReceiveRight: NSMachPortOptions { get } |
To | deallocateReceiveRight | static var deallocateReceiveRight: NSMachPort.Options { get } |
---|
| Name | Declaration |
From | DeallocateSendRight | static var DeallocateSendRight: NSMachPortOptions { get } |
To | deallocateSendRight | static var deallocateSendRight: NSMachPort.Options { get } |
---|
| Declaration |
From | protocol NSMachPortDelegate : NSPortDelegate {
optional func handleMachMessage(_ msg: UnsafeMutablePointer<Void>)
} |
To | protocol NSMachPortDelegate : PortDelegate {
optional func handleMachMessage(_ msg: UnsafeMutableRawPointer)
} |
---|
| Declaration |
From | optional func handleMachMessage(_ msg: UnsafeMutablePointer<Void>) |
To | optional func handleMachMessage(_ msg: UnsafeMutableRawPointer) |
---|
| Declaration |
From | struct NSMapEnumerator {
var _pi: Int
var _si: Int
var _bs: UnsafeMutablePointer<Void>
init()
init(_pi _pi: Int, _si _si: Int, _bs _bs: UnsafeMutablePointer<Void>)
} |
To | struct NSMapEnumerator {
var _pi: Int
var _si: Int
var _bs: UnsafeMutableRawPointer?
init()
init(_pi _pi: Int, _si _si: Int, _bs _bs: UnsafeMutableRawPointer?)
} |
---|
| Declaration | Protocols | Generics[Constraints] | Generics[Parameters] |
From | class NSMapTable : NSObject, NSCopying, NSCoding, NSFastEnumeration {
init(keyOptions keyOptions: NSPointerFunctionsOptions, valueOptions valueOptions: NSPointerFunctionsOptions, capacity initialCapacity: Int)
init(keyPointerFunctions keyFunctions: NSPointerFunctions, valuePointerFunctions valueFunctions: NSPointerFunctions, capacity initialCapacity: Int)
init(keyOptions keyOptions: NSPointerFunctionsOptions, valueOptions valueOptions: NSPointerFunctionsOptions)
class func mapTableWithKeyOptions(_ keyOptions: NSPointerFunctionsOptions, valueOptions valueOptions: NSPointerFunctionsOptions) -> NSMapTable
class func mapTableWithStrongToStrongObjects() -> AnyObject
class func mapTableWithWeakToStrongObjects() -> AnyObject
class func mapTableWithStrongToWeakObjects() -> AnyObject
class func mapTableWithWeakToWeakObjects() -> AnyObject
class func strongToStrongObjectsMapTable() -> NSMapTable
class func weakToStrongObjectsMapTable() -> NSMapTable
class func strongToWeakObjectsMapTable() -> NSMapTable
class func weakToWeakObjectsMapTable() -> NSMapTable
@NSCopying var keyPointerFunctions: NSPointerFunctions { get }
@NSCopying var valuePointerFunctions: NSPointerFunctions { get }
func objectForKey(_ aKey: AnyObject?) -> AnyObject?
func removeObjectForKey(_ aKey: AnyObject?)
func setObject(_ anObject: AnyObject?, forKey aKey: AnyObject?)
var count: Int { get }
func keyEnumerator() -> NSEnumerator
func objectEnumerator() -> NSEnumerator?
func removeAllObjects()
func dictionaryRepresentation() -> [NSObject : AnyObject]
} | NSCoding, NSCopying, NSFastEnumeration | | -- |
To | class NSMapTable<KeyType : AnyObject, ObjectType : AnyObject> : NSObject, NSCopying, NSCoding, NSFastEnumeration {
init(keyOptions keyOptions: NSPointerFunctions.Options = [], valueOptions valueOptions: NSPointerFunctions.Options = [], capacity initialCapacity: Int)
init(keyPointerFunctions keyFunctions: NSPointerFunctions, valuePointerFunctions valueFunctions: NSPointerFunctions, capacity initialCapacity: Int)
init(keyOptions keyOptions: NSPointerFunctions.Options = [], valueOptions valueOptions: NSPointerFunctions.Options = [])
class func withKeyOptions(_ keyOptions: NSPointerFunctions.Options = [], valueOptions valueOptions: NSPointerFunctions.Options = []) -> NSMapTable<KeyType, ObjectType>
class func mapTableWithStrongToStrongObjects() -> Any
class func mapTableWithWeakToStrongObjects() -> Any
class func mapTableWithStrongToWeakObjects() -> Any
class func mapTableWithWeakToWeakObjects() -> Any
class func strongToStrongObjects() -> NSMapTable<KeyType, ObjectType>
class func weakToStrongObjects() -> NSMapTable<KeyType, ObjectType>
class func strongToWeakObjects() -> NSMapTable<KeyType, ObjectType>
class func weakToWeakObjects() -> NSMapTable<KeyType, ObjectType>
@NSCopying var keyPointerFunctions: NSPointerFunctions { get }
@NSCopying var valuePointerFunctions: NSPointerFunctions { get }
func object(forKey aKey: KeyType?) -> ObjectType?
func removeObject(forKey aKey: KeyType?)
func setObject(_ anObject: ObjectType?, forKey aKey: KeyType?)
var count: Int { get }
func keyEnumerator() -> NSEnumerator
func objectEnumerator() -> NSEnumerator?
func removeAllObjects()
func dictionaryRepresentation() -> [AnyHashable : ObjectType]
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 NSMapTable : CVarArg {
}
extension NSMapTable : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSFastEnumeration | KeyType : AnyObject, ObjectType : AnyObject | KeyType, ObjectType |
---|
| Declaration |
From | func dictionaryRepresentation() -> [NSObject : AnyObject] |
To | func dictionaryRepresentation() -> [AnyHashable : ObjectType] |
---|
| Declaration |
From | init(keyOptions keyOptions: NSPointerFunctionsOptions, valueOptions valueOptions: NSPointerFunctionsOptions) |
To | init(keyOptions keyOptions: NSPointerFunctions.Options = [], valueOptions valueOptions: NSPointerFunctions.Options = []) |
---|
| Declaration |
From | init(keyOptions keyOptions: NSPointerFunctionsOptions, valueOptions valueOptions: NSPointerFunctionsOptions, capacity initialCapacity: Int) |
To | init(keyOptions keyOptions: NSPointerFunctions.Options = [], valueOptions valueOptions: NSPointerFunctions.Options = [], capacity initialCapacity: Int) |
---|
| Declaration |
From | func objectForKey(_ aKey: AnyObject?) -> AnyObject? |
To | func object(forKey aKey: KeyType?) -> ObjectType? |
---|
| Declaration |
From | func removeObjectForKey(_ aKey: AnyObject?) |
To | func removeObject(forKey aKey: KeyType?) |
---|
| Declaration |
From | func setObject(_ anObject: AnyObject?, forKey aKey: AnyObject?) |
To | func setObject(_ anObject: ObjectType?, forKey aKey: KeyType?) |
---|
| Declaration |
From | class func strongToStrongObjectsMapTable() -> NSMapTable |
To | class func strongToStrongObjects() -> NSMapTable<KeyType, ObjectType> |
---|
| Declaration |
From | class func strongToWeakObjectsMapTable() -> NSMapTable |
To | class func strongToWeakObjects() -> NSMapTable<KeyType, ObjectType> |
---|
| Declaration |
From | class func weakToStrongObjectsMapTable() -> NSMapTable |
To | class func weakToStrongObjects() -> NSMapTable<KeyType, ObjectType> |
---|
| Declaration |
From | class func weakToWeakObjectsMapTable() -> NSMapTable |
To | class func weakToWeakObjects() -> NSMapTable<KeyType, ObjectType> |
---|
| Declaration |
From | struct NSMapTableKeyCallBacks {
var hash: ((NSMapTable, UnsafePointer<Void>) -> Int)?
var isEqual: ((NSMapTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)?
var retain: ((NSMapTable, UnsafePointer<Void>) -> Void)?
var release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)?
var describe: ((NSMapTable, UnsafePointer<Void>) -> String?)?
var notAKeyMarker: UnsafePointer<Void>
init()
init(hash hash: ((NSMapTable, UnsafePointer<Void>) -> Int)?, isEqual isEqual: ((NSMapTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)?, retain retain: ((NSMapTable, UnsafePointer<Void>) -> Void)?, release release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)?, describe describe: ((NSMapTable, UnsafePointer<Void>) -> String?)?, notAKeyMarker notAKeyMarker: UnsafePointer<Void>)
} |
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: (@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?)
} |
---|
| Declaration |
From | var describe: ((NSMapTable, UnsafePointer<Void>) -> String?)? |
To | var describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)? |
---|
| Declaration |
From | var hash: ((NSMapTable, UnsafePointer<Void>) -> Int)? |
To | var hash: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Int)? |
---|
| Declaration |
From | var isEqual: ((NSMapTable, UnsafePointer<Void>, UnsafePointer<Void>) -> ObjCBool)? |
To | var isEqual: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer, UnsafeRawPointer) -> ObjCBool)? |
---|
| Declaration |
From | var notAKeyMarker: UnsafePointer<Void> |
To | var notAKeyMarker: UnsafeRawPointer? |
---|
| Declaration |
From | var release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)? |
To | var release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? |
---|
| Declaration |
From | var retain: ((NSMapTable, UnsafePointer<Void>) -> Void)? |
To | var retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)? |
---|
| Declaration |
From | struct NSMapTableValueCallBacks {
var retain: ((NSMapTable, UnsafePointer<Void>) -> Void)?
var release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)?
var describe: ((NSMapTable, UnsafePointer<Void>) -> String?)?
init()
init(retain retain: ((NSMapTable, UnsafePointer<Void>) -> Void)?, release release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)?, describe describe: ((NSMapTable, UnsafePointer<Void>) -> 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: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)?, release release: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)?, describe describe: (@escaping (NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)?)
} |
---|
| Declaration |
From | var describe: ((NSMapTable, UnsafePointer<Void>) -> String?)? |
To | var describe: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> String?)? |
---|
| Declaration |
From | var release: ((NSMapTable, UnsafeMutablePointer<Void>) -> Void)? |
To | var release: ((NSMapTable<AnyObject, AnyObject>, UnsafeMutableRawPointer) -> Swift.Void)? |
---|
| Declaration |
From | var retain: ((NSMapTable, UnsafePointer<Void>) -> Void)? |
To | var retain: ((NSMapTable<AnyObject, AnyObject>, UnsafeRawPointer) -> Swift.Void)? |
---|
| Declaration | Protocols |
From | class NSMetadataItem : NSObject {
init?(URL url: NSURL)
func valueForAttribute(_ key: String) -> AnyObject?
func valuesForAttributes(_ keys: [String]) -> [String : AnyObject]?
var attributes: [String] { get }
} | -- |
To | class NSMetadataItem : NSObject {
init?(url url: URL)
func value(forAttribute key: String) -> Any?
func values(forAttributes keys: [String]) -> [String : Any]?
var attributes: [String] { 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 NSMetadataItem : CVarArg {
}
extension NSMetadataItem : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | init?(URL url: NSURL) |
To | init?(url url: URL) |
---|
| Declaration |
From | func valueForAttribute(_ key: String) -> AnyObject? |
To | func value(forAttribute key: String) -> Any? |
---|
| Declaration |
From | func valuesForAttributes(_ keys: [String]) -> [String : AnyObject]? |
To | func values(forAttributes keys: [String]) -> [String : Any]? |
---|
| Declaration | Protocols |
From | class NSMetadataQuery : NSObject {
unowned(unsafe) var delegate: NSMetadataQueryDelegate?
@NSCopying var predicate: NSPredicate?
var sortDescriptors: [NSSortDescriptor]
var valueListAttributes: [String]
var groupingAttributes: [String]?
var notificationBatchingInterval: NSTimeInterval
var searchScopes: [AnyObject]
var searchItems: [AnyObject]?
var operationQueue: NSOperationQueue?
func startQuery() -> Bool
func stopQuery()
var started: Bool { get }
var gathering: Bool { get }
var stopped: Bool { get }
func disableUpdates()
func enableUpdates()
var resultCount: Int { get }
func resultAtIndex(_ idx: Int) -> AnyObject
func enumerateResultsUsingBlock(_ block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateResultsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
var results: [AnyObject] { get }
func indexOfResult(_ result: AnyObject) -> Int
var valueLists: [String : [NSMetadataQueryAttributeValueTuple]] { get }
var groupedResults: [NSMetadataQueryResultGroup] { get }
func valueOfAttribute(_ attrName: String, forResultAtIndex idx: Int) -> AnyObject?
} | -- |
To | class NSMetadataQuery : NSObject {
unowned(unsafe) var delegate: NSMetadataQueryDelegate?
@NSCopying var predicate: NSPredicate?
var sortDescriptors: [NSSortDescriptor]
var valueListAttributes: [String]
var groupingAttributes: [String]?
var notificationBatchingInterval: TimeInterval
var searchScopes: [Any]
var searchItems: [Any]?
var operationQueue: OperationQueue?
func start() -> Bool
func stop()
var isStarted: Bool { get }
var isGathering: Bool { get }
var isStopped: Bool { get }
func disableUpdates()
func enableUpdates()
var resultCount: Int { get }
func result(at idx: Int) -> Any
func enumerateResults(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateResults(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
var results: [Any] { get }
func index(ofResult result: Any) -> Int
var valueLists: [String : [NSMetadataQueryAttributeValueTuple]] { get }
var groupedResults: [NSMetadataQueryResultGroup] { get }
func value(ofAttribute attrName: String, forResultAt idx: Int) -> 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 NSMetadataQuery : CVarArg {
}
extension NSMetadataQuery : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func enumerateResultsUsingBlock(_ block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateResults(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateResultsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateResults(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func indexOfResult(_ result: AnyObject) -> Int |
To | func index(ofResult result: Any) -> Int |
---|
| Declaration |
From | var gathering: Bool { get } |
To | var isGathering: Bool { get } |
---|
| Declaration |
From | var started: Bool { get } |
To | var isStarted: Bool { get } |
---|
| Declaration |
From | var stopped: Bool { get } |
To | var isStopped: Bool { get } |
---|
| Declaration |
From | var notificationBatchingInterval: NSTimeInterval |
To | var notificationBatchingInterval: TimeInterval |
---|
| Declaration |
From | var operationQueue: NSOperationQueue? |
To | var operationQueue: OperationQueue? |
---|
| Declaration |
From | func resultAtIndex(_ idx: Int) -> AnyObject |
To | func result(at idx: Int) -> Any |
---|
| Declaration |
From | var results: [AnyObject] { get } |
To | var results: [Any] { get } |
---|
| Declaration |
From | var searchItems: [AnyObject]? |
To | var searchItems: [Any]? |
---|
| Declaration |
From | var searchScopes: [AnyObject] |
To | var searchScopes: [Any] |
---|
| Declaration |
From | func startQuery() -> Bool |
To | func start() -> Bool |
---|
| Declaration |
From | func stopQuery() |
To | func stop() |
---|
| Declaration |
From | func valueOfAttribute(_ attrName: String, forResultAtIndex idx: Int) -> AnyObject? |
To | func value(ofAttribute attrName: String, forResultAt idx: Int) -> Any? |
---|
| Declaration | Protocols |
From | class NSMetadataQueryAttributeValueTuple : NSObject {
var attribute: String { get }
var value: AnyObject? { get }
var count: Int { get }
} | -- |
To | class NSMetadataQueryAttributeValueTuple : NSObject {
var attribute: String { get }
var value: Any? { get }
var count: Int { 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 NSMetadataQueryAttributeValueTuple : CVarArg {
}
extension NSMetadataQueryAttributeValueTuple : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var value: AnyObject? { get } |
To | var value: Any? { get } |
---|
| Declaration |
From | protocol NSMetadataQueryDelegate : NSObjectProtocol {
optional func metadataQuery(_ query: NSMetadataQuery, replacementObjectForResultObject result: NSMetadataItem) -> AnyObject
optional func metadataQuery(_ query: NSMetadataQuery, replacementValueForAttribute attrName: String, value attrValue: AnyObject) -> AnyObject
} |
To | protocol NSMetadataQueryDelegate : NSObjectProtocol {
optional func metadataQuery(_ query: NSMetadataQuery, replacementObjectForResultObject result: NSMetadataItem) -> Any
optional func metadataQuery(_ query: NSMetadataQuery, replacementValueForAttribute attrName: String, value attrValue: Any) -> Any
} |
---|
| Declaration |
From | optional func metadataQuery(_ query: NSMetadataQuery, replacementObjectForResultObject result: NSMetadataItem) -> AnyObject |
To | optional func metadataQuery(_ query: NSMetadataQuery, replacementObjectForResultObject result: NSMetadataItem) -> Any |
---|
| Declaration |
From | optional func metadataQuery(_ query: NSMetadataQuery, replacementValueForAttribute attrName: String, value attrValue: AnyObject) -> AnyObject |
To | optional func metadataQuery(_ query: NSMetadataQuery, replacementValueForAttribute attrName: String, value attrValue: Any) -> Any |
---|
| Declaration | Protocols |
From | class NSMetadataQueryResultGroup : NSObject {
var attribute: String { get }
var value: AnyObject { get }
var subgroups: [NSMetadataQueryResultGroup]? { get }
var resultCount: Int { get }
func resultAtIndex(_ idx: Int) -> AnyObject
var results: [AnyObject] { get }
} | -- |
To | class NSMetadataQueryResultGroup : NSObject {
var attribute: String { get }
var value: Any { get }
var subgroups: [NSMetadataQueryResultGroup]? { get }
var resultCount: Int { get }
func result(at idx: Int) -> Any
var results: [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 NSMetadataQueryResultGroup : CVarArg {
}
extension NSMetadataQueryResultGroup : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func resultAtIndex(_ idx: Int) -> AnyObject |
To | func result(at idx: Int) -> Any |
---|
| Declaration |
From | var results: [AnyObject] { get } |
To | var results: [Any] { get } |
---|
| Declaration |
From | var value: AnyObject { get } |
To | var value: Any { get } |
---|
| Declaration | Protocols |
From | class NSMutableArray : NSArray {
func addObject(_ anObject: AnyObject)
func insertObject(_ anObject: AnyObject, atIndex index: Int)
func removeLastObject()
func removeObjectAtIndex(_ index: Int)
func replaceObjectAtIndex(_ index: Int, withObject anObject: AnyObject)
init()
init(capacity numItems: Int)
init?(coder aDecoder: NSCoder)
}
extension NSMutableArray {
func addObjectsFromArray(_ otherArray: [AnyObject])
func exchangeObjectAtIndex(_ idx1: Int, withObjectAtIndex idx2: Int)
func removeAllObjects()
func removeObject(_ anObject: AnyObject, inRange range: NSRange)
func removeObject(_ anObject: AnyObject)
func removeObjectIdenticalTo(_ anObject: AnyObject, inRange range: NSRange)
func removeObjectIdenticalTo(_ anObject: AnyObject)
func removeObjectsFromIndices(_ indices: UnsafeMutablePointer<Int>, numIndices cnt: Int)
func removeObjectsInArray(_ otherArray: [AnyObject])
func removeObjectsInRange(_ range: NSRange)
func replaceObjectsInRange(_ range: NSRange, withObjectsFromArray otherArray: [AnyObject], range otherRange: NSRange)
func replaceObjectsInRange(_ range: NSRange, withObjectsFromArray otherArray: [AnyObject])
func setArray(_ otherArray: [AnyObject])
func sortUsingFunction(_ compare: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>)
func sortUsingSelector(_ comparator: Selector)
func insertObjects(_ objects: [AnyObject], atIndexes indexes: NSIndexSet)
func removeObjectsAtIndexes(_ indexes: NSIndexSet)
func replaceObjectsAtIndexes(_ indexes: NSIndexSet, withObjects objects: [AnyObject])
subscript (_ idx: Int) -> AnyObject
func setObject(_ obj: AnyObject, atIndexedSubscript idx: Int)
func sortUsingComparator(_ cmptr: NSComparator)
func sortWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator)
}
extension NSMutableArray {
convenience init(capacity numItems: Int)
class func arrayWithCapacity(_ numItems: Int) -> Self
init?(contentsOfFile path: String)
class func arrayWithContentsOfFile(_ path: String) -> NSMutableArray?
init?(contentsOfURL url: NSURL)
class func arrayWithContentsOfURL(_ url: NSURL) -> NSMutableArray?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOfURL url: NSURL)
}
extension NSMutableArray {
func filterUsingPredicate(_ predicate: NSPredicate)
}
extension NSMutableArray {
func sortUsingDescriptors(_ sortDescriptors: [NSSortDescriptor])
} | -- |
To | class NSMutableArray : NSArray {
func add(_ anObject: Any)
func insert(_ anObject: Any, at index: Int)
func removeLastObject()
func removeObject(at index: Int)
func replaceObject(at index: Int, with anObject: Any)
init()
init(capacity numItems: Int)
init?(coder aDecoder: NSCoder)
func addObjects(from otherArray: [Any])
func exchangeObject(at idx1: Int, withObjectAt idx2: Int)
func removeAllObjects()
func remove(_ anObject: Any, in range: NSRange)
func remove(_ anObject: Any)
func removeObject(identicalTo anObject: Any, in range: NSRange)
func removeObject(identicalTo anObject: Any)
func removeObjects(fromIndices indices: UnsafeMutablePointer<Int>, numIndices cnt: Int)
func removeObjects(in otherArray: [Any])
func removeObjects(in range: NSRange)
func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any], range otherRange: NSRange)
func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any])
func setArray(_ otherArray: [Any])
func sort(_ compare: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?)
func sort(using comparator: Selector)
func insert(_ objects: [Any], at indexes: IndexSet)
func removeObjects(at indexes: IndexSet)
func replaceObjects(at indexes: IndexSet, with objects: [Any])
subscript(_ idx: Int) -> Any
func setObject(_ obj: Any, atIndexedSubscript idx: Int)
func sort(comparator cmptr: (Any, Any) -> ComparisonResult)
func sort(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult)
class func withCapacity(_ numItems: Int) -> Self
class func withContentsOfFile(_ path: String) -> NSMutableArray?
class func withContentsOf(_ url: URL) -> NSMutableArray?
func sort(using sortDescriptors: [NSSortDescriptor])
func filter(using predicate: NSPredicate)
func addObserver(_ observer: NSObject, toObjectsAt indexes: IndexSet, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: 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 value(forKey key: String) -> Any
func setValue(_ value: Any?, forKey key: String)
func pathsMatchingExtensions(_ filterTypes: [String]) -> [String]
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!)
class func array() -> Self
convenience init(object anObject: Any)
class func withObject(_ anObject: Any) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self
convenience init(array array: [Any])
class func withArray(_ array: [Any]) -> Self
convenience init(array array: [Any])
convenience init(array array: [Any], copyItems flag: Bool)
init?(contentsOfFile path: String)
class func withContentsOfFile(_ path: String) -> [Any]?
init?(contentsOf url: URL)
class func withContentsOf(_ url: URL) -> [Any]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
func adding(_ anObject: Any) -> [Any]
func addingObjects(from otherArray: [Any]) -> [Any]
func componentsJoined(by separator: String) -> String
func contains(_ anObject: Any) -> Bool
var description: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
func firstObjectCommon(with otherArray: [Any]) -> Any?
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, range range: NSRange)
func index(of anObject: Any) -> Int
func index(of anObject: Any, in range: NSRange) -> Int
func indexOfObjectIdentical(to anObject: Any) -> Int
func indexOfObjectIdentical(to anObject: Any, in range: NSRange) -> Int
func isEqual(to otherArray: [Any]) -> Bool
var firstObject: Any? { get }
var lastObject: Any? { get }
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
var sortedArrayHint: Data { get }
func sortedArray(_ comparator: @convention(c) (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) -> [Any]
func sortedArray(_ comparator: @convention(c) (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?, hint hint: Data?) -> [Any]
func sortedArray(using comparator: Selector) -> [Any]
func subarray(with range: NSRange) -> [Any]
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
func makeObjectsPerform(_ aSelector: Selector)
func makeObjectsPerform(_ aSelector: Selector, with argument: Any?)
func objects(at indexes: IndexSet) -> [Any]
subscript(_ idx: Int) -> Any { get }
func objectAtIndexedSubscript(_ idx: Int) -> Any
func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func indexOfObject(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObject(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObject(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexesOfObjects(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexesOfObjects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexesOfObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func index(of obj: Any, inSortedRange r: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int
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 sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any]
func filtered(using predicate: NSPredicate) -> [Any]
@nonobjc convenience init(array anArray: NSArray)
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 NSMutableArray : Sequence {
final func makeIterator() -> NSFastEnumerationIterator
}
extension NSMutableArray : ExpressibleByArrayLiteral {
required convenience init(arrayLiteral elements: Any...)
}
extension NSMutableArray : CustomReflectable {
var customMirror: Mirror { get }
}
extension NSMutableArray : CVarArg {
}
extension NSMutableArray : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSMutableArray {
func addObjects(from otherArray: [Any])
func exchangeObject(at idx1: Int, withObjectAt idx2: Int)
func removeAllObjects()
func remove(_ anObject: Any, in range: NSRange)
func remove(_ anObject: Any)
func removeObject(identicalTo anObject: Any, in range: NSRange)
func removeObject(identicalTo anObject: Any)
func removeObjects(fromIndices indices: UnsafeMutablePointer<Int>, numIndices cnt: Int)
func removeObjects(in otherArray: [Any])
func removeObjects(in range: NSRange)
func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any], range otherRange: NSRange)
func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any])
func setArray(_ otherArray: [Any])
func sort(_ compare: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?)
func sort(using comparator: Selector)
func insert(_ objects: [Any], at indexes: IndexSet)
func removeObjects(at indexes: IndexSet)
func replaceObjects(at indexes: IndexSet, with objects: [Any])
subscript(_ idx: Int) -> Any
func setObject(_ obj: Any, atIndexedSubscript idx: Int)
func sort(comparator cmptr: (Any, Any) -> ComparisonResult)
func sort(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult)
}
extension NSMutableArray {
class func withCapacity(_ numItems: Int) -> Self
class func withContentsOfFile(_ path: String) -> NSMutableArray?
class func withContentsOf(_ url: URL) -> NSMutableArray?
}
extension NSMutableArray {
func filter(using predicate: NSPredicate)
}
extension NSMutableArray {
func sort(using sortDescriptors: [NSSortDescriptor])
} | CVarArg, CustomReflectable, Equatable, ExpressibleByArrayLiteral, Hashable, Sequence |
---|
| Declaration |
From | func addObject(_ anObject: AnyObject) |
To | func add(_ anObject: Any) |
---|
| Declaration |
From | func addObjectsFromArray(_ otherArray: [AnyObject]) |
To | func addObjects(from otherArray: [Any]) |
---|
| Declaration |
From | func exchangeObjectAtIndex(_ idx1: Int, withObjectAtIndex idx2: Int) |
To | func exchangeObject(at idx1: Int, withObjectAt idx2: Int) |
---|
| Declaration |
From | func filterUsingPredicate(_ predicate: NSPredicate) |
To | func filter(using predicate: NSPredicate) |
---|
| Declaration |
From | func insertObject(_ anObject: AnyObject, atIndex index: Int) |
To | func insert(_ anObject: Any, at index: Int) |
---|
| Declaration |
From | func insertObjects(_ objects: [AnyObject], atIndexes indexes: NSIndexSet) |
To | func insert(_ objects: [Any], at indexes: IndexSet) |
---|
| Declaration |
From | func removeObject(_ anObject: AnyObject) |
To | func remove(_ anObject: Any) |
---|
| Declaration |
From | func removeObject(_ anObject: AnyObject, inRange range: NSRange) |
To | func remove(_ anObject: Any, in range: NSRange) |
---|
| Declaration |
From | func removeObjectAtIndex(_ index: Int) |
To | func removeObject(at index: Int) |
---|
| Declaration |
From | func removeObjectIdenticalTo(_ anObject: AnyObject) |
To | func removeObject(identicalTo anObject: Any) |
---|
| Declaration |
From | func removeObjectIdenticalTo(_ anObject: AnyObject, inRange range: NSRange) |
To | func removeObject(identicalTo anObject: Any, in range: NSRange) |
---|
| Declaration |
From | func removeObjectsAtIndexes(_ indexes: NSIndexSet) |
To | func removeObjects(at indexes: IndexSet) |
---|
| Declaration |
From | func removeObjectsInArray(_ otherArray: [AnyObject]) |
To | func removeObjects(in otherArray: [Any]) |
---|
| Declaration |
From | func removeObjectsInRange(_ range: NSRange) |
To | func removeObjects(in range: NSRange) |
---|
| Declaration |
From | func replaceObjectAtIndex(_ index: Int, withObject anObject: AnyObject) |
To | func replaceObject(at index: Int, with anObject: Any) |
---|
| Declaration |
From | func replaceObjectsAtIndexes(_ indexes: NSIndexSet, withObjects objects: [AnyObject]) |
To | func replaceObjects(at indexes: IndexSet, with objects: [Any]) |
---|
| Declaration |
From | func replaceObjectsInRange(_ range: NSRange, withObjectsFromArray otherArray: [AnyObject]) |
To | func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any]) |
---|
| Declaration |
From | func replaceObjectsInRange(_ range: NSRange, withObjectsFromArray otherArray: [AnyObject], range otherRange: NSRange) |
To | func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any], range otherRange: NSRange) |
---|
| Declaration |
From | func setArray(_ otherArray: [AnyObject]) |
To | func setArray(_ otherArray: [Any]) |
---|
| Declaration |
From | func sortUsingFunction(_ compare: (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>) |
To | func sort(_ compare: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func sortUsingComparator(_ cmptr: NSComparator) |
To | func sort(comparator cmptr: (Any, Any) -> ComparisonResult) |
---|
| Declaration |
From | func sortWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) |
To | func sort(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) |
---|
| Declaration |
From | func sortUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) |
To | func sort(using sortDescriptors: [NSSortDescriptor]) |
---|
| Declaration |
From | func sortUsingSelector(_ comparator: Selector) |
To | func sort(using comparator: Selector) |
---|
| Declaration | Protocols |
From | class NSMutableAttributedString : NSAttributedString {
func replaceCharactersInRange(_ range: NSRange, withString str: String)
func setAttributes(_ attrs: [String : AnyObject]?, range range: NSRange)
}
extension NSMutableAttributedString {
func fixAttributesInRange(_ range: NSRange)
func fixFontAttributeInRange(_ range: NSRange)
func fixParagraphStyleAttributeInRange(_ range: NSRange)
func fixAttachmentAttributeInRange(_ range: NSRange)
}
extension NSMutableAttributedString {
func readFromURL(_ url: NSURL, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: ()) throws
func readFromData(_ data: NSData, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: ()) throws
}
extension NSMutableAttributedString {
func superscriptRange(_ range: NSRange)
func subscriptRange(_ range: NSRange)
func unscriptRange(_ range: NSRange)
func applyFontTraits(_ traitMask: NSFontTraitMask, range range: NSRange)
func setAlignment(_ alignment: NSTextAlignment, range range: NSRange)
func setBaseWritingDirection(_ writingDirection: NSWritingDirection, range range: NSRange)
}
extension NSMutableAttributedString {
func readFromURL(_ url: NSURL, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool
func readFromData(_ data: NSData, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) -> Bool
}
extension NSMutableAttributedString {
func updateAttachmentsFromPath(_ path: String)
}
extension NSMutableAttributedString {
var mutableString: NSMutableString { get }
func addAttribute(_ name: String, value value: AnyObject, range range: NSRange)
func addAttributes(_ attrs: [String : AnyObject], range range: NSRange)
func removeAttribute(_ name: String, range range: NSRange)
func replaceCharactersInRange(_ range: NSRange, withAttributedString attrString: NSAttributedString)
func insertAttributedString(_ attrString: NSAttributedString, atIndex loc: Int)
func appendAttributedString(_ attrString: NSAttributedString)
func deleteCharactersInRange(_ range: NSRange)
func setAttributedString(_ attrString: NSAttributedString)
func beginEditing()
func endEditing()
} | -- |
To | class NSMutableAttributedString : NSAttributedString {
func replaceCharacters(in range: NSRange, with str: String)
func setAttributes(_ attrs: [String : Any]?, range range: NSRange)
var mutableString: NSMutableString { get }
func addAttribute(_ name: String, value value: Any, range range: NSRange)
func addAttributes(_ attrs: [String : Any] = [:], range range: NSRange)
func removeAttribute(_ name: String, range range: NSRange)
func replaceCharacters(in range: NSRange, with attrString: NSAttributedString)
func insert(_ attrString: NSAttributedString, at loc: Int)
func append(_ attrString: NSAttributedString)
func deleteCharacters(in range: NSRange)
func setAttributedString(_ attrString: NSAttributedString)
func beginEditing()
func endEditing()
var length: Int { get }
func attribute(_ attrName: String, at location: Int, effectiveRange range: NSRangePointer?) -> Any?
func attributedSubstring(from range: NSRange) -> NSAttributedString
func attributes(at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any]
func attribute(_ attrName: String, at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any?
func isEqual(to other: NSAttributedString) -> Bool
init(string str: String)
init(string str: String, attributes attrs: [String : Any]? = nil)
init(attributedString attrStr: NSAttributedString)
func enumerateAttributes(in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: ([String : Any], NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateAttribute(_ attrName: String, in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: (Any?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reverse: NSAttributedString.EnumerationOptions { get }
static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { get }
}
func 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 NSMutableAttributedString {
func fixAttributes(in range: NSRange)
func fixFontAttribute(in range: NSRange)
func fixParagraphStyleAttribute(in range: NSRange)
func fixAttachmentAttribute(in range: NSRange)
}
extension NSMutableAttributedString {
func read(from url: URL, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?, error error: ()) throws
func read(from data: Data, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?, error error: ()) throws
}
extension NSMutableAttributedString {
func superscriptRange(_ range: NSRange)
func subscriptRange(_ range: NSRange)
func unscriptRange(_ range: NSRange)
func applyFontTraits(_ traitMask: NSFontTraitMask, range range: NSRange)
func setAlignment(_ alignment: NSTextAlignment, range range: NSRange)
func setBaseWritingDirection(_ writingDirection: NSWritingDirection, range range: NSRange)
}
extension NSMutableAttributedString {
func read(from url: URL, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool
func read(from data: Data, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool
}
extension NSMutableAttributedString {
func updateAttachments(fromPath path: String)
}
extension NSMutableAttributedString : CVarArg {
}
extension NSMutableAttributedString : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSMutableAttributedString {
var mutableString: NSMutableString { get }
func addAttribute(_ name: String, value value: Any, range range: NSRange)
func addAttributes(_ attrs: [String : Any] = [:], range range: NSRange)
func removeAttribute(_ name: String, range range: NSRange)
func replaceCharacters(in range: NSRange, with attrString: NSAttributedString)
func insert(_ attrString: NSAttributedString, at loc: Int)
func append(_ attrString: NSAttributedString)
func deleteCharacters(in range: NSRange)
func setAttributedString(_ attrString: NSAttributedString)
func beginEditing()
func endEditing()
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addAttribute(_ name: String, value value: AnyObject, range range: NSRange) |
To | func addAttribute(_ name: String, value value: Any, range range: NSRange) |
---|
| Declaration |
From | func addAttributes(_ attrs: [String : AnyObject], range range: NSRange) |
To | func addAttributes(_ attrs: [String : Any] = [:], range range: NSRange) |
---|
| Declaration |
From | func appendAttributedString(_ attrString: NSAttributedString) |
To | func append(_ attrString: NSAttributedString) |
---|
| Declaration |
From | func deleteCharactersInRange(_ range: NSRange) |
To | func deleteCharacters(in range: NSRange) |
---|
| Declaration |
From | func insertAttributedString(_ attrString: NSAttributedString, atIndex loc: Int) |
To | func insert(_ attrString: NSAttributedString, at loc: Int) |
---|
| Declaration |
From | func replaceCharactersInRange(_ range: NSRange, withAttributedString attrString: NSAttributedString) |
To | func replaceCharacters(in range: NSRange, with attrString: NSAttributedString) |
---|
| Declaration |
From | func replaceCharactersInRange(_ range: NSRange, withString str: String) |
To | func replaceCharacters(in range: NSRange, with str: String) |
---|
| Declaration |
From | func setAttributes(_ attrs: [String : AnyObject]?, range range: NSRange) |
To | func setAttributes(_ attrs: [String : Any]?, range range: NSRange) |
---|
| Declaration | Protocols |
From | class NSMutableCharacterSet : NSCharacterSet, NSCopying, NSMutableCopying {
func addCharactersInRange(_ aRange: NSRange)
func removeCharactersInRange(_ aRange: NSRange)
func addCharactersInString(_ aString: String)
func removeCharactersInString(_ aString: String)
func formUnionWithCharacterSet(_ otherSet: NSCharacterSet)
func formIntersectionWithCharacterSet(_ otherSet: NSCharacterSet)
func invert()
class func controlCharacterSet() -> NSMutableCharacterSet
class func whitespaceCharacterSet() -> NSMutableCharacterSet
class func whitespaceAndNewlineCharacterSet() -> NSMutableCharacterSet
class func decimalDigitCharacterSet() -> NSMutableCharacterSet
class func letterCharacterSet() -> NSMutableCharacterSet
class func lowercaseLetterCharacterSet() -> NSMutableCharacterSet
class func uppercaseLetterCharacterSet() -> NSMutableCharacterSet
class func nonBaseCharacterSet() -> NSMutableCharacterSet
class func alphanumericCharacterSet() -> NSMutableCharacterSet
class func decomposableCharacterSet() -> NSMutableCharacterSet
class func illegalCharacterSet() -> NSMutableCharacterSet
class func punctuationCharacterSet() -> NSMutableCharacterSet
class func capitalizedLetterCharacterSet() -> NSMutableCharacterSet
class func symbolCharacterSet() -> NSMutableCharacterSet
class func newlineCharacterSet() -> NSMutableCharacterSet
init(range aRange: NSRange)
class func characterSetWithRange(_ aRange: NSRange) -> NSMutableCharacterSet
init(charactersInString aString: String)
class func characterSetWithCharactersInString(_ aString: String) -> NSMutableCharacterSet
init(bitmapRepresentation data: NSData)
class func characterSetWithBitmapRepresentation(_ data: NSData) -> NSMutableCharacterSet
init?(contentsOfFile fName: String)
class func characterSetWithContentsOfFile(_ fName: String) -> NSMutableCharacterSet?
} | NSCopying, NSMutableCopying |
To | class NSMutableCharacterSet : NSCharacterSet, NSCopying, NSMutableCopying, NSSecureCoding {
func addCharacters(in aRange: NSRange)
func removeCharacters(in aRange: NSRange)
func addCharacters(in aString: String)
func removeCharacters(in aString: String)
func formUnion(with otherSet: CharacterSet)
func formIntersection(with otherSet: CharacterSet)
func invert()
class func control() -> NSMutableCharacterSet
class func whitespace() -> NSMutableCharacterSet
class func whitespaceAndNewline() -> NSMutableCharacterSet
class func decimalDigit() -> NSMutableCharacterSet
class func letter() -> NSMutableCharacterSet
class func lowercaseLetter() -> NSMutableCharacterSet
class func uppercaseLetter() -> NSMutableCharacterSet
class func nonBase() -> NSMutableCharacterSet
class func alphanumeric() -> NSMutableCharacterSet
class func decomposable() -> NSMutableCharacterSet
class func illegal() -> NSMutableCharacterSet
class func punctuation() -> NSMutableCharacterSet
class func capitalizedLetter() -> NSMutableCharacterSet
class func symbol() -> NSMutableCharacterSet
class func newline() -> NSMutableCharacterSet
init(range aRange: NSRange)
class func withRange(_ aRange: NSRange) -> NSMutableCharacterSet
init(charactersIn aString: String)
class func withCharactersIn(_ aString: String) -> NSMutableCharacterSet
init(bitmapRepresentation data: Data)
class func withBitmapRepresentation(_ data: Data) -> NSMutableCharacterSet
init?(contentsOfFile fName: String)
class func withContentsOfFile(_ fName: String) -> NSMutableCharacterSet?
class var urlUserAllowed: CharacterSet { get }
class var urlPasswordAllowed: CharacterSet { get }
class var urlHostAllowed: CharacterSet { get }
class var urlPathAllowed: CharacterSet { get }
class var urlQueryAllowed: CharacterSet { get }
class var urlFragmentAllowed: CharacterSet { 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 NSMutableCharacterSet : CVarArg {
}
extension NSMutableCharacterSet : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
---|
| Declaration |
From | func addCharactersInRange(_ aRange: NSRange) |
To | func addCharacters(in aRange: NSRange) |
---|
| Declaration |
From | func addCharactersInString(_ aString: String) |
To | func addCharacters(in aString: String) |
---|
| Declaration |
From | class func alphanumericCharacterSet() -> NSMutableCharacterSet |
To | class func alphanumeric() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func capitalizedLetterCharacterSet() -> NSMutableCharacterSet |
To | class func capitalizedLetter() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func controlCharacterSet() -> NSMutableCharacterSet |
To | class func control() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func decimalDigitCharacterSet() -> NSMutableCharacterSet |
To | class func decimalDigit() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func decomposableCharacterSet() -> NSMutableCharacterSet |
To | class func decomposable() -> NSMutableCharacterSet |
---|
| Declaration |
From | func formIntersectionWithCharacterSet(_ otherSet: NSCharacterSet) |
To | func formIntersection(with otherSet: CharacterSet) |
---|
| Declaration |
From | func formUnionWithCharacterSet(_ otherSet: NSCharacterSet) |
To | func formUnion(with otherSet: CharacterSet) |
---|
| Declaration |
From | class func illegalCharacterSet() -> NSMutableCharacterSet |
To | class func illegal() -> NSMutableCharacterSet |
---|
| Declaration |
From | init(bitmapRepresentation data: NSData) |
To | init(bitmapRepresentation data: Data) |
---|
| Declaration |
From | init(charactersInString aString: String) |
To | init(charactersIn aString: String) |
---|
| Declaration |
From | class func letterCharacterSet() -> NSMutableCharacterSet |
To | class func letter() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func lowercaseLetterCharacterSet() -> NSMutableCharacterSet |
To | class func lowercaseLetter() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func newlineCharacterSet() -> NSMutableCharacterSet |
To | class func newline() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func nonBaseCharacterSet() -> NSMutableCharacterSet |
To | class func nonBase() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func punctuationCharacterSet() -> NSMutableCharacterSet |
To | class func punctuation() -> NSMutableCharacterSet |
---|
| Declaration |
From | func removeCharactersInRange(_ aRange: NSRange) |
To | func removeCharacters(in aRange: NSRange) |
---|
| Declaration |
From | func removeCharactersInString(_ aString: String) |
To | func removeCharacters(in aString: String) |
---|
| Declaration |
From | class func symbolCharacterSet() -> NSMutableCharacterSet |
To | class func symbol() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func uppercaseLetterCharacterSet() -> NSMutableCharacterSet |
To | class func uppercaseLetter() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func whitespaceCharacterSet() -> NSMutableCharacterSet |
To | class func whitespace() -> NSMutableCharacterSet |
---|
| Declaration |
From | class func whitespaceAndNewlineCharacterSet() -> NSMutableCharacterSet |
To | class func whitespaceAndNewline() -> NSMutableCharacterSet |
---|
| Declaration |
From | protocol NSMutableCopying {
func mutableCopyWithZone(_ zone: NSZone) -> AnyObject
} |
To | protocol NSMutableCopying {
func mutableCopy(with zone: NSZone? = nil) -> Any
} |
---|
| Declaration |
From | func mutableCopyWithZone(_ zone: NSZone) -> AnyObject |
To | func mutableCopy(with zone: NSZone? = nil) -> Any |
---|
| Declaration | Protocols |
From | class NSMutableData : NSData {
var mutableBytes: UnsafeMutablePointer<Void> { get }
var length: Int
}
extension NSMutableData {
func appendBytes(_ bytes: UnsafePointer<Void>, length length: Int)
func appendData(_ other: NSData)
func increaseLengthBy(_ extraLength: Int)
func replaceBytesInRange(_ range: NSRange, withBytes bytes: UnsafePointer<Void>)
func resetBytesInRange(_ range: NSRange)
func setData(_ data: NSData)
func replaceBytesInRange(_ range: NSRange, withBytes replacementBytes: UnsafePointer<Void>, length replacementLength: Int)
}
extension NSMutableData {
convenience init?(capacity aNumItems: Int)
class func dataWithCapacity(_ aNumItems: Int) -> Self?
convenience init?(length length: Int)
class func dataWithLength(_ 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: (@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)
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func appendData(_ other: NSData) |
To | func append(_ other: Data) |
---|
| Declaration |
From | func appendBytes(_ bytes: UnsafePointer<Void>, length length: Int) |
To | func append(_ bytes: UnsafeRawPointer, length length: Int) |
---|
| Declaration |
From | func increaseLengthBy(_ extraLength: Int) |
To | func increaseLength(by extraLength: Int) |
---|
| Declaration |
From | var mutableBytes: UnsafeMutablePointer<Void> { get } |
To | var mutableBytes: UnsafeMutableRawPointer { get } |
---|
| Declaration |
From | func replaceBytesInRange(_ range: NSRange, withBytes bytes: UnsafePointer<Void>) |
To | func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer) |
---|
| Declaration |
From | func replaceBytesInRange(_ range: NSRange, withBytes replacementBytes: UnsafePointer<Void>, length replacementLength: Int) |
To | func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int) |
---|
| Declaration |
From | func resetBytesInRange(_ range: NSRange) |
To | func resetBytes(in range: NSRange) |
---|
| Declaration |
From | func setData(_ data: NSData) |
To | func setData(_ data: Data) |
---|
| Declaration | Protocols |
From | class NSMutableDictionary : NSDictionary {
func removeObjectForKey(_ aKey: AnyObject)
func setObject(_ anObject: AnyObject, forKey aKey: NSCopying)
init()
init(capacity numItems: Int)
init?(coder aDecoder: NSCoder)
}
extension NSMutableDictionary {
func addEntriesFromDictionary(_ otherDictionary: [NSObject : AnyObject])
func removeAllObjects()
func removeObjectsForKeys(_ keyArray: [AnyObject])
func setDictionary(_ otherDictionary: [NSObject : AnyObject])
subscript (_ key: NSCopying) -> AnyObject?
func setObject(_ obj: AnyObject?, forKeyedSubscript key: NSCopying)
}
extension NSMutableDictionary {
convenience init(capacity numItems: Int)
class func dictionaryWithCapacity(_ numItems: Int) -> Self
init?(contentsOfFile path: String)
class func dictionaryWithContentsOfFile(_ path: String) -> NSMutableDictionary?
init?(contentsOfURL url: NSURL)
class func dictionaryWithContentsOfURL(_ url: NSURL) -> NSMutableDictionary?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOfURL url: NSURL)
}
extension NSMutableDictionary {
init(sharedKeySet keyset: AnyObject)
class func dictionaryWithSharedKeySet(_ keyset: AnyObject) -> NSMutableDictionary
}
extension NSMutableDictionary {
func setValue(_ value: AnyObject?, forKey key: String)
}
extension NSMutableDictionary {
convenience init!(OBEXHeadersData inHeadersData: UnsafePointer<Void>, headersDataSize inDataSize: Int)
class func dictionaryWithOBEXHeadersData(_ inHeadersData: UnsafePointer<Void>, headersDataSize inDataSize: Int) -> Self!
convenience init!(OBEXHeadersData inHeadersData: NSData!)
class func dictionaryWithOBEXHeadersData(_ inHeadersData: NSData!) -> Self!
func getHeaderBytes() -> NSMutableData!
func addTargetHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addHTTPHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addBodyHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32, endOfBody isEndOfBody: Bool) -> OBEXError
func addWhoHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addConnectionIDHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addApplicationParameterHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addByteSequenceHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addObjectClassHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addAuthorizationChallengeHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addAuthorizationResponseHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addTimeISOHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addTypeHeader(_ type: String!) -> OBEXError
func addLengthHeader(_ length: UInt32) -> OBEXError
func addTime4ByteHeader(_ time4Byte: UInt32) -> OBEXError
func addCountHeader(_ inCount: UInt32) -> OBEXError
func addDescriptionHeader(_ inDescriptionString: String!) -> OBEXError
func addNameHeader(_ inNameString: String!) -> OBEXError
func addUserDefinedHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
func addImageHandleHeader(_ type: String!) -> OBEXError
func addImageDescriptorHeader(_ inHeaderData: UnsafePointer<Void>, length inHeaderDataLength: UInt32) -> OBEXError
class func withOBEXHeadersData(_ inHeadersData: UnsafePointer<Void>, headersDataSize inDataSize: Int) -> Self!
} | -- |
To | class NSMutableDictionary : NSDictionary {
func removeObject(forKey aKey: Any)
func setObject(_ anObject: Any, forKey aKey: NSCopying)
init()
init(capacity numItems: Int)
init?(coder aDecoder: NSCoder)
func addEntries(from otherDictionary: [AnyHashable : Any])
func removeAllObjects()
func removeObjects(forKeys keyArray: [Any])
func setDictionary(_ otherDictionary: [AnyHashable : Any])
subscript(_ key: NSCopying) -> Any?
func setObject(_ obj: Any?, forKeyedSubscript key: NSCopying)
class func withCapacity(_ numItems: Int) -> Self
class func withContentsOfFile(_ path: String) -> NSMutableDictionary?
class func withContentsOf(_ url: URL) -> NSMutableDictionary?
init(sharedKeySet keyset: Any)
class func withSharedKeySet(_ keyset: Any) -> NSMutableDictionary
func setValue(_ value: Any?, forKey key: String)
override subscript(_ key: Any) -> Any?
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject>!)
var allKeys: [Any] { get }
func allKeys(for anObject: Any) -> [Any]
var allValues: [Any] { get }
var description: String { get }
var descriptionInStringsFileFormat: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
func isEqual(to otherDictionary: [AnyHashable : Any]) -> Bool
func objectEnumerator() -> NSEnumerator
func objects(forKeys keys: [Any], notFoundMarker marker: Any) -> [Any]
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
func keysSortedByValue(using comparator: Selector) -> [Any]
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, andKeys keys: AutoreleasingUnsafeMutablePointer<AnyObject>!, count count: Int)
subscript(_ key: NSCopying) -> Any? { get }
func objectForKeyedSubscript(_ key: NSCopying) -> Any?
func enumerateKeysAndObjects(_ block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateKeysAndObjects(options opts: NSEnumerationOptions = [], using block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Void)
func keysSortedByValue(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func keysSortedByValue(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func keysOfEntries(passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable>
func keysOfEntries(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, 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?
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
@objc(_swiftInitWithDictionary_NSDictionary:) convenience init(dictionary otherDictionary: NSDictionary)
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 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?
class func dictionary() -> Self
convenience init(object object: Any, forKey key: NSCopying)
class func withObject(_ object: Any, forKey key: NSCopying) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, forKeys keys: UnsafePointer<NSCopying>!, count cnt: Int) -> Self
convenience init(dictionary dict: [AnyHashable : Any])
class func withDictionary(_ dict: [AnyHashable : Any]) -> Self
convenience init(objects objects: [Any], forKeys keys: [NSCopying])
class func withObjects(_ objects: [Any], forKeys keys: [NSCopying]) -> Self
convenience init(dictionary otherDictionary: [AnyHashable : Any])
convenience init(dictionary otherDictionary: [AnyHashable : Any], copyItems flag: Bool)
convenience init(objects objects: [Any], forKeys keys: [NSCopying])
init?(contentsOfFile path: String)
class func withContentsOfFile(_ path: String) -> [AnyHashable : Any]?
init?(contentsOf url: URL)
class func withContentsOf(_ url: URL) -> [AnyHashable : Any]?
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
class func sharedKeySet(forKeys keys: [NSCopying]) -> Any
func fileSize() -> UInt64
func fileModificationDate() -> Date?
func fileType() -> String?
func filePosixPermissions() -> Int
func fileOwnerAccountName() -> String?
func fileGroupOwnerAccountName() -> String?
func fileSystemNumber() -> Int
func fileSystemFileNumber() -> Int
func fileExtensionHidden() -> Bool
func fileHFSCreatorCode() -> OSType
func fileHFSTypeCode() -> OSType
func fileIsImmutable() -> Bool
func fileIsAppendOnly() -> Bool
func fileCreationDate() -> Date?
func fileOwnerAccountID() -> NSNumber?
func fileGroupOwnerAccountID() -> NSNumber?
func value(forKey key: String) -> Any?
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
}
extension NSMutableDictionary : Sequence {
final class Iterator : IteratorProtocol {
func next() -> (key: Any, value: Any)?
}
@objc subscript(_ key: Any) -> Any? { get }
func makeIterator() -> NSDictionary.Iterator
}
extension NSMutableDictionary : ExpressibleByDictionaryLiteral {
required convenience init(dictionaryLiteral elements: (Any, Any)...)
}
extension NSMutableDictionary : CustomReflectable {
var customMirror: Mirror { get }
}
extension NSMutableDictionary : CVarArg {
}
extension NSMutableDictionary : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSMutableDictionary {
func addEntries(from otherDictionary: [AnyHashable : Any])
func removeAllObjects()
func removeObjects(forKeys keyArray: [Any])
func setDictionary(_ otherDictionary: [AnyHashable : Any])
subscript(_ key: NSCopying) -> Any?
func setObject(_ obj: Any?, forKeyedSubscript key: NSCopying)
}
extension NSMutableDictionary {
class func withCapacity(_ numItems: Int) -> Self
class func withContentsOfFile(_ path: String) -> NSMutableDictionary?
class func withContentsOf(_ url: URL) -> NSMutableDictionary?
}
extension NSMutableDictionary {
init(sharedKeySet keyset: Any)
class func withSharedKeySet(_ keyset: Any) -> NSMutableDictionary
}
extension NSMutableDictionary {
func setValue(_ value: Any?, forKey key: String)
}
extension NSMutableDictionary {
override subscript(_ key: Any) -> Any?
}
extension NSMutableDictionary {
convenience init!(obexHeadersData inHeadersData: UnsafeRawPointer!, headersDataSize inDataSize: Int)
class func withOBEXHeadersData(_ inHeadersData: UnsafeRawPointer!, headersDataSize inDataSize: Int) -> Self!
convenience init!(obexHeadersData inHeadersData: Data!)
class func withOBEXHeadersData(_ inHeadersData: Data!) -> Self!
func getHeaderBytes() -> NSMutableData!
func addTargetHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addHTTPHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addBodyHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32, endOfBody isEndOfBody: Bool) -> OBEXError
func addWhoHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addConnectionIDHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addApplicationParameterHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addByteSequenceHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addObjectClassHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addAuthorizationChallengeHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addAuthorizationResponseHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addTimeISOHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addTypeHeader(_ type: String!) -> OBEXError
func addLengthHeader(_ length: UInt32) -> OBEXError
func addTime4ByteHeader(_ time4Byte: UInt32) -> OBEXError
func addCountHeader(_ inCount: UInt32) -> OBEXError
func addDescriptionHeader(_ inDescriptionString: String!) -> OBEXError
func addNameHeader(_ inNameString: String!) -> OBEXError
func addUserDefinedHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
func addImageHandleHeader(_ type: String!) -> OBEXError
func addImageDescriptorHeader(_ inHeaderData: UnsafeRawPointer!, length inHeaderDataLength: UInt32) -> OBEXError
class func withOBEXHeadersData(_ inHeadersData: UnsafeRawPointer!, headersDataSize inDataSize: Int) -> Self!
} | CVarArg, CustomReflectable, Equatable, ExpressibleByDictionaryLiteral, Hashable, Sequence |
---|
| Declaration |
From | func addEntriesFromDictionary(_ otherDictionary: [NSObject : AnyObject]) |
To | func addEntries(from otherDictionary: [AnyHashable : Any]) |
---|
| Declaration |
From | init(sharedKeySet keyset: AnyObject) |
To | init(sharedKeySet keyset: Any) |
---|
| Declaration |
From | func removeObjectForKey(_ aKey: AnyObject) |
To | func removeObject(forKey aKey: Any) |
---|
| Declaration |
From | func removeObjectsForKeys(_ keyArray: [AnyObject]) |
To | func removeObjects(forKeys keyArray: [Any]) |
---|
| Declaration |
From | func setDictionary(_ otherDictionary: [NSObject : AnyObject]) |
To | func setDictionary(_ otherDictionary: [AnyHashable : Any]) |
---|
| Declaration |
From | func setObject(_ anObject: AnyObject, forKey aKey: NSCopying) |
To | func setObject(_ anObject: Any, forKey aKey: NSCopying) |
---|
| Declaration |
From | func setValue(_ value: AnyObject?, forKey key: String) |
To | func setValue(_ value: Any?, forKey key: String) |
---|
| Declaration | Protocols |
From | class NSMutableIndexSet : NSIndexSet {
func addIndexes(_ indexSet: NSIndexSet)
func removeIndexes(_ indexSet: NSIndexSet)
func removeAllIndexes()
func addIndex(_ value: Int)
func removeIndex(_ value: Int)
func addIndexesInRange(_ range: NSRange)
func removeIndexesInRange(_ range: NSRange)
func shiftIndexesStartingAtIndex(_ index: Int, by delta: Int)
} | -- |
To | class NSMutableIndexSet : NSIndexSet {
func add(_ indexSet: IndexSet)
func remove(_ indexSet: IndexSet)
func removeAllIndexes()
func add(_ value: Int)
func remove(_ value: Int)
func add(in range: NSRange)
func remove(in range: NSRange)
func shiftIndexesStarting(at index: Int, by delta: Int)
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 NSMutableIndexSet : Sequence {
func makeIterator() -> NSIndexSetIterator
}
extension NSMutableIndexSet : CVarArg {
}
extension NSMutableIndexSet : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, Sequence |
---|
| Declaration |
From | func addIndex(_ value: Int) |
To | func add(_ value: Int) |
---|
| Declaration |
From | func addIndexes(_ indexSet: NSIndexSet) |
To | func add(_ indexSet: IndexSet) |
---|
| Declaration |
From | func addIndexesInRange(_ range: NSRange) |
To | func add(in range: NSRange) |
---|
| Declaration |
From | func removeIndexes(_ indexSet: NSIndexSet) |
To | func remove(_ indexSet: IndexSet) |
---|
| Declaration |
From | func removeIndex(_ value: Int) |
To | func remove(_ value: Int) |
---|
| Declaration |
From | func removeIndexesInRange(_ range: NSRange) |
To | func remove(in range: NSRange) |
---|
| Declaration |
From | func shiftIndexesStartingAtIndex(_ index: Int, by delta: Int) |
To | func shiftIndexesStarting(at index: Int, by delta: Int) |
---|
| Declaration | Protocols |
From | class NSMutableOrderedSet : NSOrderedSet {
func insertObject(_ object: AnyObject, atIndex idx: Int)
func removeObjectAtIndex(_ idx: Int)
func replaceObjectAtIndex(_ idx: Int, withObject object: AnyObject)
init?(coder aDecoder: NSCoder)
init()
init(capacity numItems: Int)
}
extension NSMutableOrderedSet {
func addObject(_ object: AnyObject)
func addObjects(_ objects: UnsafePointer<AnyObject?>, count count: Int)
func addObjectsFromArray(_ array: [AnyObject])
func exchangeObjectAtIndex(_ idx1: Int, withObjectAtIndex idx2: Int)
func moveObjectsAtIndexes(_ indexes: NSIndexSet, toIndex idx: Int)
func insertObjects(_ objects: [AnyObject], atIndexes indexes: NSIndexSet)
func setObject(_ obj: AnyObject, atIndex idx: Int)
subscript (_ idx: Int) -> AnyObject
func setObject(_ obj: AnyObject, atIndexedSubscript idx: Int)
func replaceObjectsInRange(_ range: NSRange, withObjects objects: UnsafePointer<AnyObject?>, count count: Int)
func replaceObjectsAtIndexes(_ indexes: NSIndexSet, withObjects objects: [AnyObject])
func removeObjectsInRange(_ range: NSRange)
func removeObjectsAtIndexes(_ indexes: NSIndexSet)
func removeAllObjects()
func removeObject(_ object: AnyObject)
func removeObjectsInArray(_ array: [AnyObject])
func intersectOrderedSet(_ other: NSOrderedSet)
func minusOrderedSet(_ other: NSOrderedSet)
func unionOrderedSet(_ other: NSOrderedSet)
func intersectSet(_ other: Set<NSObject>)
func minusSet(_ other: Set<NSObject>)
func unionSet(_ other: Set<NSObject>)
func sortUsingComparator(_ cmptr: NSComparator)
func sortWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator)
func sortRange(_ range: NSRange, options opts: NSSortOptions, usingComparator cmptr: NSComparator)
}
extension NSMutableOrderedSet {
convenience init(capacity numItems: Int)
class func orderedSetWithCapacity(_ numItems: Int) -> Self
}
extension NSMutableOrderedSet {
func filterUsingPredicate(_ p: NSPredicate)
}
extension NSMutableOrderedSet {
func sortUsingDescriptors(_ sortDescriptors: [NSSortDescriptor])
} | -- |
To | class NSMutableOrderedSet : NSOrderedSet {
func insert(_ object: Any, at idx: Int)
func removeObject(at idx: Int)
func replaceObject(at idx: Int, with object: Any)
init?(coder aDecoder: NSCoder)
init()
init(capacity numItems: Int)
func add(_ object: Any)
func add(_ objects: UnsafePointer<AnyObject>!, count count: Int)
func addObjects(from array: [Any])
func exchangeObject(at idx1: Int, withObjectAt idx2: Int)
func moveObjects(at indexes: IndexSet, to idx: Int)
func insert(_ objects: [Any], at indexes: IndexSet)
func setObject(_ obj: Any, at idx: Int)
subscript(_ idx: Int) -> Any
func setObject(_ obj: Any, atIndexedSubscript idx: Int)
func replaceObjects(in range: NSRange, with objects: UnsafePointer<AnyObject>!, count count: Int)
func replaceObjects(at indexes: IndexSet, with objects: [Any])
func removeObjects(in range: NSRange)
func removeObjects(at indexes: IndexSet)
func removeAllObjects()
func remove(_ object: Any)
func removeObjects(in array: [Any])
func intersect(_ other: NSOrderedSet)
func minus(_ other: NSOrderedSet)
func union(_ other: NSOrderedSet)
func intersectSet(_ other: Set<AnyHashable>)
func minusSet(_ other: Set<AnyHashable>)
func unionSet(_ other: Set<AnyHashable>)
func sort(comparator cmptr: (Any, Any) -> ComparisonResult)
func sort(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult)
func sortRange(_ range: NSRange, options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult)
class func withCapacity(_ numItems: Int) -> Self
func sort(using sortDescriptors: [NSSortDescriptor])
func filter(using p: NSPredicate)
func value(forKey key: String) -> Any
func setValue(_ value: Any?, forKey key: String)
class func orderedSet() -> Self
convenience init(object object: Any)
class func withObject(_ object: Any) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self
convenience init(orderedSet set: NSOrderedSet)
class func withOrderedSet(_ set: NSOrderedSet) -> Self
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
class func withOrderedSet(_ set: NSOrderedSet, range range: NSRange, copyItems flag: Bool) -> Self
convenience init(array array: [Any])
class func withArray(_ array: [Any]) -> Self
convenience init(array array: [Any], range range: NSRange, copyItems flag: Bool)
class func withArray(_ array: [Any], range range: NSRange, copyItems flag: Bool) -> Self
convenience init(set set: Set<AnyHashable>)
class func withSet(_ set: Set<AnyHashable>) -> Self
convenience init(set set: Set<AnyHashable>, copyItems flag: Bool)
class func withSet(_ set: Set<AnyHashable>, copyItems flag: Bool) -> Self
convenience init(object object: Any)
convenience init(orderedSet set: NSOrderedSet)
convenience init(orderedSet set: NSOrderedSet, copyItems flag: Bool)
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
convenience init(array array: [Any])
convenience init(array set: [Any], copyItems flag: Bool)
convenience init(array set: [Any], range range: NSRange, copyItems flag: Bool)
convenience init(set set: Set<AnyHashable>)
convenience init(set set: Set<AnyHashable>, copyItems flag: Bool)
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, range range: NSRange)
func objects(at indexes: IndexSet) -> [Any]
var firstObject: Any? { get }
var lastObject: Any? { get }
func isEqual(to other: NSOrderedSet) -> Bool
func contains(_ object: Any) -> Bool
func intersects(_ other: NSOrderedSet) -> Bool
func intersectsSet(_ set: Set<AnyHashable>) -> Bool
func isSubset(of other: NSOrderedSet) -> Bool
func isSubset(of set: Set<AnyHashable>) -> Bool
subscript(_ idx: Int) -> Any { get }
func objectAtIndexedSubscript(_ idx: Int) -> Any
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
@NSCopying var reversed: NSOrderedSet { get }
var array: [Any] { get }
var set: Set<AnyHashable> { get }
func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func index(ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(_ opts: NSEnumerationOptions = [], ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(ofObjectAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexes(ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(options opts: NSEnumerationOptions = [], ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(ofObjectsAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func index(of object: Any, inSortedRange range: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int
func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
var description: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> 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?)
convenience init(objects elements: 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 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 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 p: NSPredicate) -> NSOrderedSet
class func classForKeyedUnarchiver() -> AnyClass
}
extension NSMutableOrderedSet : Sequence {
func makeIterator() -> NSFastEnumerationIterator
}
extension NSMutableOrderedSet : ExpressibleByArrayLiteral {
required convenience init(arrayLiteral elements: Any...)
}
extension NSMutableOrderedSet : CVarArg {
}
extension NSMutableOrderedSet : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSMutableOrderedSet {
func add(_ object: Any)
func add(_ objects: UnsafePointer<AnyObject>!, count count: Int)
func addObjects(from array: [Any])
func exchangeObject(at idx1: Int, withObjectAt idx2: Int)
func moveObjects(at indexes: IndexSet, to idx: Int)
func insert(_ objects: [Any], at indexes: IndexSet)
func setObject(_ obj: Any, at idx: Int)
subscript(_ idx: Int) -> Any
func setObject(_ obj: Any, atIndexedSubscript idx: Int)
func replaceObjects(in range: NSRange, with objects: UnsafePointer<AnyObject>!, count count: Int)
func replaceObjects(at indexes: IndexSet, with objects: [Any])
func removeObjects(in range: NSRange)
func removeObjects(at indexes: IndexSet)
func removeAllObjects()
func remove(_ object: Any)
func removeObjects(in array: [Any])
func intersect(_ other: NSOrderedSet)
func minus(_ other: NSOrderedSet)
func union(_ other: NSOrderedSet)
func intersectSet(_ other: Set<AnyHashable>)
func minusSet(_ other: Set<AnyHashable>)
func unionSet(_ other: Set<AnyHashable>)
func sort(comparator cmptr: (Any, Any) -> ComparisonResult)
func sort(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult)
func sortRange(_ range: NSRange, options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult)
}
extension NSMutableOrderedSet {
class func withCapacity(_ numItems: Int) -> Self
}
extension NSMutableOrderedSet {
func filter(using p: NSPredicate)
}
extension NSMutableOrderedSet {
func sort(using sortDescriptors: [NSSortDescriptor])
} | CVarArg, Equatable, ExpressibleByArrayLiteral, Hashable, Sequence |
---|
| Declaration |
From | func addObject(_ object: AnyObject) |
To | func add(_ object: Any) |
---|
| Declaration |
From | func addObjects(_ objects: UnsafePointer<AnyObject?>, count count: Int) |
To | func add(_ objects: UnsafePointer<AnyObject>!, count count: Int) |
---|
| Declaration |
From | func addObjectsFromArray(_ array: [AnyObject]) |
To | func addObjects(from array: [Any]) |
---|
| Declaration |
From | func exchangeObjectAtIndex(_ idx1: Int, withObjectAtIndex idx2: Int) |
To | func exchangeObject(at idx1: Int, withObjectAt idx2: Int) |
---|
| Declaration |
From | func filterUsingPredicate(_ p: NSPredicate) |
To | func filter(using p: NSPredicate) |
---|
| Declaration |
From | func insertObject(_ object: AnyObject, atIndex idx: Int) |
To | func insert(_ object: Any, at idx: Int) |
---|
| Declaration |
From | func insertObjects(_ objects: [AnyObject], atIndexes indexes: NSIndexSet) |
To | func insert(_ objects: [Any], at indexes: IndexSet) |
---|
| Declaration |
From | func intersectOrderedSet(_ other: NSOrderedSet) |
To | func intersect(_ other: NSOrderedSet) |
---|
| Declaration |
From | func intersectSet(_ other: Set<NSObject>) |
To | func intersectSet(_ other: Set<AnyHashable>) |
---|
| Declaration |
From | func minusOrderedSet(_ other: NSOrderedSet) |
To | func minus(_ other: NSOrderedSet) |
---|
| Declaration |
From | func minusSet(_ other: Set<NSObject>) |
To | func minusSet(_ other: Set<AnyHashable>) |
---|
| Declaration |
From | func moveObjectsAtIndexes(_ indexes: NSIndexSet, toIndex idx: Int) |
To | func moveObjects(at indexes: IndexSet, to idx: Int) |
---|
| Declaration |
From | func removeObject(_ object: AnyObject) |
To | func remove(_ object: Any) |
---|
| Declaration |
From | func removeObjectAtIndex(_ idx: Int) |
To | func removeObject(at idx: Int) |
---|
| Declaration |
From | func removeObjectsAtIndexes(_ indexes: NSIndexSet) |
To | func removeObjects(at indexes: IndexSet) |
---|
| Declaration |
From | func removeObjectsInRange(_ range: NSRange) |
To | func removeObjects(in range: NSRange) |
---|
| Declaration |
From | func removeObjectsInArray(_ array: [AnyObject]) |
To | func removeObjects(in array: [Any]) |
---|
| Declaration |
From | func replaceObjectAtIndex(_ idx: Int, withObject object: AnyObject) |
To | func replaceObject(at idx: Int, with object: Any) |
---|
| Declaration |
From | func replaceObjectsAtIndexes(_ indexes: NSIndexSet, withObjects objects: [AnyObject]) |
To | func replaceObjects(at indexes: IndexSet, with objects: [Any]) |
---|
| Declaration |
From | func replaceObjectsInRange(_ range: NSRange, withObjects objects: UnsafePointer<AnyObject?>, count count: Int) |
To | func replaceObjects(in range: NSRange, with objects: UnsafePointer<AnyObject>!, count count: Int) |
---|
| Declaration |
From | func setObject(_ obj: AnyObject, atIndex idx: Int) |
To | func setObject(_ obj: Any, at idx: Int) |
---|
| Declaration |
From | func sortUsingComparator(_ cmptr: NSComparator) |
To | func sort(comparator cmptr: (Any, Any) -> ComparisonResult) |
---|
| Declaration |
From | func sortWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) |
To | func sort(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) |
---|
| Declaration |
From | func sortUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) |
To | func sort(using sortDescriptors: [NSSortDescriptor]) |
---|
| Declaration |
From | func sortRange(_ range: NSRange, options opts: NSSortOptions, usingComparator cmptr: NSComparator) |
To | func sortRange(_ range: NSRange, options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) |
---|
| Declaration |
From | func unionOrderedSet(_ other: NSOrderedSet) |
To | func union(_ other: NSOrderedSet) |
---|
| Declaration |
From | func unionSet(_ other: Set<NSObject>) |
To | func unionSet(_ other: Set<AnyHashable>) |
---|
| Declaration | Protocols |
From | class NSMutableSet : NSSet {
func addObject(_ object: AnyObject)
func removeObject(_ object: AnyObject)
init?(coder aDecoder: NSCoder)
init()
init(capacity numItems: Int)
}
extension NSMutableSet {
func filterUsingPredicate(_ predicate: NSPredicate)
}
extension NSMutableSet {
func addObjectsFromArray(_ array: [AnyObject])
func intersectSet(_ otherSet: Set<NSObject>)
func minusSet(_ otherSet: Set<NSObject>)
func removeAllObjects()
func unionSet(_ otherSet: Set<NSObject>)
func setSet(_ otherSet: Set<NSObject>)
}
extension NSMutableSet {
convenience init(capacity numItems: Int)
class func setWithCapacity(_ 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 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
} | CVarArg, CustomReflectable, Equatable, ExpressibleByArrayLiteral, Hashable, Sequence |
---|
| Declaration |
From | func addObject(_ object: AnyObject) |
To | func add(_ object: Any) |
---|
| Declaration |
From | func addObjectsFromArray(_ array: [AnyObject]) |
To | func addObjects(from array: [Any]) |
---|
| Declaration |
From | func filterUsingPredicate(_ predicate: NSPredicate) |
To | func filter(using predicate: NSPredicate) |
---|
| Declaration |
From | func intersectSet(_ otherSet: Set<NSObject>) |
To | func intersect(_ otherSet: Set<AnyHashable>) |
---|
| Declaration |
From | func minusSet(_ otherSet: Set<NSObject>) |
To | func minus(_ otherSet: Set<AnyHashable>) |
---|
| Declaration |
From | func removeObject(_ object: AnyObject) |
To | func remove(_ object: Any) |
---|
| Declaration |
From | func setSet(_ otherSet: Set<NSObject>) |
To | func setSet(_ otherSet: Set<AnyHashable>) |
---|
| Declaration |
From | func unionSet(_ otherSet: Set<NSObject>) |
To | func union(_ otherSet: Set<AnyHashable>) |
---|
| Declaration | Protocols |
From | class NSMutableString : NSString {
func replaceCharactersInRange(_ range: NSRange, withString aString: String)
}
extension NSMutableString {
func appendFormat(_ format: NSString, _ args: CVarArgType...)
}
extension NSMutableString {
func insertString(_ aString: String, atIndex loc: Int)
func deleteCharactersInRange(_ range: NSRange)
func appendString(_ aString: String)
func setString(_ aString: String)
func replaceOccurrencesOfString(_ target: String, withString replacement: String, options options: NSStringCompareOptions, range searchRange: NSRange) -> Int
func applyTransform(_ transform: String, reverse reverse: Bool, range range: NSRange, updatedRange resultingRange: NSRangePointer) -> Bool
init(capacity capacity: Int)
class func stringWithCapacity(_ capacity: Int) -> NSMutableString
}
extension NSMutableString {
func appendFormat(_ format: NSString, _ args: CVarArgType...)
} | -- |
To | class NSMutableString : NSString {
func replaceCharacters(in range: NSRange, with aString: String)
func insert(_ aString: String, at loc: Int)
func deleteCharacters(in range: NSRange)
func append(_ aString: String)
func setString(_ aString: String)
func replaceOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> Int
func applyTransform(_ transform: String, reverse reverse: Bool, range range: NSRange, updatedRange resultingRange: NSRangePointer?) -> Bool
init(capacity capacity: Int)
class func withCapacity(_ capacity: Int) -> NSMutableString
func appendFormat(_ format: NSString, _ args: CVarArg...)
@nonobjc convenience init(string aString: NSString)
func linguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String]
func enumerateLinguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, using block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func addingPercentEncoding(withAllowedCharacters allowedCharacters: CharacterSet) -> String?
var removingPercentEncoding: String? { get }
func addingPercentEscapes(using enc: UInt) -> String?
func replacingPercentEscapes(using enc: UInt) -> String?
class func path(withComponents components: [String]) -> String
var pathComponents: [String] { get }
var isAbsolutePath: Bool { get }
var lastPathComponent: String { get }
var deletingLastPathComponent: String { get }
func appendingPathComponent(_ str: String) -> String
var pathExtension: String { get }
var deletingPathExtension: String { get }
func appendingPathExtension(_ str: String) -> String?
var abbreviatingWithTildeInPath: String { get }
var expandingTildeInPath: String { get }
var standardizingPath: String { get }
var resolvingSymlinksInPath: String { get }
func strings(byAppendingPaths paths: [String]) -> [String]
func completePath(into outputName: AutoreleasingUnsafeMutablePointer<NSString?>?, caseSensitive flag: Bool, matchesInto outputArray: AutoreleasingUnsafeMutablePointer<NSArray?>?, filterTypes filterTypes: [String]?) -> Int
var fileSystemRepresentation: UnsafePointer<Int8> { get }
func getFileSystemRepresentation(_ cname: UnsafeMutablePointer<Int8>, maxLength max: Int) -> Bool
func variantFittingPresentationWidth(_ width: Int) -> String
func cString() -> UnsafePointer<Int8>?
func lossyCString() -> UnsafePointer<Int8>?
func cStringLength() -> Int
func getCString(_ bytes: UnsafeMutablePointer<Int8>)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int, range aRange: NSRange, remaining leftoverRange: NSRangePointer?)
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
class func string(withContentsOfFile path: String) -> Any?
class func string(withContentsOf url: URL) -> Any?
convenience init?(cStringNoCopy bytes: UnsafeMutablePointer<Int8>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init?(cString bytes: UnsafePointer<Int8>, length length: Int)
convenience init?(cString bytes: UnsafePointer<Int8>)
class func string(withCString bytes: UnsafePointer<Int8>, length length: Int) -> Any?
class func string(withCString bytes: UnsafePointer<Int8>) -> Any?
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>)
func propertyList() -> Any
func propertyListFromStringsFileFormat() -> [AnyHashable : Any]?
class func stringEncoding(for data: Data, encodingOptions opts: [StringEncodingDetectionOptionsKey : Any]? = nil, convertedString string: AutoreleasingUnsafeMutablePointer<NSString?>?, usedLossyConversion usedLossyConversion: UnsafeMutablePointer<ObjCBool>?) -> UInt
func substring(from from: Int) -> String
func substring(to to: Int) -> String
func substring(with range: NSRange) -> String
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>, range range: NSRange)
func compare(_ string: String) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = []) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange, locale locale: Any?) -> ComparisonResult
func caseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedCompare(_ string: String) -> ComparisonResult
func localizedCaseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedStandardCompare(_ string: String) -> ComparisonResult
func isEqual(to aString: String) -> Bool
func hasPrefix(_ str: String) -> Bool
func hasSuffix(_ str: String) -> Bool
func commonPrefix(with str: String, options mask: NSString.CompareOptions = []) -> String
func contains(_ str: String) -> Bool
func localizedCaseInsensitiveContains(_ str: String) -> Bool
func localizedStandardContains(_ str: String) -> Bool
func localizedStandardRange(of str: String) -> NSRange
func range(of searchString: String) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = []) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange, locale locale: Locale?) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = []) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func rangeOfComposedCharacterSequence(at index: Int) -> NSRange
func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRange
func appending(_ aString: String) -> String
var doubleValue: Double { get }
var floatValue: Float { get }
var intValue: Int32 { get }
var integerValue: Int { get }
var longLongValue: Int64 { get }
var boolValue: Bool { get }
var uppercased: String { get }
var lowercased: String { get }
var capitalized: String { get }
var localizedUppercase: String { get }
var localizedLowercase: String { get }
var localizedCapitalized: String { get }
func uppercased(with locale: Locale?) -> String
func lowercased(with locale: Locale?) -> String
func capitalized(with locale: Locale?) -> String
func getLineStart(_ startPtr: UnsafeMutablePointer<Int>?, end lineEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func lineRange(for range: NSRange) -> NSRange
func getParagraphStart(_ startPtr: UnsafeMutablePointer<Int>?, end parEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func paragraphRange(for range: NSRange) -> NSRange
func enumerateSubstrings(in range: NSRange, options opts: NSString.EnumerationOptions = [], using block: @escaping (String?, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateLines(_ block: @escaping (String, UnsafeMutablePointer<ObjCBool>) -> Void)
var utf8String: UnsafePointer<Int8>? { get }
var fastestEncoding: UInt { get }
var smallestEncoding: UInt { get }
func data(using encoding: UInt, allowLossyConversion lossy: Bool) -> Data?
func data(using encoding: UInt) -> Data?
func canBeConverted(to encoding: UInt) -> Bool
func cString(using encoding: UInt) -> UnsafePointer<Int8>?
func getCString(_ buffer: UnsafeMutablePointer<Int8>, maxLength maxBufferCount: Int, encoding encoding: UInt) -> Bool
func getBytes(_ buffer: UnsafeMutableRawPointer?, maxLength maxBufferCount: Int, usedLength usedBufferCount: UnsafeMutablePointer<Int>?, encoding encoding: UInt, options options: NSString.EncodingConversionOptions = [], range range: NSRange, remaining leftover: NSRangePointer?) -> Bool
func maximumLengthOfBytes(using enc: UInt) -> Int
func lengthOfBytes(using enc: UInt) -> Int
class var availableStringEncodings: UnsafePointer<UInt> { get }
class func localizedName(of encoding: UInt) -> String
class var defaultCStringEncoding: UInt { get }
var decomposedStringWithCanonicalMapping: String { get }
var precomposedStringWithCanonicalMapping: String { get }
var decomposedStringWithCompatibilityMapping: String { get }
var precomposedStringWithCompatibilityMapping: String { get }
func components(separatedBy separator: String) -> [String]
func components(separatedBy separator: CharacterSet) -> [String]
func trimmingCharacters(in set: CharacterSet) -> String
func padding(toLength newLength: Int, withPad padString: String, startingAt padIndex: Int) -> String
func folding(options options: NSString.CompareOptions = [], locale locale: Locale?) -> String
func replacingOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> String
func replacingOccurrences(of target: String, with replacement: String) -> String
func replacingCharacters(in range: NSRange, with replacement: String) -> String
func applyingTransform(_ transform: StringTransform, reverse reverse: Bool) -> String?
func write(to url: URL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
func write(toFile path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
var description: String { get }
var hash: Int { get }
convenience init(charactersNoCopy characters: UnsafeMutablePointer<unichar>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init(characters characters: UnsafePointer<unichar>, length length: Int)
convenience init?(utf8String nullTerminatedCString: UnsafePointer<Int8>)
convenience init(string aString: String)
convenience init(format format: String, arguments argList: CVaListPointer)
convenience init(format format: String, locale locale: Any?, arguments argList: CVaListPointer)
convenience init?(data data: Data, encoding encoding: UInt)
convenience init?(bytes bytes: UnsafeRawPointer, length len: Int, encoding encoding: UInt)
convenience init?(bytesNoCopy bytes: UnsafeMutableRawPointer, length len: Int, encoding encoding: UInt, freeWhenDone freeBuffer: Bool)
class func string() -> Self
class func withString(_ string: String) -> Self
class func withCharacters(_ characters: UnsafePointer<unichar>, length length: Int) -> Self
class func withUTF8String(_ nullTerminatedCString: UnsafePointer<Int8>) -> Self?
convenience init?(cString nullTerminatedCString: UnsafePointer<Int8>, encoding encoding: UInt)
class func withCString(_ cString: UnsafePointer<Int8>, encoding enc: UInt) -> Self?
convenience init(contentsOf url: URL, encoding enc: UInt) throws
convenience init(contentsOfFile path: String, encoding enc: UInt) throws
class func withContentsOf(_ url: URL, encoding enc: UInt) throws -> Self
class func withContentsOfFile(_ path: String, encoding enc: UInt) throws -> Self
convenience init(contentsOf url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
convenience init(contentsOfFile path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
class func withContentsOf(_ url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
class func withContentsOfFile(_ path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
struct CompareOptions : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSString.CompareOptions { get }
static var literal: NSString.CompareOptions { get }
static var backwards: NSString.CompareOptions { get }
static var anchored: NSString.CompareOptions { get }
static var numeric: NSString.CompareOptions { get }
static var diacriticInsensitive: NSString.CompareOptions { get }
static var widthInsensitive: NSString.CompareOptions { get }
static var forcedOrdering: NSString.CompareOptions { get }
static var regularExpression: NSString.CompareOptions { get }
}
struct EncodingConversionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var allowLossy: NSString.EncodingConversionOptions { get }
static var externalRepresentation: NSString.EncodingConversionOptions { get }
}
struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byLines: NSString.EnumerationOptions { get }
static var byParagraphs: NSString.EnumerationOptions { get }
static var byComposedCharacterSequences: NSString.EnumerationOptions { get }
static var byWords: NSString.EnumerationOptions { get }
static var bySentences: NSString.EnumerationOptions { get }
static var reverse: NSString.EnumerationOptions { get }
static var substringNotRequired: NSString.EnumerationOptions { get }
static var localized: NSString.EnumerationOptions { 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 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?
convenience init(format format: NSString, _ args: CVarArg...)
convenience init(format format: NSString, locale locale: Locale?, _ args: CVarArg...)
class func localizedStringWithFormat(_ format: NSString, _ args: CVarArg...) -> Self
func appendingFormat(_ format: NSString, _ args: CVarArg...) -> NSString
var classForPortCoder: AnyClass { get }
func replacementObject(for coder: NSPortCoder) -> Any?
}
extension NSMutableString : ExpressibleByStringLiteral {
required convenience init(unicodeScalarLiteral value: StaticString)
required convenience init(extendedGraphemeClusterLiteral value: StaticString)
required convenience init(stringLiteral value: StaticString)
}
extension NSMutableString : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
}
extension NSMutableString : CVarArg {
}
extension NSMutableString : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSMutableString {
func insert(_ aString: String, at loc: Int)
func deleteCharacters(in range: NSRange)
func append(_ aString: String)
func setString(_ aString: String)
func replaceOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> Int
func applyTransform(_ transform: String, reverse reverse: Bool, range range: NSRange, updatedRange resultingRange: NSRangePointer?) -> Bool
init(capacity capacity: Int)
class func withCapacity(_ capacity: Int) -> NSMutableString
}
extension NSMutableString {
func appendFormat(_ format: NSString, _ args: CVarArg...)
} | CVarArg, CustomPlaygroundQuickLookable, Equatable, ExpressibleByStringLiteral, Hashable |
---|
| Declaration |
From | func appendString(_ aString: String) |
To | func append(_ aString: String) |
---|
| Declaration |
From | func applyTransform(_ transform: String, reverse reverse: Bool, range range: NSRange, updatedRange resultingRange: NSRangePointer) -> Bool |
To | func applyTransform(_ transform: String, reverse reverse: Bool, range range: NSRange, updatedRange resultingRange: NSRangePointer?) -> Bool |
---|
| Declaration |
From | func deleteCharactersInRange(_ range: NSRange) |
To | func deleteCharacters(in range: NSRange) |
---|
| Declaration |
From | func insertString(_ aString: String, atIndex loc: Int) |
To | func insert(_ aString: String, at loc: Int) |
---|
| Declaration |
From | func replaceCharactersInRange(_ range: NSRange, withString aString: String) |
To | func replaceCharacters(in range: NSRange, with aString: String) |
---|
| Declaration |
From | func replaceOccurrencesOfString(_ target: String, withString replacement: String, options options: NSStringCompareOptions, range searchRange: NSRange) -> Int |
To | func replaceOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> Int |
---|
| Declaration | Protocols |
From | class NSMutableURLRequest : NSURLRequest {
@NSCopying var URL: NSURL?
var cachePolicy: NSURLRequestCachePolicy
var timeoutInterval: NSTimeInterval
@NSCopying var mainDocumentURL: NSURL?
var networkServiceType: NSURLRequestNetworkServiceType
var allowsCellularAccess: Bool
}
extension NSMutableURLRequest {
var HTTPMethod: String
var allHTTPHeaderFields: [String : String]?
func setValue(_ value: String?, forHTTPHeaderField field: String)
func addValue(_ value: String, forHTTPHeaderField field: String)
@NSCopying var HTTPBody: NSData?
var HTTPBodyStream: NSInputStream?
var HTTPShouldHandleCookies: Bool
var HTTPShouldUsePipelining: Bool
} | -- |
To | class NSMutableURLRequest : NSURLRequest {
var url: URL?
var cachePolicy: NSURLRequest.CachePolicy
var timeoutInterval: TimeInterval
var mainDocumentURL: URL?
var networkServiceType: NSURLRequest.NetworkServiceType
var allowsCellularAccess: Bool
var httpMethod: String
var allHTTPHeaderFields: [String : String]?
func setValue(_ value: String?, forHTTPHeaderField field: String)
func addValue(_ value: String, forHTTPHeaderField field: String)
var httpBody: Data?
var httpBodyStream: InputStream?
var httpShouldHandleCookies: Bool
var httpShouldUsePipelining: Bool
var httpMethod: String? { get }
var allHTTPHeaderFields: [String : String]? { get }
func value(forHTTPHeaderField field: String) -> String?
var httpBody: Data? { get }
var httpBodyStream: InputStream? { get }
var httpShouldHandleCookies: Bool { get }
var httpShouldUsePipelining: Bool { get }
enum CachePolicy : UInt {
case useProtocolCachePolicy
case reloadIgnoringLocalCacheData
case reloadIgnoringLocalAndRemoteCacheData
static var reloadIgnoringCacheData: NSURLRequest.CachePolicy { get }
case returnCacheDataElseLoad
case returnCacheDataDontLoad
case reloadRevalidatingCacheData
}
enum NetworkServiceType : UInt {
case `default`
case voip
case video
case background
case voice
case networkServiceTypeCallSignaling
}
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 NSMutableURLRequest : CVarArg {
}
extension NSMutableURLRequest : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSMutableURLRequest {
var httpMethod: String
var allHTTPHeaderFields: [String : String]?
func setValue(_ value: String?, forHTTPHeaderField field: String)
func addValue(_ value: String, forHTTPHeaderField field: String)
var httpBody: Data?
var httpBodyStream: InputStream?
var httpShouldHandleCookies: Bool
var httpShouldUsePipelining: Bool
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var cachePolicy: NSURLRequestCachePolicy |
To | var cachePolicy: NSURLRequest.CachePolicy |
---|
| Declaration |
From | @NSCopying var HTTPBody: NSData? |
To | var httpBody: Data? |
---|
| Declaration |
From | var HTTPBodyStream: NSInputStream? |
To | var httpBodyStream: InputStream? |
---|
| Declaration |
From | var HTTPMethod: String |
To | var httpMethod: String |
---|
| Declaration |
From | var HTTPShouldHandleCookies: Bool |
To | var httpShouldHandleCookies: Bool |
---|
| Declaration |
From | var HTTPShouldUsePipelining: Bool |
To | var httpShouldUsePipelining: Bool |
---|
| Declaration |
From | @NSCopying var mainDocumentURL: NSURL? |
To | var mainDocumentURL: URL? |
---|
| Declaration |
From | var networkServiceType: NSURLRequestNetworkServiceType |
To | var networkServiceType: NSURLRequest.NetworkServiceType |
---|
| Declaration |
From | var timeoutInterval: NSTimeInterval |
To | var timeoutInterval: TimeInterval |
---|
| Declaration |
From | @NSCopying var URL: NSURL? |
To | var url: URL? |
---|
| Declaration | Protocols |
From | class NSNotification : NSObject, NSCopying, NSCoding {
var name: String { get }
var object: AnyObject? { get }
var userInfo: [NSObject : AnyObject]? { get }
init(name name: String, object object: AnyObject?, userInfo userInfo: [NSObject : AnyObject]?)
init?(coder aDecoder: NSCoder)
}
extension NSNotification {
convenience init(name aName: String, object anObject: AnyObject?)
class func notificationWithName(_ aName: String, object anObject: AnyObject?) -> Self
convenience init(name aName: String, object anObject: AnyObject?, userInfo aUserInfo: [NSObject : AnyObject]?)
class func notificationWithName(_ aName: String, object anObject: AnyObject?, userInfo aUserInfo: [NSObject : AnyObject]?) -> Self
convenience init()
} | NSCoding, NSCopying |
To | class NSNotification : NSObject, NSCopying, NSCoding {
var name: NSNotification.Name { get }
var object: Any? { get }
var userInfo: [AnyHashable : Any]? { get }
init(name name: NSNotification.Name, object object: Any?, userInfo userInfo: [AnyHashable : Any]? = nil)
init?(coder aDecoder: NSCoder)
struct Name : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
convenience init(name aName: NSNotification.Name, object anObject: Any?)
class func withName(_ aName: NSNotification.Name, object anObject: Any?) -> Self
class func withName(_ aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable : Any]? = nil) -> Self
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 NSNotification {
struct Name : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
}
extension NSNotification : CVarArg {
}
extension NSNotification : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSNotification {
convenience init(name aName: NSNotification.Name, object anObject: Any?)
class func withName(_ aName: NSNotification.Name, object anObject: Any?) -> Self
class func withName(_ aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable : Any]? = nil) -> Self
}
extension NSNotification {
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
---|
| Declaration |
From | convenience init(name aName: String, object anObject: AnyObject?) |
To | convenience init(name aName: NSNotification.Name, object anObject: Any?) |
---|
| Declaration |
From | init(name name: String, object object: AnyObject?, userInfo userInfo: [NSObject : AnyObject]?) |
To | init(name name: NSNotification.Name, object object: Any?, userInfo userInfo: [AnyHashable : Any]? = nil) |
---|
| Declaration |
From | var name: String { get } |
To | var name: NSNotification.Name { get } |
---|
| Declaration |
From | var object: AnyObject? { get } |
To | var object: Any? { get } |
---|
| Declaration |
From | var userInfo: [NSObject : AnyObject]? { get } |
To | var userInfo: [AnyHashable : Any]? { get } |
---|
| Name | Declaration |
From | NSAppleEventManagerWillProcessFirstEventNotification | let NSAppleEventManagerWillProcessFirstEventNotification: String |
To | NSAppleEventManagerWillProcessFirstEvent | static let NSAppleEventManagerWillProcessFirstEvent: NSNotification.Name |
---|
| Name | Declaration |
From | NSCalendarDayChangedNotification | let NSCalendarDayChangedNotification: String |
To | NSCalendarDayChanged | static let NSCalendarDayChanged: NSNotification.Name |
---|
| Name | Declaration |
From | NSClassDescriptionNeededForClassNotification | let NSClassDescriptionNeededForClassNotification: String |
To | NSClassDescriptionNeededForClass | static let NSClassDescriptionNeededForClass: NSNotification.Name |
---|
| Name | Declaration |
From | NSDidBecomeSingleThreadedNotification | let NSDidBecomeSingleThreadedNotification: String |
To | NSDidBecomeSingleThreaded | static let NSDidBecomeSingleThreaded: NSNotification.Name |
---|
| Name | Declaration |
From | NSFileHandleConnectionAcceptedNotification | let NSFileHandleConnectionAcceptedNotification: String |
To | NSFileHandleConnectionAccepted | static let NSFileHandleConnectionAccepted: NSNotification.Name |
---|
| Name | Declaration |
From | NSFileHandleDataAvailableNotification | let NSFileHandleDataAvailableNotification: String |
To | NSFileHandleDataAvailable | static let NSFileHandleDataAvailable: NSNotification.Name |
---|
| Name | Declaration |
From | NSFileHandleReadToEndOfFileCompletionNotification | let NSFileHandleReadToEndOfFileCompletionNotification: String |
To | NSFileHandleReadToEndOfFileCompletion | static let NSFileHandleReadToEndOfFileCompletion: NSNotification.Name |
---|
| Name | Declaration |
From | NSHTTPCookieManagerAcceptPolicyChangedNotification | let NSHTTPCookieManagerAcceptPolicyChangedNotification: String |
To | NSHTTPCookieManagerAcceptPolicyChanged | static let NSHTTPCookieManagerAcceptPolicyChanged: NSNotification.Name |
---|
| Name | Declaration |
From | NSHTTPCookieManagerCookiesChangedNotification | let NSHTTPCookieManagerCookiesChangedNotification: String |
To | NSHTTPCookieManagerCookiesChanged | static let NSHTTPCookieManagerCookiesChanged: NSNotification.Name |
---|
| Name | Declaration |
From | NSMetadataQueryDidFinishGatheringNotification | let NSMetadataQueryDidFinishGatheringNotification: String |
To | NSMetadataQueryDidFinishGathering | static let NSMetadataQueryDidFinishGathering: NSNotification.Name |
---|
| Name | Declaration |
From | NSMetadataQueryDidStartGatheringNotification | let NSMetadataQueryDidStartGatheringNotification: String |
To | NSMetadataQueryDidStartGathering | static let NSMetadataQueryDidStartGathering: NSNotification.Name |
---|
| Name | Declaration |
From | NSMetadataQueryDidUpdateNotification | let NSMetadataQueryDidUpdateNotification: String |
To | NSMetadataQueryDidUpdate | static let NSMetadataQueryDidUpdate: NSNotification.Name |
---|
| Name | Declaration |
From | NSMetadataQueryGatheringProgressNotification | let NSMetadataQueryGatheringProgressNotification: String |
To | NSMetadataQueryGatheringProgress | static let NSMetadataQueryGatheringProgress: NSNotification.Name |
---|
| Name | Declaration |
From | NSSystemClockDidChangeNotification | let NSSystemClockDidChangeNotification: String |
To | NSSystemClockDidChange | static let NSSystemClockDidChange: NSNotification.Name |
---|
| Name | Declaration |
From | NSSystemTimeZoneDidChangeNotification | let NSSystemTimeZoneDidChangeNotification: String |
To | NSSystemTimeZoneDidChange | static let NSSystemTimeZoneDidChange: NSNotification.Name |
---|
| Name | Declaration |
From | NSThreadWillExitNotification | let NSThreadWillExitNotification: String |
To | NSThreadWillExit | static let NSThreadWillExit: NSNotification.Name |
---|
| Name | Declaration |
From | NSUbiquityIdentityDidChangeNotification | let NSUbiquityIdentityDidChangeNotification: String |
To | NSUbiquityIdentityDidChange | static let NSUbiquityIdentityDidChange: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerCheckpointNotification | let NSUndoManagerCheckpointNotification: String |
To | NSUndoManagerCheckpoint | static let NSUndoManagerCheckpoint: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerDidCloseUndoGroupNotification | let NSUndoManagerDidCloseUndoGroupNotification: String |
To | NSUndoManagerDidCloseUndoGroup | static let NSUndoManagerDidCloseUndoGroup: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerDidOpenUndoGroupNotification | let NSUndoManagerDidOpenUndoGroupNotification: String |
To | NSUndoManagerDidOpenUndoGroup | static let NSUndoManagerDidOpenUndoGroup: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerDidRedoChangeNotification | let NSUndoManagerDidRedoChangeNotification: String |
To | NSUndoManagerDidRedoChange | static let NSUndoManagerDidRedoChange: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerDidUndoChangeNotification | let NSUndoManagerDidUndoChangeNotification: String |
To | NSUndoManagerDidUndoChange | static let NSUndoManagerDidUndoChange: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerWillCloseUndoGroupNotification | let NSUndoManagerWillCloseUndoGroupNotification: String |
To | NSUndoManagerWillCloseUndoGroup | static let NSUndoManagerWillCloseUndoGroup: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerWillRedoChangeNotification | let NSUndoManagerWillRedoChangeNotification: String |
To | NSUndoManagerWillRedoChange | static let NSUndoManagerWillRedoChange: NSNotification.Name |
---|
| Name | Declaration |
From | NSUndoManagerWillUndoChangeNotification | let NSUndoManagerWillUndoChangeNotification: String |
To | NSUndoManagerWillUndoChange | static let NSUndoManagerWillUndoChange: NSNotification.Name |
---|
| Name | Declaration |
From | NSURLCredentialStorageChangedNotification | let NSURLCredentialStorageChangedNotification: String |
To | NSURLCredentialStorageChanged | static let NSURLCredentialStorageChanged: NSNotification.Name |
---|
| Name | Declaration |
From | NSWillBecomeMultiThreadedNotification | let NSWillBecomeMultiThreadedNotification: String |
To | NSWillBecomeMultiThreaded | static let NSWillBecomeMultiThreaded: NSNotification.Name |
---|
| Declaration | Protocols |
From | class NSNull : NSObject, NSCopying, NSSecureCoding {
init()
class func null() -> NSNull
}
extension NSNull : CAAction {
} | CAAction, NSCopying, NSSecureCoding |
To | class NSNull : NSObject, NSCopying, NSSecureCoding {
init()
class func null() -> NSNull
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 NSNull : CVarArg {
}
extension NSNull : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSNull : CAAction {
} | CAAction, CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration | Protocols |
From | class NSNumber : NSValue {
init?(coder aDecoder: NSCoder)
init(char value: Int8)
init(unsignedChar value: UInt8)
init(short value: Int16)
init(unsignedShort value: UInt16)
init(int value: Int32)
init(unsignedInt value: UInt32)
init(long value: Int)
init(unsignedLong value: UInt)
init(longLong value: Int64)
init(unsignedLongLong value: UInt64)
init(float value: Float)
init(double value: Double)
init(bool value: Bool)
init(integer value: Int)
init(unsignedInteger value: UInt)
var charValue: Int8 { get }
var unsignedCharValue: UInt8 { get }
var shortValue: Int16 { get }
var unsignedShortValue: UInt16 { get }
var intValue: Int32 { get }
var unsignedIntValue: UInt32 { get }
var longValue: Int { get }
var unsignedLongValue: UInt { get }
var longLongValue: Int64 { get }
var unsignedLongLongValue: UInt64 { get }
var floatValue: Float { get }
var doubleValue: Double { get }
var boolValue: Bool { get }
var integerValue: Int { get }
var unsignedIntegerValue: UInt { get }
var stringValue: String { get }
func compare(_ otherNumber: NSNumber) -> NSComparisonResult
func isEqualToNumber(_ number: NSNumber) -> Bool
func descriptionWithLocale(_ locale: AnyObject?) -> String
}
extension NSNumber : CKRecordValue {
}
extension NSNumber {
var decimalValue: NSDecimal { get }
}
extension NSNumber : FloatLiteralConvertible, IntegerLiteralConvertible, BooleanLiteralConvertible {
required convenience init(integerLiteral value: Int)
required convenience init(floatLiteral value: Double)
required convenience init(booleanLiteral value: Bool)
}
extension NSNumber {
class func numberWithChar(_ value: Int8) -> NSNumber
class func numberWithUnsignedChar(_ value: UInt8) -> NSNumber
class func numberWithShort(_ value: Int16) -> NSNumber
class func numberWithUnsignedShort(_ value: UInt16) -> NSNumber
class func numberWithInt(_ value: Int32) -> NSNumber
class func numberWithUnsignedInt(_ value: UInt32) -> NSNumber
class func numberWithLong(_ value: Int) -> NSNumber
class func numberWithUnsignedLong(_ value: UInt) -> NSNumber
class func numberWithLongLong(_ value: Int64) -> NSNumber
class func numberWithUnsignedLongLong(_ value: UInt64) -> NSNumber
class func numberWithFloat(_ value: Float) -> NSNumber
class func numberWithDouble(_ value: Double) -> NSNumber
class func numberWithBool(_ value: Bool) -> NSNumber
class func numberWithInteger(_ value: Int) -> NSNumber
class func numberWithUnsignedInteger(_ value: UInt) -> NSNumber
}
extension NSNumber : FloatLiteralConvertible, IntegerLiteralConvertible, BooleanLiteralConvertible {
required convenience init(integerLiteral value: Int)
required convenience init(floatLiteral value: Double)
required convenience init(booleanLiteral value: Bool)
} | BooleanLiteralConvertible, CKRecordValue, FloatLiteralConvertible, IntegerLiteralConvertible |
To | class NSNumber : NSValue {
init?(coder aDecoder: NSCoder)
init(value value: Int8)
init(value value: UInt8)
init(value value: Int16)
init(value value: UInt16)
init(value value: Int32)
init(value value: UInt32)
init(long value: Int)
init(unsignedLong value: UInt)
init(value value: Int64)
init(value value: UInt64)
init(value value: Float)
init(value value: Double)
init(value value: Bool)
init(value value: Int)
init(value value: UInt)
var int8Value: Int8 { get }
var uint8Value: UInt8 { get }
var int16Value: Int16 { get }
var uint16Value: UInt16 { get }
var int32Value: Int32 { get }
var uint32Value: UInt32 { get }
var longValue: Int { get }
var unsignedLongValue: UInt { get }
var int64Value: Int64 { get }
var uint64Value: UInt64 { get }
var floatValue: Float { get }
var doubleValue: Double { get }
var boolValue: Bool { get }
var intValue: Int { get }
var uintValue: UInt { get }
var stringValue: String { get }
func compare(_ otherNumber: NSNumber) -> ComparisonResult
func isEqual(to number: NSNumber) -> Bool
func description(withLocale locale: Any?) -> String
init(char value: Int8)
class func withChar(_ value: Int8) -> NSNumber
init(unsignedChar value: UInt8)
class func withUnsignedChar(_ value: UInt8) -> NSNumber
init(short value: Int16)
class func withShort(_ value: Int16) -> NSNumber
init(unsignedShort value: UInt16)
class func withUnsignedShort(_ value: UInt16) -> NSNumber
init(int value: Int32)
class func withInt(_ value: Int32) -> NSNumber
init(unsignedInt value: UInt32)
class func withUnsignedInt(_ value: UInt32) -> NSNumber
init(long value: Int)
class func withLong(_ value: Int) -> NSNumber
init(unsignedLong value: UInt)
class func withUnsignedLong(_ value: UInt) -> NSNumber
init(longLong value: Int64)
class func withLongLong(_ value: Int64) -> NSNumber
init(unsignedLongLong value: UInt64)
class func withUnsignedLongLong(_ value: UInt64) -> NSNumber
init(float value: Float)
class func withFloat(_ value: Float) -> NSNumber
init(double value: Double)
class func withDouble(_ value: Double) -> NSNumber
init(bool value: Bool)
class func withBool(_ value: Bool) -> NSNumber
init(integer value: Int)
class func withInteger(_ value: Int) -> NSNumber
init(unsignedInteger value: UInt)
class func withUnsignedInteger(_ value: UInt) -> NSNumber
var decimalValue: Decimal { get }
class func withBytes(_ value: UnsafeRawPointer, objCType type: UnsafePointer<Int8>) -> NSValue
init(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>)
class func value(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>) -> NSValue
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]
init(point point: NSPoint)
class func withPoint(_ point: NSPoint) -> NSValue
init(size size: NSSize)
class func withSize(_ size: NSSize) -> NSValue
init(rect rect: NSRect)
class func withRect(_ rect: NSRect) -> NSValue
init(edgeInsets insets: EdgeInsets)
class func withEdgeInsets(_ insets: EdgeInsets) -> NSValue
var pointValue: NSPoint { get }
var sizeValue: NSSize { get }
var rectValue: NSRect { get }
var edgeInsetsValue: EdgeInsets { get }
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?
init(nonretainedObject anObject: Any?)
class func withNonretainedObject(_ anObject: Any?) -> NSValue
var nonretainedObjectValue: Any? { get }
init(pointer pointer: UnsafeRawPointer?)
class func withPointer(_ pointer: UnsafeRawPointer?) -> NSValue
var pointerValue: UnsafeMutableRawPointer? { get }
func isEqual(to value: NSValue) -> Bool
init(range range: NSRange)
class func withRange(_ range: NSRange) -> NSValue
var rangeValue: NSRange { get }
class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
}
extension NSNumber : CKRecordValue {
}
extension NSNumber : NSFetchRequestResult {
}
extension NSNumber {
var decimalValue: Decimal { get }
}
extension NSNumber : CVarArg {
}
extension NSNumber : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSNumber : ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, ExpressibleByBooleanLiteral {
required convenience init(integerLiteral value: Int)
required convenience init(floatLiteral value: Double)
required convenience init(booleanLiteral value: Bool)
}
extension NSNumber {
init(char value: Int8)
class func withChar(_ value: Int8) -> NSNumber
init(unsignedChar value: UInt8)
class func withUnsignedChar(_ value: UInt8) -> NSNumber
init(short value: Int16)
class func withShort(_ value: Int16) -> NSNumber
init(unsignedShort value: UInt16)
class func withUnsignedShort(_ value: UInt16) -> NSNumber
init(int value: Int32)
class func withInt(_ value: Int32) -> NSNumber
init(unsignedInt value: UInt32)
class func withUnsignedInt(_ value: UInt32) -> NSNumber
init(long value: Int)
class func withLong(_ value: Int) -> NSNumber
init(unsignedLong value: UInt)
class func withUnsignedLong(_ value: UInt) -> NSNumber
init(longLong value: Int64)
class func withLongLong(_ value: Int64) -> NSNumber
init(unsignedLongLong value: UInt64)
class func withUnsignedLongLong(_ value: UInt64) -> NSNumber
init(float value: Float)
class func withFloat(_ value: Float) -> NSNumber
init(double value: Double)
class func withDouble(_ value: Double) -> NSNumber
init(bool value: Bool)
class func withBool(_ value: Bool) -> NSNumber
init(integer value: Int)
class func withInteger(_ value: Int) -> NSNumber
init(unsignedInteger value: UInt)
class func withUnsignedInteger(_ value: UInt) -> NSNumber
}
extension NSNumber {
}
extension NSNumber : ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, ExpressibleByBooleanLiteral {
required convenience init(integerLiteral value: Int)
required convenience init(floatLiteral value: Double)
required convenience init(booleanLiteral value: Bool)
} | CKRecordValue, CVarArg, Equatable, ExpressibleByBooleanLiteral, ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, Hashable, NSFetchRequestResult |
---|
| Declaration |
From | func compare(_ otherNumber: NSNumber) -> NSComparisonResult |
To | func compare(_ otherNumber: NSNumber) -> ComparisonResult |
---|
| Declaration |
From | var decimalValue: NSDecimal { get } |
To | var decimalValue: Decimal { get } |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?) -> String |
To | func description(withLocale locale: Any?) -> String |
---|
| Declaration |
From | init(unsignedLongLong value: UInt64) |
To | init(value value: UInt64) |
---|
| Declaration |
From | init(unsignedInt value: UInt32) |
To | init(value value: UInt32) |
---|
| Declaration |
From | init(short value: Int16) |
To | init(value value: Int16) |
---|
| Declaration |
From | init(unsignedInteger value: UInt) |
To | init(value value: UInt) |
---|
| Declaration |
From | init(integer value: Int) |
To | init(value value: Int) |
---|
| Declaration |
From | init(double value: Double) |
To | init(value value: Double) |
---|
| Declaration |
From | init(float value: Float) |
To | init(value value: Float) |
---|
| Declaration |
From | init(unsignedChar value: UInt8) |
To | init(value value: UInt8) |
---|
| Declaration |
From | init(char value: Int8) |
To | init(value value: Int8) |
---|
| Declaration |
From | init(bool value: Bool) |
To | init(value value: Bool) |
---|
| Declaration |
From | init(int value: Int32) |
To | init(value value: Int32) |
---|
| Declaration |
From | init(longLong value: Int64) |
To | init(value value: Int64) |
---|
| Declaration |
From | init(unsignedShort value: UInt16) |
To | init(value value: UInt16) |
---|
| Declaration |
From | var shortValue: Int16 { get } |
To | var int16Value: Int16 { get } |
---|
| Declaration |
From | var intValue: Int32 { get } |
To | var int32Value: Int32 { get } |
---|
| Declaration |
From | var longLongValue: Int64 { get } |
To | var int64Value: Int64 { get } |
---|
| Declaration |
From | var charValue: Int8 { get } |
To | var int8Value: Int8 { get } |
---|
| Declaration |
From | var integerValue: Int { get } |
To | var intValue: Int { get } |
---|
| Declaration |
From | func isEqualToNumber(_ number: NSNumber) -> Bool |
To | func isEqual(to number: NSNumber) -> Bool |
---|
| Declaration |
From | var unsignedShortValue: UInt16 { get } |
To | var uint16Value: UInt16 { get } |
---|
| Declaration |
From | var unsignedIntValue: UInt32 { get } |
To | var uint32Value: UInt32 { get } |
---|
| Declaration |
From | var unsignedLongLongValue: UInt64 { get } |
To | var uint64Value: UInt64 { get } |
---|
| Declaration |
From | var unsignedCharValue: UInt8 { get } |
To | var uint8Value: UInt8 { get } |
---|
| Declaration |
From | var unsignedIntegerValue: UInt { get } |
To | var uintValue: UInt { get } |
---|
| Declaration |
From | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>) |
To | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func attemptRecoveryFromError(_ error: NSError, optionIndex recoveryOptionIndex: Int) -> Bool |
To | func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool |
---|
| Declaration |
From | func attemptRecoveryFromError(_ error: NSError, optionIndex recoveryOptionIndex: Int, delegate delegate: AnyObject?, didRecoverSelector didRecoverSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | var autoContentAccessingProxy: AnyObject { get } |
To | var autoContentAccessingProxy: Any { get } |
---|
| Declaration |
From | class func automaticallyNotifiesObserversForKey(_ key: String) -> Bool |
To | class func automaticallyNotifiesObservers(forKey key: String) -> Bool |
---|
| Declaration |
From | func awakeAfterUsingCoder(_ aDecoder: NSCoder) -> AnyObject? |
To | func awakeAfter(using aDecoder: NSCoder) -> Any? |
---|
| Declaration |
From | class func cancelPreviousPerformRequestsWithTarget(_ aTarget: AnyObject) |
To | class func cancelPreviousPerformRequests(withTarget aTarget: Any) |
---|
| Declaration |
From | class func cancelPreviousPerformRequestsWithTarget(_ aTarget: AnyObject, selector aSelector: Selector, object anArgument: AnyObject?) |
To | class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) |
---|
| Declaration |
From | var classForArchiver: AnyClass? { get } |
To | var classForArchiver: Swift.AnyClass? { get } |
---|
| Declaration |
From | var classForCoder: AnyClass { get } |
To | var classForCoder: Swift.AnyClass { get } |
---|
| Declaration |
From | var classForKeyedArchiver: AnyClass? { get } |
To | var classForKeyedArchiver: Swift.AnyClass? { get } |
---|
| Declaration |
From | class func classForKeyedUnarchiver() -> AnyClass |
To | class func classForKeyedUnarchiver() -> Swift.AnyClass |
---|
| Declaration |
From | func coerceValue(_ value: AnyObject?, forKey key: String) -> AnyObject? |
To | func coerceValue(_ value: Any?, forKey key: String) -> Any? |
---|
| Declaration |
From | func copyScriptingValue(_ value: AnyObject, forKey key: String, withProperties properties: [String : AnyObject]) -> AnyObject? |
To | func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? |
---|
| Declaration |
From | func dictionaryWithValuesForKeys(_ keys: [String]) -> [String : AnyObject] |
To | func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] |
---|
| Declaration |
From | func didChange(_ changeKind: NSKeyValueChange, valuesAtIndexes indexes: NSIndexSet, forKey key: String) |
To | func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) |
---|
| Declaration |
From | func didChangeValueForKey(_ key: String) |
To | func didChangeValue(forKey key: String) |
---|
| Declaration |
From | func didChangeValueForKey(_ key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, usingObjects objects: Set<NSObject>) |
To | func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) |
---|
| Declaration |
From | func doesContain(_ object: AnyObject) -> Bool |
To | func doesContain(_ object: Any) -> Bool |
---|
| Declaration |
From | func indicesOfObjectsByEvaluatingObjectSpecifier(_ specifier: NSScriptObjectSpecifier) -> [NSNumber]? |
To | func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? |
---|
| Declaration |
From | func insertValue(_ value: AnyObject, atIndex index: Int, inPropertyWithKey key: String) |
To | func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) |
---|
| Declaration |
From | func insertValue(_ value: AnyObject, inPropertyWithKey key: String) |
To | func insertValue(_ value: Any, inPropertyWithKey key: String) |
---|
| Declaration |
From | func inverseForRelationshipKey(_ relationshipKey: String) -> String? |
To | func inverse(forRelationshipKey relationshipKey: String) -> String? |
---|
| Declaration |
From | func isEqualTo(_ object: AnyObject?) -> Bool |
To | func isEqual(to object: Any?) -> Bool |
---|
| Declaration |
From | func isGreaterThan(_ object: AnyObject?) -> Bool |
To | func isGreaterThan(_ object: Any?) -> Bool |
---|
| Declaration |
From | func isGreaterThanOrEqualTo(_ object: AnyObject?) -> Bool |
To | func isGreaterThanOrEqual(to object: Any?) -> Bool |
---|
| Declaration |
From | func isLessThan(_ object: AnyObject?) -> Bool |
To | func isLessThan(_ object: Any?) -> Bool |
---|
| Declaration |
From | func isLessThanOrEqualTo(_ object: AnyObject?) -> Bool |
To | func isLessThanOrEqual(to object: Any?) -> Bool |
---|
| Declaration |
From | func isNotEqualTo(_ object: AnyObject?) -> Bool |
To | func isNotEqual(to object: Any?) -> Bool |
---|
| Declaration |
From | class func keyPathsForValuesAffectingValueForKey(_ key: String) -> Set<String> |
To | class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> |
---|
| Declaration |
From | func mutableArrayValueForKey(_ key: String) -> NSMutableArray |
To | func mutableArrayValue(forKey key: String) -> NSMutableArray |
---|
| Declaration |
From | func mutableArrayValueForKeyPath(_ keyPath: String) -> NSMutableArray |
To | func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray |
---|
| Declaration |
From | func mutableOrderedSetValueForKey(_ key: String) -> NSMutableOrderedSet |
To | func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet |
---|
| Declaration |
From | func mutableOrderedSetValueForKeyPath(_ keyPath: String) -> NSMutableOrderedSet |
To | func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet |
---|
| Declaration |
From | func mutableSetValueForKey(_ key: String) -> NSMutableSet |
To | func mutableSetValue(forKey key: String) -> NSMutableSet |
---|
| Declaration |
From | func mutableSetValueForKeyPath(_ keyPath: String) -> NSMutableSet |
To | func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet |
---|
| Declaration |
From | func newScriptingObjectOfClass(_ objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: AnyObject?, properties properties: [String : AnyObject]) -> AnyObject? |
To | func newScriptingObject(of objectClass: Swift.AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? |
---|
| Declaration |
From | var observationInfo: UnsafeMutablePointer<Void> |
To | var observationInfo: UnsafeMutableRawPointer? |
---|
| Declaration |
From | func observeValueForKeyPath(_ keyPath: String?, ofObject object: AnyObject?, change change: [String : AnyObject]?, context context: UnsafeMutablePointer<Void>) |
To | func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func performSelector(_ aSelector: Selector, onThread thr: NSThread, withObject arg: AnyObject?, waitUntilDone wait: Bool) |
To | func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) |
---|
| Declaration |
From | func performSelector(_ aSelector: Selector, onThread thr: NSThread, withObject arg: AnyObject?, waitUntilDone wait: Bool, modes array: [String]?) |
To | func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) |
---|
| Declaration |
From | func performSelector(_ aSelector: Selector, withObject anArgument: AnyObject?, afterDelay delay: NSTimeInterval) |
To | func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) |
---|
| Declaration |
From | func performSelector(_ aSelector: Selector, withObject anArgument: AnyObject?, afterDelay delay: NSTimeInterval, inModes modes: [String]) |
To | func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) |
---|
| Declaration |
From | func performSelectorInBackground(_ aSelector: Selector, withObject arg: AnyObject?) |
To | func performSelector(inBackground aSelector: Selector, with arg: Any?) |
---|
| Declaration |
From | func performSelectorOnMainThread(_ aSelector: Selector, withObject arg: AnyObject?, waitUntilDone wait: Bool) |
To | func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) |
---|
| Declaration |
From | func performSelectorOnMainThread(_ aSelector: Selector, withObject arg: AnyObject?, waitUntilDone wait: Bool, modes array: [String]?) |
To | func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) |
---|
| Declaration |
From | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>) |
To | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func removeValueAtIndex(_ index: Int, fromPropertyWithKey key: String) |
To | func removeValue(at index: Int, fromPropertyWithKey key: String) |
---|
| Declaration |
From | func replacementObjectForArchiver(_ archiver: NSArchiver) -> AnyObject? |
To | func replacementObject(for archiver: NSArchiver) -> Any? |
---|
| Declaration |
From | func replacementObjectForCoder(_ aCoder: NSCoder) -> AnyObject? |
To | func replacementObject(for aCoder: NSCoder) -> Any? |
---|
| Declaration |
From | func replacementObjectForKeyedArchiver(_ archiver: NSKeyedArchiver) -> AnyObject? |
To | func replacementObject(for archiver: NSKeyedArchiver) -> Any? |
---|
| Declaration |
From | func replaceValueAtIndex(_ index: Int, inPropertyWithKey key: String, withValue value: AnyObject) |
To | func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) |
---|
| Declaration |
From | func scriptingBeginsWith(_ object: AnyObject) -> Bool |
To | func scriptingBegins(with object: Any) -> Bool |
---|
| Declaration |
From | func scriptingContains(_ object: AnyObject) -> Bool |
To | func scriptingContains(_ object: Any) -> Bool |
---|
| Declaration |
From | func scriptingEndsWith(_ object: AnyObject) -> Bool |
To | func scriptingEnds(with object: Any) -> Bool |
---|
| Declaration |
From | func scriptingIsEqualTo(_ object: AnyObject) -> Bool |
To | func scriptingIsEqual(to object: Any) -> Bool |
---|
| Declaration |
From | func scriptingIsGreaterThan(_ object: AnyObject) -> Bool |
To | func scriptingIsGreaterThan(_ object: Any) -> Bool |
---|
| Declaration |
From | func scriptingIsGreaterThanOrEqualTo(_ object: AnyObject) -> Bool |
To | func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool |
---|
| Declaration |
From | func scriptingIsLessThan(_ object: AnyObject) -> Bool |
To | func scriptingIsLessThan(_ object: Any) -> Bool |
---|
| Declaration |
From | func scriptingIsLessThanOrEqualTo(_ object: AnyObject) -> Bool |
To | func scriptingIsLessThanOrEqual(to object: Any) -> Bool |
---|
| Declaration |
From | var scriptingProperties: [String : AnyObject]? |
To | var scriptingProperties: [String : Any]? |
---|
| Declaration |
From | func scriptingValueForSpecifier(_ objectSpecifier: NSScriptObjectSpecifier) -> AnyObject? |
To | func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? |
---|
| Declaration |
From | func setValue(_ value: AnyObject?, forKey key: String) |
To | func setValue(_ value: Any?, forKey key: String) |
---|
| Declaration |
From | func setValue(_ value: AnyObject?, forKeyPath keyPath: String) |
To | func setValue(_ value: Any?, forKeyPath keyPath: String) |
---|
| Declaration |
From | func setValue(_ value: AnyObject?, forUndefinedKey key: String) |
To | func setValue(_ value: Any?, forUndefinedKey key: String) |
---|
| Declaration |
From | func setValuesForKeysWithDictionary(_ keyedValues: [String : AnyObject]) |
To | func setValuesForKeys(_ keyedValues: [String : Any]) |
---|
| Declaration |
From | func valueAtIndex(_ index: Int, inPropertyWithKey key: String) -> AnyObject? |
To | func value(at index: Int, inPropertyWithKey key: String) -> Any? |
---|
| Declaration |
From | func valueForKey(_ key: String) -> AnyObject? |
To | func value(forKey key: String) -> Any? |
---|
| Declaration |
From | func valueForKeyPath(_ keyPath: String) -> AnyObject? |
To | func value(forKeyPath keyPath: String) -> Any? |
---|
| Declaration |
From | func valueForUndefinedKey(_ key: String) -> AnyObject? |
To | func value(forUndefinedKey key: String) -> Any? |
---|
| Declaration |
From | func valueWithName(_ name: String, inPropertyWithKey key: String) -> AnyObject? |
To | func value(withName name: String, inPropertyWithKey key: String) -> Any? |
---|
| Declaration |
From | func valueWithUniqueID(_ uniqueID: AnyObject, inPropertyWithKey key: String) -> AnyObject? |
To | func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? |
---|
| Declaration |
From | func willChange(_ changeKind: NSKeyValueChange, valuesAtIndexes indexes: NSIndexSet, forKey key: String) |
To | func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) |
---|
| Declaration |
From | func willChangeValueForKey(_ key: String) |
To | func willChangeValue(forKey key: String) |
---|
| Declaration |
From | func willChangeValueForKey(_ key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, usingObjects objects: Set<NSObject>) |
To | func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) |
---|
| Declaration | Protocols |
From | class NSOrderedSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func objectAtIndex(_ idx: Int) -> AnyObject
func indexOfObject(_ object: AnyObject) -> Int
init()
init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int)
init?(coder aDecoder: NSCoder)
}
extension NSOrderedSet {
func valueForKey(_ key: String) -> AnyObject
func setValue(_ value: AnyObject?, forKey key: String)
}
extension NSOrderedSet {
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
}
extension NSOrderedSet : SequenceType {
func generate() -> NSFastGenerator
}
extension NSOrderedSet {
convenience init(objects elements: AnyObject...)
}
extension NSOrderedSet : ArrayLiteralConvertible {
required convenience init(arrayLiteral elements: AnyObject...)
}
extension NSOrderedSet {
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject?>, range range: NSRange)
func objectsAtIndexes(_ indexes: NSIndexSet) -> [AnyObject]
var firstObject: AnyObject? { get }
var lastObject: AnyObject? { get }
func isEqualToOrderedSet(_ other: NSOrderedSet) -> Bool
func containsObject(_ object: AnyObject) -> Bool
func intersectsOrderedSet(_ other: NSOrderedSet) -> Bool
func intersectsSet(_ set: Set<NSObject>) -> Bool
func isSubsetOfOrderedSet(_ other: NSOrderedSet) -> Bool
func isSubsetOfSet(_ set: Set<NSObject>) -> Bool
subscript (_ idx: Int) -> AnyObject { get }
func objectAtIndexedSubscript(_ idx: Int) -> AnyObject
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
@NSCopying var reversedOrderedSet: NSOrderedSet { get }
var array: [AnyObject] { get }
var set: Set<NSObject> { get }
func enumerateObjectsUsingBlock(_ block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
func indexOfObjectPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObjectWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexOfObjectAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexesOfObjectsPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func indexesOfObjectsWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func indexesOfObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
func indexOfObject(_ object: AnyObject, inSortedRange range: NSRange, options opts: NSBinarySearchingOptions, usingComparator cmp: NSComparator) -> Int
func sortedArrayUsingComparator(_ cmptr: NSComparator) -> [AnyObject]
func sortedArrayWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) -> [AnyObject]
var description: String { get }
func descriptionWithLocale(_ locale: AnyObject?) -> String
func descriptionWithLocale(_ locale: AnyObject?, indent level: Int) -> String
}
extension NSOrderedSet {
convenience init()
class func orderedSet() -> Self
convenience init(object object: AnyObject)
class func orderedSetWithObject(_ object: AnyObject) -> Self
convenience init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int)
class func orderedSetWithObjects(_ objects: UnsafePointer<AnyObject?>, count cnt: Int) -> Self
convenience init(orderedSet set: NSOrderedSet)
class func orderedSetWithOrderedSet(_ set: NSOrderedSet) -> Self
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
class func orderedSetWithOrderedSet(_ set: NSOrderedSet, range range: NSRange, copyItems flag: Bool) -> Self
convenience init(array array: [AnyObject])
class func orderedSetWithArray(_ array: [AnyObject]) -> Self
convenience init(array array: [AnyObject], range range: NSRange, copyItems flag: Bool)
class func orderedSetWithArray(_ array: [AnyObject], range range: NSRange, copyItems flag: Bool) -> Self
convenience init(set set: Set<NSObject>)
class func orderedSetWithSet(_ set: Set<NSObject>) -> Self
convenience init(set set: Set<NSObject>, copyItems flag: Bool)
class func orderedSetWithSet(_ set: Set<NSObject>, copyItems flag: Bool) -> Self
convenience init(object object: AnyObject)
convenience init(orderedSet set: NSOrderedSet)
convenience init(orderedSet set: NSOrderedSet, copyItems flag: Bool)
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
convenience init(array array: [AnyObject])
convenience init(array set: [AnyObject], copyItems flag: Bool)
convenience init(array set: [AnyObject], range range: NSRange, copyItems flag: Bool)
convenience init(set set: Set<NSObject>)
convenience init(set set: Set<NSObject>, copyItems flag: Bool)
}
extension NSOrderedSet {
func filteredOrderedSetUsingPredicate(_ p: NSPredicate) -> NSOrderedSet
}
extension NSOrderedSet {
func sortedArrayUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) -> [AnyObject]
}
extension NSOrderedSet : ArrayLiteralConvertible {
required convenience init(arrayLiteral elements: AnyObject...)
}
extension NSOrderedSet {
convenience init(objects elements: AnyObject...)
}
extension NSOrderedSet : SequenceType {
func generate() -> NSFastGenerator
} | ArrayLiteralConvertible, NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding, SequenceType |
To | class NSOrderedSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func object(at idx: Int) -> Any
func index(of object: Any) -> Int
init()
init(objects objects: UnsafePointer<AnyObject>!, count cnt: Int)
init?(coder aDecoder: NSCoder)
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, range range: NSRange)
func objects(at indexes: IndexSet) -> [Any]
var firstObject: Any? { get }
var lastObject: Any? { get }
func isEqual(to other: NSOrderedSet) -> Bool
func contains(_ object: Any) -> Bool
func intersects(_ other: NSOrderedSet) -> Bool
func intersectsSet(_ set: Set<AnyHashable>) -> Bool
func isSubset(of other: NSOrderedSet) -> Bool
func isSubset(of set: Set<AnyHashable>) -> Bool
subscript(_ idx: Int) -> Any { get }
func objectAtIndexedSubscript(_ idx: Int) -> Any
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
@NSCopying var reversed: NSOrderedSet { get }
var array: [Any] { get }
var set: Set<AnyHashable> { get }
func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func index(ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(_ opts: NSEnumerationOptions = [], ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(ofObjectAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexes(ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(options opts: NSEnumerationOptions = [], ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(ofObjectsAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func index(of object: Any, inSortedRange range: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int
func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
var description: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
class func orderedSet() -> Self
convenience init(object object: Any)
class func withObject(_ object: Any) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self
convenience init(orderedSet set: NSOrderedSet)
class func withOrderedSet(_ set: NSOrderedSet) -> Self
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
class func withOrderedSet(_ set: NSOrderedSet, range range: NSRange, copyItems flag: Bool) -> Self
convenience init(array array: [Any])
class func withArray(_ array: [Any]) -> Self
convenience init(array array: [Any], range range: NSRange, copyItems flag: Bool)
class func withArray(_ array: [Any], range range: NSRange, copyItems flag: Bool) -> Self
convenience init(set set: Set<AnyHashable>)
class func withSet(_ set: Set<AnyHashable>) -> Self
convenience init(set set: Set<AnyHashable>, copyItems flag: Bool)
class func withSet(_ set: Set<AnyHashable>, copyItems flag: Bool) -> Self
convenience init(object object: Any)
convenience init(orderedSet set: NSOrderedSet)
convenience init(orderedSet set: NSOrderedSet, copyItems flag: Bool)
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
convenience init(array array: [Any])
convenience init(array set: [Any], copyItems flag: Bool)
convenience init(array set: [Any], range range: NSRange, copyItems flag: Bool)
convenience init(set set: Set<AnyHashable>)
convenience init(set set: Set<AnyHashable>, copyItems flag: Bool)
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 p: NSPredicate) -> NSOrderedSet
convenience init(objects elements: Any...)
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
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?
@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
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
}
extension NSOrderedSet {
func value(forKey key: String) -> Any
func setValue(_ value: Any?, forKey key: String)
}
extension NSOrderedSet {
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 NSOrderedSet : CVarArg {
}
extension NSOrderedSet : ExpressibleByArrayLiteral {
required convenience init(arrayLiteral elements: Any...)
}
extension NSOrderedSet : Sequence {
func makeIterator() -> NSFastEnumerationIterator
}
extension NSOrderedSet : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSOrderedSet {
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject>!, range range: NSRange)
func objects(at indexes: IndexSet) -> [Any]
var firstObject: Any? { get }
var lastObject: Any? { get }
func isEqual(to other: NSOrderedSet) -> Bool
func contains(_ object: Any) -> Bool
func intersects(_ other: NSOrderedSet) -> Bool
func intersectsSet(_ set: Set<AnyHashable>) -> Bool
func isSubset(of other: NSOrderedSet) -> Bool
func isSubset(of set: Set<AnyHashable>) -> Bool
subscript(_ idx: Int) -> Any { get }
func objectAtIndexedSubscript(_ idx: Int) -> Any
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
@NSCopying var reversed: NSOrderedSet { get }
var array: [Any] { get }
var set: Set<AnyHashable> { get }
func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func index(ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(_ opts: NSEnumerationOptions = [], ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func index(ofObjectAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
func indexes(ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(options opts: NSEnumerationOptions = [], ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func indexes(ofObjectsAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet
func index(of object: Any, inSortedRange range: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int
func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
var description: String { get }
func description(withLocale locale: Any?) -> String
func description(withLocale locale: Any?, indent level: Int) -> String
}
extension NSOrderedSet {
class func orderedSet() -> Self
convenience init(object object: Any)
class func withObject(_ object: Any) -> Self
class func withObjects(_ objects: UnsafePointer<AnyObject>!, count cnt: Int) -> Self
convenience init(orderedSet set: NSOrderedSet)
class func withOrderedSet(_ set: NSOrderedSet) -> Self
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
class func withOrderedSet(_ set: NSOrderedSet, range range: NSRange, copyItems flag: Bool) -> Self
convenience init(array array: [Any])
class func withArray(_ array: [Any]) -> Self
convenience init(array array: [Any], range range: NSRange, copyItems flag: Bool)
class func withArray(_ array: [Any], range range: NSRange, copyItems flag: Bool) -> Self
convenience init(set set: Set<AnyHashable>)
class func withSet(_ set: Set<AnyHashable>) -> Self
convenience init(set set: Set<AnyHashable>, copyItems flag: Bool)
class func withSet(_ set: Set<AnyHashable>, copyItems flag: Bool) -> Self
convenience init(object object: Any)
convenience init(orderedSet set: NSOrderedSet)
convenience init(orderedSet set: NSOrderedSet, copyItems flag: Bool)
convenience init(orderedSet set: NSOrderedSet, range range: NSRange, copyItems flag: Bool)
convenience init(array array: [Any])
convenience init(array set: [Any], copyItems flag: Bool)
convenience init(array set: [Any], range range: NSRange, copyItems flag: Bool)
convenience init(set set: Set<AnyHashable>)
convenience init(set set: Set<AnyHashable>, copyItems flag: Bool)
}
extension NSOrderedSet {
func filtered(using p: NSPredicate) -> NSOrderedSet
}
extension NSOrderedSet {
func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any]
}
extension NSOrderedSet : Sequence {
func makeIterator() -> NSFastEnumerationIterator
}
extension NSOrderedSet {
convenience init(objects elements: Any...)
}
extension NSOrderedSet : ExpressibleByArrayLiteral {
required convenience init(arrayLiteral elements: Any...)
} | CVarArg, Equatable, ExpressibleByArrayLiteral, Hashable, NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding, Sequence |
---|
| Declaration |
From | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>) |
To | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | var array: [AnyObject] { get } |
To | var array: [Any] { get } |
---|
| Declaration |
From | func containsObject(_ object: AnyObject) -> Bool |
To | func contains(_ object: Any) -> Bool |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?) -> String |
To | func description(withLocale locale: Any?) -> String |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?, indent level: Int) -> String |
To | func description(withLocale locale: Any?, indent level: Int) -> String |
---|
| Declaration |
From | func enumerateObjectsUsingBlock(_ block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func filteredOrderedSetUsingPredicate(_ p: NSPredicate) -> NSOrderedSet |
To | func filtered(using p: NSPredicate) -> NSOrderedSet |
---|
| Declaration |
From | var firstObject: AnyObject? { get } |
To | var firstObject: Any? { get } |
---|
| Declaration |
From | func indexOfObjectWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func index(_ opts: NSEnumerationOptions = [], ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexOfObject(_ object: AnyObject) -> Int |
To | func index(of object: Any) -> Int |
---|
| Declaration |
From | func indexOfObject(_ object: AnyObject, inSortedRange range: NSRange, options opts: NSBinarySearchingOptions, usingComparator cmp: NSComparator) -> Int |
To | func index(of object: Any, inSortedRange range: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int |
---|
| Declaration |
From | func indexOfObjectAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func index(ofObjectAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexOfObjectPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
To | func index(ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int |
---|
| Declaration |
From | func indexesOfObjectsAtIndexes(_ s: NSIndexSet, options opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexes(ofObjectsAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexesOfObjectsPassingTest(_ predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexes(ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | func indexesOfObjectsWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet |
To | func indexes(options opts: NSEnumerationOptions = [], ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet |
---|
| Declaration |
From | convenience init(array array: [AnyObject]) |
To | convenience init(array array: [Any]) |
---|
| Declaration |
From | convenience init(array set: [AnyObject], copyItems flag: Bool) |
To | convenience init(array set: [Any], copyItems flag: Bool) |
---|
| Declaration |
From | convenience init(array set: [AnyObject], range range: NSRange, copyItems flag: Bool) |
To | convenience init(array set: [Any], range range: NSRange, copyItems flag: Bool) |
---|
| Declaration |
From | convenience init(object object: AnyObject) |
To | convenience init(object object: Any) |
---|
| Declaration |
From | init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int) |
To | init(objects objects: UnsafePointer<AnyObject>!, count cnt: Int) |
---|
| Declaration |
From | convenience init(set set: Set<NSObject>) |
To | convenience init(set set: Set<AnyHashable>) |
---|
| Declaration |
From | convenience init(set set: Set<NSObject>, copyItems flag: Bool) |
To | convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) |
---|
| Declaration |
From | func intersectsOrderedSet(_ other: NSOrderedSet) -> Bool |
To | func intersects(_ other: NSOrderedSet) -> Bool |
---|
| Declaration |
From | func intersectsSet(_ set: Set<NSObject>) -> Bool |
To | func intersectsSet(_ set: Set<AnyHashable>) -> Bool |
---|
| Declaration |
From | func isEqualToOrderedSet(_ other: NSOrderedSet) -> Bool |
To | func isEqual(to other: NSOrderedSet) -> Bool |
---|
| Declaration |
From | func isSubsetOfOrderedSet(_ other: NSOrderedSet) -> Bool |
To | func isSubset(of other: NSOrderedSet) -> Bool |
---|
| Declaration |
From | func isSubsetOfSet(_ set: Set<NSObject>) -> Bool |
To | func isSubset(of set: Set<AnyHashable>) -> Bool |
---|
| Declaration |
From | var lastObject: AnyObject? { get } |
To | var lastObject: Any? { get } |
---|
| Declaration |
From | func objectAtIndex(_ idx: Int) -> AnyObject |
To | func object(at idx: Int) -> Any |
---|
| Declaration |
From | func objectsAtIndexes(_ indexes: NSIndexSet) -> [AnyObject] |
To | func objects(at indexes: IndexSet) -> [Any] |
---|
| Declaration |
From | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>) |
To | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | @NSCopying var reversedOrderedSet: NSOrderedSet { get } |
To | @NSCopying var reversed: NSOrderedSet { get } |
---|
| Declaration |
From | var set: Set<NSObject> { get } |
To | var set: Set<AnyHashable> { get } |
---|
| Declaration |
From | func setValue(_ value: AnyObject?, forKey key: String) |
To | func setValue(_ value: Any?, forKey key: String) |
---|
| Declaration |
From | func sortedArrayUsingComparator(_ cmptr: NSComparator) -> [AnyObject] |
To | func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] |
---|
| Declaration |
From | func sortedArrayWithOptions(_ opts: NSSortOptions, usingComparator cmptr: NSComparator) -> [AnyObject] |
To | func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] |
---|
| Declaration |
From | func sortedArrayUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) -> [AnyObject] |
To | func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] |
---|
| Declaration |
From | subscript (_ idx: Int) -> AnyObject { get } |
To | subscript(_ idx: Int) -> Any { get } |
---|
| Declaration |
From | func valueForKey(_ key: String) -> AnyObject |
To | func value(forKey key: String) -> Any |
---|
| Declaration | Protocols |
From | class NSOrthography : NSObject, NSCopying, NSSecureCoding {
var dominantScript: String { get }
var languageMap: [String : [String]] { get }
init(dominantScript script: String, languageMap map: [String : [String]])
init?(coder aDecoder: NSCoder)
}
extension NSOrthography {
func languagesForScript(_ script: String) -> [String]?
func dominantLanguageForScript(_ script: String) -> String?
var dominantLanguage: String { get }
var allScripts: [String] { get }
var allLanguages: [String] { get }
}
extension NSOrthography {
convenience init(dominantScript script: String, languageMap map: [String : [String]])
class func orthographyWithDominantScript(_ script: String, languageMap map: [String : [String]]) -> Self
} | NSCopying, NSSecureCoding |
To | class NSOrthography : NSObject, NSCopying, NSSecureCoding {
var dominantScript: String { get }
var languageMap: [String : [String]] { get }
init(dominantScript script: String, languageMap map: [String : [String]])
init?(coder aDecoder: NSCoder)
class func withDominantScript(_ script: String, languageMap map: [String : [String]]) -> Self
func languages(forScript script: String) -> [String]?
func dominantLanguage(forScript script: String) -> String?
var dominantLanguage: String { get }
var allScripts: [String] { get }
var allLanguages: [String] { 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 NSOrthography : CVarArg {
}
extension NSOrthography : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSOrthography {
func languages(forScript script: String) -> [String]?
func dominantLanguage(forScript script: String) -> String?
var dominantLanguage: String { get }
var allScripts: [String] { get }
var allLanguages: [String] { get }
}
extension NSOrthography {
class func withDominantScript(_ script: String, languageMap map: [String : [String]]) -> Self
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func dominantLanguageForScript(_ script: String) -> String? |
To | func dominantLanguage(forScript script: String) -> String? |
---|
| Declaration |
From | func languagesForScript(_ script: String) -> [String]? |
To | func languages(forScript script: String) -> [String]? |
---|
| Declaration | Protocols |
From | class NSPersonNameComponents : NSObject, NSCopying, NSSecureCoding {
var namePrefix: String?
var givenName: String?
var middleName: String?
var familyName: String?
var nameSuffix: String?
var nickname: String?
@NSCopying var phoneticRepresentation: NSPersonNameComponents?
} | NSCopying, NSSecureCoding |
To | class NSPersonNameComponents : NSObject, NSCopying, NSSecureCoding {
var namePrefix: String?
var givenName: String?
var middleName: String?
var familyName: String?
var nameSuffix: String?
var nickname: String?
var phoneticRepresentation: PersonNameComponents?
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 NSPersonNameComponents : CVarArg {
}
extension NSPersonNameComponents : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSPersonNameComponents {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | @NSCopying var phoneticRepresentation: NSPersonNameComponents? |
To | var phoneticRepresentation: PersonNameComponents? |
---|
| Declaration | Protocols |
From | class NSPointerArray : NSObject, NSFastEnumeration, NSCopying, NSCoding {
init(options options: NSPointerFunctionsOptions)
init(pointerFunctions functions: NSPointerFunctions)
class func pointerArrayWithOptions(_ options: NSPointerFunctionsOptions) -> NSPointerArray
class func pointerArrayWithPointerFunctions(_ functions: NSPointerFunctions) -> NSPointerArray
@NSCopying var pointerFunctions: NSPointerFunctions { get }
func pointerAtIndex(_ index: Int) -> UnsafeMutablePointer<Void>
func addPointer(_ pointer: UnsafeMutablePointer<Void>)
func removePointerAtIndex(_ index: Int)
func insertPointer(_ item: UnsafeMutablePointer<Void>, atIndex index: Int)
func replacePointerAtIndex(_ index: Int, withPointer item: UnsafeMutablePointer<Void>)
func compact()
var count: Int
}
extension NSPointerArray {
class func pointerArrayWithStrongObjects() -> AnyObject
class func pointerArrayWithWeakObjects() -> AnyObject
class func strongObjectsPointerArray() -> NSPointerArray
class func weakObjectsPointerArray() -> NSPointerArray
var allObjects: [AnyObject] { get }
} | NSCoding, NSCopying, NSFastEnumeration |
To | class NSPointerArray : NSObject, NSFastEnumeration, NSCopying, NSCoding {
init(options options: NSPointerFunctions.Options = [])
init(pointerFunctions functions: NSPointerFunctions)
class func withOptions(_ options: NSPointerFunctions.Options = []) -> NSPointerArray
class func withPointerFunctions(_ functions: NSPointerFunctions) -> NSPointerArray
@NSCopying var pointerFunctions: NSPointerFunctions { get }
func pointer(at index: Int) -> UnsafeMutableRawPointer?
func addPointer(_ pointer: UnsafeMutableRawPointer?)
func removePointer(at index: Int)
func insertPointer(_ item: UnsafeMutableRawPointer?, at index: Int)
func replacePointer(at index: Int, withPointer item: UnsafeMutableRawPointer?)
func compact()
var count: Int
class func pointerArrayWithStrongObjects() -> Any
class func pointerArrayWithWeakObjects() -> Any
class func strongObjects() -> NSPointerArray
class func weakObjects() -> NSPointerArray
var allObjects: [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 NSPointerArray : CVarArg {
}
extension NSPointerArray : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSPointerArray {
class func pointerArrayWithStrongObjects() -> Any
class func pointerArrayWithWeakObjects() -> Any
class func strongObjects() -> NSPointerArray
class func weakObjects() -> NSPointerArray
var allObjects: [Any] { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSFastEnumeration |
---|
| Declaration |
From | func addPointer(_ pointer: UnsafeMutablePointer<Void>) |
To | func addPointer(_ pointer: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | var allObjects: [AnyObject] { get } |
To | var allObjects: [Any] { get } |
---|
| Declaration |
From | init(options options: NSPointerFunctionsOptions) |
To | init(options options: NSPointerFunctions.Options = []) |
---|
| Declaration |
From | func insertPointer(_ item: UnsafeMutablePointer<Void>, atIndex index: Int) |
To | func insertPointer(_ item: UnsafeMutableRawPointer?, at index: Int) |
---|
| Declaration |
From | func pointerAtIndex(_ index: Int) -> UnsafeMutablePointer<Void> |
To | func pointer(at index: Int) -> UnsafeMutableRawPointer? |
---|
| Declaration |
From | func removePointerAtIndex(_ index: Int) |
To | func removePointer(at index: Int) |
---|
| Declaration |
From | func replacePointerAtIndex(_ index: Int, withPointer item: UnsafeMutablePointer<Void>) |
To | func replacePointer(at index: Int, withPointer item: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | class func strongObjectsPointerArray() -> NSPointerArray |
To | class func strongObjects() -> NSPointerArray |
---|
| Declaration |
From | class func weakObjectsPointerArray() -> NSPointerArray |
To | class func weakObjects() -> NSPointerArray |
---|
| Declaration | Protocols |
From | class NSPointerFunctions : NSObject, NSCopying {
init(options options: NSPointerFunctionsOptions)
class func pointerFunctionsWithOptions(_ options: NSPointerFunctionsOptions) -> NSPointerFunctions
var hashFunction: ((UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?) -> Int)?
var isEqualFunction: ((UnsafePointer<Void>, UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?) -> ObjCBool)?
var sizeFunction: ((UnsafePointer<Void>) -> Int)?
var descriptionFunction: ((UnsafePointer<Void>) -> String?)?
var relinquishFunction: ((UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?) -> Void)?
var acquireFunction: ((UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?, ObjCBool) -> UnsafeMutablePointer<Void>)?
var usesStrongWriteBarrier: Bool
var usesWeakReadAndWriteBarriers: Bool
} | NSCopying |
To | 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 }
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Declaration |
From | var acquireFunction: ((UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?, ObjCBool) -> UnsafeMutablePointer<Void>)? |
To | var acquireFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?, ObjCBool) -> UnsafeMutableRawPointer)? |
---|
| Declaration |
From | var descriptionFunction: ((UnsafePointer<Void>) -> String?)? |
To | var descriptionFunction: ((UnsafeRawPointer) -> String?)? |
---|
| Declaration |
From | var hashFunction: ((UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?) -> Int)? |
To | var hashFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> Int)? |
---|
| Declaration |
From | init(options options: NSPointerFunctionsOptions) |
To | init(options options: NSPointerFunctions.Options = []) |
---|
| Declaration |
From | var isEqualFunction: ((UnsafePointer<Void>, UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?) -> ObjCBool)? |
To | var isEqualFunction: ((UnsafeRawPointer, UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> ObjCBool)? |
---|
| Declaration |
From | var relinquishFunction: ((UnsafePointer<Void>, ((UnsafePointer<Void>) -> Int)?) -> Void)? |
To | var relinquishFunction: ((UnsafeRawPointer, (@escaping (UnsafeRawPointer) -> Int)?) -> Swift.Void)? |
---|
| Declaration |
From | var sizeFunction: ((UnsafePointer<Void>) -> Int)? |
To | var sizeFunction: ((UnsafeRawPointer) -> Int)? |
---|
| Introduction | Deprecation |
From | OS X 10.10 | -- |
To | OS X 10.5 | OS X 10.12 |
---|
| Introduction | Deprecation |
From | OS X 10.10 | -- |
To | OS X 10.5 | OS X 10.12 |
---|
| Declaration | Protocols |
From | struct NSPointerFunctionsOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var StrongMemory: NSPointerFunctionsOptions { get }
static var ZeroingWeakMemory: NSPointerFunctionsOptions { get }
static var OpaqueMemory: NSPointerFunctionsOptions { get }
static var MallocMemory: NSPointerFunctionsOptions { get }
static var MachVirtualMemory: NSPointerFunctionsOptions { get }
static var WeakMemory: NSPointerFunctionsOptions { get }
static var ObjectPersonality: NSPointerFunctionsOptions { get }
static var OpaquePersonality: NSPointerFunctionsOptions { get }
static var ObjectPointerPersonality: NSPointerFunctionsOptions { get }
static var CStringPersonality: NSPointerFunctionsOptions { get }
static var StructPersonality: NSPointerFunctionsOptions { get }
static var IntegerPersonality: NSPointerFunctionsOptions { get }
static var CopyIn: NSPointerFunctionsOptions { get }
} | OptionSetType |
To | 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.Options {
func union(_ other: NSPointerFunctions.Options) -> NSPointerFunctions.Options
func intersection(_ other: NSPointerFunctions.Options) -> NSPointerFunctions.Options
func symmetricDifference(_ other: NSPointerFunctions.Options) -> NSPointerFunctions.Options
}
extension NSPointerFunctions.Options {
func contains(_ member: NSPointerFunctions.Options) -> Bool
mutating func insert(_ newMember: NSPointerFunctions.Options) -> (inserted: Bool, memberAfterInsert: NSPointerFunctions.Options)
mutating func remove(_ member: NSPointerFunctions.Options) -> NSPointerFunctions.Options?
mutating func update(with newMember: NSPointerFunctions.Options) -> NSPointerFunctions.Options?
}
extension NSPointerFunctions.Options {
convenience init()
mutating func formUnion(_ other: NSPointerFunctions.Options)
mutating func formIntersection(_ other: NSPointerFunctions.Options)
mutating func formSymmetricDifference(_ other: NSPointerFunctions.Options)
}
extension NSPointerFunctions.Options {
convenience init<S : Sequence where S.Iterator.Element == NSPointerFunctions.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSPointerFunctions.Options...)
mutating func subtract(_ other: NSPointerFunctions.Options)
func isSubset(of other: NSPointerFunctions.Options) -> Bool
func isSuperset(of other: NSPointerFunctions.Options) -> Bool
func isDisjoint(with other: NSPointerFunctions.Options) -> Bool
func subtracting(_ other: NSPointerFunctions.Options) -> NSPointerFunctions.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSPointerFunctions.Options) -> Bool
func isStrictSubset(of other: NSPointerFunctions.Options) -> Bool
}
extension NSPointerFunctions.Options {
func intersect(_ other: NSPointerFunctions.Options) -> NSPointerFunctions.Options
func exclusiveOr(_ other: NSPointerFunctions.Options) -> NSPointerFunctions.Options
mutating func unionInPlace(_ other: NSPointerFunctions.Options)
mutating func intersectInPlace(_ other: NSPointerFunctions.Options)
mutating func exclusiveOrInPlace(_ other: NSPointerFunctions.Options)
func isSubsetOf(_ other: NSPointerFunctions.Options) -> Bool
func isDisjointWith(_ other: NSPointerFunctions.Options) -> Bool
func isSupersetOf(_ other: NSPointerFunctions.Options) -> Bool
mutating func subtractInPlace(_ other: NSPointerFunctions.Options)
func isStrictSupersetOf(_ other: NSPointerFunctions.Options) -> Bool
func isStrictSubsetOf(_ other: NSPointerFunctions.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | CopyIn | static var CopyIn: NSPointerFunctionsOptions { get } |
To | copyIn | static var copyIn: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | CStringPersonality | static var CStringPersonality: NSPointerFunctionsOptions { get } |
To | cStringPersonality | static var cStringPersonality: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | IntegerPersonality | static var IntegerPersonality: NSPointerFunctionsOptions { get } |
To | integerPersonality | static var integerPersonality: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | MachVirtualMemory | static var MachVirtualMemory: NSPointerFunctionsOptions { get } |
To | machVirtualMemory | static var machVirtualMemory: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | MallocMemory | static var MallocMemory: NSPointerFunctionsOptions { get } |
To | mallocMemory | static var mallocMemory: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | ObjectPersonality | static var ObjectPersonality: NSPointerFunctionsOptions { get } |
To | objectPersonality | static var objectPersonality: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | ObjectPointerPersonality | static var ObjectPointerPersonality: NSPointerFunctionsOptions { get } |
To | objectPointerPersonality | static var objectPointerPersonality: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | OpaqueMemory | static var OpaqueMemory: NSPointerFunctionsOptions { get } |
To | opaqueMemory | static var opaqueMemory: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | OpaquePersonality | static var OpaquePersonality: NSPointerFunctionsOptions { get } |
To | opaquePersonality | static var opaquePersonality: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | StrongMemory | static var StrongMemory: NSPointerFunctionsOptions { get } |
To | strongMemory | static var strongMemory: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | StructPersonality | static var StructPersonality: NSPointerFunctionsOptions { get } |
To | structPersonality | static var structPersonality: NSPointerFunctions.Options { get } |
---|
| Name | Declaration |
From | WeakMemory | static var WeakMemory: NSPointerFunctionsOptions { get } |
To | weakMemory | static var weakMemory: NSPointerFunctions.Options { get } |
---|
| Declaration | Protocols |
From | class NSPositionalSpecifier : NSObject {
init(position position: NSInsertionPosition, objectSpecifier specifier: NSScriptObjectSpecifier)
var position: NSInsertionPosition { get }
var objectSpecifier: NSScriptObjectSpecifier { get }
func setInsertionClassDescription(_ classDescription: NSScriptClassDescription)
func evaluate()
var insertionContainer: AnyObject? { get }
var insertionKey: String? { get }
var insertionIndex: Int { get }
var insertionReplaces: Bool { get }
} | -- |
To | class NSPositionalSpecifier : NSObject {
init(position position: NSPositionalSpecifier.InsertionPosition, objectSpecifier specifier: NSScriptObjectSpecifier)
var position: NSPositionalSpecifier.InsertionPosition { get }
var objectSpecifier: NSScriptObjectSpecifier { get }
func setInsertionClassDescription(_ classDescription: NSScriptClassDescription)
func evaluate()
var insertionContainer: Any? { get }
var insertionKey: String? { get }
var insertionIndex: Int { get }
var insertionReplaces: Bool { get }
enum InsertionPosition : UInt {
case after
case before
case beginning
case end
case replace
}
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 NSPositionalSpecifier {
enum InsertionPosition : UInt {
case after
case before
case beginning
case end
case replace
}
}
extension NSPositionalSpecifier : CVarArg {
}
extension NSPositionalSpecifier : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | init(position position: NSInsertionPosition, objectSpecifier specifier: NSScriptObjectSpecifier) |
To | init(position position: NSPositionalSpecifier.InsertionPosition, objectSpecifier specifier: NSScriptObjectSpecifier) |
---|
| Declaration |
From | var insertionContainer: AnyObject? { get } |
To | var insertionContainer: Any? { get } |
---|
| Declaration |
From | var position: NSInsertionPosition { get } |
To | var position: NSPositionalSpecifier.InsertionPosition { get } |
---|
| Declaration |
From | enum NSInsertionPosition : UInt {
case PositionAfter
case PositionBefore
case PositionBeginning
case PositionEnd
case PositionReplace
} |
To | enum InsertionPosition : UInt {
case after
case before
case beginning
case end
case replace
} |
---|
| Name | Declaration |
From | PositionAfter | case PositionAfter |
To | after | case after |
---|
| Name | Declaration |
From | PositionBefore | case PositionBefore |
To | before | case before |
---|
| Name | Declaration |
From | PositionBeginning | case PositionBeginning |
To | beginning | case beginning |
---|
| Name | Declaration |
From | PositionEnd | case PositionEnd |
To | end | case end |
---|
| Name | Declaration |
From | PositionReplace | case PositionReplace |
To | replace | case replace |
---|
| Declaration | Protocols |
From | class NSPredicate : NSObject, NSSecureCoding, NSCopying {
init(format predicateFormat: String, argumentArray arguments: [AnyObject]?)
class func predicateWithFormat(_ predicateFormat: String, argumentArray arguments: [AnyObject]?) -> NSPredicate
init(format predicateFormat: String, arguments argList: CVaListPointer)
class func predicateWithFormat(_ predicateFormat: String, arguments argList: CVaListPointer) -> NSPredicate
init?(fromMetadataQueryString queryString: String)
class func predicateFromMetadataQueryString(_ queryString: String) -> NSPredicate?
init(value value: Bool)
class func predicateWithValue(_ value: Bool) -> NSPredicate
init(block block: (AnyObject, [String : AnyObject]?) -> Bool)
class func predicateWithBlock(_ block: (AnyObject, [String : AnyObject]?) -> Bool) -> NSPredicate
var predicateFormat: String { get }
func predicateWithSubstitutionVariables(_ variables: [String : AnyObject]) -> Self
func evaluateWithObject(_ object: AnyObject?) -> Bool
func evaluateWithObject(_ object: AnyObject?, substitutionVariables bindings: [String : AnyObject]?) -> Bool
func allowEvaluation()
}
extension NSPredicate {
convenience init(format predicateFormat: String, _ args: CVarArgType...)
}
extension NSPredicate {
convenience init(format predicateFormat: String, _ args: CVarArgType...)
} | NSCopying, NSSecureCoding |
To | class NSPredicate : NSObject, NSSecureCoding, NSCopying {
init(format predicateFormat: String, argumentArray arguments: [Any]?)
class func withFormat(_ predicateFormat: String, argumentArray arguments: [Any]?) -> NSPredicate
init(format predicateFormat: String, arguments argList: CVaListPointer)
class func withFormat(_ predicateFormat: String, arguments argList: CVaListPointer) -> NSPredicate
init?(fromMetadataQueryString queryString: String)
class func fromMetadataQueryString(_ queryString: String) -> NSPredicate?
init(value value: Bool)
class func withValue(_ value: Bool) -> NSPredicate
init(block block: @escaping (Any?, [String : Any]?) -> Bool)
class func withBlock(_ block: @escaping (Any?, [String : Any]?) -> Bool) -> NSPredicate
var predicateFormat: String { get }
func withSubstitutionVariables(_ variables: [String : Any]) -> Self
func evaluate(with object: Any?) -> Bool
func evaluate(with object: Any?, substitutionVariables bindings: [String : Any]?) -> Bool
func allowEvaluation()
convenience init(format predicateFormat: String, _ args: CVarArg...)
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 NSPredicate : CVarArg {
}
extension NSPredicate : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSPredicate {
convenience init(format predicateFormat: String, _ args: CVarArg...)
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func evaluateWithObject(_ object: AnyObject?) -> Bool |
To | func evaluate(with object: Any?) -> Bool |
---|
| Declaration |
From | func evaluateWithObject(_ object: AnyObject?, substitutionVariables bindings: [String : AnyObject]?) -> Bool |
To | func evaluate(with object: Any?, substitutionVariables bindings: [String : Any]?) -> Bool |
---|
| Declaration |
From | init(block block: (AnyObject, [String : AnyObject]?) -> Bool) |
To | init(block block: @escaping (Any?, [String : Any]?) -> Bool) |
---|
| Declaration |
From | init(format predicateFormat: String, argumentArray arguments: [AnyObject]?) |
To | init(format predicateFormat: String, argumentArray arguments: [Any]?) |
---|
| Declaration |
From | func predicateWithSubstitutionVariables(_ variables: [String : AnyObject]) -> Self |
To | func withSubstitutionVariables(_ variables: [String : Any]) -> Self |
---|
| Declaration |
From | class NSProtocolChecker : NSProxy {
var `protocol`: Protocol { get }
var target: NSObject? { get }
}
extension NSProtocolChecker {
convenience init(target anObject: NSObject, protocol aProtocol: Protocol)
class func protocolCheckerWithTarget(_ anObject: NSObject, protocol aProtocol: Protocol) -> Self
init(target anObject: NSObject, protocol aProtocol: Protocol)
} |
To | class NSProtocolChecker : NSProxy {
var `protocol`: Protocol { get }
var target: NSObject? { get }
convenience init(target anObject: NSObject, protocol aProtocol: Protocol)
class func withTarget(_ anObject: NSObject, protocol aProtocol: Protocol) -> Self
init(target anObject: NSObject, protocol aProtocol: Protocol)
}
extension NSProtocolChecker {
convenience init(target anObject: NSObject, protocol aProtocol: Protocol)
class func withTarget(_ anObject: NSObject, protocol aProtocol: Protocol) -> Self
init(target anObject: NSObject, protocol aProtocol: Protocol)
} |
---|
| Declaration |
From | class NSProxy : NSObjectProtocol {
class func alloc() -> Self
class func allocWithZone(_ zone: NSZone) -> Self
class func `class`() -> AnyClass
func forwardInvocation(_ invocation: NSInvocation)
func methodSignatureForSelector(_ sel: Selector) -> NSMethodSignature?
func finalize()
var description: String { get }
var debugDescription: String { get }
class func respondsToSelector(_ aSelector: Selector) -> Bool
func allowsWeakReference() -> Bool
func retainWeakReference() -> Bool
} |
To | class NSProxy : NSObjectProtocol {
class func alloc() -> Self
class func alloc(with zone: NSZone? = nil) -> Self
class func `class`() -> Swift.AnyClass
func forwardInvocation(_ invocation: NSInvocation)
func methodSignature(for sel: Selector) -> NSMethodSignature?
func finalize()
var description: String { get }
var debugDescription: String { get }
class func responds(to aSelector: Selector) -> Bool
func allowsWeakReference() -> Bool
func retainWeakReference() -> Bool
} |
---|
| Declaration |
From | class func `class`() -> AnyClass |
To | class func `class`() -> Swift.AnyClass |
---|
| Declaration |
From | class func respondsToSelector(_ aSelector: Selector) -> Bool |
To | class func responds(to aSelector: Selector) -> Bool |
---|
| Declaration | Protocols |
From | class NSPurgeableData : NSMutableData, NSDiscardableContent {
} | NSDiscardableContent |
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: (@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 }
} | CVarArg, Equatable, Hashable, NSDiscardableContent |
---|
Modified NSRange.toRange() -> Range<Int>?
| Declaration |
From | @warn_unused_result
func toRange() -> Range<Int>? |
To | func toRange() -> Range<Int>? |
---|
| Declaration |
From | class NSRangeSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, startSpecifier startSpec: NSScriptObjectSpecifier?, endSpecifier endSpec: NSScriptObjectSpecifier?)
var startSpecifier: NSScriptObjectSpecifier?
var endSpecifier: NSScriptObjectSpecifier?
} |
To | class NSRangeSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, start startSpec: NSScriptObjectSpecifier?, end endSpec: NSScriptObjectSpecifier?)
var startSpecifier: NSScriptObjectSpecifier?
var endSpecifier: NSScriptObjectSpecifier?
} |
---|
| Declaration |
From | init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, startSpecifier startSpec: NSScriptObjectSpecifier?, endSpecifier endSpec: NSScriptObjectSpecifier?) |
To | init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, start startSpec: NSScriptObjectSpecifier?, end endSpec: NSScriptObjectSpecifier?) |
---|
| Declaration |
From | enum NSRectEdge : UInt {
case MinX
case MinY
case MaxX
case MaxY
static var NSMinXEdge: NSRectEdge { get }
static var NSMinYEdge: NSRectEdge { get }
static var NSMaxXEdge: NSRectEdge { get }
static var NSMaxYEdge: NSRectEdge { get }
}
extension NSRectEdge {
init(rectEdge rectEdge: CGRectEdge)
}
extension NSRectEdge {
init(rectEdge rectEdge: CGRectEdge)
} |
To | enum NSRectEdge : UInt {
case minX
case minY
case maxX
case maxY
static var NSMinXEdge: NSRectEdge { get }
static var NSMinYEdge: NSRectEdge { get }
static var NSMaxXEdge: NSRectEdge { get }
static var NSMaxYEdge: NSRectEdge { get }
init(rectEdge rectEdge: CGRectEdge)
}
extension NSRectEdge {
init(rectEdge rectEdge: CGRectEdge)
} |
---|
| Declaration |
From | case MaxX |
To | case maxX |
---|
| Declaration |
From | case MaxY |
To | case maxY |
---|
| Declaration |
From | case MinX |
To | case minX |
---|
| Declaration |
From | case MinY |
To | case minY |
---|
| Declaration | Protocols |
From | class NSRecursiveLock : NSObject, NSLocking {
func tryLock() -> Bool
func lockBeforeDate(_ limit: NSDate) -> Bool
var name: String?
} | NSLocking |
To | class NSRecursiveLock : NSObject, NSLocking {
func `try`() -> Bool
func lock(before limit: Date) -> Bool
var name: 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 NSRecursiveLock : CVarArg {
}
extension NSRecursiveLock : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSLocking |
---|
| Declaration |
From | func lockBeforeDate(_ limit: NSDate) -> Bool |
To | func lock(before limit: Date) -> Bool |
---|
| Declaration |
From | func tryLock() -> Bool |
To | func `try`() -> Bool |
---|
| Declaration | Protocols |
From | class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
init(pattern pattern: String, options options: NSRegularExpressionOptions) throws
class func regularExpressionWithPattern(_ pattern: String, options options: NSRegularExpressionOptions) throws -> NSRegularExpression
init(pattern pattern: String, options options: NSRegularExpressionOptions) throws
var pattern: String { get }
var options: NSRegularExpressionOptions { get }
var numberOfCaptureGroups: Int { get }
class func escapedPatternForString(_ string: String) -> String
}
extension NSRegularExpression {
func enumerateMatchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange, usingBlock block: (NSTextCheckingResult?, NSMatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void)
func matchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> [NSTextCheckingResult]
func numberOfMatchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> Int
func firstMatchInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> NSTextCheckingResult?
func rangeOfFirstMatchInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> NSRange
}
extension NSRegularExpression {
func stringByReplacingMatchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange, withTemplate templ: String) -> String
func replaceMatchesInString(_ string: NSMutableString, options options: NSMatchingOptions, range range: NSRange, withTemplate templ: String) -> Int
func replacementStringForResult(_ result: NSTextCheckingResult, inString string: String, offset offset: Int, template templ: String) -> String
class func escapedTemplateForString(_ string: String) -> String
} | NSCopying, NSSecureCoding |
To | class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
init(pattern pattern: String, options options: NSRegularExpression.Options = []) throws
class func withPattern(_ pattern: String, options options: NSRegularExpression.Options = []) throws -> NSRegularExpression
init(pattern pattern: String, options options: NSRegularExpression.Options = []) throws
var pattern: String { get }
var options: NSRegularExpression.Options { get }
var numberOfCaptureGroups: Int { get }
class func escapedPattern(for string: String) -> String
func stringByReplacingMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> String
func replaceMatches(in string: NSMutableString, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> Int
func replacementString(for result: NSTextCheckingResult, in string: String, offset offset: Int, template templ: String) -> String
class func escapedTemplate(for string: String) -> String
func enumerateMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, using block: (NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func matches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> [NSTextCheckingResult]
func numberOfMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> Int
func firstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSTextCheckingResult?
func rangeOfFirstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSRange
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSRegularExpression.Options { get }
static var allowCommentsAndWhitespace: NSRegularExpression.Options { get }
static var ignoreMetacharacters: NSRegularExpression.Options { get }
static var dotMatchesLineSeparators: NSRegularExpression.Options { get }
static var anchorsMatchLines: NSRegularExpression.Options { get }
static var useUnixLineSeparators: NSRegularExpression.Options { get }
static var useUnicodeWordBoundaries: NSRegularExpression.Options { get }
}
struct MatchingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reportProgress: NSRegularExpression.MatchingOptions { get }
static var reportCompletion: NSRegularExpression.MatchingOptions { get }
static var anchored: NSRegularExpression.MatchingOptions { get }
static var withTransparentBounds: NSRegularExpression.MatchingOptions { get }
static var withoutAnchoringBounds: NSRegularExpression.MatchingOptions { get }
}
struct MatchingFlags : OptionSet {
init(rawValue rawValue: UInt)
static var progress: NSRegularExpression.MatchingFlags { get }
static var completed: NSRegularExpression.MatchingFlags { get }
static var hitEnd: NSRegularExpression.MatchingFlags { get }
static var requiredEnd: NSRegularExpression.MatchingFlags { get }
static var internalError: NSRegularExpression.MatchingFlags { 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 NSRegularExpression {
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSRegularExpression.Options { get }
static var allowCommentsAndWhitespace: NSRegularExpression.Options { get }
static var ignoreMetacharacters: NSRegularExpression.Options { get }
static var dotMatchesLineSeparators: NSRegularExpression.Options { get }
static var anchorsMatchLines: NSRegularExpression.Options { get }
static var useUnixLineSeparators: NSRegularExpression.Options { get }
static var useUnicodeWordBoundaries: NSRegularExpression.Options { get }
}
struct MatchingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reportProgress: NSRegularExpression.MatchingOptions { get }
static var reportCompletion: NSRegularExpression.MatchingOptions { get }
static var anchored: NSRegularExpression.MatchingOptions { get }
static var withTransparentBounds: NSRegularExpression.MatchingOptions { get }
static var withoutAnchoringBounds: NSRegularExpression.MatchingOptions { get }
}
struct MatchingFlags : OptionSet {
init(rawValue rawValue: UInt)
static var progress: NSRegularExpression.MatchingFlags { get }
static var completed: NSRegularExpression.MatchingFlags { get }
static var hitEnd: NSRegularExpression.MatchingFlags { get }
static var requiredEnd: NSRegularExpression.MatchingFlags { get }
static var internalError: NSRegularExpression.MatchingFlags { get }
}
}
extension NSRegularExpression : CVarArg {
}
extension NSRegularExpression : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSRegularExpression {
func enumerateMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, using block: (NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func matches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> [NSTextCheckingResult]
func numberOfMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> Int
func firstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSTextCheckingResult?
func rangeOfFirstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSRange
}
extension NSRegularExpression {
func stringByReplacingMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> String
func replaceMatches(in string: NSMutableString, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> Int
func replacementString(for result: NSTextCheckingResult, in string: String, offset offset: Int, template templ: String) -> String
class func escapedTemplate(for string: String) -> String
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func enumerateMatchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange, usingBlock block: (NSTextCheckingResult?, NSMatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, using block: (NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | class func escapedPatternForString(_ string: String) -> String |
To | class func escapedPattern(for string: String) -> String |
---|
| Declaration |
From | class func escapedTemplateForString(_ string: String) -> String |
To | class func escapedTemplate(for string: String) -> String |
---|
| Declaration |
From | func firstMatchInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> NSTextCheckingResult? |
To | func firstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSTextCheckingResult? |
---|
| Declaration |
From | init(pattern pattern: String, options options: NSRegularExpressionOptions) throws |
To | init(pattern pattern: String, options options: NSRegularExpression.Options = []) throws |
---|
| Declaration |
From | func matchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> [NSTextCheckingResult] |
To | func matches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> [NSTextCheckingResult] |
---|
| Declaration |
From | func numberOfMatchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> Int |
To | func numberOfMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> Int |
---|
| Declaration |
From | var options: NSRegularExpressionOptions { get } |
To | var options: NSRegularExpression.Options { get } |
---|
| Declaration |
From | func rangeOfFirstMatchInString(_ string: String, options options: NSMatchingOptions, range range: NSRange) -> NSRange |
To | func rangeOfFirstMatch(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange) -> NSRange |
---|
| Declaration |
From | func replaceMatchesInString(_ string: NSMutableString, options options: NSMatchingOptions, range range: NSRange, withTemplate templ: String) -> Int |
To | func replaceMatches(in string: NSMutableString, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> Int |
---|
| Declaration |
From | func replacementStringForResult(_ result: NSTextCheckingResult, inString string: String, offset offset: Int, template templ: String) -> String |
To | func replacementString(for result: NSTextCheckingResult, in string: String, offset offset: Int, template templ: String) -> String |
---|
| Declaration |
From | func stringByReplacingMatchesInString(_ string: String, options options: NSMatchingOptions, range range: NSRange, withTemplate templ: String) -> String |
To | func stringByReplacingMatches(in string: String, options options: NSRegularExpression.MatchingOptions = [], range range: NSRange, withTemplate templ: String) -> String |
---|
| Declaration | Protocols |
From | struct NSMatchingFlags : OptionSetType {
init(rawValue rawValue: UInt)
static var Progress: NSMatchingFlags { get }
static var Completed: NSMatchingFlags { get }
static var HitEnd: NSMatchingFlags { get }
static var RequiredEnd: NSMatchingFlags { get }
static var InternalError: NSMatchingFlags { get }
} | OptionSetType |
To | struct MatchingFlags : OptionSet {
init(rawValue rawValue: UInt)
static var progress: NSRegularExpression.MatchingFlags { get }
static var completed: NSRegularExpression.MatchingFlags { get }
static var hitEnd: NSRegularExpression.MatchingFlags { get }
static var requiredEnd: NSRegularExpression.MatchingFlags { get }
static var internalError: NSRegularExpression.MatchingFlags { get }
}
extension NSRegularExpression.MatchingFlags {
func union(_ other: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags
func intersection(_ other: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags
func symmetricDifference(_ other: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags
}
extension NSRegularExpression.MatchingFlags {
func contains(_ member: NSRegularExpression.MatchingFlags) -> Bool
mutating func insert(_ newMember: NSRegularExpression.MatchingFlags) -> (inserted: Bool, memberAfterInsert: NSRegularExpression.MatchingFlags)
mutating func remove(_ member: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags?
mutating func update(with newMember: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags?
}
extension NSRegularExpression.MatchingFlags {
convenience init()
mutating func formUnion(_ other: NSRegularExpression.MatchingFlags)
mutating func formIntersection(_ other: NSRegularExpression.MatchingFlags)
mutating func formSymmetricDifference(_ other: NSRegularExpression.MatchingFlags)
}
extension NSRegularExpression.MatchingFlags {
convenience init<S : Sequence where S.Iterator.Element == NSRegularExpression.MatchingFlags>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSRegularExpression.MatchingFlags...)
mutating func subtract(_ other: NSRegularExpression.MatchingFlags)
func isSubset(of other: NSRegularExpression.MatchingFlags) -> Bool
func isSuperset(of other: NSRegularExpression.MatchingFlags) -> Bool
func isDisjoint(with other: NSRegularExpression.MatchingFlags) -> Bool
func subtracting(_ other: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSRegularExpression.MatchingFlags) -> Bool
func isStrictSubset(of other: NSRegularExpression.MatchingFlags) -> Bool
}
extension NSRegularExpression.MatchingFlags {
func intersect(_ other: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags
func exclusiveOr(_ other: NSRegularExpression.MatchingFlags) -> NSRegularExpression.MatchingFlags
mutating func unionInPlace(_ other: NSRegularExpression.MatchingFlags)
mutating func intersectInPlace(_ other: NSRegularExpression.MatchingFlags)
mutating func exclusiveOrInPlace(_ other: NSRegularExpression.MatchingFlags)
func isSubsetOf(_ other: NSRegularExpression.MatchingFlags) -> Bool
func isDisjointWith(_ other: NSRegularExpression.MatchingFlags) -> Bool
func isSupersetOf(_ other: NSRegularExpression.MatchingFlags) -> Bool
mutating func subtractInPlace(_ other: NSRegularExpression.MatchingFlags)
func isStrictSupersetOf(_ other: NSRegularExpression.MatchingFlags) -> Bool
func isStrictSubsetOf(_ other: NSRegularExpression.MatchingFlags) -> Bool
} | OptionSet |
---|
| Name | Declaration | Introduction |
From | Completed | static var Completed: NSMatchingFlags { get } | OS X 10.10 |
To | completed | static var completed: NSRegularExpression.MatchingFlags { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | HitEnd | static var HitEnd: NSMatchingFlags { get } | OS X 10.10 |
To | hitEnd | static var hitEnd: NSRegularExpression.MatchingFlags { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | InternalError | static var InternalError: NSMatchingFlags { get } | OS X 10.10 |
To | internalError | static var internalError: NSRegularExpression.MatchingFlags { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Progress | static var Progress: NSMatchingFlags { get } | OS X 10.10 |
To | progress | static var progress: NSRegularExpression.MatchingFlags { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | RequiredEnd | static var RequiredEnd: NSMatchingFlags { get } | OS X 10.10 |
To | requiredEnd | static var requiredEnd: NSRegularExpression.MatchingFlags { get } | OS X 10.12 |
---|
| Declaration | Protocols |
From | struct NSMatchingOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var ReportProgress: NSMatchingOptions { get }
static var ReportCompletion: NSMatchingOptions { get }
static var Anchored: NSMatchingOptions { get }
static var WithTransparentBounds: NSMatchingOptions { get }
static var WithoutAnchoringBounds: NSMatchingOptions { get }
} | OptionSetType |
To | struct MatchingOptions : OptionSet {
init(rawValue rawValue: UInt)
static var reportProgress: NSRegularExpression.MatchingOptions { get }
static var reportCompletion: NSRegularExpression.MatchingOptions { get }
static var anchored: NSRegularExpression.MatchingOptions { get }
static var withTransparentBounds: NSRegularExpression.MatchingOptions { get }
static var withoutAnchoringBounds: NSRegularExpression.MatchingOptions { get }
}
extension NSRegularExpression.MatchingOptions {
func union(_ other: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions
func intersection(_ other: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions
func symmetricDifference(_ other: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions
}
extension NSRegularExpression.MatchingOptions {
func contains(_ member: NSRegularExpression.MatchingOptions) -> Bool
mutating func insert(_ newMember: NSRegularExpression.MatchingOptions) -> (inserted: Bool, memberAfterInsert: NSRegularExpression.MatchingOptions)
mutating func remove(_ member: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions?
mutating func update(with newMember: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions?
}
extension NSRegularExpression.MatchingOptions {
convenience init()
mutating func formUnion(_ other: NSRegularExpression.MatchingOptions)
mutating func formIntersection(_ other: NSRegularExpression.MatchingOptions)
mutating func formSymmetricDifference(_ other: NSRegularExpression.MatchingOptions)
}
extension NSRegularExpression.MatchingOptions {
convenience init<S : Sequence where S.Iterator.Element == NSRegularExpression.MatchingOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSRegularExpression.MatchingOptions...)
mutating func subtract(_ other: NSRegularExpression.MatchingOptions)
func isSubset(of other: NSRegularExpression.MatchingOptions) -> Bool
func isSuperset(of other: NSRegularExpression.MatchingOptions) -> Bool
func isDisjoint(with other: NSRegularExpression.MatchingOptions) -> Bool
func subtracting(_ other: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSRegularExpression.MatchingOptions) -> Bool
func isStrictSubset(of other: NSRegularExpression.MatchingOptions) -> Bool
}
extension NSRegularExpression.MatchingOptions {
func intersect(_ other: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions
func exclusiveOr(_ other: NSRegularExpression.MatchingOptions) -> NSRegularExpression.MatchingOptions
mutating func unionInPlace(_ other: NSRegularExpression.MatchingOptions)
mutating func intersectInPlace(_ other: NSRegularExpression.MatchingOptions)
mutating func exclusiveOrInPlace(_ other: NSRegularExpression.MatchingOptions)
func isSubsetOf(_ other: NSRegularExpression.MatchingOptions) -> Bool
func isDisjointWith(_ other: NSRegularExpression.MatchingOptions) -> Bool
func isSupersetOf(_ other: NSRegularExpression.MatchingOptions) -> Bool
mutating func subtractInPlace(_ other: NSRegularExpression.MatchingOptions)
func isStrictSupersetOf(_ other: NSRegularExpression.MatchingOptions) -> Bool
func isStrictSubsetOf(_ other: NSRegularExpression.MatchingOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration | Introduction |
From | Anchored | static var Anchored: NSMatchingOptions { get } | OS X 10.10 |
To | anchored | static var anchored: NSRegularExpression.MatchingOptions { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ReportCompletion | static var ReportCompletion: NSMatchingOptions { get } | OS X 10.10 |
To | reportCompletion | static var reportCompletion: NSRegularExpression.MatchingOptions { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ReportProgress | static var ReportProgress: NSMatchingOptions { get } | OS X 10.10 |
To | reportProgress | static var reportProgress: NSRegularExpression.MatchingOptions { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | WithoutAnchoringBounds | static var WithoutAnchoringBounds: NSMatchingOptions { get } | OS X 10.10 |
To | withoutAnchoringBounds | static var withoutAnchoringBounds: NSRegularExpression.MatchingOptions { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | WithTransparentBounds | static var WithTransparentBounds: NSMatchingOptions { get } | OS X 10.10 |
To | withTransparentBounds | static var withTransparentBounds: NSRegularExpression.MatchingOptions { get } | OS X 10.12 |
---|
| Declaration | Protocols |
From | struct NSRegularExpressionOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var CaseInsensitive: NSRegularExpressionOptions { get }
static var AllowCommentsAndWhitespace: NSRegularExpressionOptions { get }
static var IgnoreMetacharacters: NSRegularExpressionOptions { get }
static var DotMatchesLineSeparators: NSRegularExpressionOptions { get }
static var AnchorsMatchLines: NSRegularExpressionOptions { get }
static var UseUnixLineSeparators: NSRegularExpressionOptions { get }
static var UseUnicodeWordBoundaries: NSRegularExpressionOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSRegularExpression.Options { get }
static var allowCommentsAndWhitespace: NSRegularExpression.Options { get }
static var ignoreMetacharacters: NSRegularExpression.Options { get }
static var dotMatchesLineSeparators: NSRegularExpression.Options { get }
static var anchorsMatchLines: NSRegularExpression.Options { get }
static var useUnixLineSeparators: NSRegularExpression.Options { get }
static var useUnicodeWordBoundaries: NSRegularExpression.Options { get }
}
extension NSRegularExpression.Options {
func union(_ other: NSRegularExpression.Options) -> NSRegularExpression.Options
func intersection(_ other: NSRegularExpression.Options) -> NSRegularExpression.Options
func symmetricDifference(_ other: NSRegularExpression.Options) -> NSRegularExpression.Options
}
extension NSRegularExpression.Options {
func contains(_ member: NSRegularExpression.Options) -> Bool
mutating func insert(_ newMember: NSRegularExpression.Options) -> (inserted: Bool, memberAfterInsert: NSRegularExpression.Options)
mutating func remove(_ member: NSRegularExpression.Options) -> NSRegularExpression.Options?
mutating func update(with newMember: NSRegularExpression.Options) -> NSRegularExpression.Options?
}
extension NSRegularExpression.Options {
convenience init()
mutating func formUnion(_ other: NSRegularExpression.Options)
mutating func formIntersection(_ other: NSRegularExpression.Options)
mutating func formSymmetricDifference(_ other: NSRegularExpression.Options)
}
extension NSRegularExpression.Options {
convenience init<S : Sequence where S.Iterator.Element == NSRegularExpression.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSRegularExpression.Options...)
mutating func subtract(_ other: NSRegularExpression.Options)
func isSubset(of other: NSRegularExpression.Options) -> Bool
func isSuperset(of other: NSRegularExpression.Options) -> Bool
func isDisjoint(with other: NSRegularExpression.Options) -> Bool
func subtracting(_ other: NSRegularExpression.Options) -> NSRegularExpression.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSRegularExpression.Options) -> Bool
func isStrictSubset(of other: NSRegularExpression.Options) -> Bool
}
extension NSRegularExpression.Options {
func intersect(_ other: NSRegularExpression.Options) -> NSRegularExpression.Options
func exclusiveOr(_ other: NSRegularExpression.Options) -> NSRegularExpression.Options
mutating func unionInPlace(_ other: NSRegularExpression.Options)
mutating func intersectInPlace(_ other: NSRegularExpression.Options)
mutating func exclusiveOrInPlace(_ other: NSRegularExpression.Options)
func isSubsetOf(_ other: NSRegularExpression.Options) -> Bool
func isDisjointWith(_ other: NSRegularExpression.Options) -> Bool
func isSupersetOf(_ other: NSRegularExpression.Options) -> Bool
mutating func subtractInPlace(_ other: NSRegularExpression.Options)
func isStrictSupersetOf(_ other: NSRegularExpression.Options) -> Bool
func isStrictSubsetOf(_ other: NSRegularExpression.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration | Introduction |
From | AllowCommentsAndWhitespace | static var AllowCommentsAndWhitespace: NSRegularExpressionOptions { get } | OS X 10.10 |
To | allowCommentsAndWhitespace | static var allowCommentsAndWhitespace: NSRegularExpression.Options { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | AnchorsMatchLines | static var AnchorsMatchLines: NSRegularExpressionOptions { get } | OS X 10.10 |
To | anchorsMatchLines | static var anchorsMatchLines: NSRegularExpression.Options { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | CaseInsensitive | static var CaseInsensitive: NSRegularExpressionOptions { get } | OS X 10.10 |
To | caseInsensitive | static var caseInsensitive: NSRegularExpression.Options { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | DotMatchesLineSeparators | static var DotMatchesLineSeparators: NSRegularExpressionOptions { get } | OS X 10.10 |
To | dotMatchesLineSeparators | static var dotMatchesLineSeparators: NSRegularExpression.Options { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | IgnoreMetacharacters | static var IgnoreMetacharacters: NSRegularExpressionOptions { get } | OS X 10.10 |
To | ignoreMetacharacters | static var ignoreMetacharacters: NSRegularExpression.Options { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | UseUnicodeWordBoundaries | static var UseUnicodeWordBoundaries: NSRegularExpressionOptions { get } | OS X 10.10 |
To | useUnicodeWordBoundaries | static var useUnicodeWordBoundaries: NSRegularExpression.Options { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | UseUnixLineSeparators | static var UseUnixLineSeparators: NSRegularExpressionOptions { get } | OS X 10.10 |
To | useUnixLineSeparators | static var useUnixLineSeparators: NSRegularExpression.Options { get } | OS X 10.12 |
---|
| Declaration |
From | class NSRelativeSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, relativePosition relPos: NSRelativePosition, baseSpecifier baseSpecifier: NSScriptObjectSpecifier?)
var relativePosition: NSRelativePosition
var baseSpecifier: NSScriptObjectSpecifier?
} |
To | class NSRelativeSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, relativePosition relPos: NSRelativeSpecifier.RelativePosition, baseSpecifier baseSpecifier: NSScriptObjectSpecifier?)
var relativePosition: NSRelativeSpecifier.RelativePosition
var baseSpecifier: NSScriptObjectSpecifier?
enum RelativePosition : UInt {
case after
case before
}
}
extension NSRelativeSpecifier {
enum RelativePosition : UInt {
case after
case before
}
} |
---|
| Declaration |
From | init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, relativePosition relPos: NSRelativePosition, baseSpecifier baseSpecifier: NSScriptObjectSpecifier?) |
To | init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, relativePosition relPos: NSRelativeSpecifier.RelativePosition, baseSpecifier baseSpecifier: NSScriptObjectSpecifier?) |
---|
| Declaration |
From | var relativePosition: NSRelativePosition |
To | var relativePosition: NSRelativeSpecifier.RelativePosition |
---|
| Declaration |
From | enum NSRelativePosition : UInt {
case After
case Before
} |
To | enum RelativePosition : UInt {
case after
case before
} |
---|
| Name | Declaration |
From | After | case After |
To | after | case after |
---|
| Name | Declaration |
From | Before | case Before |
To | before | case before |
---|
| Declaration |
From | enum NSSaveOptions : UInt {
case Yes
case No
case Ask
} |
To | enum NSSaveOptions : UInt {
case yes
case no
case ask
} |
---|
| Declaration |
From | case Ask |
To | case ask |
---|
| Declaration |
From | case No |
To | case no |
---|
| Declaration |
From | case Yes |
To | case yes |
---|
| Declaration |
From | class NSScriptClassDescription : NSClassDescription {
init?(forClass aClass: AnyClass)
class func classDescriptionForClass(_ aClass: AnyClass) -> NSScriptClassDescription?
init?(suiteName suiteName: String, className className: String, dictionary classDeclaration: [NSObject : AnyObject]?)
var suiteName: String? { get }
var className: String? { get }
var implementationClassName: String? { get }
var superclassDescription: NSScriptClassDescription? { get }
var appleEventCode: FourCharCode { get }
func matchesAppleEventCode(_ appleEventCode: FourCharCode) -> Bool
func supportsCommand(_ commandDescription: NSScriptCommandDescription) -> Bool
func selectorForCommand(_ commandDescription: NSScriptCommandDescription) -> Selector
func typeForKey(_ key: String) -> String?
func classDescriptionForKey(_ key: String) -> NSScriptClassDescription?
func appleEventCodeForKey(_ key: String) -> FourCharCode
func keyWithAppleEventCode(_ appleEventCode: FourCharCode) -> String?
var defaultSubcontainerAttributeKey: String? { get }
func isLocationRequiredToCreateForKey(_ toManyRelationshipKey: String) -> Bool
func hasPropertyForKey(_ key: String) -> Bool
func hasOrderedToManyRelationshipForKey(_ key: String) -> Bool
func hasReadablePropertyForKey(_ key: String) -> Bool
func hasWritablePropertyForKey(_ key: String) -> Bool
}
extension NSScriptClassDescription {
func isReadOnlyKey(_ key: String) -> Bool
} |
To | class NSScriptClassDescription : NSClassDescription {
init?(for aClass: Swift.AnyClass)
class func forClass(_ aClass: Swift.AnyClass) -> NSScriptClassDescription?
init?(suiteName suiteName: String, className className: String, dictionary classDeclaration: [AnyHashable : Any]?)
var suiteName: String? { get }
var className: String? { get }
var implementationClassName: String? { get }
var superclass: NSScriptClassDescription? { get }
var appleEventCode: FourCharCode { get }
func matchesAppleEventCode(_ appleEventCode: FourCharCode) -> Bool
func supportsCommand(_ commandDescription: NSScriptCommandDescription) -> Bool
func selector(forCommand commandDescription: NSScriptCommandDescription) -> Selector?
func type(forKey key: String) -> String?
func forKey(_ key: String) -> NSScriptClassDescription?
func appleEventCode(forKey key: String) -> FourCharCode
func key(withAppleEventCode appleEventCode: FourCharCode) -> String?
var defaultSubcontainerAttributeKey: String? { get }
func isLocationRequiredToCreate(forKey toManyRelationshipKey: String) -> Bool
func hasProperty(forKey key: String) -> Bool
func hasOrderedToManyRelationship(forKey key: String) -> Bool
func hasReadableProperty(forKey key: String) -> Bool
func hasWritableProperty(forKey key: String) -> Bool
func isReadOnlyKey(_ key: String) -> Bool
}
extension NSScriptClassDescription {
func isReadOnlyKey(_ key: String) -> Bool
} |
---|
| Declaration |
From | func appleEventCodeForKey(_ key: String) -> FourCharCode |
To | func appleEventCode(forKey key: String) -> FourCharCode |
---|
| Declaration |
From | func classDescriptionForKey(_ key: String) -> NSScriptClassDescription? |
To | func forKey(_ key: String) -> NSScriptClassDescription? |
---|
| Declaration |
From | func hasOrderedToManyRelationshipForKey(_ key: String) -> Bool |
To | func hasOrderedToManyRelationship(forKey key: String) -> Bool |
---|
| Declaration |
From | func hasPropertyForKey(_ key: String) -> Bool |
To | func hasProperty(forKey key: String) -> Bool |
---|
| Declaration |
From | func hasReadablePropertyForKey(_ key: String) -> Bool |
To | func hasReadableProperty(forKey key: String) -> Bool |
---|
| Declaration |
From | func hasWritablePropertyForKey(_ key: String) -> Bool |
To | func hasWritableProperty(forKey key: String) -> Bool |
---|
| Declaration |
From | init?(forClass aClass: AnyClass) |
To | init?(for aClass: Swift.AnyClass) |
---|
| Declaration |
From | init?(suiteName suiteName: String, className className: String, dictionary classDeclaration: [NSObject : AnyObject]?) |
To | init?(suiteName suiteName: String, className className: String, dictionary classDeclaration: [AnyHashable : Any]?) |
---|
| Declaration |
From | func isLocationRequiredToCreateForKey(_ toManyRelationshipKey: String) -> Bool |
To | func isLocationRequiredToCreate(forKey toManyRelationshipKey: String) -> Bool |
---|
| Declaration |
From | func keyWithAppleEventCode(_ appleEventCode: FourCharCode) -> String? |
To | func key(withAppleEventCode appleEventCode: FourCharCode) -> String? |
---|
| Declaration |
From | func selectorForCommand(_ commandDescription: NSScriptCommandDescription) -> Selector |
To | func selector(forCommand commandDescription: NSScriptCommandDescription) -> Selector? |
---|
| Declaration |
From | var superclassDescription: NSScriptClassDescription? { get } |
To | var superclass: NSScriptClassDescription? { get } |
---|
| Declaration |
From | func typeForKey(_ key: String) -> String? |
To | func type(forKey key: String) -> String? |
---|
| Declaration | Protocols |
From | class NSScriptCoercionHandler : NSObject {
class func sharedCoercionHandler() -> NSScriptCoercionHandler
func coerceValue(_ value: AnyObject, toClass toClass: AnyClass) -> AnyObject?
func registerCoercer(_ coercer: AnyObject, selector selector: Selector, toConvertFromClass fromClass: AnyClass, toClass toClass: AnyClass)
} | -- |
To | class NSScriptCoercionHandler : NSObject {
class func shared() -> NSScriptCoercionHandler
func coerceValue(_ value: Any, to toClass: Swift.AnyClass) -> Any?
func registerCoercer(_ coercer: Any, selector selector: Selector, toConvertFrom fromClass: Swift.AnyClass, to toClass: Swift.AnyClass)
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 NSScriptCoercionHandler : CVarArg {
}
extension NSScriptCoercionHandler : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func coerceValue(_ value: AnyObject, toClass toClass: AnyClass) -> AnyObject? |
To | func coerceValue(_ value: Any, to toClass: Swift.AnyClass) -> Any? |
---|
| Declaration |
From | func registerCoercer(_ coercer: AnyObject, selector selector: Selector, toConvertFromClass fromClass: AnyClass, toClass toClass: AnyClass) |
To | func registerCoercer(_ coercer: Any, selector selector: Selector, toConvertFrom fromClass: Swift.AnyClass, to toClass: Swift.AnyClass) |
---|
| Declaration |
From | class func sharedCoercionHandler() -> NSScriptCoercionHandler |
To | class func shared() -> NSScriptCoercionHandler |
---|
| Declaration | Protocols |
From | class NSScriptCommand : NSObject, NSCoding {
init(commandDescription commandDef: NSScriptCommandDescription)
convenience init?(coder inCoder: NSCoder)
var commandDescription: NSScriptCommandDescription { get }
var directParameter: AnyObject?
var receiversSpecifier: NSScriptObjectSpecifier?
var evaluatedReceivers: AnyObject? { get }
var arguments: [String : AnyObject]?
var evaluatedArguments: [String : AnyObject]? { get }
var wellFormed: Bool { get }
func performDefaultImplementation() -> AnyObject?
func executeCommand() -> AnyObject?
var scriptErrorNumber: Int
var scriptErrorOffendingObjectDescriptor: NSAppleEventDescriptor?
var scriptErrorExpectedTypeDescriptor: NSAppleEventDescriptor?
var scriptErrorString: String?
class func currentCommand() -> NSScriptCommand?
@NSCopying var appleEvent: NSAppleEventDescriptor? { get }
func suspendExecution()
func resumeExecutionWithResult(_ result: AnyObject?)
} | NSCoding |
To | class NSScriptCommand : NSObject, NSCoding {
init(commandDescription commandDef: NSScriptCommandDescription)
convenience init?(coder inCoder: NSCoder)
var commandDescription: NSScriptCommandDescription { get }
var directParameter: Any?
var receiversSpecifier: NSScriptObjectSpecifier?
var evaluatedReceivers: Any? { get }
var arguments: [String : Any]?
var evaluatedArguments: [String : Any]? { get }
var isWellFormed: Bool { get }
func performDefaultImplementation() -> Any?
func execute() -> Any?
var scriptErrorNumber: Int
var scriptErrorOffendingObjectDescriptor: NSAppleEventDescriptor?
var scriptErrorExpectedTypeDescriptor: NSAppleEventDescriptor?
var scriptErrorString: String?
class func current() -> NSScriptCommand?
@NSCopying var appleEvent: NSAppleEventDescriptor? { get }
func suspendExecution()
func resumeExecution(withResult result: 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 NSScriptCommand : CVarArg {
}
extension NSScriptCommand : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
---|
| Declaration |
From | var arguments: [String : AnyObject]? |
To | var arguments: [String : Any]? |
---|
| Declaration |
From | class func currentCommand() -> NSScriptCommand? |
To | class func current() -> NSScriptCommand? |
---|
| Declaration |
From | var directParameter: AnyObject? |
To | var directParameter: Any? |
---|
| Declaration |
From | var evaluatedArguments: [String : AnyObject]? { get } |
To | var evaluatedArguments: [String : Any]? { get } |
---|
| Declaration |
From | var evaluatedReceivers: AnyObject? { get } |
To | var evaluatedReceivers: Any? { get } |
---|
| Declaration |
From | func executeCommand() -> AnyObject? |
To | func execute() -> Any? |
---|
| Declaration |
From | var wellFormed: Bool { get } |
To | var isWellFormed: Bool { get } |
---|
| Declaration |
From | func performDefaultImplementation() -> AnyObject? |
To | func performDefaultImplementation() -> Any? |
---|
| Declaration |
From | func resumeExecutionWithResult(_ result: AnyObject?) |
To | func resumeExecution(withResult result: Any?) |
---|
| Declaration | Protocols |
From | class NSScriptCommandDescription : NSObject, NSCoding {
convenience init()
init?(suiteName suiteName: String, commandName commandName: String, dictionary commandDeclaration: [NSObject : AnyObject]?)
init?(coder inCoder: NSCoder)
var suiteName: String { get }
var commandName: String { get }
var appleEventClassCode: FourCharCode { get }
var appleEventCode: FourCharCode { get }
var commandClassName: String { get }
var returnType: String? { get }
var appleEventCodeForReturnType: FourCharCode { get }
var argumentNames: [String] { get }
func typeForArgumentWithName(_ argumentName: String) -> String?
func appleEventCodeForArgumentWithName(_ argumentName: String) -> FourCharCode
func isOptionalArgumentWithName(_ argumentName: String) -> Bool
func createCommandInstance() -> NSScriptCommand
func createCommandInstanceWithZone(_ zone: NSZone) -> NSScriptCommand
} | NSCoding |
To | class NSScriptCommandDescription : NSObject, NSCoding {
convenience init()
init?(suiteName suiteName: String, commandName commandName: String, dictionary commandDeclaration: [AnyHashable : Any]?)
init?(coder inCoder: NSCoder)
var suiteName: String { get }
var commandName: String { get }
var appleEventClassCode: FourCharCode { get }
var appleEventCode: FourCharCode { get }
var commandClassName: String { get }
var returnType: String? { get }
var appleEventCodeForReturnType: FourCharCode { get }
var argumentNames: [String] { get }
func typeForArgument(withName argumentName: String) -> String?
func appleEventCodeForArgument(withName argumentName: String) -> FourCharCode
func isOptionalArgument(withName argumentName: String) -> Bool
func createCommandInstance() -> NSScriptCommand
func createCommandInstance(with zone: NSZone? = nil) -> NSScriptCommand
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 NSScriptCommandDescription : CVarArg {
}
extension NSScriptCommandDescription : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
---|
| Declaration |
From | func appleEventCodeForArgumentWithName(_ argumentName: String) -> FourCharCode |
To | func appleEventCodeForArgument(withName argumentName: String) -> FourCharCode |
---|
| Declaration |
From | func createCommandInstanceWithZone(_ zone: NSZone) -> NSScriptCommand |
To | func createCommandInstance(with zone: NSZone? = nil) -> NSScriptCommand |
---|
| Declaration |
From | init?(suiteName suiteName: String, commandName commandName: String, dictionary commandDeclaration: [NSObject : AnyObject]?) |
To | init?(suiteName suiteName: String, commandName commandName: String, dictionary commandDeclaration: [AnyHashable : Any]?) |
---|
| Declaration |
From | func isOptionalArgumentWithName(_ argumentName: String) -> Bool |
To | func isOptionalArgument(withName argumentName: String) -> Bool |
---|
| Declaration |
From | func typeForArgumentWithName(_ argumentName: String) -> String? |
To | func typeForArgument(withName argumentName: String) -> String? |
---|
| Declaration | Protocols |
From | class NSScriptExecutionContext : NSObject {
class func sharedScriptExecutionContext() -> NSScriptExecutionContext
var topLevelObject: AnyObject?
var objectBeingTested: AnyObject?
var rangeContainerObject: AnyObject?
} | -- |
To | class NSScriptExecutionContext : NSObject {
class func shared() -> NSScriptExecutionContext
var topLevelObject: Any?
var objectBeingTested: Any?
var rangeContainerObject: 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 NSScriptExecutionContext : CVarArg {
}
extension NSScriptExecutionContext : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var objectBeingTested: AnyObject? |
To | var objectBeingTested: Any? |
---|
| Declaration |
From | var rangeContainerObject: AnyObject? |
To | var rangeContainerObject: Any? |
---|
| Declaration |
From | class func sharedScriptExecutionContext() -> NSScriptExecutionContext |
To | class func shared() -> NSScriptExecutionContext |
---|
| Declaration |
From | var topLevelObject: AnyObject? |
To | var topLevelObject: Any? |
---|
| Declaration | Protocols |
From | class NSScriptObjectSpecifier : NSObject, NSCoding {
init?(descriptor descriptor: NSAppleEventDescriptor)
class func objectSpecifierWithDescriptor(_ descriptor: NSAppleEventDescriptor) -> NSScriptObjectSpecifier?
convenience init(containerSpecifier container: NSScriptObjectSpecifier, key property: String)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String)
init?(coder inCoder: NSCoder)
unowned(unsafe) var childSpecifier: NSScriptObjectSpecifier?
var containerSpecifier: NSScriptObjectSpecifier?
var containerIsObjectBeingTested: Bool
var containerIsRangeContainerObject: Bool
var key: String
var containerClassDescription: NSScriptClassDescription?
var keyClassDescription: NSScriptClassDescription? { get }
func indicesOfObjectsByEvaluatingWithContainer(_ container: AnyObject, count count: UnsafeMutablePointer<Int>) -> UnsafeMutablePointer<Int>
func objectsByEvaluatingWithContainers(_ containers: AnyObject) -> AnyObject?
var objectsByEvaluatingSpecifier: AnyObject? { get }
var evaluationErrorNumber: Int
var evaluationErrorSpecifier: NSScriptObjectSpecifier? { get }
@NSCopying var descriptor: NSAppleEventDescriptor? { get }
} | NSCoding |
To | class NSScriptObjectSpecifier : NSObject, NSCoding {
init?(descriptor descriptor: NSAppleEventDescriptor)
class func withDescriptor(_ descriptor: NSAppleEventDescriptor) -> NSScriptObjectSpecifier?
convenience init(containerSpecifier container: NSScriptObjectSpecifier, key property: String)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String)
init?(coder inCoder: NSCoder)
unowned(unsafe) var child: NSScriptObjectSpecifier?
var container: NSScriptObjectSpecifier?
var containerIsObjectBeingTested: Bool
var containerIsRangeContainerObject: Bool
var key: String
var containerClassDescription: NSScriptClassDescription?
var keyClassDescription: NSScriptClassDescription? { get }
func indicesOfObjectsByEvaluating(withContainer container: Any, count count: UnsafeMutablePointer<Int>) -> UnsafeMutablePointer<Int>?
func objectsByEvaluating(withContainers containers: Any) -> Any?
var objectsByEvaluatingSpecifier: Any? { get }
var evaluationErrorNumber: Int
var evaluationError: NSScriptObjectSpecifier? { get }
@NSCopying var descriptor: NSAppleEventDescriptor? { 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 NSScriptObjectSpecifier : CVarArg {
}
extension NSScriptObjectSpecifier : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
---|
| Declaration |
From | unowned(unsafe) var childSpecifier: NSScriptObjectSpecifier? |
To | unowned(unsafe) var child: NSScriptObjectSpecifier? |
---|
| Declaration |
From | var containerSpecifier: NSScriptObjectSpecifier? |
To | var container: NSScriptObjectSpecifier? |
---|
| Declaration |
From | var evaluationErrorSpecifier: NSScriptObjectSpecifier? { get } |
To | var evaluationError: NSScriptObjectSpecifier? { get } |
---|
| Declaration |
From | func indicesOfObjectsByEvaluatingWithContainer(_ container: AnyObject, count count: UnsafeMutablePointer<Int>) -> UnsafeMutablePointer<Int> |
To | func indicesOfObjectsByEvaluating(withContainer container: Any, count count: UnsafeMutablePointer<Int>) -> UnsafeMutablePointer<Int>? |
---|
| Declaration |
From | func objectsByEvaluatingWithContainers(_ containers: AnyObject) -> AnyObject? |
To | func objectsByEvaluating(withContainers containers: Any) -> Any? |
---|
| Declaration |
From | var objectsByEvaluatingSpecifier: AnyObject? { get } |
To | var objectsByEvaluatingSpecifier: Any? { get } |
---|
| Declaration | Protocols |
From | class NSScriptSuiteRegistry : NSObject {
class func sharedScriptSuiteRegistry() -> NSScriptSuiteRegistry
class func setSharedScriptSuiteRegistry(_ registry: NSScriptSuiteRegistry)
func loadSuitesFromBundle(_ bundle: NSBundle)
func loadSuiteWithDictionary(_ suiteDeclaration: [NSObject : AnyObject], fromBundle bundle: NSBundle)
func registerClassDescription(_ classDescription: NSScriptClassDescription)
func registerCommandDescription(_ commandDescription: NSScriptCommandDescription)
var suiteNames: [String] { get }
func appleEventCodeForSuite(_ suiteName: String) -> FourCharCode
func bundleForSuite(_ suiteName: String) -> NSBundle?
func classDescriptionsInSuite(_ suiteName: String) -> [String : NSScriptClassDescription]?
func commandDescriptionsInSuite(_ suiteName: String) -> [String : NSScriptCommandDescription]?
func suiteForAppleEventCode(_ appleEventCode: FourCharCode) -> String?
func classDescriptionWithAppleEventCode(_ appleEventCode: FourCharCode) -> NSScriptClassDescription?
func commandDescriptionWithAppleEventClass(_ appleEventClassCode: FourCharCode, andAppleEventCode appleEventIDCode: FourCharCode) -> NSScriptCommandDescription?
func aeteResource(_ languageName: String) -> NSData?
} | -- |
To | class NSScriptSuiteRegistry : NSObject {
class func shared() -> NSScriptSuiteRegistry
class func setShared(_ registry: NSScriptSuiteRegistry)
func loadSuites(from bundle: Bundle)
func loadSuite(with suiteDeclaration: [AnyHashable : Any], from bundle: Bundle)
func register(_ classDescription: NSScriptClassDescription)
func register(_ commandDescription: NSScriptCommandDescription)
var suiteNames: [String] { get }
func appleEventCode(forSuite suiteName: String) -> FourCharCode
func bundle(forSuite suiteName: String) -> Bundle?
func classDescriptions(inSuite suiteName: String) -> [String : NSScriptClassDescription]?
func commandDescriptions(inSuite suiteName: String) -> [String : NSScriptCommandDescription]?
func suite(forAppleEventCode appleEventCode: FourCharCode) -> String?
func classDescription(withAppleEventCode appleEventCode: FourCharCode) -> NSScriptClassDescription?
func commandDescription(withAppleEventClass appleEventClassCode: FourCharCode, andAppleEventCode appleEventIDCode: FourCharCode) -> NSScriptCommandDescription?
func aeteResource(_ languageName: String) -> Data?
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 NSScriptSuiteRegistry : CVarArg {
}
extension NSScriptSuiteRegistry : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func aeteResource(_ languageName: String) -> NSData? |
To | func aeteResource(_ languageName: String) -> Data? |
---|
| Declaration |
From | func appleEventCodeForSuite(_ suiteName: String) -> FourCharCode |
To | func appleEventCode(forSuite suiteName: String) -> FourCharCode |
---|
| Declaration |
From | func bundleForSuite(_ suiteName: String) -> NSBundle? |
To | func bundle(forSuite suiteName: String) -> Bundle? |
---|
| Declaration |
From | func classDescriptionWithAppleEventCode(_ appleEventCode: FourCharCode) -> NSScriptClassDescription? |
To | func classDescription(withAppleEventCode appleEventCode: FourCharCode) -> NSScriptClassDescription? |
---|
| Declaration |
From | func classDescriptionsInSuite(_ suiteName: String) -> [String : NSScriptClassDescription]? |
To | func classDescriptions(inSuite suiteName: String) -> [String : NSScriptClassDescription]? |
---|
| Declaration |
From | func commandDescriptionWithAppleEventClass(_ appleEventClassCode: FourCharCode, andAppleEventCode appleEventIDCode: FourCharCode) -> NSScriptCommandDescription? |
To | func commandDescription(withAppleEventClass appleEventClassCode: FourCharCode, andAppleEventCode appleEventIDCode: FourCharCode) -> NSScriptCommandDescription? |
---|
| Declaration |
From | func commandDescriptionsInSuite(_ suiteName: String) -> [String : NSScriptCommandDescription]? |
To | func commandDescriptions(inSuite suiteName: String) -> [String : NSScriptCommandDescription]? |
---|
| Declaration |
From | func loadSuiteWithDictionary(_ suiteDeclaration: [NSObject : AnyObject], fromBundle bundle: NSBundle) |
To | func loadSuite(with suiteDeclaration: [AnyHashable : Any], from bundle: Bundle) |
---|
| Declaration |
From | func loadSuitesFromBundle(_ bundle: NSBundle) |
To | func loadSuites(from bundle: Bundle) |
---|
| Declaration |
From | func registerClassDescription(_ classDescription: NSScriptClassDescription) |
To | func register(_ classDescription: NSScriptClassDescription) |
---|
| Declaration |
From | func registerCommandDescription(_ commandDescription: NSScriptCommandDescription) |
To | func register(_ commandDescription: NSScriptCommandDescription) |
---|
| Declaration |
From | class func setSharedScriptSuiteRegistry(_ registry: NSScriptSuiteRegistry) |
To | class func setShared(_ registry: NSScriptSuiteRegistry) |
---|
| Declaration |
From | class func sharedScriptSuiteRegistry() -> NSScriptSuiteRegistry |
To | class func shared() -> NSScriptSuiteRegistry |
---|
| Declaration |
From | func suiteForAppleEventCode(_ appleEventCode: FourCharCode) -> String? |
To | func suite(forAppleEventCode appleEventCode: FourCharCode) -> String? |
---|
| Declaration | Protocols |
From | class NSScriptWhoseTest : NSObject, NSCoding {
func isTrue() -> Bool
init()
init?(coder inCoder: NSCoder)
} | NSCoding |
To | class NSScriptWhoseTest : NSObject, NSCoding {
func isTrue() -> Bool
init()
init?(coder inCoder: NSCoder)
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 NSScriptWhoseTest : CVarArg {
}
extension NSScriptWhoseTest : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
---|
| Declaration |
From | protocol NSSecureCoding : NSCoding {
static func supportsSecureCoding() -> Bool
} |
To | protocol NSSecureCoding : NSCoding {
static var supportsSecureCoding: Bool { get }
} |
---|
| Declaration | Protocols |
From | class NSSet : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func member(_ object: AnyObject) -> AnyObject?
func objectEnumerator() -> NSEnumerator
init()
init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int)
init?(coder aDecoder: NSCoder)
}
extension NSSet {
convenience init(collectionViewIndexPath indexPath: NSIndexPath)
class func setWithCollectionViewIndexPath(_ indexPath: NSIndexPath) -> Self
convenience init(collectionViewIndexPaths indexPaths: [NSIndexPath])
class func setWithCollectionViewIndexPaths(_ indexPaths: [NSIndexPath]) -> Self
func enumerateIndexPathsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (NSIndexPath, UnsafeMutablePointer<ObjCBool>) -> Void)
}
extension NSSet {
func valueForKey(_ key: String) -> AnyObject
func setValue(_ value: AnyObject?, forKey key: String)
}
extension NSSet {
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
}
extension NSSet {
func filteredSetUsingPredicate(_ predicate: NSPredicate) -> Set<NSObject>
}
extension NSSet : SequenceType {
func generate() -> NSFastGenerator
}
extension NSSet {
convenience init(objects elements: AnyObject...)
}
extension NSSet : ArrayLiteralConvertible {
required convenience init(arrayLiteral elements: AnyObject...)
}
extension NSSet {
@objc(_swiftInitWithSet_NSSet:) convenience init(set anSet: NSSet)
}
extension NSSet : _Reflectable {
}
extension NSSet {
var allObjects: [AnyObject] { get }
func anyObject() -> AnyObject?
func containsObject(_ anObject: AnyObject) -> Bool
var description: String { get }
func descriptionWithLocale(_ locale: AnyObject?) -> String
func intersectsSet(_ otherSet: Set<NSObject>) -> Bool
func isEqualToSet(_ otherSet: Set<NSObject>) -> Bool
func isSubsetOfSet(_ otherSet: Set<NSObject>) -> Bool
func makeObjectsPerformSelector(_ aSelector: Selector)
func makeObjectsPerformSelector(_ aSelector: Selector, withObject argument: AnyObject?)
func setByAddingObject(_ anObject: AnyObject) -> Set<NSObject>
func setByAddingObjectsFromSet(_ other: Set<NSObject>) -> Set<NSObject>
func setByAddingObjectsFromArray(_ other: [AnyObject]) -> Set<NSObject>
func enumerateObjectsUsingBlock(_ block: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void)
func objectsPassingTest(_ predicate: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject>
func objectsWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject>
}
extension NSSet {
class func set() -> Self
convenience init(object object: AnyObject)
class func setWithObject(_ object: AnyObject) -> Self
class func setWithObjects(_ objects: UnsafePointer<AnyObject?>, count cnt: Int) -> Self
convenience init(set set: Set<NSObject>)
class func setWithSet(_ set: Set<NSObject>) -> Self
convenience init(array array: [AnyObject])
class func setWithArray(_ array: [AnyObject]) -> Self
convenience init(set set: Set<NSObject>)
convenience init(set set: Set<NSObject>, copyItems flag: Bool)
convenience init(array array: [AnyObject])
}
extension NSSet {
func sortedArrayUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) -> [AnyObject]
}
extension NSSet : _Reflectable {
}
extension NSSet {
@objc(_swiftInitWithSet_NSSet:) convenience init(set anSet: NSSet)
}
extension NSSet : ArrayLiteralConvertible {
required convenience init(arrayLiteral elements: AnyObject...)
}
extension NSSet {
convenience init(objects elements: AnyObject...)
}
extension NSSet : SequenceType {
func generate() -> NSFastGenerator
} | ArrayLiteralConvertible, NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding, SequenceType |
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...)
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 }
} | CVarArg, CustomReflectable, Equatable, ExpressibleByArrayLiteral, Hashable, NSCopying, NSFastEnumeration, NSMutableCopying, NSSecureCoding, Sequence |
---|
| Declaration |
From | func setByAddingObject(_ anObject: AnyObject) -> Set<NSObject> |
To | func adding(_ anObject: Any) -> Set<AnyHashable> |
---|
| Declaration |
From | func setByAddingObjectsFromSet(_ other: Set<NSObject>) -> Set<NSObject> |
To | func addingObjects(from other: Set<AnyHashable>) -> Set<AnyHashable> |
---|
| Declaration |
From | func setByAddingObjectsFromArray(_ other: [AnyObject]) -> Set<NSObject> |
To | func addingObjects(from other: [Any]) -> Set<AnyHashable> |
---|
| Declaration |
From | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions, context context: UnsafeMutablePointer<Void>) |
To | func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | var allObjects: [AnyObject] { get } |
To | var allObjects: [Any] { get } |
---|
| Declaration |
From | func anyObject() -> AnyObject? |
To | func anyObject() -> Any? |
---|
| Declaration |
From | func containsObject(_ anObject: AnyObject) -> Bool |
To | func contains(_ anObject: Any) -> Bool |
---|
| Declaration |
From | func descriptionWithLocale(_ locale: AnyObject?) -> String |
To | func description(withLocale locale: Any?) -> String |
---|
| Declaration |
From | func enumerateObjectsUsingBlock(_ block: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateObjectsWithOptions(_ opts: NSEnumerationOptions, usingBlock block: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func filteredSetUsingPredicate(_ predicate: NSPredicate) -> Set<NSObject> |
To | func filtered(using predicate: NSPredicate) -> Set<AnyHashable> |
---|
| Declaration |
From | convenience init(array array: [AnyObject]) |
To | convenience init(array array: [Any]) |
---|
| Declaration |
From | convenience init(object object: AnyObject) |
To | convenience init(object object: Any) |
---|
| Declaration |
From | init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int) |
To | init(objects objects: UnsafePointer<AnyObject>!, count cnt: Int) |
---|
| Declaration |
From | @objc(_swiftInitWithSet_NSSet:) convenience init(set anSet: NSSet) |
To | @nonobjc convenience init(set anSet: NSSet) |
---|
| Declaration |
From | convenience init(set set: Set<NSObject>) |
To | convenience init(set set: Set<AnyHashable>) |
---|
| Declaration |
From | convenience init(set set: Set<NSObject>, copyItems flag: Bool) |
To | convenience init(set set: Set<AnyHashable>, copyItems flag: Bool) |
---|
| Declaration |
From | func intersectsSet(_ otherSet: Set<NSObject>) -> Bool |
To | func intersects(_ otherSet: Set<AnyHashable>) -> Bool |
---|
| Declaration |
From | func isEqualToSet(_ otherSet: Set<NSObject>) -> Bool |
To | func isEqual(to otherSet: Set<AnyHashable>) -> Bool |
---|
| Declaration |
From | func isSubsetOfSet(_ otherSet: Set<NSObject>) -> Bool |
To | func isSubset(of otherSet: Set<AnyHashable>) -> Bool |
---|
| Declaration |
From | func member(_ object: AnyObject) -> AnyObject? |
To | func member(_ object: Any) -> Any? |
---|
| Declaration |
From | func objectsWithOptions(_ opts: NSEnumerationOptions, passingTest predicate: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject> |
To | func objects(options opts: NSEnumerationOptions = [], passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> |
---|
| Declaration |
From | func objectsPassingTest(_ predicate: (AnyObject, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<NSObject> |
To | func objects(passingTest predicate: (Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable> |
---|
| Declaration |
From | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutablePointer<Void>) |
To | func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) |
---|
| Declaration |
From | func setValue(_ value: AnyObject?, forKey key: String) |
To | func setValue(_ value: Any?, forKey key: String) |
---|
| Declaration |
From | func sortedArrayUsingDescriptors(_ sortDescriptors: [NSSortDescriptor]) -> [AnyObject] |
To | func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] |
---|
| Declaration |
From | func valueForKey(_ key: String) -> AnyObject |
To | func value(forKey key: String) -> Any |
---|
Modified NSSimpleCString
| Declaration | Protocols |
From | class NSSimpleCString : NSString {
} | -- |
To | class NSSimpleCString : NSString {
convenience init(format format: NSString, _ args: CVarArg...)
convenience init(format format: NSString, locale locale: Locale?, _ args: CVarArg...)
class func localizedStringWithFormat(_ format: NSString, _ args: CVarArg...) -> Self
func appendingFormat(_ format: NSString, _ args: CVarArg...) -> NSString
@nonobjc convenience init(string aString: NSString)
func linguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String]
func enumerateLinguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, using block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func addingPercentEncoding(withAllowedCharacters allowedCharacters: CharacterSet) -> String?
var removingPercentEncoding: String? { get }
func addingPercentEscapes(using enc: UInt) -> String?
func replacingPercentEscapes(using enc: UInt) -> String?
class func path(withComponents components: [String]) -> String
var pathComponents: [String] { get }
var isAbsolutePath: Bool { get }
var lastPathComponent: String { get }
var deletingLastPathComponent: String { get }
func appendingPathComponent(_ str: String) -> String
var pathExtension: String { get }
var deletingPathExtension: String { get }
func appendingPathExtension(_ str: String) -> String?
var abbreviatingWithTildeInPath: String { get }
var expandingTildeInPath: String { get }
var standardizingPath: String { get }
var resolvingSymlinksInPath: String { get }
func strings(byAppendingPaths paths: [String]) -> [String]
func completePath(into outputName: AutoreleasingUnsafeMutablePointer<NSString?>?, caseSensitive flag: Bool, matchesInto outputArray: AutoreleasingUnsafeMutablePointer<NSArray?>?, filterTypes filterTypes: [String]?) -> Int
var fileSystemRepresentation: UnsafePointer<Int8> { get }
func getFileSystemRepresentation(_ cname: UnsafeMutablePointer<Int8>, maxLength max: Int) -> Bool
func variantFittingPresentationWidth(_ width: Int) -> String
func cString() -> UnsafePointer<Int8>?
func lossyCString() -> UnsafePointer<Int8>?
func cStringLength() -> Int
func getCString(_ bytes: UnsafeMutablePointer<Int8>)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int, range aRange: NSRange, remaining leftoverRange: NSRangePointer?)
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
class func string(withContentsOfFile path: String) -> Any?
class func string(withContentsOf url: URL) -> Any?
convenience init?(cStringNoCopy bytes: UnsafeMutablePointer<Int8>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init?(cString bytes: UnsafePointer<Int8>, length length: Int)
convenience init?(cString bytes: UnsafePointer<Int8>)
class func string(withCString bytes: UnsafePointer<Int8>, length length: Int) -> Any?
class func string(withCString bytes: UnsafePointer<Int8>) -> Any?
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>)
func propertyList() -> Any
func propertyListFromStringsFileFormat() -> [AnyHashable : Any]?
class func stringEncoding(for data: Data, encodingOptions opts: [StringEncodingDetectionOptionsKey : Any]? = nil, convertedString string: AutoreleasingUnsafeMutablePointer<NSString?>?, usedLossyConversion usedLossyConversion: UnsafeMutablePointer<ObjCBool>?) -> UInt
func substring(from from: Int) -> String
func substring(to to: Int) -> String
func substring(with range: NSRange) -> String
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>, range range: NSRange)
func compare(_ string: String) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = []) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange, locale locale: Any?) -> ComparisonResult
func caseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedCompare(_ string: String) -> ComparisonResult
func localizedCaseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedStandardCompare(_ string: String) -> ComparisonResult
func isEqual(to aString: String) -> Bool
func hasPrefix(_ str: String) -> Bool
func hasSuffix(_ str: String) -> Bool
func commonPrefix(with str: String, options mask: NSString.CompareOptions = []) -> String
func contains(_ str: String) -> Bool
func localizedCaseInsensitiveContains(_ str: String) -> Bool
func localizedStandardContains(_ str: String) -> Bool
func localizedStandardRange(of str: String) -> NSRange
func range(of searchString: String) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = []) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange, locale locale: Locale?) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = []) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func rangeOfComposedCharacterSequence(at index: Int) -> NSRange
func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRange
func appending(_ aString: String) -> String
var doubleValue: Double { get }
var floatValue: Float { get }
var intValue: Int32 { get }
var integerValue: Int { get }
var longLongValue: Int64 { get }
var boolValue: Bool { get }
var uppercased: String { get }
var lowercased: String { get }
var capitalized: String { get }
var localizedUppercase: String { get }
var localizedLowercase: String { get }
var localizedCapitalized: String { get }
func uppercased(with locale: Locale?) -> String
func lowercased(with locale: Locale?) -> String
func capitalized(with locale: Locale?) -> String
func getLineStart(_ startPtr: UnsafeMutablePointer<Int>?, end lineEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func lineRange(for range: NSRange) -> NSRange
func getParagraphStart(_ startPtr: UnsafeMutablePointer<Int>?, end parEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func paragraphRange(for range: NSRange) -> NSRange
func enumerateSubstrings(in range: NSRange, options opts: NSString.EnumerationOptions = [], using block: @escaping (String?, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateLines(_ block: @escaping (String, UnsafeMutablePointer<ObjCBool>) -> Void)
var utf8String: UnsafePointer<Int8>? { get }
var fastestEncoding: UInt { get }
var smallestEncoding: UInt { get }
func data(using encoding: UInt, allowLossyConversion lossy: Bool) -> Data?
func data(using encoding: UInt) -> Data?
func canBeConverted(to encoding: UInt) -> Bool
func cString(using encoding: UInt) -> UnsafePointer<Int8>?
func getCString(_ buffer: UnsafeMutablePointer<Int8>, maxLength maxBufferCount: Int, encoding encoding: UInt) -> Bool
func getBytes(_ buffer: UnsafeMutableRawPointer?, maxLength maxBufferCount: Int, usedLength usedBufferCount: UnsafeMutablePointer<Int>?, encoding encoding: UInt, options options: NSString.EncodingConversionOptions = [], range range: NSRange, remaining leftover: NSRangePointer?) -> Bool
func maximumLengthOfBytes(using enc: UInt) -> Int
func lengthOfBytes(using enc: UInt) -> Int
class var availableStringEncodings: UnsafePointer<UInt> { get }
class func localizedName(of encoding: UInt) -> String
class var defaultCStringEncoding: UInt { get }
var decomposedStringWithCanonicalMapping: String { get }
var precomposedStringWithCanonicalMapping: String { get }
var decomposedStringWithCompatibilityMapping: String { get }
var precomposedStringWithCompatibilityMapping: String { get }
func components(separatedBy separator: String) -> [String]
func components(separatedBy separator: CharacterSet) -> [String]
func trimmingCharacters(in set: CharacterSet) -> String
func padding(toLength newLength: Int, withPad padString: String, startingAt padIndex: Int) -> String
func folding(options options: NSString.CompareOptions = [], locale locale: Locale?) -> String
func replacingOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> String
func replacingOccurrences(of target: String, with replacement: String) -> String
func replacingCharacters(in range: NSRange, with replacement: String) -> String
func applyingTransform(_ transform: StringTransform, reverse reverse: Bool) -> String?
func write(to url: URL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
func write(toFile path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
var description: String { get }
var hash: Int { get }
convenience init(charactersNoCopy characters: UnsafeMutablePointer<unichar>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init(characters characters: UnsafePointer<unichar>, length length: Int)
convenience init?(utf8String nullTerminatedCString: UnsafePointer<Int8>)
convenience init(string aString: String)
convenience init(format format: String, arguments argList: CVaListPointer)
convenience init(format format: String, locale locale: Any?, arguments argList: CVaListPointer)
convenience init?(data data: Data, encoding encoding: UInt)
convenience init?(bytes bytes: UnsafeRawPointer, length len: Int, encoding encoding: UInt)
convenience init?(bytesNoCopy bytes: UnsafeMutableRawPointer, length len: Int, encoding encoding: UInt, freeWhenDone freeBuffer: Bool)
class func string() -> Self
class func withString(_ string: String) -> Self
class func withCharacters(_ characters: UnsafePointer<unichar>, length length: Int) -> Self
class func withUTF8String(_ nullTerminatedCString: UnsafePointer<Int8>) -> Self?
convenience init?(cString nullTerminatedCString: UnsafePointer<Int8>, encoding encoding: UInt)
class func withCString(_ cString: UnsafePointer<Int8>, encoding enc: UInt) -> Self?
convenience init(contentsOf url: URL, encoding enc: UInt) throws
convenience init(contentsOfFile path: String, encoding enc: UInt) throws
class func withContentsOf(_ url: URL, encoding enc: UInt) throws -> Self
class func withContentsOfFile(_ path: String, encoding enc: UInt) throws -> Self
convenience init(contentsOf url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
convenience init(contentsOfFile path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
class func withContentsOf(_ url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
class func withContentsOfFile(_ path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
struct CompareOptions : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSString.CompareOptions { get }
static var literal: NSString.CompareOptions { get }
static var backwards: NSString.CompareOptions { get }
static var anchored: NSString.CompareOptions { get }
static var numeric: NSString.CompareOptions { get }
static var diacriticInsensitive: NSString.CompareOptions { get }
static var widthInsensitive: NSString.CompareOptions { get }
static var forcedOrdering: NSString.CompareOptions { get }
static var regularExpression: NSString.CompareOptions { get }
}
struct EncodingConversionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var allowLossy: NSString.EncodingConversionOptions { get }
static var externalRepresentation: NSString.EncodingConversionOptions { get }
}
struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byLines: NSString.EnumerationOptions { get }
static var byParagraphs: NSString.EnumerationOptions { get }
static var byComposedCharacterSequences: NSString.EnumerationOptions { get }
static var byWords: NSString.EnumerationOptions { get }
static var bySentences: NSString.EnumerationOptions { get }
static var reverse: NSString.EnumerationOptions { get }
static var substringNotRequired: NSString.EnumerationOptions { get }
static var localized: NSString.EnumerationOptions { 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 NSSimpleCString : ExpressibleByStringLiteral {
required convenience init(unicodeScalarLiteral value: StaticString)
required convenience init(extendedGraphemeClusterLiteral value: StaticString)
required convenience init(stringLiteral value: StaticString)
}
extension NSSimpleCString : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
}
extension NSSimpleCString : CVarArg {
}
extension NSSimpleCString : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, CustomPlaygroundQuickLookable, Equatable, ExpressibleByStringLiteral, Hashable |
---|
| Declaration | Protocols |
From | class NSSortDescriptor : NSObject, NSSecureCoding, NSCopying {
convenience init(key key: String?, ascending ascending: Bool)
class func sortDescriptorWithKey(_ key: String?, ascending ascending: Bool) -> Self
convenience init(key key: String?, ascending ascending: Bool, selector selector: Selector)
class func sortDescriptorWithKey(_ 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: NSComparator)
class func sortDescriptorWithKey(_ key: String?, ascending ascending: Bool, comparator cmptr: NSComparator) -> Self
init(key key: String?, ascending ascending: Bool, comparator cmptr: NSComparator)
var comparator: NSComparator { get }
func compareObject(_ object1: AnyObject, toObject object2: AnyObject) -> NSComparisonResult
var reversedSortDescriptor: AnyObject { get }
} | NSCopying, NSSecureCoding |
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: 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 }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var comparator: NSComparator { get } |
To | var comparator: Foundation.Comparator { get } |
---|
| Declaration |
From | func compareObject(_ object1: AnyObject, toObject object2: AnyObject) -> NSComparisonResult |
To | func compare(_ object1: Any, to object2: Any) -> ComparisonResult |
---|
| Declaration |
From | init(key key: String?, ascending ascending: Bool, comparator cmptr: NSComparator) |
To | init(key key: String?, ascending ascending: Bool, comparator cmptr: Foundation.Comparator) |
---|
| Declaration |
From | init(key key: String?, ascending ascending: Bool, selector selector: Selector) |
To | init(key key: String?, ascending ascending: Bool, selector selector: Selector?) |
---|
| Declaration |
From | var reversedSortDescriptor: AnyObject { get } |
To | var reversedSortDescriptor: Any { get } |
---|
| Declaration |
From | var selector: Selector { get } |
To | var selector: Selector? { get } |
---|
| Declaration | Protocols |
From | struct NSSortOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Concurrent: NSSortOptions { get }
static var Stable: NSSortOptions { get }
} | OptionSetType |
To | struct NSSortOptions : OptionSet {
init(rawValue rawValue: UInt)
static var concurrent: NSSortOptions { get }
static var stable: NSSortOptions { get }
func intersect(_ other: NSSortOptions) -> NSSortOptions
func exclusiveOr(_ other: NSSortOptions) -> NSSortOptions
mutating func unionInPlace(_ other: NSSortOptions)
mutating func intersectInPlace(_ other: NSSortOptions)
mutating func exclusiveOrInPlace(_ other: NSSortOptions)
func isSubsetOf(_ other: NSSortOptions) -> Bool
func isDisjointWith(_ other: NSSortOptions) -> Bool
func isSupersetOf(_ other: NSSortOptions) -> Bool
mutating func subtractInPlace(_ other: NSSortOptions)
func isStrictSupersetOf(_ other: NSSortOptions) -> Bool
func isStrictSubsetOf(_ other: NSSortOptions) -> Bool
}
extension NSSortOptions {
func union(_ other: NSSortOptions) -> NSSortOptions
func intersection(_ other: NSSortOptions) -> NSSortOptions
func symmetricDifference(_ other: NSSortOptions) -> NSSortOptions
}
extension NSSortOptions {
func contains(_ member: NSSortOptions) -> Bool
mutating func insert(_ newMember: NSSortOptions) -> (inserted: Bool, memberAfterInsert: NSSortOptions)
mutating func remove(_ member: NSSortOptions) -> NSSortOptions?
mutating func update(with newMember: NSSortOptions) -> NSSortOptions?
}
extension NSSortOptions {
convenience init()
mutating func formUnion(_ other: NSSortOptions)
mutating func formIntersection(_ other: NSSortOptions)
mutating func formSymmetricDifference(_ other: NSSortOptions)
}
extension NSSortOptions {
convenience init<S : Sequence where S.Iterator.Element == NSSortOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSSortOptions...)
mutating func subtract(_ other: NSSortOptions)
func isSubset(of other: NSSortOptions) -> Bool
func isSuperset(of other: NSSortOptions) -> Bool
func isDisjoint(with other: NSSortOptions) -> Bool
func subtracting(_ other: NSSortOptions) -> NSSortOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSSortOptions) -> Bool
func isStrictSubset(of other: NSSortOptions) -> Bool
} | OptionSet |
---|
| Declaration |
From | static var Concurrent: NSSortOptions { get } |
To | static var concurrent: NSSortOptions { get } |
---|
| Declaration |
From | static var Stable: NSSortOptions { get } |
To | static var stable: NSSortOptions { get } |
---|
| Declaration |
From | class NSSpecifierTest : NSScriptWhoseTest {
convenience init()
init?(coder inCoder: NSCoder)
init(objectSpecifier obj1: NSScriptObjectSpecifier?, comparisonOperator compOp: NSTestComparisonOperation, testObject obj2: AnyObject?)
} |
To | class NSSpecifierTest : NSScriptWhoseTest {
convenience init()
init?(coder inCoder: NSCoder)
init(objectSpecifier obj1: NSScriptObjectSpecifier?, comparisonOperator compOp: NSSpecifierTest.TestComparisonOperation, test obj2: Any?)
enum TestComparisonOperation : UInt {
case equal
case lessThanOrEqual
case lessThan
case greaterThanOrEqual
case greaterThan
case beginsWith
case endsWith
case contains
}
}
extension NSSpecifierTest {
enum TestComparisonOperation : UInt {
case equal
case lessThanOrEqual
case lessThan
case greaterThanOrEqual
case greaterThan
case beginsWith
case endsWith
case contains
}
} |
---|
| Declaration |
From | init(objectSpecifier obj1: NSScriptObjectSpecifier?, comparisonOperator compOp: NSTestComparisonOperation, testObject obj2: AnyObject?) |
To | init(objectSpecifier obj1: NSScriptObjectSpecifier?, comparisonOperator compOp: NSSpecifierTest.TestComparisonOperation, test obj2: Any?) |
---|
| Declaration |
From | enum NSTestComparisonOperation : UInt {
case EqualToComparison
case LessThanOrEqualToComparison
case LessThanComparison
case GreaterThanOrEqualToComparison
case GreaterThanComparison
case BeginsWithComparison
case EndsWithComparison
case ContainsComparison
} |
To | enum TestComparisonOperation : UInt {
case equal
case lessThanOrEqual
case lessThan
case greaterThanOrEqual
case greaterThan
case beginsWith
case endsWith
case contains
} |
---|
| Name | Declaration |
From | BeginsWithComparison | case BeginsWithComparison |
To | beginsWith | case beginsWith |
---|
| Name | Declaration |
From | ContainsComparison | case ContainsComparison |
To | contains | case contains |
---|
| Name | Declaration |
From | EndsWithComparison | case EndsWithComparison |
To | endsWith | case endsWith |
---|
| Name | Declaration |
From | EqualToComparison | case EqualToComparison |
To | equal | case equal |
---|
| Name | Declaration |
From | GreaterThanComparison | case GreaterThanComparison |
To | greaterThan | case greaterThan |
---|
| Name | Declaration |
From | GreaterThanOrEqualToComparison | case GreaterThanOrEqualToComparison |
To | greaterThanOrEqual | case greaterThanOrEqual |
---|
| Name | Declaration |
From | LessThanComparison | case LessThanComparison |
To | lessThan | case lessThan |
---|
| Name | Declaration |
From | LessThanOrEqualToComparison | case LessThanOrEqualToComparison |
To | lessThanOrEqual | case lessThanOrEqual |
---|
| Declaration | Protocols |
From | class NSSpellServer : NSObject {
unowned(unsafe) var delegate: NSSpellServerDelegate?
func registerLanguage(_ language: String?, byVendor vendor: String?) -> Bool
func isWordInUserDictionaries(_ word: String, caseSensitive flag: Bool) -> Bool
func run()
} | -- |
To | class NSSpellServer : NSObject {
unowned(unsafe) var delegate: NSSpellServerDelegate?
func registerLanguage(_ language: String?, byVendor vendor: String?) -> Bool
func isWord(inUserDictionaries word: String, caseSensitive flag: Bool) -> Bool
func run()
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 NSSpellServer : CVarArg {
}
extension NSSpellServer : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func isWordInUserDictionaries(_ word: String, caseSensitive flag: Bool) -> Bool |
To | func isWord(inUserDictionaries word: String, caseSensitive flag: Bool) -> Bool |
---|
| Declaration |
From | protocol NSSpellServerDelegate : NSObjectProtocol {
optional func spellServer(_ sender: NSSpellServer, findMisspelledWordInString stringToCheck: String, language language: String, wordCount wordCount: UnsafeMutablePointer<Int>, countOnly countOnly: Bool) -> NSRange
optional func spellServer(_ sender: NSSpellServer, suggestGuessesForWord word: String, inLanguage language: String) -> [String]?
optional func spellServer(_ sender: NSSpellServer, didLearnWord word: String, inLanguage language: String)
optional func spellServer(_ sender: NSSpellServer, didForgetWord word: String, inLanguage language: String)
optional func spellServer(_ sender: NSSpellServer, suggestCompletionsForPartialWordRange range: NSRange, inString string: String, language language: String) -> [String]?
optional func spellServer(_ sender: NSSpellServer, checkGrammarInString stringToCheck: String, language language: String?, details details: AutoreleasingUnsafeMutablePointer<NSArray?>) -> NSRange
optional func spellServer(_ sender: NSSpellServer, checkString stringToCheck: String, offset offset: Int, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]?, orthography orthography: NSOrthography?, wordCount wordCount: UnsafeMutablePointer<Int>) -> [NSTextCheckingResult]?
optional func spellServer(_ sender: NSSpellServer, recordResponse response: Int, toCorrection correction: String, forWord word: String, language language: String)
} |
To | protocol NSSpellServerDelegate : NSObjectProtocol {
optional func spellServer(_ sender: NSSpellServer, findMisspelledWordIn stringToCheck: String, language language: String, wordCount wordCount: UnsafeMutablePointer<Int>, countOnly countOnly: Bool) -> NSRange
optional func spellServer(_ sender: NSSpellServer, suggestGuessesForWord word: String, inLanguage language: String) -> [String]?
optional func spellServer(_ sender: NSSpellServer, didLearnWord word: String, inLanguage language: String)
optional func spellServer(_ sender: NSSpellServer, didForgetWord word: String, inLanguage language: String)
optional func spellServer(_ sender: NSSpellServer, suggestCompletionsForPartialWordRange range: NSRange, in string: String, language language: String) -> [String]?
optional func spellServer(_ sender: NSSpellServer, checkGrammarIn stringToCheck: String, language language: String?, details details: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> NSRange
optional func spellServer(_ sender: NSSpellServer, check stringToCheck: String, offset offset: Int, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, orthography orthography: NSOrthography?, wordCount wordCount: UnsafeMutablePointer<Int>) -> [NSTextCheckingResult]?
optional func spellServer(_ sender: NSSpellServer, recordResponse response: Int, toCorrection correction: String, forWord word: String, language language: String)
} |
---|
| Declaration |
From | optional func spellServer(_ sender: NSSpellServer, checkString stringToCheck: String, offset offset: Int, types checkingTypes: NSTextCheckingTypes, options options: [String : AnyObject]?, orthography orthography: NSOrthography?, wordCount wordCount: UnsafeMutablePointer<Int>) -> [NSTextCheckingResult]? |
To | optional func spellServer(_ sender: NSSpellServer, check stringToCheck: String, offset offset: Int, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, orthography orthography: NSOrthography?, wordCount wordCount: UnsafeMutablePointer<Int>) -> [NSTextCheckingResult]? |
---|
| Declaration |
From | optional func spellServer(_ sender: NSSpellServer, checkGrammarInString stringToCheck: String, language language: String?, details details: AutoreleasingUnsafeMutablePointer<NSArray?>) -> NSRange |
To | optional func spellServer(_ sender: NSSpellServer, checkGrammarIn stringToCheck: String, language language: String?, details details: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> NSRange |
---|
| Declaration |
From | optional func spellServer(_ sender: NSSpellServer, findMisspelledWordInString stringToCheck: String, language language: String, wordCount wordCount: UnsafeMutablePointer<Int>, countOnly countOnly: Bool) -> NSRange |
To | optional func spellServer(_ sender: NSSpellServer, findMisspelledWordIn stringToCheck: String, language language: String, wordCount wordCount: UnsafeMutablePointer<Int>, countOnly countOnly: Bool) -> NSRange |
---|
| Declaration |
From | optional func spellServer(_ sender: NSSpellServer, suggestCompletionsForPartialWordRange range: NSRange, inString string: String, language language: String) -> [String]? |
To | optional func spellServer(_ sender: NSSpellServer, suggestCompletionsForPartialWordRange range: NSRange, in string: String, language language: String) -> [String]? |
---|
| Declaration | Protocols |
From | class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
var length: Int { get }
func characterAtIndex(_ index: Int) -> unichar
init()
init?(coder aDecoder: NSCoder)
}
extension NSString : NSPasteboardWriting, NSPasteboardReading {
}
extension NSString {
func sizeWithAttributes(_ attrs: [String : AnyObject]?) -> NSSize
func drawAtPoint(_ point: NSPoint, withAttributes attrs: [String : AnyObject]?)
func drawInRect(_ rect: NSRect, withAttributes attrs: [String : AnyObject]?)
}
extension NSString {
func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?)
func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?) -> NSRect
}
extension NSString {
func drawWithRect(_ rect: NSRect, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?)
func boundingRectWithSize(_ size: NSSize, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?) -> NSRect
}
extension NSString : CKRecordValue {
}
extension NSString : CNKeyDescriptor {
}
extension NSString {
func variantFittingPresentationWidth(_ width: Int) -> String
}
extension NSString {
func linguisticTagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, orthography orthography: NSOrthography?, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>) -> [String]
func enumerateLinguisticTagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, orthography orthography: NSOrthography?, usingBlock block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
}
extension NSString {
class func pathWithComponents(_ components: [String]) -> String
var pathComponents: [String] { get }
var absolutePath: Bool { get }
var lastPathComponent: String { get }
var stringByDeletingLastPathComponent: String { get }
func stringByAppendingPathComponent(_ str: String) -> String
var pathExtension: String { get }
var stringByDeletingPathExtension: String { get }
func stringByAppendingPathExtension(_ str: String) -> String?
var stringByAbbreviatingWithTildeInPath: String { get }
var stringByExpandingTildeInPath: String { get }
var stringByStandardizingPath: String { get }
var stringByResolvingSymlinksInPath: String { get }
func stringsByAppendingPaths(_ paths: [String]) -> [String]
func completePathIntoString(_ outputName: AutoreleasingUnsafeMutablePointer<NSString?>, caseSensitive flag: Bool, matchesIntoArray outputArray: AutoreleasingUnsafeMutablePointer<NSArray?>, filterTypes filterTypes: [String]?) -> Int
var fileSystemRepresentation: UnsafePointer<Int8> { get }
func getFileSystemRepresentation(_ cname: UnsafeMutablePointer<Int8>, maxLength max: Int) -> Bool
}
extension NSString : StringLiteralConvertible {
required convenience init(unicodeScalarLiteral value: StaticString)
required convenience init(extendedGraphemeClusterLiteral value: StaticString)
required convenience init(stringLiteral value: StaticString)
}
extension NSString {
convenience init(format format: NSString, _ args: CVarArgType...)
convenience init(format format: NSString, locale locale: NSLocale?, _ args: CVarArgType...)
@warn_unused_result
class func localizedStringWithFormat(_ format: NSString, _ args: CVarArgType...) -> Self
@warn_unused_result
func stringByAppendingFormat(_ format: NSString, _ args: CVarArgType...) -> NSString
}
extension NSString {
@objc(_swiftInitWithString_NSString:) convenience init(string aString: NSString)
}
extension NSString : _Reflectable {
}
extension NSString {
func substringFromIndex(_ from: Int) -> String
func substringToIndex(_ to: Int) -> String
func substringWithRange(_ range: NSRange) -> String
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>, range range: NSRange)
func compare(_ string: String) -> NSComparisonResult
func compare(_ string: String, options mask: NSStringCompareOptions) -> NSComparisonResult
func compare(_ string: String, options mask: NSStringCompareOptions, range compareRange: NSRange) -> NSComparisonResult
func compare(_ string: String, options mask: NSStringCompareOptions, range compareRange: NSRange, locale locale: AnyObject?) -> NSComparisonResult
func caseInsensitiveCompare(_ string: String) -> NSComparisonResult
func localizedCompare(_ string: String) -> NSComparisonResult
func localizedCaseInsensitiveCompare(_ string: String) -> NSComparisonResult
func localizedStandardCompare(_ string: String) -> NSComparisonResult
func isEqualToString(_ aString: String) -> Bool
func hasPrefix(_ str: String) -> Bool
func hasSuffix(_ str: String) -> Bool
func commonPrefixWithString(_ str: String, options mask: NSStringCompareOptions) -> String
func containsString(_ str: String) -> Bool
func localizedCaseInsensitiveContainsString(_ str: String) -> Bool
func localizedStandardContainsString(_ str: String) -> Bool
func localizedStandardRangeOfString(_ str: String) -> NSRange
func rangeOfString(_ searchString: String) -> NSRange
func rangeOfString(_ searchString: String, options mask: NSStringCompareOptions) -> NSRange
func rangeOfString(_ searchString: String, options mask: NSStringCompareOptions, range searchRange: NSRange) -> NSRange
func rangeOfString(_ searchString: String, options mask: NSStringCompareOptions, range searchRange: NSRange, locale locale: NSLocale?) -> NSRange
func rangeOfCharacterFromSet(_ searchSet: NSCharacterSet) -> NSRange
func rangeOfCharacterFromSet(_ searchSet: NSCharacterSet, options mask: NSStringCompareOptions) -> NSRange
func rangeOfCharacterFromSet(_ searchSet: NSCharacterSet, options mask: NSStringCompareOptions, range searchRange: NSRange) -> NSRange
func rangeOfComposedCharacterSequenceAtIndex(_ index: Int) -> NSRange
func rangeOfComposedCharacterSequencesForRange(_ range: NSRange) -> NSRange
func stringByAppendingString(_ aString: String) -> String
var doubleValue: Double { get }
var floatValue: Float { get }
var intValue: Int32 { get }
var integerValue: Int { get }
var longLongValue: Int64 { get }
var boolValue: Bool { get }
var uppercaseString: String { get }
var lowercaseString: String { get }
var capitalizedString: String { get }
var localizedUppercaseString: String { get }
var localizedLowercaseString: String { get }
var localizedCapitalizedString: String { get }
func uppercaseStringWithLocale(_ locale: NSLocale?) -> String
func lowercaseStringWithLocale(_ locale: NSLocale?) -> String
func capitalizedStringWithLocale(_ locale: NSLocale?) -> String
func getLineStart(_ startPtr: UnsafeMutablePointer<Int>, end lineEndPtr: UnsafeMutablePointer<Int>, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>, forRange range: NSRange)
func lineRangeForRange(_ range: NSRange) -> NSRange
func getParagraphStart(_ startPtr: UnsafeMutablePointer<Int>, end parEndPtr: UnsafeMutablePointer<Int>, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>, forRange range: NSRange)
func paragraphRangeForRange(_ range: NSRange) -> NSRange
func enumerateSubstringsInRange(_ range: NSRange, options opts: NSStringEnumerationOptions, usingBlock block: (String?, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
func enumerateLinesUsingBlock(_ block: (String, UnsafeMutablePointer<ObjCBool>) -> Void)
var UTF8String: UnsafePointer<Int8> { get }
var fastestEncoding: UInt { get }
var smallestEncoding: UInt { get }
func dataUsingEncoding(_ encoding: UInt, allowLossyConversion lossy: Bool) -> NSData?
func dataUsingEncoding(_ encoding: UInt) -> NSData?
func canBeConvertedToEncoding(_ encoding: UInt) -> Bool
func cStringUsingEncoding(_ encoding: UInt) -> UnsafePointer<Int8>
func getCString(_ buffer: UnsafeMutablePointer<Int8>, maxLength maxBufferCount: Int, encoding encoding: UInt) -> Bool
func getBytes(_ buffer: UnsafeMutablePointer<Void>, maxLength maxBufferCount: Int, usedLength usedBufferCount: UnsafeMutablePointer<Int>, encoding encoding: UInt, options options: NSStringEncodingConversionOptions, range range: NSRange, remainingRange leftover: NSRangePointer) -> Bool
func maximumLengthOfBytesUsingEncoding(_ enc: UInt) -> Int
func lengthOfBytesUsingEncoding(_ enc: UInt) -> Int
class func availableStringEncodings() -> UnsafePointer<UInt>
class func localizedNameOfStringEncoding(_ encoding: UInt) -> String
class func defaultCStringEncoding() -> UInt
var decomposedStringWithCanonicalMapping: String { get }
var precomposedStringWithCanonicalMapping: String { get }
var decomposedStringWithCompatibilityMapping: String { get }
var precomposedStringWithCompatibilityMapping: String { get }
func componentsSeparatedByString(_ separator: String) -> [String]
func componentsSeparatedByCharactersInSet(_ separator: NSCharacterSet) -> [String]
func stringByTrimmingCharactersInSet(_ set: NSCharacterSet) -> String
func stringByPaddingToLength(_ newLength: Int, withString padString: String, startingAtIndex padIndex: Int) -> String
func stringByFoldingWithOptions(_ options: NSStringCompareOptions, locale locale: NSLocale?) -> String
func stringByReplacingOccurrencesOfString(_ target: String, withString replacement: String, options options: NSStringCompareOptions, range searchRange: NSRange) -> String
func stringByReplacingOccurrencesOfString(_ target: String, withString replacement: String) -> String
func stringByReplacingCharactersInRange(_ range: NSRange, withString replacement: String) -> String
func stringByApplyingTransform(_ transform: String, reverse reverse: Bool) -> String?
func writeToURL(_ url: NSURL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
var description: String { get }
var hash: Int { get }
convenience init(charactersNoCopy characters: UnsafeMutablePointer<unichar>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init(characters characters: UnsafePointer<unichar>, length length: Int)
convenience init?(UTF8String nullTerminatedCString: UnsafePointer<Int8>)
convenience init(string aString: String)
convenience init(format format: String, arguments argList: CVaListPointer)
convenience init(format format: String, locale locale: AnyObject?, arguments argList: CVaListPointer)
convenience init?(data data: NSData, encoding encoding: UInt)
convenience init?(bytes bytes: UnsafePointer<Void>, length len: Int, encoding encoding: UInt)
convenience init?(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length len: Int, encoding encoding: UInt, freeWhenDone freeBuffer: Bool)
class func string() -> Self
class func stringWithString(_ string: String) -> Self
class func stringWithCharacters(_ characters: UnsafePointer<unichar>, length length: Int) -> Self
class func stringWithUTF8String(_ nullTerminatedCString: UnsafePointer<Int8>) -> Self?
convenience init?(CString nullTerminatedCString: UnsafePointer<Int8>, encoding encoding: UInt)
class func stringWithCString(_ cString: UnsafePointer<Int8>, encoding enc: UInt) -> Self?
convenience init(contentsOfURL url: NSURL, encoding enc: UInt) throws
convenience init(contentsOfFile path: String, encoding enc: UInt) throws
class func stringWithContentsOfURL(_ url: NSURL, encoding enc: UInt) throws -> Self
class func stringWithContentsOfFile(_ path: String, encoding enc: UInt) throws -> Self
convenience init(contentsOfURL url: NSURL, usedEncoding enc: UnsafeMutablePointer<UInt>) throws
convenience init(contentsOfFile path: String, usedEncoding enc: UnsafeMutablePointer<UInt>) throws
class func stringWithContentsOfURL(_ url: NSURL, usedEncoding enc: UnsafeMutablePointer<UInt>) throws -> Self
class func stringWithContentsOfFile(_ path: String, usedEncoding enc: UnsafeMutablePointer<UInt>) throws -> Self
}
extension NSString {
class func stringEncodingForData(_ data: NSData, encodingOptions opts: [String : AnyObject]?, convertedString string: AutoreleasingUnsafeMutablePointer<NSString?>, usedLossyConversion usedLossyConversion: UnsafeMutablePointer<ObjCBool>) -> UInt
}
extension NSString {
func propertyList() -> AnyObject
func propertyListFromStringsFileFormat() -> [NSObject : AnyObject]?
}
extension NSString {
func cString() -> UnsafePointer<Int8>
func lossyCString() -> UnsafePointer<Int8>
func cStringLength() -> Int
func getCString(_ bytes: UnsafeMutablePointer<Int8>)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int, range aRange: NSRange, remainingRange leftoverRange: NSRangePointer)
func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool) -> Bool
func writeToURL(_ url: NSURL, atomically atomically: Bool) -> Bool
convenience init?(contentsOfFile path: String)
convenience init?(contentsOfURL url: NSURL)
class func stringWithContentsOfFile(_ path: String) -> AnyObject?
class func stringWithContentsOfURL(_ url: NSURL) -> AnyObject?
convenience init?(CStringNoCopy bytes: UnsafeMutablePointer<Int8>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init?(CString bytes: UnsafePointer<Int8>, length length: Int)
convenience init?(CString bytes: UnsafePointer<Int8>)
class func stringWithCString(_ bytes: UnsafePointer<Int8>, length length: Int) -> AnyObject?
class func stringWithCString(_ bytes: UnsafePointer<Int8>) -> AnyObject?
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>)
}
extension NSString {
func stringByAddingPercentEncodingWithAllowedCharacters(_ allowedCharacters: NSCharacterSet) -> String?
var stringByRemovingPercentEncoding: String? { get }
func stringByAddingPercentEscapesUsingEncoding(_ enc: UInt) -> String?
func stringByReplacingPercentEscapesUsingEncoding(_ enc: UInt) -> String?
}
extension NSString : _Reflectable {
}
extension NSString {
@objc(_swiftInitWithString_NSString:) convenience init(string aString: NSString)
}
extension NSString {
convenience init(format format: NSString, _ args: CVarArgType...)
convenience init(format format: NSString, locale locale: NSLocale?, _ args: CVarArgType...)
@warn_unused_result
class func localizedStringWithFormat(_ format: NSString, _ args: CVarArgType...) -> Self
@warn_unused_result
func stringByAppendingFormat(_ format: NSString, _ args: CVarArgType...) -> NSString
}
extension NSString : StringLiteralConvertible {
required convenience init(unicodeScalarLiteral value: StaticString)
required convenience init(extendedGraphemeClusterLiteral value: StaticString)
required convenience init(stringLiteral value: StaticString)
} | CKRecordValue, CNKeyDescriptor, NSCopying, NSMutableCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding, StringLiteralConvertible |
To | class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
var length: Int { get }
func character(at index: Int) -> unichar
init()
init?(coder aDecoder: NSCoder)
struct CompareOptions : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSString.CompareOptions { get }
static var literal: NSString.CompareOptions { get }
static var backwards: NSString.CompareOptions { get }
static var anchored: NSString.CompareOptions { get }
static var numeric: NSString.CompareOptions { get }
static var diacriticInsensitive: NSString.CompareOptions { get }
static var widthInsensitive: NSString.CompareOptions { get }
static var forcedOrdering: NSString.CompareOptions { get }
static var regularExpression: NSString.CompareOptions { get }
}
struct EncodingConversionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var allowLossy: NSString.EncodingConversionOptions { get }
static var externalRepresentation: NSString.EncodingConversionOptions { get }
}
struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byLines: NSString.EnumerationOptions { get }
static var byParagraphs: NSString.EnumerationOptions { get }
static var byComposedCharacterSequences: NSString.EnumerationOptions { get }
static var byWords: NSString.EnumerationOptions { get }
static var bySentences: NSString.EnumerationOptions { get }
static var reverse: NSString.EnumerationOptions { get }
static var substringNotRequired: NSString.EnumerationOptions { get }
static var localized: NSString.EnumerationOptions { get }
}
func substring(from from: Int) -> String
func substring(to to: Int) -> String
func substring(with range: NSRange) -> String
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>, range range: NSRange)
func compare(_ string: String) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = []) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange, locale locale: Any?) -> ComparisonResult
func caseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedCompare(_ string: String) -> ComparisonResult
func localizedCaseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedStandardCompare(_ string: String) -> ComparisonResult
func isEqual(to aString: String) -> Bool
func hasPrefix(_ str: String) -> Bool
func hasSuffix(_ str: String) -> Bool
func commonPrefix(with str: String, options mask: NSString.CompareOptions = []) -> String
func contains(_ str: String) -> Bool
func localizedCaseInsensitiveContains(_ str: String) -> Bool
func localizedStandardContains(_ str: String) -> Bool
func localizedStandardRange(of str: String) -> NSRange
func range(of searchString: String) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = []) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange, locale locale: Locale?) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = []) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func rangeOfComposedCharacterSequence(at index: Int) -> NSRange
func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRange
func appending(_ aString: String) -> String
var doubleValue: Double { get }
var floatValue: Float { get }
var intValue: Int32 { get }
var integerValue: Int { get }
var longLongValue: Int64 { get }
var boolValue: Bool { get }
var uppercased: String { get }
var lowercased: String { get }
var capitalized: String { get }
var localizedUppercase: String { get }
var localizedLowercase: String { get }
var localizedCapitalized: String { get }
func uppercased(with locale: Locale?) -> String
func lowercased(with locale: Locale?) -> String
func capitalized(with locale: Locale?) -> String
func getLineStart(_ startPtr: UnsafeMutablePointer<Int>?, end lineEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func lineRange(for range: NSRange) -> NSRange
func getParagraphStart(_ startPtr: UnsafeMutablePointer<Int>?, end parEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func paragraphRange(for range: NSRange) -> NSRange
func enumerateSubstrings(in range: NSRange, options opts: NSString.EnumerationOptions = [], using block: @escaping (String?, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateLines(_ block: @escaping (String, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
var utf8String: UnsafePointer<Int8>? { get }
var fastestEncoding: UInt { get }
var smallestEncoding: UInt { get }
func data(using encoding: UInt, allowLossyConversion lossy: Bool) -> Data?
func data(using encoding: UInt) -> Data?
func canBeConverted(to encoding: UInt) -> Bool
func cString(using encoding: UInt) -> UnsafePointer<Int8>?
func getCString(_ buffer: UnsafeMutablePointer<Int8>, maxLength maxBufferCount: Int, encoding encoding: UInt) -> Bool
func getBytes(_ buffer: UnsafeMutableRawPointer?, maxLength maxBufferCount: Int, usedLength usedBufferCount: UnsafeMutablePointer<Int>?, encoding encoding: UInt, options options: NSString.EncodingConversionOptions = [], range range: NSRange, remaining leftover: NSRangePointer?) -> Bool
func maximumLengthOfBytes(using enc: UInt) -> Int
func lengthOfBytes(using enc: UInt) -> Int
class var availableStringEncodings: UnsafePointer<UInt> { get }
class func localizedName(of encoding: UInt) -> String
class var defaultCStringEncoding: UInt { get }
var decomposedStringWithCanonicalMapping: String { get }
var precomposedStringWithCanonicalMapping: String { get }
var decomposedStringWithCompatibilityMapping: String { get }
var precomposedStringWithCompatibilityMapping: String { get }
func components(separatedBy separator: String) -> [String]
func components(separatedBy separator: CharacterSet) -> [String]
func trimmingCharacters(in set: CharacterSet) -> String
func padding(toLength newLength: Int, withPad padString: String, startingAt padIndex: Int) -> String
func folding(options options: NSString.CompareOptions = [], locale locale: Locale?) -> String
func replacingOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> String
func replacingOccurrences(of target: String, with replacement: String) -> String
func replacingCharacters(in range: NSRange, with replacement: String) -> String
func applyingTransform(_ transform: StringTransform, reverse reverse: Bool) -> String?
func write(to url: URL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
func write(toFile path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
var description: String { get }
var hash: Int { get }
convenience init(charactersNoCopy characters: UnsafeMutablePointer<unichar>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init(characters characters: UnsafePointer<unichar>, length length: Int)
convenience init?(utf8String nullTerminatedCString: UnsafePointer<Int8>)
convenience init(string aString: String)
convenience init(format format: String, arguments argList: CVaListPointer)
convenience init(format format: String, locale locale: Any?, arguments argList: CVaListPointer)
convenience init?(data data: Data, encoding encoding: UInt)
convenience init?(bytes bytes: UnsafeRawPointer, length len: Int, encoding encoding: UInt)
convenience init?(bytesNoCopy bytes: UnsafeMutableRawPointer, length len: Int, encoding encoding: UInt, freeWhenDone freeBuffer: Bool)
class func string() -> Self
class func withString(_ string: String) -> Self
class func withCharacters(_ characters: UnsafePointer<unichar>, length length: Int) -> Self
class func withUTF8String(_ nullTerminatedCString: UnsafePointer<Int8>) -> Self?
convenience init?(cString nullTerminatedCString: UnsafePointer<Int8>, encoding encoding: UInt)
class func withCString(_ cString: UnsafePointer<Int8>, encoding enc: UInt) -> Self?
convenience init(contentsOf url: URL, encoding enc: UInt) throws
convenience init(contentsOfFile path: String, encoding enc: UInt) throws
class func withContentsOf(_ url: URL, encoding enc: UInt) throws -> Self
class func withContentsOfFile(_ path: String, encoding enc: UInt) throws -> Self
convenience init(contentsOf url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
convenience init(contentsOfFile path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
class func withContentsOf(_ url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
class func withContentsOfFile(_ path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
class func stringEncoding(for data: Data, encodingOptions opts: [StringEncodingDetectionOptionsKey : Any]? = nil, convertedString string: AutoreleasingUnsafeMutablePointer<NSString?>?, usedLossyConversion usedLossyConversion: UnsafeMutablePointer<ObjCBool>?) -> UInt
func propertyList() -> Any
func propertyListFromStringsFileFormat() -> [AnyHashable : Any]?
func cString() -> UnsafePointer<Int8>?
func lossyCString() -> UnsafePointer<Int8>?
func cStringLength() -> Int
func getCString(_ bytes: UnsafeMutablePointer<Int8>)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int, range aRange: NSRange, remaining leftoverRange: NSRangePointer?)
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
class func string(withContentsOfFile path: String) -> Any?
class func string(withContentsOf url: URL) -> Any?
convenience init?(cStringNoCopy bytes: UnsafeMutablePointer<Int8>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init?(cString bytes: UnsafePointer<Int8>, length length: Int)
convenience init?(cString bytes: UnsafePointer<Int8>)
class func string(withCString bytes: UnsafePointer<Int8>, length length: Int) -> Any?
class func string(withCString bytes: UnsafePointer<Int8>) -> Any?
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>)
func variantFittingPresentationWidth(_ width: Int) -> String
class func path(withComponents components: [String]) -> String
var pathComponents: [String] { get }
var isAbsolutePath: Bool { get }
var lastPathComponent: String { get }
var deletingLastPathComponent: String { get }
func appendingPathComponent(_ str: String) -> String
var pathExtension: String { get }
var deletingPathExtension: String { get }
func appendingPathExtension(_ str: String) -> String?
var abbreviatingWithTildeInPath: String { get }
var expandingTildeInPath: String { get }
var standardizingPath: String { get }
var resolvingSymlinksInPath: String { get }
func strings(byAppendingPaths paths: [String]) -> [String]
func completePath(into outputName: AutoreleasingUnsafeMutablePointer<NSString?>?, caseSensitive flag: Bool, matchesInto outputArray: AutoreleasingUnsafeMutablePointer<NSArray?>?, filterTypes filterTypes: [String]?) -> Int
var fileSystemRepresentation: UnsafePointer<Int8> { get }
func getFileSystemRepresentation(_ cname: UnsafeMutablePointer<Int8>, maxLength max: Int) -> Bool
func addingPercentEncoding(withAllowedCharacters allowedCharacters: CharacterSet) -> String?
var removingPercentEncoding: String? { get }
func addingPercentEscapes(using enc: UInt) -> String?
func replacingPercentEscapes(using enc: UInt) -> String?
func linguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String]
func enumerateLinguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, using block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
@nonobjc convenience init(string aString: NSString)
convenience init(format format: NSString, _ args: CVarArg...)
convenience init(format format: NSString, locale locale: Locale?, _ args: CVarArg...)
class func localizedStringWithFormat(_ format: NSString, _ args: CVarArg...) -> Self
func appendingFormat(_ format: NSString, _ args: CVarArg...) -> NSString
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])
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 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 classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func classForKeyedUnarchiver() -> AnyClass
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 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 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])
}
extension NSString : NSPasteboardWriting, NSPasteboardReading {
}
extension NSString {
func size(withAttributes attrs: [String : Any]? = nil) -> NSSize
func draw(at point: NSPoint, withAttributes attrs: [String : Any]? = nil)
func draw(in rect: NSRect, withAttributes attrs: [String : Any]? = nil)
}
extension NSString {
func draw(with rect: NSRect, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil, context context: NSStringDrawingContext?)
func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil, context context: NSStringDrawingContext?) -> NSRect
}
extension NSString {
func draw(with rect: NSRect, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil)
func boundingRect(with size: NSSize, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil) -> NSRect
}
extension NSString : CKRecordValue {
}
extension NSString : CNKeyDescriptor {
}
extension NSString {
func variantFittingPresentationWidth(_ width: Int) -> String
}
extension NSString {
func linguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String]
func enumerateLinguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, using block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
}
extension NSString {
class func path(withComponents components: [String]) -> String
var pathComponents: [String] { get }
var isAbsolutePath: Bool { get }
var lastPathComponent: String { get }
var deletingLastPathComponent: String { get }
func appendingPathComponent(_ str: String) -> String
var pathExtension: String { get }
var deletingPathExtension: String { get }
func appendingPathExtension(_ str: String) -> String?
var abbreviatingWithTildeInPath: String { get }
var expandingTildeInPath: String { get }
var standardizingPath: String { get }
var resolvingSymlinksInPath: String { get }
func strings(byAppendingPaths paths: [String]) -> [String]
func completePath(into outputName: AutoreleasingUnsafeMutablePointer<NSString?>?, caseSensitive flag: Bool, matchesInto outputArray: AutoreleasingUnsafeMutablePointer<NSArray?>?, filterTypes filterTypes: [String]?) -> Int
var fileSystemRepresentation: UnsafePointer<Int8> { get }
func getFileSystemRepresentation(_ cname: UnsafeMutablePointer<Int8>, maxLength max: Int) -> Bool
}
extension NSString {
struct CompareOptions : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSString.CompareOptions { get }
static var literal: NSString.CompareOptions { get }
static var backwards: NSString.CompareOptions { get }
static var anchored: NSString.CompareOptions { get }
static var numeric: NSString.CompareOptions { get }
static var diacriticInsensitive: NSString.CompareOptions { get }
static var widthInsensitive: NSString.CompareOptions { get }
static var forcedOrdering: NSString.CompareOptions { get }
static var regularExpression: NSString.CompareOptions { get }
}
struct EncodingConversionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var allowLossy: NSString.EncodingConversionOptions { get }
static var externalRepresentation: NSString.EncodingConversionOptions { get }
}
struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byLines: NSString.EnumerationOptions { get }
static var byParagraphs: NSString.EnumerationOptions { get }
static var byComposedCharacterSequences: NSString.EnumerationOptions { get }
static var byWords: NSString.EnumerationOptions { get }
static var bySentences: NSString.EnumerationOptions { get }
static var reverse: NSString.EnumerationOptions { get }
static var substringNotRequired: NSString.EnumerationOptions { get }
static var localized: NSString.EnumerationOptions { get }
}
}
extension NSString : CVarArg {
}
extension NSString : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
}
extension NSString : ExpressibleByStringLiteral {
required convenience init(unicodeScalarLiteral value: StaticString)
required convenience init(extendedGraphemeClusterLiteral value: StaticString)
required convenience init(stringLiteral value: StaticString)
}
extension NSString : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSString {
func substring(from from: Int) -> String
func substring(to to: Int) -> String
func substring(with range: NSRange) -> String
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>, range range: NSRange)
func compare(_ string: String) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = []) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange) -> ComparisonResult
func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange, locale locale: Any?) -> ComparisonResult
func caseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedCompare(_ string: String) -> ComparisonResult
func localizedCaseInsensitiveCompare(_ string: String) -> ComparisonResult
func localizedStandardCompare(_ string: String) -> ComparisonResult
func isEqual(to aString: String) -> Bool
func hasPrefix(_ str: String) -> Bool
func hasSuffix(_ str: String) -> Bool
func commonPrefix(with str: String, options mask: NSString.CompareOptions = []) -> String
func contains(_ str: String) -> Bool
func localizedCaseInsensitiveContains(_ str: String) -> Bool
func localizedStandardContains(_ str: String) -> Bool
func localizedStandardRange(of str: String) -> NSRange
func range(of searchString: String) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = []) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange, locale locale: Locale?) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = []) -> NSRange
func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
func rangeOfComposedCharacterSequence(at index: Int) -> NSRange
func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRange
func appending(_ aString: String) -> String
var doubleValue: Double { get }
var floatValue: Float { get }
var intValue: Int32 { get }
var integerValue: Int { get }
var longLongValue: Int64 { get }
var boolValue: Bool { get }
var uppercased: String { get }
var lowercased: String { get }
var capitalized: String { get }
var localizedUppercase: String { get }
var localizedLowercase: String { get }
var localizedCapitalized: String { get }
func uppercased(with locale: Locale?) -> String
func lowercased(with locale: Locale?) -> String
func capitalized(with locale: Locale?) -> String
func getLineStart(_ startPtr: UnsafeMutablePointer<Int>?, end lineEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func lineRange(for range: NSRange) -> NSRange
func getParagraphStart(_ startPtr: UnsafeMutablePointer<Int>?, end parEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange)
func paragraphRange(for range: NSRange) -> NSRange
func enumerateSubstrings(in range: NSRange, options opts: NSString.EnumerationOptions = [], using block: @escaping (String?, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
func enumerateLines(_ block: @escaping (String, UnsafeMutablePointer<ObjCBool>) -> Swift.Void)
var utf8String: UnsafePointer<Int8>? { get }
var fastestEncoding: UInt { get }
var smallestEncoding: UInt { get }
func data(using encoding: UInt, allowLossyConversion lossy: Bool) -> Data?
func data(using encoding: UInt) -> Data?
func canBeConverted(to encoding: UInt) -> Bool
func cString(using encoding: UInt) -> UnsafePointer<Int8>?
func getCString(_ buffer: UnsafeMutablePointer<Int8>, maxLength maxBufferCount: Int, encoding encoding: UInt) -> Bool
func getBytes(_ buffer: UnsafeMutableRawPointer?, maxLength maxBufferCount: Int, usedLength usedBufferCount: UnsafeMutablePointer<Int>?, encoding encoding: UInt, options options: NSString.EncodingConversionOptions = [], range range: NSRange, remaining leftover: NSRangePointer?) -> Bool
func maximumLengthOfBytes(using enc: UInt) -> Int
func lengthOfBytes(using enc: UInt) -> Int
class var availableStringEncodings: UnsafePointer<UInt> { get }
class func localizedName(of encoding: UInt) -> String
class var defaultCStringEncoding: UInt { get }
var decomposedStringWithCanonicalMapping: String { get }
var precomposedStringWithCanonicalMapping: String { get }
var decomposedStringWithCompatibilityMapping: String { get }
var precomposedStringWithCompatibilityMapping: String { get }
func components(separatedBy separator: String) -> [String]
func components(separatedBy separator: CharacterSet) -> [String]
func trimmingCharacters(in set: CharacterSet) -> String
func padding(toLength newLength: Int, withPad padString: String, startingAt padIndex: Int) -> String
func folding(options options: NSString.CompareOptions = [], locale locale: Locale?) -> String
func replacingOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> String
func replacingOccurrences(of target: String, with replacement: String) -> String
func replacingCharacters(in range: NSRange, with replacement: String) -> String
func applyingTransform(_ transform: StringTransform, reverse reverse: Bool) -> String?
func write(to url: URL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
func write(toFile path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
var description: String { get }
var hash: Int { get }
convenience init(charactersNoCopy characters: UnsafeMutablePointer<unichar>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init(characters characters: UnsafePointer<unichar>, length length: Int)
convenience init?(utf8String nullTerminatedCString: UnsafePointer<Int8>)
convenience init(string aString: String)
convenience init(format format: String, arguments argList: CVaListPointer)
convenience init(format format: String, locale locale: Any?, arguments argList: CVaListPointer)
convenience init?(data data: Data, encoding encoding: UInt)
convenience init?(bytes bytes: UnsafeRawPointer, length len: Int, encoding encoding: UInt)
convenience init?(bytesNoCopy bytes: UnsafeMutableRawPointer, length len: Int, encoding encoding: UInt, freeWhenDone freeBuffer: Bool)
class func string() -> Self
class func withString(_ string: String) -> Self
class func withCharacters(_ characters: UnsafePointer<unichar>, length length: Int) -> Self
class func withUTF8String(_ nullTerminatedCString: UnsafePointer<Int8>) -> Self?
convenience init?(cString nullTerminatedCString: UnsafePointer<Int8>, encoding encoding: UInt)
class func withCString(_ cString: UnsafePointer<Int8>, encoding enc: UInt) -> Self?
convenience init(contentsOf url: URL, encoding enc: UInt) throws
convenience init(contentsOfFile path: String, encoding enc: UInt) throws
class func withContentsOf(_ url: URL, encoding enc: UInt) throws -> Self
class func withContentsOfFile(_ path: String, encoding enc: UInt) throws -> Self
convenience init(contentsOf url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
convenience init(contentsOfFile path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
class func withContentsOf(_ url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
class func withContentsOfFile(_ path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws -> Self
}
extension NSString {
class func stringEncoding(for data: Data, encodingOptions opts: [StringEncodingDetectionOptionsKey : Any]? = nil, convertedString string: AutoreleasingUnsafeMutablePointer<NSString?>?, usedLossyConversion usedLossyConversion: UnsafeMutablePointer<ObjCBool>?) -> UInt
}
extension NSString {
func propertyList() -> Any
func propertyListFromStringsFileFormat() -> [AnyHashable : Any]?
}
extension NSString {
func cString() -> UnsafePointer<Int8>?
func lossyCString() -> UnsafePointer<Int8>?
func cStringLength() -> Int
func getCString(_ bytes: UnsafeMutablePointer<Int8>)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int)
func getCString(_ bytes: UnsafeMutablePointer<Int8>, maxLength maxLength: Int, range aRange: NSRange, remaining leftoverRange: NSRangePointer?)
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: URL, atomically atomically: Bool) -> Bool
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: URL)
class func string(withContentsOfFile path: String) -> Any?
class func string(withContentsOf url: URL) -> Any?
convenience init?(cStringNoCopy bytes: UnsafeMutablePointer<Int8>, length length: Int, freeWhenDone freeBuffer: Bool)
convenience init?(cString bytes: UnsafePointer<Int8>, length length: Int)
convenience init?(cString bytes: UnsafePointer<Int8>)
class func string(withCString bytes: UnsafePointer<Int8>, length length: Int) -> Any?
class func string(withCString bytes: UnsafePointer<Int8>) -> Any?
func getCharacters(_ buffer: UnsafeMutablePointer<unichar>)
}
extension NSString {
func addingPercentEncoding(withAllowedCharacters allowedCharacters: CharacterSet) -> String?
var removingPercentEncoding: String? { get }
func addingPercentEscapes(using enc: UInt) -> String?
func replacingPercentEscapes(using enc: UInt) -> String?
}
extension NSString : ExpressibleByStringLiteral {
required convenience init(unicodeScalarLiteral value: StaticString)
required convenience init(extendedGraphemeClusterLiteral value: StaticString)
required convenience init(stringLiteral value: StaticString)
}
extension NSString {
}
extension NSString {
convenience init(format format: NSString, _ args: CVarArg...)
convenience init(format format: NSString, locale locale: Locale?, _ args: CVarArg...)
class func localizedStringWithFormat(_ format: NSString, _ args: CVarArg...) -> Self
func appendingFormat(_ format: NSString, _ args: CVarArg...) -> NSString
}
extension NSString {
@nonobjc convenience init(string aString: NSString)
}
extension NSString : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
} | CKRecordValue, CNKeyDescriptor, CVarArg, CustomPlaygroundQuickLookable, Equatable, ExpressibleByStringLiteral, Hashable, NSCopying, NSMutableCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding |
---|
| Declaration |
From | var stringByAbbreviatingWithTildeInPath: String { get } |
To | var abbreviatingWithTildeInPath: String { get } |
---|
| Declaration |
From | func stringByAddingPercentEncodingWithAllowedCharacters(_ allowedCharacters: NSCharacterSet) -> String? |
To | func addingPercentEncoding(withAllowedCharacters allowedCharacters: CharacterSet) -> String? |
---|
| Declaration |
From | func stringByAddingPercentEscapesUsingEncoding(_ enc: UInt) -> String? |
To | func addingPercentEscapes(using enc: UInt) -> String? |
---|
| Declaration |
From | func stringByAppendingString(_ aString: String) -> String |
To | func appending(_ aString: String) -> String |
---|
| Declaration |
From | func stringByAppendingPathComponent(_ str: String) -> String |
To | func appendingPathComponent(_ str: String) -> String |
---|
| Declaration |
From | func stringByAppendingPathExtension(_ str: String) -> String? |
To | func appendingPathExtension(_ str: String) -> String? |
---|
| Declaration |
From | func stringByApplyingTransform(_ transform: String, reverse reverse: Bool) -> String? |
To | func applyingTransform(_ transform: StringTransform, reverse reverse: Bool) -> String? |
---|
| Declaration |
From | func canBeConvertedToEncoding(_ encoding: UInt) -> Bool |
To | func canBeConverted(to encoding: UInt) -> Bool |
---|
| Declaration |
From | var capitalizedString: String { get } |
To | var capitalized: String { get } |
---|
| Declaration |
From | func capitalizedStringWithLocale(_ locale: NSLocale?) -> String |
To | func capitalized(with locale: Locale?) -> String |
---|
| Declaration |
From | func caseInsensitiveCompare(_ string: String) -> NSComparisonResult |
To | func caseInsensitiveCompare(_ string: String) -> ComparisonResult |
---|
| Declaration |
From | func characterAtIndex(_ index: Int) -> unichar |
To | func character(at index: Int) -> unichar |
---|
| Declaration |
From | func commonPrefixWithString(_ str: String, options mask: NSStringCompareOptions) -> String |
To | func commonPrefix(with str: String, options mask: NSString.CompareOptions = []) -> String |
---|
| Declaration |
From | func compare(_ string: String) -> NSComparisonResult |
To | func compare(_ string: String) -> ComparisonResult |
---|
| Declaration |
From | func compare(_ string: String, options mask: NSStringCompareOptions) -> NSComparisonResult |
To | func compare(_ string: String, options mask: NSString.CompareOptions = []) -> ComparisonResult |
---|
| Declaration |
From | func compare(_ string: String, options mask: NSStringCompareOptions, range compareRange: NSRange) -> NSComparisonResult |
To | func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange) -> ComparisonResult |
---|
| Declaration |
From | func compare(_ string: String, options mask: NSStringCompareOptions, range compareRange: NSRange, locale locale: AnyObject?) -> NSComparisonResult |
To | func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange, locale locale: Any?) -> ComparisonResult |
---|
| Declaration |
From | func completePathIntoString(_ outputName: AutoreleasingUnsafeMutablePointer<NSString?>, caseSensitive flag: Bool, matchesIntoArray outputArray: AutoreleasingUnsafeMutablePointer<NSArray?>, filterTypes filterTypes: [String]?) -> Int |
To | func completePath(into outputName: AutoreleasingUnsafeMutablePointer<NSString?>?, caseSensitive flag: Bool, matchesInto outputArray: AutoreleasingUnsafeMutablePointer<NSArray?>?, filterTypes filterTypes: [String]?) -> Int |
---|
| Declaration |
From | func componentsSeparatedByString(_ separator: String) -> [String] |
To | func components(separatedBy separator: String) -> [String] |
---|
| Declaration |
From | func componentsSeparatedByCharactersInSet(_ separator: NSCharacterSet) -> [String] |
To | func components(separatedBy separator: CharacterSet) -> [String] |
---|
| Declaration |
From | func containsString(_ str: String) -> Bool |
To | func contains(_ str: String) -> Bool |
---|
| Declaration |
From | func cStringUsingEncoding(_ encoding: UInt) -> UnsafePointer<Int8> |
To | func cString(using encoding: UInt) -> UnsafePointer<Int8>? |
---|
| Declaration |
From | func dataUsingEncoding(_ encoding: UInt) -> NSData? |
To | func data(using encoding: UInt) -> Data? |
---|
| Declaration |
From | func dataUsingEncoding(_ encoding: UInt, allowLossyConversion lossy: Bool) -> NSData? |
To | func data(using encoding: UInt, allowLossyConversion lossy: Bool) -> Data? |
---|
| Declaration |
From | var stringByDeletingLastPathComponent: String { get } |
To | var deletingLastPathComponent: String { get } |
---|
| Declaration |
From | var stringByDeletingPathExtension: String { get } |
To | var deletingPathExtension: String { get } |
---|
| Declaration |
From | func enumerateLinesUsingBlock(_ block: (String, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateLines(_ block: @escaping (String, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateLinguisticTagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, orthography orthography: NSOrthography?, usingBlock block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateLinguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, using block: (String, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | func enumerateSubstringsInRange(_ range: NSRange, options opts: NSStringEnumerationOptions, usingBlock block: (String?, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateSubstrings(in range: NSRange, options opts: NSString.EnumerationOptions = [], using block: @escaping (String?, NSRange, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
---|
| Declaration |
From | var stringByExpandingTildeInPath: String { get } |
To | var expandingTildeInPath: String { get } |
---|
| Declaration |
From | func stringByFoldingWithOptions(_ options: NSStringCompareOptions, locale locale: NSLocale?) -> String |
To | func folding(options options: NSString.CompareOptions = [], locale locale: Locale?) -> String |
---|
| Declaration |
From | func getBytes(_ buffer: UnsafeMutablePointer<Void>, maxLength maxBufferCount: Int, usedLength usedBufferCount: UnsafeMutablePointer<Int>, encoding encoding: UInt, options options: NSStringEncodingConversionOptions, range range: NSRange, remainingRange leftover: NSRangePointer) -> Bool |
To | func getBytes(_ buffer: UnsafeMutableRawPointer?, maxLength maxBufferCount: Int, usedLength usedBufferCount: UnsafeMutablePointer<Int>?, encoding encoding: UInt, options options: NSString.EncodingConversionOptions = [], range range: NSRange, remaining leftover: NSRangePointer?) -> Bool |
---|
| Declaration |
From | func getLineStart(_ startPtr: UnsafeMutablePointer<Int>, end lineEndPtr: UnsafeMutablePointer<Int>, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>, forRange range: NSRange) |
To | func getLineStart(_ startPtr: UnsafeMutablePointer<Int>?, end lineEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange) |
---|
| Declaration |
From | func getParagraphStart(_ startPtr: UnsafeMutablePointer<Int>, end parEndPtr: UnsafeMutablePointer<Int>, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>, forRange range: NSRange) |
To | func getParagraphStart(_ startPtr: UnsafeMutablePointer<Int>?, end parEndPtr: UnsafeMutablePointer<Int>?, contentsEnd contentsEndPtr: UnsafeMutablePointer<Int>?, for range: NSRange) |
---|
| Declaration |
From | convenience init?(bytes bytes: UnsafePointer<Void>, length len: Int, encoding encoding: UInt) |
To | convenience init?(bytes bytes: UnsafeRawPointer, length len: Int, encoding encoding: UInt) |
---|
| Declaration |
From | convenience init?(bytesNoCopy bytes: UnsafeMutablePointer<Void>, length len: Int, encoding encoding: UInt, freeWhenDone freeBuffer: Bool) |
To | convenience init?(bytesNoCopy bytes: UnsafeMutableRawPointer, length len: Int, encoding encoding: UInt, freeWhenDone freeBuffer: Bool) |
---|
| Declaration |
From | convenience init(contentsOfURL url: NSURL, encoding enc: UInt) throws |
To | convenience init(contentsOf url: URL, encoding enc: UInt) throws |
---|
| Declaration |
From | convenience init(contentsOfURL url: NSURL, usedEncoding enc: UnsafeMutablePointer<UInt>) throws |
To | convenience init(contentsOf url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws |
---|
| Declaration |
From | convenience init(contentsOfFile path: String, usedEncoding enc: UnsafeMutablePointer<UInt>) throws |
To | convenience init(contentsOfFile path: String, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws |
---|
| Declaration |
From | convenience init?(CString nullTerminatedCString: UnsafePointer<Int8>, encoding encoding: UInt) |
To | convenience init?(cString nullTerminatedCString: UnsafePointer<Int8>, encoding encoding: UInt) |
---|
| Declaration |
From | convenience init?(data data: NSData, encoding encoding: UInt) |
To | convenience init?(data data: Data, encoding encoding: UInt) |
---|
| Declaration |
From | convenience init(format format: String, locale locale: AnyObject?, arguments argList: CVaListPointer) |
To | convenience init(format format: String, locale locale: Any?, arguments argList: CVaListPointer) |
---|
| Declaration |
From | @objc(_swiftInitWithString_NSString:) convenience init(string aString: NSString) |
To | @nonobjc convenience init(string aString: NSString) |
---|
| Declaration |
From | convenience init?(UTF8String nullTerminatedCString: UnsafePointer<Int8>) |
To | convenience init?(utf8String nullTerminatedCString: UnsafePointer<Int8>) |
---|
| Declaration |
From | var absolutePath: Bool { get } |
To | var isAbsolutePath: Bool { get } |
---|
| Declaration |
From | func isEqualToString(_ aString: String) -> Bool |
To | func isEqual(to aString: String) -> Bool |
---|
| Declaration |
From | func lengthOfBytesUsingEncoding(_ enc: UInt) -> Int |
To | func lengthOfBytes(using enc: UInt) -> Int |
---|
| Declaration |
From | func lineRangeForRange(_ range: NSRange) -> NSRange |
To | func lineRange(for range: NSRange) -> NSRange |
---|
| Declaration |
From | func linguisticTagsInRange(_ range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTaggerOptions, orthography orthography: NSOrthography?, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>) -> [String] |
To | func linguisticTags(in range: NSRange, scheme tagScheme: String, options opts: NSLinguisticTagger.Options = [], orthography orthography: NSOrthography?, tokenRanges tokenRanges: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> [String] |
---|
| Declaration |
From | var localizedCapitalizedString: String { get } |
To | var localizedCapitalized: String { get } |
---|
| Declaration |
From | func localizedCaseInsensitiveCompare(_ string: String) -> NSComparisonResult |
To | func localizedCaseInsensitiveCompare(_ string: String) -> ComparisonResult |
---|
| Declaration |
From | func localizedCaseInsensitiveContainsString(_ str: String) -> Bool |
To | func localizedCaseInsensitiveContains(_ str: String) -> Bool |
---|
| Declaration |
From | func localizedCompare(_ string: String) -> NSComparisonResult |
To | func localizedCompare(_ string: String) -> ComparisonResult |
---|
| Declaration |
From | var localizedLowercaseString: String { get } |
To | var localizedLowercase: String { get } |
---|
| Declaration |
From | class func localizedNameOfStringEncoding(_ encoding: UInt) -> String |
To | class func localizedName(of encoding: UInt) -> String |
---|
| Declaration |
From | func localizedStandardCompare(_ string: String) -> NSComparisonResult |
To | func localizedStandardCompare(_ string: String) -> ComparisonResult |
---|
| Declaration |
From | func localizedStandardContainsString(_ str: String) -> Bool |
To | func localizedStandardContains(_ str: String) -> Bool |
---|
| Declaration |
From | func localizedStandardRangeOfString(_ str: String) -> NSRange |
To | func localizedStandardRange(of str: String) -> NSRange |
---|
| Declaration |
From | var localizedUppercaseString: String { get } |
To | var localizedUppercase: String { get } |
---|
| Declaration |
From | var lowercaseString: String { get } |
To | var lowercased: String { get } |
---|
| Declaration |
From | func lowercaseStringWithLocale(_ locale: NSLocale?) -> String |
To | func lowercased(with locale: Locale?) -> String |
---|
| Declaration |
From | func maximumLengthOfBytesUsingEncoding(_ enc: UInt) -> Int |
To | func maximumLengthOfBytes(using enc: UInt) -> Int |
---|
| Declaration |
From | func stringByPaddingToLength(_ newLength: Int, withString padString: String, startingAtIndex padIndex: Int) -> String |
To | func padding(toLength newLength: Int, withPad padString: String, startingAt padIndex: Int) -> String |
---|
| Declaration |
From | func paragraphRangeForRange(_ range: NSRange) -> NSRange |
To | func paragraphRange(for range: NSRange) -> NSRange |
---|
| Declaration |
From | class func pathWithComponents(_ components: [String]) -> String |
To | class func path(withComponents components: [String]) -> String |
---|
| Declaration |
From | func propertyList() -> AnyObject |
To | func propertyList() -> Any |
---|
| Declaration |
From | func propertyListFromStringsFileFormat() -> [NSObject : AnyObject]? |
To | func propertyListFromStringsFileFormat() -> [AnyHashable : Any]? |
---|
| Declaration |
From | func rangeOfString(_ searchString: String) -> NSRange |
To | func range(of searchString: String) -> NSRange |
---|
| Declaration |
From | func rangeOfString(_ searchString: String, options mask: NSStringCompareOptions) -> NSRange |
To | func range(of searchString: String, options mask: NSString.CompareOptions = []) -> NSRange |
---|
| Declaration |
From | func rangeOfString(_ searchString: String, options mask: NSStringCompareOptions, range searchRange: NSRange) -> NSRange |
To | func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange |
---|
| Declaration |
From | func rangeOfString(_ searchString: String, options mask: NSStringCompareOptions, range searchRange: NSRange, locale locale: NSLocale?) -> NSRange |
To | func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange, locale locale: Locale?) -> NSRange |
---|
| Declaration |
From | func rangeOfCharacterFromSet(_ searchSet: NSCharacterSet) -> NSRange |
To | func rangeOfCharacter(from searchSet: CharacterSet) -> NSRange |
---|
| Declaration |
From | func rangeOfCharacterFromSet(_ searchSet: NSCharacterSet, options mask: NSStringCompareOptions) -> NSRange |
To | func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = []) -> NSRange |
---|
| Declaration |
From | func rangeOfCharacterFromSet(_ searchSet: NSCharacterSet, options mask: NSStringCompareOptions, range searchRange: NSRange) -> NSRange |
To | func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange |
---|
| Declaration |
From | func rangeOfComposedCharacterSequenceAtIndex(_ index: Int) -> NSRange |
To | func rangeOfComposedCharacterSequence(at index: Int) -> NSRange |
---|
| Declaration |
From | func rangeOfComposedCharacterSequencesForRange(_ range: NSRange) -> NSRange |
To | func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRange |
---|
| Declaration |
From | var stringByRemovingPercentEncoding: String? { get } |
To | var removingPercentEncoding: String? { get } |
---|
| Declaration |
From | func stringByReplacingCharactersInRange(_ range: NSRange, withString replacement: String) -> String |
To | func replacingCharacters(in range: NSRange, with replacement: String) -> String |
---|
| Declaration |
From | func stringByReplacingOccurrencesOfString(_ target: String, withString replacement: String) -> String |
To | func replacingOccurrences(of target: String, with replacement: String) -> String |
---|
| Declaration |
From | func stringByReplacingOccurrencesOfString(_ target: String, withString replacement: String, options options: NSStringCompareOptions, range searchRange: NSRange) -> String |
To | func replacingOccurrences(of target: String, with replacement: String, options options: NSString.CompareOptions = [], range searchRange: NSRange) -> String |
---|
| Declaration |
From | func stringByReplacingPercentEscapesUsingEncoding(_ enc: UInt) -> String? |
To | func replacingPercentEscapes(using enc: UInt) -> String? |
---|
| Declaration |
From | var stringByResolvingSymlinksInPath: String { get } |
To | var resolvingSymlinksInPath: String { get } |
---|
| Declaration |
From | var stringByStandardizingPath: String { get } |
To | var standardizingPath: String { get } |
---|
| Declaration |
From | class func stringEncodingForData(_ data: NSData, encodingOptions opts: [String : AnyObject]?, convertedString string: AutoreleasingUnsafeMutablePointer<NSString?>, usedLossyConversion usedLossyConversion: UnsafeMutablePointer<ObjCBool>) -> UInt |
To | class func stringEncoding(for data: Data, encodingOptions opts: [StringEncodingDetectionOptionsKey : Any]? = nil, convertedString string: AutoreleasingUnsafeMutablePointer<NSString?>?, usedLossyConversion usedLossyConversion: UnsafeMutablePointer<ObjCBool>?) -> UInt |
---|
| Declaration |
From | func stringsByAppendingPaths(_ paths: [String]) -> [String] |
To | func strings(byAppendingPaths paths: [String]) -> [String] |
---|
| Declaration |
From | func substringFromIndex(_ from: Int) -> String |
To | func substring(from from: Int) -> String |
---|
| Declaration |
From | func substringToIndex(_ to: Int) -> String |
To | func substring(to to: Int) -> String |
---|
| Declaration |
From | func substringWithRange(_ range: NSRange) -> String |
To | func substring(with range: NSRange) -> String |
---|
| Declaration |
From | func stringByTrimmingCharactersInSet(_ set: NSCharacterSet) -> String |
To | func trimmingCharacters(in set: CharacterSet) -> String |
---|
| Declaration |
From | var uppercaseString: String { get } |
To | var uppercased: String { get } |
---|
| Declaration |
From | func uppercaseStringWithLocale(_ locale: NSLocale?) -> String |
To | func uppercased(with locale: Locale?) -> String |
---|
| Declaration |
From | var UTF8String: UnsafePointer<Int8> { get } |
To | var utf8String: UnsafePointer<Int8>? { get } |
---|
| Declaration |
From | func writeToURL(_ url: NSURL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws |
To | func write(to url: URL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws |
---|
| Declaration |
From | func writeToFile(_ path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws |
To | func write(toFile path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws |
---|
| Declaration | Protocols |
From | struct NSStringCompareOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var CaseInsensitiveSearch: NSStringCompareOptions { get }
static var LiteralSearch: NSStringCompareOptions { get }
static var BackwardsSearch: NSStringCompareOptions { get }
static var AnchoredSearch: NSStringCompareOptions { get }
static var NumericSearch: NSStringCompareOptions { get }
static var DiacriticInsensitiveSearch: NSStringCompareOptions { get }
static var WidthInsensitiveSearch: NSStringCompareOptions { get }
static var ForcedOrderingSearch: NSStringCompareOptions { get }
static var RegularExpressionSearch: NSStringCompareOptions { get }
} | OptionSetType |
To | struct CompareOptions : OptionSet {
init(rawValue rawValue: UInt)
static var caseInsensitive: NSString.CompareOptions { get }
static var literal: NSString.CompareOptions { get }
static var backwards: NSString.CompareOptions { get }
static var anchored: NSString.CompareOptions { get }
static var numeric: NSString.CompareOptions { get }
static var diacriticInsensitive: NSString.CompareOptions { get }
static var widthInsensitive: NSString.CompareOptions { get }
static var forcedOrdering: NSString.CompareOptions { get }
static var regularExpression: NSString.CompareOptions { get }
}
extension NSString.CompareOptions {
func union(_ other: NSString.CompareOptions) -> NSString.CompareOptions
func intersection(_ other: NSString.CompareOptions) -> NSString.CompareOptions
func symmetricDifference(_ other: NSString.CompareOptions) -> NSString.CompareOptions
}
extension NSString.CompareOptions {
func contains(_ member: NSString.CompareOptions) -> Bool
mutating func insert(_ newMember: NSString.CompareOptions) -> (inserted: Bool, memberAfterInsert: NSString.CompareOptions)
mutating func remove(_ member: NSString.CompareOptions) -> NSString.CompareOptions?
mutating func update(with newMember: NSString.CompareOptions) -> NSString.CompareOptions?
}
extension NSString.CompareOptions {
convenience init()
mutating func formUnion(_ other: NSString.CompareOptions)
mutating func formIntersection(_ other: NSString.CompareOptions)
mutating func formSymmetricDifference(_ other: NSString.CompareOptions)
}
extension NSString.CompareOptions {
convenience init<S : Sequence where S.Iterator.Element == NSString.CompareOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSString.CompareOptions...)
mutating func subtract(_ other: NSString.CompareOptions)
func isSubset(of other: NSString.CompareOptions) -> Bool
func isSuperset(of other: NSString.CompareOptions) -> Bool
func isDisjoint(with other: NSString.CompareOptions) -> Bool
func subtracting(_ other: NSString.CompareOptions) -> NSString.CompareOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSString.CompareOptions) -> Bool
func isStrictSubset(of other: NSString.CompareOptions) -> Bool
}
extension NSString.CompareOptions {
func intersect(_ other: NSString.CompareOptions) -> NSString.CompareOptions
func exclusiveOr(_ other: NSString.CompareOptions) -> NSString.CompareOptions
mutating func unionInPlace(_ other: NSString.CompareOptions)
mutating func intersectInPlace(_ other: NSString.CompareOptions)
mutating func exclusiveOrInPlace(_ other: NSString.CompareOptions)
func isSubsetOf(_ other: NSString.CompareOptions) -> Bool
func isDisjointWith(_ other: NSString.CompareOptions) -> Bool
func isSupersetOf(_ other: NSString.CompareOptions) -> Bool
mutating func subtractInPlace(_ other: NSString.CompareOptions)
func isStrictSupersetOf(_ other: NSString.CompareOptions) -> Bool
func isStrictSubsetOf(_ other: NSString.CompareOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AnchoredSearch | static var AnchoredSearch: NSStringCompareOptions { get } |
To | anchored | static var anchored: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | BackwardsSearch | static var BackwardsSearch: NSStringCompareOptions { get } |
To | backwards | static var backwards: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | CaseInsensitiveSearch | static var CaseInsensitiveSearch: NSStringCompareOptions { get } |
To | caseInsensitive | static var caseInsensitive: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | DiacriticInsensitiveSearch | static var DiacriticInsensitiveSearch: NSStringCompareOptions { get } |
To | diacriticInsensitive | static var diacriticInsensitive: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | ForcedOrderingSearch | static var ForcedOrderingSearch: NSStringCompareOptions { get } |
To | forcedOrdering | static var forcedOrdering: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | LiteralSearch | static var LiteralSearch: NSStringCompareOptions { get } |
To | literal | static var literal: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | NumericSearch | static var NumericSearch: NSStringCompareOptions { get } |
To | numeric | static var numeric: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | RegularExpressionSearch | static var RegularExpressionSearch: NSStringCompareOptions { get } |
To | regularExpression | static var regularExpression: NSString.CompareOptions { get } |
---|
| Name | Declaration |
From | WidthInsensitiveSearch | static var WidthInsensitiveSearch: NSStringCompareOptions { get } |
To | widthInsensitive | static var widthInsensitive: NSString.CompareOptions { get } |
---|
| Declaration | Protocols |
From | struct NSStringEncodingConversionOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var AllowLossy: NSStringEncodingConversionOptions { get }
static var ExternalRepresentation: NSStringEncodingConversionOptions { get }
} | OptionSetType |
To | struct EncodingConversionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var allowLossy: NSString.EncodingConversionOptions { get }
static var externalRepresentation: NSString.EncodingConversionOptions { get }
}
extension NSString.EncodingConversionOptions {
func union(_ other: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions
func intersection(_ other: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions
func symmetricDifference(_ other: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions
}
extension NSString.EncodingConversionOptions {
func contains(_ member: NSString.EncodingConversionOptions) -> Bool
mutating func insert(_ newMember: NSString.EncodingConversionOptions) -> (inserted: Bool, memberAfterInsert: NSString.EncodingConversionOptions)
mutating func remove(_ member: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions?
mutating func update(with newMember: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions?
}
extension NSString.EncodingConversionOptions {
convenience init()
mutating func formUnion(_ other: NSString.EncodingConversionOptions)
mutating func formIntersection(_ other: NSString.EncodingConversionOptions)
mutating func formSymmetricDifference(_ other: NSString.EncodingConversionOptions)
}
extension NSString.EncodingConversionOptions {
convenience init<S : Sequence where S.Iterator.Element == NSString.EncodingConversionOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSString.EncodingConversionOptions...)
mutating func subtract(_ other: NSString.EncodingConversionOptions)
func isSubset(of other: NSString.EncodingConversionOptions) -> Bool
func isSuperset(of other: NSString.EncodingConversionOptions) -> Bool
func isDisjoint(with other: NSString.EncodingConversionOptions) -> Bool
func subtracting(_ other: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSString.EncodingConversionOptions) -> Bool
func isStrictSubset(of other: NSString.EncodingConversionOptions) -> Bool
}
extension NSString.EncodingConversionOptions {
func intersect(_ other: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions
func exclusiveOr(_ other: NSString.EncodingConversionOptions) -> NSString.EncodingConversionOptions
mutating func unionInPlace(_ other: NSString.EncodingConversionOptions)
mutating func intersectInPlace(_ other: NSString.EncodingConversionOptions)
mutating func exclusiveOrInPlace(_ other: NSString.EncodingConversionOptions)
func isSubsetOf(_ other: NSString.EncodingConversionOptions) -> Bool
func isDisjointWith(_ other: NSString.EncodingConversionOptions) -> Bool
func isSupersetOf(_ other: NSString.EncodingConversionOptions) -> Bool
mutating func subtractInPlace(_ other: NSString.EncodingConversionOptions)
func isStrictSupersetOf(_ other: NSString.EncodingConversionOptions) -> Bool
func isStrictSubsetOf(_ other: NSString.EncodingConversionOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AllowLossy | static var AllowLossy: NSStringEncodingConversionOptions { get } |
To | allowLossy | static var allowLossy: NSString.EncodingConversionOptions { get } |
---|
| Name | Declaration |
From | ExternalRepresentation | static var ExternalRepresentation: NSStringEncodingConversionOptions { get } |
To | externalRepresentation | static var externalRepresentation: NSString.EncodingConversionOptions { get } |
---|
| Declaration | Protocols |
From | struct NSStringEnumerationOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var ByLines: NSStringEnumerationOptions { get }
static var ByParagraphs: NSStringEnumerationOptions { get }
static var ByComposedCharacterSequences: NSStringEnumerationOptions { get }
static var ByWords: NSStringEnumerationOptions { get }
static var BySentences: NSStringEnumerationOptions { get }
static var Reverse: NSStringEnumerationOptions { get }
static var SubstringNotRequired: NSStringEnumerationOptions { get }
static var Localized: NSStringEnumerationOptions { get }
} | OptionSetType |
To | struct EnumerationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var byLines: NSString.EnumerationOptions { get }
static var byParagraphs: NSString.EnumerationOptions { get }
static var byComposedCharacterSequences: NSString.EnumerationOptions { get }
static var byWords: NSString.EnumerationOptions { get }
static var bySentences: NSString.EnumerationOptions { get }
static var reverse: NSString.EnumerationOptions { get }
static var substringNotRequired: NSString.EnumerationOptions { get }
static var localized: NSString.EnumerationOptions { get }
}
extension NSString.EnumerationOptions {
func union(_ other: NSString.EnumerationOptions) -> NSString.EnumerationOptions
func intersection(_ other: NSString.EnumerationOptions) -> NSString.EnumerationOptions
func symmetricDifference(_ other: NSString.EnumerationOptions) -> NSString.EnumerationOptions
}
extension NSString.EnumerationOptions {
func contains(_ member: NSString.EnumerationOptions) -> Bool
mutating func insert(_ newMember: NSString.EnumerationOptions) -> (inserted: Bool, memberAfterInsert: NSString.EnumerationOptions)
mutating func remove(_ member: NSString.EnumerationOptions) -> NSString.EnumerationOptions?
mutating func update(with newMember: NSString.EnumerationOptions) -> NSString.EnumerationOptions?
}
extension NSString.EnumerationOptions {
convenience init()
mutating func formUnion(_ other: NSString.EnumerationOptions)
mutating func formIntersection(_ other: NSString.EnumerationOptions)
mutating func formSymmetricDifference(_ other: NSString.EnumerationOptions)
}
extension NSString.EnumerationOptions {
convenience init<S : Sequence where S.Iterator.Element == NSString.EnumerationOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSString.EnumerationOptions...)
mutating func subtract(_ other: NSString.EnumerationOptions)
func isSubset(of other: NSString.EnumerationOptions) -> Bool
func isSuperset(of other: NSString.EnumerationOptions) -> Bool
func isDisjoint(with other: NSString.EnumerationOptions) -> Bool
func subtracting(_ other: NSString.EnumerationOptions) -> NSString.EnumerationOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSString.EnumerationOptions) -> Bool
func isStrictSubset(of other: NSString.EnumerationOptions) -> Bool
}
extension NSString.EnumerationOptions {
func intersect(_ other: NSString.EnumerationOptions) -> NSString.EnumerationOptions
func exclusiveOr(_ other: NSString.EnumerationOptions) -> NSString.EnumerationOptions
mutating func unionInPlace(_ other: NSString.EnumerationOptions)
mutating func intersectInPlace(_ other: NSString.EnumerationOptions)
mutating func exclusiveOrInPlace(_ other: NSString.EnumerationOptions)
func isSubsetOf(_ other: NSString.EnumerationOptions) -> Bool
func isDisjointWith(_ other: NSString.EnumerationOptions) -> Bool
func isSupersetOf(_ other: NSString.EnumerationOptions) -> Bool
mutating func subtractInPlace(_ other: NSString.EnumerationOptions)
func isStrictSupersetOf(_ other: NSString.EnumerationOptions) -> Bool
func isStrictSubsetOf(_ other: NSString.EnumerationOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | ByComposedCharacterSequences | static var ByComposedCharacterSequences: NSStringEnumerationOptions { get } |
To | byComposedCharacterSequences | static var byComposedCharacterSequences: NSString.EnumerationOptions { get } |
---|
| Name | Declaration | Introduction |
From | ByLines | static var ByLines: NSStringEnumerationOptions { get } | OS X 10.10 |
To | byLines | static var byLines: NSString.EnumerationOptions { get } | OS X 10.12 |
---|
| Name | Declaration |
From | ByParagraphs | static var ByParagraphs: NSStringEnumerationOptions { get } |
To | byParagraphs | static var byParagraphs: NSString.EnumerationOptions { get } |
---|
| Name | Declaration |
From | BySentences | static var BySentences: NSStringEnumerationOptions { get } |
To | bySentences | static var bySentences: NSString.EnumerationOptions { get } |
---|
| Name | Declaration |
From | ByWords | static var ByWords: NSStringEnumerationOptions { get } |
To | byWords | static var byWords: NSString.EnumerationOptions { get } |
---|
| Name | Declaration |
From | Localized | static var Localized: NSStringEnumerationOptions { get } |
To | localized | static var localized: NSString.EnumerationOptions { get } |
---|
| Name | Declaration |
From | Reverse | static var Reverse: NSStringEnumerationOptions { get } |
To | reverse | static var reverse: NSString.EnumerationOptions { get } |
---|
| Name | Declaration |
From | SubstringNotRequired | static var SubstringNotRequired: NSStringEnumerationOptions { get } |
To | substringNotRequired | static var substringNotRequired: NSString.EnumerationOptions { get } |
---|
| Declaration | Protocols |
From | class NSTextCheckingResult : NSObject, NSCopying, NSSecureCoding {
var resultType: NSTextCheckingType { get }
var range: NSRange { get }
}
extension NSTextCheckingResult {
@NSCopying var orthography: NSOrthography? { get }
var grammarDetails: [String]? { get }
@NSCopying var date: NSDate? { get }
@NSCopying var timeZone: NSTimeZone? { get }
var duration: NSTimeInterval { get }
var components: [String : String]? { get }
@NSCopying var URL: NSURL? { get }
var replacementString: String? { get }
var alternativeStrings: [String]? { get }
@NSCopying var regularExpression: NSRegularExpression? { get }
var phoneNumber: String? { get }
var addressComponents: [String : String]? { get }
var numberOfRanges: Int { get }
func rangeAtIndex(_ idx: Int) -> NSRange
func resultByAdjustingRangesWithOffset(_ offset: Int) -> NSTextCheckingResult
}
extension NSTextCheckingResult {
class func orthographyCheckingResultWithRange(_ range: NSRange, orthography orthography: NSOrthography) -> NSTextCheckingResult
class func spellCheckingResultWithRange(_ range: NSRange) -> NSTextCheckingResult
class func grammarCheckingResultWithRange(_ range: NSRange, details details: [String]) -> NSTextCheckingResult
class func dateCheckingResultWithRange(_ range: NSRange, date date: NSDate) -> NSTextCheckingResult
class func dateCheckingResultWithRange(_ range: NSRange, date date: NSDate, timeZone timeZone: NSTimeZone, duration duration: NSTimeInterval) -> NSTextCheckingResult
class func addressCheckingResultWithRange(_ range: NSRange, components components: [String : String]) -> NSTextCheckingResult
class func linkCheckingResultWithRange(_ range: NSRange, URL url: NSURL) -> NSTextCheckingResult
class func quoteCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func dashCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func replacementCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func correctionCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func correctionCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String, alternativeStrings alternativeStrings: [String]) -> NSTextCheckingResult
class func regularExpressionCheckingResultWithRanges(_ ranges: NSRangePointer, count count: Int, regularExpression regularExpression: NSRegularExpression) -> NSTextCheckingResult
class func phoneNumberCheckingResultWithRange(_ range: NSRange, phoneNumber phoneNumber: String) -> NSTextCheckingResult
class func transitInformationCheckingResultWithRange(_ range: NSRange, components components: [String : String]) -> NSTextCheckingResult
} | NSCopying, NSSecureCoding |
To | class NSTextCheckingResult : NSObject, NSCopying, NSSecureCoding {
var resultType: NSTextCheckingResult.CheckingType { get }
var range: NSRange { get }
class func orthographyCheckingResult(range range: NSRange, orthography orthography: NSOrthography) -> NSTextCheckingResult
class func spellCheckingResult(range range: NSRange) -> NSTextCheckingResult
class func grammarCheckingResult(range range: NSRange, details details: [[String : Any]]) -> NSTextCheckingResult
class func dateCheckingResult(range range: NSRange, date date: Date) -> NSTextCheckingResult
class func dateCheckingResult(range range: NSRange, date date: Date, timeZone timeZone: TimeZone, duration duration: TimeInterval) -> NSTextCheckingResult
class func addressCheckingResult(range range: NSRange, components components: [String : String]) -> NSTextCheckingResult
class func linkCheckingResult(range range: NSRange, url url: URL) -> NSTextCheckingResult
class func quoteCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func dashCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func replacementCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func correctionCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func correctionCheckingResult(range range: NSRange, replacementString replacementString: String, alternativeStrings alternativeStrings: [String]) -> NSTextCheckingResult
class func regularExpressionCheckingResult(ranges ranges: NSRangePointer, count count: Int, regularExpression regularExpression: NSRegularExpression) -> NSTextCheckingResult
class func phoneNumberCheckingResult(range range: NSRange, phoneNumber phoneNumber: String) -> NSTextCheckingResult
class func transitInformationCheckingResult(range range: NSRange, components components: [String : String]) -> NSTextCheckingResult
@NSCopying var orthography: NSOrthography? { get }
var grammarDetails: [[String : Any]]? { get }
var date: Date? { get }
var timeZone: TimeZone? { get }
var duration: TimeInterval { get }
var components: [String : String]? { get }
var url: URL? { get }
var replacementString: String? { get }
var alternativeStrings: [String]? { get }
@NSCopying var regularExpression: NSRegularExpression? { get }
var phoneNumber: String? { get }
var addressComponents: [String : String]? { get }
var numberOfRanges: Int { get }
func rangeAt(_ idx: Int) -> NSRange
func resultByAdjustingRangesWithOffset(_ offset: Int) -> NSTextCheckingResult
struct CheckingType : OptionSet {
init(rawValue rawValue: UInt64)
static var orthography: NSTextCheckingResult.CheckingType { get }
static var spelling: NSTextCheckingResult.CheckingType { get }
static var grammar: NSTextCheckingResult.CheckingType { get }
static var date: NSTextCheckingResult.CheckingType { get }
static var address: NSTextCheckingResult.CheckingType { get }
static var link: NSTextCheckingResult.CheckingType { get }
static var quote: NSTextCheckingResult.CheckingType { get }
static var dash: NSTextCheckingResult.CheckingType { get }
static var replacement: NSTextCheckingResult.CheckingType { get }
static var correction: NSTextCheckingResult.CheckingType { get }
static var regularExpression: NSTextCheckingResult.CheckingType { get }
static var phoneNumber: NSTextCheckingResult.CheckingType { get }
static var transitInformation: NSTextCheckingResult.CheckingType { 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 NSTextCheckingResult {
struct CheckingType : OptionSet {
init(rawValue rawValue: UInt64)
static var orthography: NSTextCheckingResult.CheckingType { get }
static var spelling: NSTextCheckingResult.CheckingType { get }
static var grammar: NSTextCheckingResult.CheckingType { get }
static var date: NSTextCheckingResult.CheckingType { get }
static var address: NSTextCheckingResult.CheckingType { get }
static var link: NSTextCheckingResult.CheckingType { get }
static var quote: NSTextCheckingResult.CheckingType { get }
static var dash: NSTextCheckingResult.CheckingType { get }
static var replacement: NSTextCheckingResult.CheckingType { get }
static var correction: NSTextCheckingResult.CheckingType { get }
static var regularExpression: NSTextCheckingResult.CheckingType { get }
static var phoneNumber: NSTextCheckingResult.CheckingType { get }
static var transitInformation: NSTextCheckingResult.CheckingType { get }
}
}
extension NSTextCheckingResult : CVarArg {
}
extension NSTextCheckingResult : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSTextCheckingResult {
@NSCopying var orthography: NSOrthography? { get }
var grammarDetails: [[String : Any]]? { get }
var date: Date? { get }
var timeZone: TimeZone? { get }
var duration: TimeInterval { get }
var components: [String : String]? { get }
var url: URL? { get }
var replacementString: String? { get }
var alternativeStrings: [String]? { get }
@NSCopying var regularExpression: NSRegularExpression? { get }
var phoneNumber: String? { get }
var addressComponents: [String : String]? { get }
var numberOfRanges: Int { get }
func rangeAt(_ idx: Int) -> NSRange
func resultByAdjustingRangesWithOffset(_ offset: Int) -> NSTextCheckingResult
}
extension NSTextCheckingResult {
class func orthographyCheckingResult(range range: NSRange, orthography orthography: NSOrthography) -> NSTextCheckingResult
class func spellCheckingResult(range range: NSRange) -> NSTextCheckingResult
class func grammarCheckingResult(range range: NSRange, details details: [[String : Any]]) -> NSTextCheckingResult
class func dateCheckingResult(range range: NSRange, date date: Date) -> NSTextCheckingResult
class func dateCheckingResult(range range: NSRange, date date: Date, timeZone timeZone: TimeZone, duration duration: TimeInterval) -> NSTextCheckingResult
class func addressCheckingResult(range range: NSRange, components components: [String : String]) -> NSTextCheckingResult
class func linkCheckingResult(range range: NSRange, url url: URL) -> NSTextCheckingResult
class func quoteCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func dashCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func replacementCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func correctionCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult
class func correctionCheckingResult(range range: NSRange, replacementString replacementString: String, alternativeStrings alternativeStrings: [String]) -> NSTextCheckingResult
class func regularExpressionCheckingResult(ranges ranges: NSRangePointer, count count: Int, regularExpression regularExpression: NSRegularExpression) -> NSTextCheckingResult
class func phoneNumberCheckingResult(range range: NSRange, phoneNumber phoneNumber: String) -> NSTextCheckingResult
class func transitInformationCheckingResult(range range: NSRange, components components: [String : String]) -> NSTextCheckingResult
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | class func addressCheckingResultWithRange(_ range: NSRange, components components: [String : String]) -> NSTextCheckingResult |
To | class func addressCheckingResult(range range: NSRange, components components: [String : String]) -> NSTextCheckingResult |
---|
| Declaration |
From | class func correctionCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
To | class func correctionCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
---|
| Declaration |
From | class func correctionCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String, alternativeStrings alternativeStrings: [String]) -> NSTextCheckingResult |
To | class func correctionCheckingResult(range range: NSRange, replacementString replacementString: String, alternativeStrings alternativeStrings: [String]) -> NSTextCheckingResult |
---|
| Declaration |
From | class func dashCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
To | class func dashCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
---|
| Declaration |
From | @NSCopying var date: NSDate? { get } |
To | var date: Date? { get } |
---|
| Declaration |
From | class func dateCheckingResultWithRange(_ range: NSRange, date date: NSDate) -> NSTextCheckingResult |
To | class func dateCheckingResult(range range: NSRange, date date: Date) -> NSTextCheckingResult |
---|
| Declaration |
From | class func dateCheckingResultWithRange(_ range: NSRange, date date: NSDate, timeZone timeZone: NSTimeZone, duration duration: NSTimeInterval) -> NSTextCheckingResult |
To | class func dateCheckingResult(range range: NSRange, date date: Date, timeZone timeZone: TimeZone, duration duration: TimeInterval) -> NSTextCheckingResult |
---|
| Declaration |
From | var duration: NSTimeInterval { get } |
To | var duration: TimeInterval { get } |
---|
| Declaration |
From | class func grammarCheckingResultWithRange(_ range: NSRange, details details: [String]) -> NSTextCheckingResult |
To | class func grammarCheckingResult(range range: NSRange, details details: [[String : Any]]) -> NSTextCheckingResult |
---|
| Declaration |
From | var grammarDetails: [String]? { get } |
To | var grammarDetails: [[String : Any]]? { get } |
---|
| Declaration |
From | class func linkCheckingResultWithRange(_ range: NSRange, URL url: NSURL) -> NSTextCheckingResult |
To | class func linkCheckingResult(range range: NSRange, url url: URL) -> NSTextCheckingResult |
---|
| Declaration |
From | class func orthographyCheckingResultWithRange(_ range: NSRange, orthography orthography: NSOrthography) -> NSTextCheckingResult |
To | class func orthographyCheckingResult(range range: NSRange, orthography orthography: NSOrthography) -> NSTextCheckingResult |
---|
| Declaration |
From | class func phoneNumberCheckingResultWithRange(_ range: NSRange, phoneNumber phoneNumber: String) -> NSTextCheckingResult |
To | class func phoneNumberCheckingResult(range range: NSRange, phoneNumber phoneNumber: String) -> NSTextCheckingResult |
---|
| Declaration |
From | class func quoteCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
To | class func quoteCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
---|
| Declaration |
From | func rangeAtIndex(_ idx: Int) -> NSRange |
To | func rangeAt(_ idx: Int) -> NSRange |
---|
| Declaration |
From | class func regularExpressionCheckingResultWithRanges(_ ranges: NSRangePointer, count count: Int, regularExpression regularExpression: NSRegularExpression) -> NSTextCheckingResult |
To | class func regularExpressionCheckingResult(ranges ranges: NSRangePointer, count count: Int, regularExpression regularExpression: NSRegularExpression) -> NSTextCheckingResult |
---|
| Declaration |
From | class func replacementCheckingResultWithRange(_ range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
To | class func replacementCheckingResult(range range: NSRange, replacementString replacementString: String) -> NSTextCheckingResult |
---|
| Declaration |
From | var resultType: NSTextCheckingType { get } |
To | var resultType: NSTextCheckingResult.CheckingType { get } |
---|
| Declaration |
From | class func spellCheckingResultWithRange(_ range: NSRange) -> NSTextCheckingResult |
To | class func spellCheckingResult(range range: NSRange) -> NSTextCheckingResult |
---|
| Declaration |
From | @NSCopying var timeZone: NSTimeZone? { get } |
To | var timeZone: TimeZone? { get } |
---|
| Declaration |
From | class func transitInformationCheckingResultWithRange(_ range: NSRange, components components: [String : String]) -> NSTextCheckingResult |
To | class func transitInformationCheckingResult(range range: NSRange, components components: [String : String]) -> NSTextCheckingResult |
---|
| Declaration |
From | @NSCopying var URL: NSURL? { get } |
To | var url: URL? { get } |
---|
| Declaration | Protocols |
From | struct NSTextCheckingType : OptionSetType {
init(rawValue rawValue: UInt64)
static var Orthography: NSTextCheckingType { get }
static var Spelling: NSTextCheckingType { get }
static var Grammar: NSTextCheckingType { get }
static var Date: NSTextCheckingType { get }
static var Address: NSTextCheckingType { get }
static var Link: NSTextCheckingType { get }
static var Quote: NSTextCheckingType { get }
static var Dash: NSTextCheckingType { get }
static var Replacement: NSTextCheckingType { get }
static var Correction: NSTextCheckingType { get }
static var RegularExpression: NSTextCheckingType { get }
static var PhoneNumber: NSTextCheckingType { get }
static var TransitInformation: NSTextCheckingType { get }
} | OptionSetType |
To | struct CheckingType : OptionSet {
init(rawValue rawValue: UInt64)
static var orthography: NSTextCheckingResult.CheckingType { get }
static var spelling: NSTextCheckingResult.CheckingType { get }
static var grammar: NSTextCheckingResult.CheckingType { get }
static var date: NSTextCheckingResult.CheckingType { get }
static var address: NSTextCheckingResult.CheckingType { get }
static var link: NSTextCheckingResult.CheckingType { get }
static var quote: NSTextCheckingResult.CheckingType { get }
static var dash: NSTextCheckingResult.CheckingType { get }
static var replacement: NSTextCheckingResult.CheckingType { get }
static var correction: NSTextCheckingResult.CheckingType { get }
static var regularExpression: NSTextCheckingResult.CheckingType { get }
static var phoneNumber: NSTextCheckingResult.CheckingType { get }
static var transitInformation: NSTextCheckingResult.CheckingType { get }
}
extension NSTextCheckingResult.CheckingType {
func union(_ other: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType
func intersection(_ other: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType
func symmetricDifference(_ other: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType
}
extension NSTextCheckingResult.CheckingType {
func contains(_ member: NSTextCheckingResult.CheckingType) -> Bool
mutating func insert(_ newMember: NSTextCheckingResult.CheckingType) -> (inserted: Bool, memberAfterInsert: NSTextCheckingResult.CheckingType)
mutating func remove(_ member: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType?
mutating func update(with newMember: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType?
}
extension NSTextCheckingResult.CheckingType {
convenience init()
mutating func formUnion(_ other: NSTextCheckingResult.CheckingType)
mutating func formIntersection(_ other: NSTextCheckingResult.CheckingType)
mutating func formSymmetricDifference(_ other: NSTextCheckingResult.CheckingType)
}
extension NSTextCheckingResult.CheckingType {
convenience init<S : Sequence where S.Iterator.Element == NSTextCheckingResult.CheckingType>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSTextCheckingResult.CheckingType...)
mutating func subtract(_ other: NSTextCheckingResult.CheckingType)
func isSubset(of other: NSTextCheckingResult.CheckingType) -> Bool
func isSuperset(of other: NSTextCheckingResult.CheckingType) -> Bool
func isDisjoint(with other: NSTextCheckingResult.CheckingType) -> Bool
func subtracting(_ other: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSTextCheckingResult.CheckingType) -> Bool
func isStrictSubset(of other: NSTextCheckingResult.CheckingType) -> Bool
}
extension NSTextCheckingResult.CheckingType {
static var allSystemTypes: NSTextCheckingResult.CheckingType { get }
static var allCustomTypes: NSTextCheckingResult.CheckingType { get }
static var allTypes: NSTextCheckingResult.CheckingType { get }
func intersect(_ other: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType
func exclusiveOr(_ other: NSTextCheckingResult.CheckingType) -> NSTextCheckingResult.CheckingType
mutating func unionInPlace(_ other: NSTextCheckingResult.CheckingType)
mutating func intersectInPlace(_ other: NSTextCheckingResult.CheckingType)
mutating func exclusiveOrInPlace(_ other: NSTextCheckingResult.CheckingType)
func isSubsetOf(_ other: NSTextCheckingResult.CheckingType) -> Bool
func isDisjointWith(_ other: NSTextCheckingResult.CheckingType) -> Bool
func isSupersetOf(_ other: NSTextCheckingResult.CheckingType) -> Bool
mutating func subtractInPlace(_ other: NSTextCheckingResult.CheckingType)
func isStrictSupersetOf(_ other: NSTextCheckingResult.CheckingType) -> Bool
func isStrictSubsetOf(_ other: NSTextCheckingResult.CheckingType) -> Bool
}
extension NSTextCheckingResult.CheckingType {
static var allSystemTypes: NSTextCheckingResult.CheckingType { get }
static var allCustomTypes: NSTextCheckingResult.CheckingType { get }
static var allTypes: NSTextCheckingResult.CheckingType { get }
} | OptionSet |
---|
| Name | Declaration | Introduction |
From | Address | static var Address: NSTextCheckingType { get } | OS X 10.10 |
To | address | static var address: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Correction | static var Correction: NSTextCheckingType { get } | OS X 10.10 |
To | correction | static var correction: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Dash | static var Dash: NSTextCheckingType { get } | OS X 10.10 |
To | dash | static var dash: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Date | static var Date: NSTextCheckingType { get } | OS X 10.10 |
To | date | static var date: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Grammar | static var Grammar: NSTextCheckingType { get } | OS X 10.10 |
To | grammar | static var grammar: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Link | static var Link: NSTextCheckingType { get } | OS X 10.10 |
To | link | static var link: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Orthography | static var Orthography: NSTextCheckingType { get } | OS X 10.10 |
To | orthography | static var orthography: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration |
From | PhoneNumber | static var PhoneNumber: NSTextCheckingType { get } |
To | phoneNumber | static var phoneNumber: NSTextCheckingResult.CheckingType { get } |
---|
| Name | Declaration | Introduction |
From | Quote | static var Quote: NSTextCheckingType { get } | OS X 10.10 |
To | quote | static var quote: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration |
From | RegularExpression | static var RegularExpression: NSTextCheckingType { get } |
To | regularExpression | static var regularExpression: NSTextCheckingResult.CheckingType { get } |
---|
| Name | Declaration | Introduction |
From | Replacement | static var Replacement: NSTextCheckingType { get } | OS X 10.10 |
To | replacement | static var replacement: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Spelling | static var Spelling: NSTextCheckingType { get } | OS X 10.10 |
To | spelling | static var spelling: NSTextCheckingResult.CheckingType { get } | OS X 10.12 |
---|
| Name | Declaration |
From | TransitInformation | static var TransitInformation: NSTextCheckingType { get } |
To | transitInformation | static var transitInformation: NSTextCheckingResult.CheckingType { get } |
---|
| Declaration | Protocols |
From | class NSTimeZone : NSObject, NSCopying, NSSecureCoding {
var name: String { get }
@NSCopying var data: NSData { get }
func secondsFromGMTForDate(_ aDate: NSDate) -> Int
func abbreviationForDate(_ aDate: NSDate) -> String?
func isDaylightSavingTimeForDate(_ aDate: NSDate) -> Bool
func daylightSavingTimeOffsetForDate(_ aDate: NSDate) -> NSTimeInterval
func nextDaylightSavingTimeTransitionAfterDate(_ aDate: NSDate) -> NSDate?
}
extension NSTimeZone {
class func systemTimeZone() -> NSTimeZone
class func resetSystemTimeZone()
class func defaultTimeZone() -> NSTimeZone
class func setDefaultTimeZone(_ aTimeZone: NSTimeZone)
class func localTimeZone() -> NSTimeZone
class func knownTimeZoneNames() -> [String]
class func abbreviationDictionary() -> [String : String]
class func setAbbreviationDictionary(_ dict: [String : String])
class func timeZoneDataVersion() -> String
var secondsFromGMT: Int { get }
var abbreviation: String? { get }
var daylightSavingTime: Bool { get }
var daylightSavingTimeOffset: NSTimeInterval { get }
@NSCopying var nextDaylightSavingTimeTransition: NSDate? { get }
var description: String { get }
func isEqualToTimeZone(_ aTimeZone: NSTimeZone) -> Bool
func localizedName(_ style: NSTimeZoneNameStyle, locale locale: NSLocale?) -> String?
}
extension NSTimeZone {
convenience init?(name tzName: String)
class func timeZoneWithName(_ tzName: String) -> Self?
convenience init?(name tzName: String, data aData: NSData?)
class func timeZoneWithName(_ tzName: String, data aData: NSData?) -> Self?
init?(name tzName: String)
init?(name tzName: String, data aData: NSData?)
convenience init(forSecondsFromGMT seconds: Int)
class func timeZoneForSecondsFromGMT(_ seconds: Int) -> Self
convenience init?(abbreviation abbreviation: String)
class func timeZoneWithAbbreviation(_ abbreviation: String) -> Self?
} | NSCopying, NSSecureCoding |
To | class NSTimeZone : NSObject, NSCopying, NSSecureCoding {
var name: String { get }
var data: Data { get }
func secondsFromGMT(for aDate: Date) -> Int
func abbreviation(for aDate: Date) -> String?
func isDaylightSavingTime(for aDate: Date) -> Bool
func daylightSavingTimeOffset(for aDate: Date) -> TimeInterval
func nextDaylightSavingTimeTransition(after aDate: Date) -> Date?
convenience init?(name tzName: String)
class func withName(_ tzName: String) -> Self?
convenience init?(name tzName: String, data aData: Data?)
class func withName(_ tzName: String, data aData: Data?) -> Self?
init?(name tzName: String)
init?(name tzName: String, data aData: Data?)
convenience init(forSecondsFromGMT seconds: Int)
class func forSecondsFromGMT(_ seconds: Int) -> Self
convenience init?(abbreviation abbreviation: String)
class func withAbbreviation(_ abbreviation: String) -> Self?
class var system: TimeZone { get }
class func resetSystemTimeZone()
class var `default`: TimeZone
class var local: TimeZone { get }
class var knownTimeZoneNames: [String] { get }
class var abbreviationDictionary: [String : String]
class var timeZoneDataVersion: String { get }
var secondsFromGMT: Int { get }
var abbreviation: String? { get }
var isDaylightSavingTime: Bool { get }
var daylightSavingTimeOffset: TimeInterval { get }
var nextDaylightSavingTimeTransition: Date? { get }
var description: String { get }
func isEqual(to aTimeZone: TimeZone) -> Bool
func localizedName(_ style: NSTimeZone.NameStyle, locale locale: Locale?) -> String?
enum NameStyle : Int {
case standard
case shortStandard
case daylightSaving
case shortDaylightSaving
case generic
case shortGeneric
}
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 NSTimeZone : CVarArg {
}
extension NSTimeZone : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSTimeZone {
class var system: TimeZone { get }
class func resetSystemTimeZone()
class var `default`: TimeZone
class var local: TimeZone { get }
class var knownTimeZoneNames: [String] { get }
class var abbreviationDictionary: [String : String]
class var timeZoneDataVersion: String { get }
var secondsFromGMT: Int { get }
var abbreviation: String? { get }
var isDaylightSavingTime: Bool { get }
var daylightSavingTimeOffset: TimeInterval { get }
var nextDaylightSavingTimeTransition: Date? { get }
var description: String { get }
func isEqual(to aTimeZone: TimeZone) -> Bool
func localizedName(_ style: NSTimeZone.NameStyle, locale locale: Locale?) -> String?
}
extension NSTimeZone {
enum NameStyle : Int {
case standard
case shortStandard
case daylightSaving
case shortDaylightSaving
case generic
case shortGeneric
}
}
extension NSTimeZone {
convenience init?(name tzName: String)
class func withName(_ tzName: String) -> Self?
convenience init?(name tzName: String, data aData: Data?)
class func withName(_ tzName: String, data aData: Data?) -> Self?
init?(name tzName: String)
init?(name tzName: String, data aData: Data?)
convenience init(forSecondsFromGMT seconds: Int)
class func forSecondsFromGMT(_ seconds: Int) -> Self
convenience init?(abbreviation abbreviation: String)
class func withAbbreviation(_ abbreviation: String) -> Self?
}
extension NSTimeZone {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func abbreviationForDate(_ aDate: NSDate) -> String? |
To | func abbreviation(for aDate: Date) -> String? |
---|
| Declaration |
From | @NSCopying var data: NSData { get } |
To | var data: Data { get } |
---|
| Declaration |
From | var daylightSavingTimeOffset: NSTimeInterval { get } |
To | var daylightSavingTimeOffset: TimeInterval { get } |
---|
| Declaration |
From | func daylightSavingTimeOffsetForDate(_ aDate: NSDate) -> NSTimeInterval |
To | func daylightSavingTimeOffset(for aDate: Date) -> TimeInterval |
---|
| Declaration |
From | init?(name tzName: String, data aData: NSData?) |
To | init?(name tzName: String, data aData: Data?) |
---|
| Declaration |
From | var daylightSavingTime: Bool { get } |
To | var isDaylightSavingTime: Bool { get } |
---|
| Declaration |
From | func isDaylightSavingTimeForDate(_ aDate: NSDate) -> Bool |
To | func isDaylightSavingTime(for aDate: Date) -> Bool |
---|
| Declaration |
From | func isEqualToTimeZone(_ aTimeZone: NSTimeZone) -> Bool |
To | func isEqual(to aTimeZone: TimeZone) -> Bool |
---|
| Declaration |
From | func localizedName(_ style: NSTimeZoneNameStyle, locale locale: NSLocale?) -> String? |
To | func localizedName(_ style: NSTimeZone.NameStyle, locale locale: Locale?) -> String? |
---|
| Declaration |
From | @NSCopying var nextDaylightSavingTimeTransition: NSDate? { get } |
To | var nextDaylightSavingTimeTransition: Date? { get } |
---|
| Declaration |
From | func nextDaylightSavingTimeTransitionAfterDate(_ aDate: NSDate) -> NSDate? |
To | func nextDaylightSavingTimeTransition(after aDate: Date) -> Date? |
---|
| Declaration |
From | func secondsFromGMTForDate(_ aDate: NSDate) -> Int |
To | func secondsFromGMT(for aDate: Date) -> Int |
---|
| Declaration |
From | enum NSTimeZoneNameStyle : Int {
case Standard
case ShortStandard
case DaylightSaving
case ShortDaylightSaving
case Generic
case ShortGeneric
} |
To | enum NameStyle : Int {
case standard
case shortStandard
case daylightSaving
case shortDaylightSaving
case generic
case shortGeneric
} |
---|
| Name | Declaration | Introduction |
From | DaylightSaving | case DaylightSaving | OS X 10.10 |
To | daylightSaving | case daylightSaving | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Generic | case Generic | OS X 10.10 |
To | generic | case generic | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ShortDaylightSaving | case ShortDaylightSaving | OS X 10.10 |
To | shortDaylightSaving | case shortDaylightSaving | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ShortGeneric | case ShortGeneric | OS X 10.10 |
To | shortGeneric | case shortGeneric | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ShortStandard | case ShortStandard | OS X 10.10 |
To | shortStandard | case shortStandard | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | Standard | case Standard | OS X 10.10 |
To | standard | case standard | OS X 10.12 |
---|
| Declaration | Protocols |
From | class NSUbiquitousKeyValueStore : NSObject {
class func defaultStore() -> NSUbiquitousKeyValueStore
func objectForKey(_ aKey: String) -> AnyObject?
func setObject(_ anObject: AnyObject?, forKey aKey: String)
func removeObjectForKey(_ aKey: String)
func stringForKey(_ aKey: String) -> String?
func arrayForKey(_ aKey: String) -> [AnyObject]?
func dictionaryForKey(_ aKey: String) -> [String : AnyObject]?
func dataForKey(_ aKey: String) -> NSData?
func longLongForKey(_ aKey: String) -> Int64
func doubleForKey(_ aKey: String) -> Double
func boolForKey(_ aKey: String) -> Bool
func setString(_ aString: String?, forKey aKey: String)
func setData(_ aData: NSData?, forKey aKey: String)
func setArray(_ anArray: [AnyObject]?, forKey aKey: String)
func setDictionary(_ aDictionary: [String : AnyObject]?, forKey aKey: String)
func setLongLong(_ value: Int64, forKey aKey: String)
func setDouble(_ value: Double, forKey aKey: String)
func setBool(_ value: Bool, forKey aKey: String)
var dictionaryRepresentation: [String : AnyObject] { get }
func synchronize() -> Bool
} | -- |
To | class NSUbiquitousKeyValueStore : NSObject {
class func `default`() -> NSUbiquitousKeyValueStore
func object(forKey aKey: String) -> Any?
func set(_ anObject: Any?, forKey aKey: String)
func removeObject(forKey aKey: String)
func string(forKey aKey: String) -> String?
func array(forKey aKey: String) -> [Any]?
func dictionary(forKey aKey: String) -> [String : Any]?
func data(forKey aKey: String) -> Data?
func longLong(forKey aKey: String) -> Int64
func double(forKey aKey: String) -> Double
func bool(forKey aKey: String) -> Bool
func set(_ aString: String?, forKey aKey: String)
func set(_ aData: Data?, forKey aKey: String)
func set(_ anArray: [Any]?, forKey aKey: String)
func set(_ aDictionary: [String : Any]?, forKey aKey: String)
func set(_ value: Int64, forKey aKey: String)
func set(_ value: Double, forKey aKey: String)
func set(_ value: Bool, forKey aKey: String)
var dictionaryRepresentation: [String : Any] { get }
func synchronize() -> Bool
class let didChangeExternallyNotification: NSNotification.Name
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 NSUbiquitousKeyValueStore : CVarArg {
}
extension NSUbiquitousKeyValueStore : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSUbiquitousKeyValueStore {
class let didChangeExternallyNotification: NSNotification.Name
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func arrayForKey(_ aKey: String) -> [AnyObject]? |
To | func array(forKey aKey: String) -> [Any]? |
---|
| Declaration |
From | func boolForKey(_ aKey: String) -> Bool |
To | func bool(forKey aKey: String) -> Bool |
---|
| Declaration |
From | func dataForKey(_ aKey: String) -> NSData? |
To | func data(forKey aKey: String) -> Data? |
---|
| Declaration |
From | class func defaultStore() -> NSUbiquitousKeyValueStore |
To | class func `default`() -> NSUbiquitousKeyValueStore |
---|
| Declaration |
From | func dictionaryForKey(_ aKey: String) -> [String : AnyObject]? |
To | func dictionary(forKey aKey: String) -> [String : Any]? |
---|
| Declaration |
From | var dictionaryRepresentation: [String : AnyObject] { get } |
To | var dictionaryRepresentation: [String : Any] { get } |
---|
| Name | Declaration |
From | NSUbiquitousKeyValueStoreDidChangeExternallyNotification | let NSUbiquitousKeyValueStoreDidChangeExternallyNotification: String |
To | didChangeExternallyNotification | class let didChangeExternallyNotification: NSNotification.Name |
---|
| Declaration |
From | func doubleForKey(_ aKey: String) -> Double |
To | func double(forKey aKey: String) -> Double |
---|
| Declaration |
From | func longLongForKey(_ aKey: String) -> Int64 |
To | func longLong(forKey aKey: String) -> Int64 |
---|
| Declaration |
From | func objectForKey(_ aKey: String) -> AnyObject? |
To | func object(forKey aKey: String) -> Any? |
---|
| Declaration |
From | func removeObjectForKey(_ aKey: String) |
To | func removeObject(forKey aKey: String) |
---|
| Declaration |
From | func setDictionary(_ aDictionary: [String : AnyObject]?, forKey aKey: String) |
To | func set(_ aDictionary: [String : Any]?, forKey aKey: String) |
---|
| Declaration |
From | func setLongLong(_ value: Int64, forKey aKey: String) |
To | func set(_ value: Int64, forKey aKey: String) |
---|
| Declaration |
From | func setObject(_ anObject: AnyObject?, forKey aKey: String) |
To | func set(_ anObject: Any?, forKey aKey: String) |
---|
| Declaration |
From | func setData(_ aData: NSData?, forKey aKey: String) |
To | func set(_ aData: Data?, forKey aKey: String) |
---|
| Declaration |
From | func setDouble(_ value: Double, forKey aKey: String) |
To | func set(_ value: Double, forKey aKey: String) |
---|
| Declaration |
From | func setArray(_ anArray: [AnyObject]?, forKey aKey: String) |
To | func set(_ anArray: [Any]?, forKey aKey: String) |
---|
| Declaration |
From | func setString(_ aString: String?, forKey aKey: String) |
To | func set(_ aString: String?, forKey aKey: String) |
---|
| Declaration |
From | func setBool(_ value: Bool, forKey aKey: String) |
To | func set(_ value: Bool, forKey aKey: String) |
---|
| Declaration |
From | func stringForKey(_ aKey: String) -> String? |
To | func string(forKey aKey: String) -> String? |
---|
| Declaration | Protocols |
From | class NSUnarchiver : NSCoder {
init?(forReadingWithData data: NSData)
func setObjectZone(_ zone: NSZone)
func objectZone() -> NSZone
var atEnd: Bool { get }
var systemVersion: UInt32 { get }
class func unarchiveObjectWithData(_ data: NSData) -> AnyObject?
class func unarchiveObjectWithFile(_ path: String) -> AnyObject?
class func decodeClassName(_ inArchiveName: String, asClassName trueName: String)
func decodeClassName(_ inArchiveName: String, asClassName trueName: String)
class func classNameDecodedForArchiveClassName(_ inArchiveName: String) -> String
func classNameDecodedForArchiveClassName(_ inArchiveName: String) -> String
func replaceObject(_ object: AnyObject, withObject newObject: AnyObject)
} | -- |
To | class NSUnarchiver : NSCoder {
init?(forReadingWith data: Data)
func setObjectZone(_ zone: NSZone?)
func objectZone() -> NSZone?
var isAtEnd: Bool { get }
var systemVersion: UInt32 { get }
class func unarchiveObject(with data: Data) -> Any?
class func unarchiveObject(withFile path: String) -> Any?
class func decodeClassName(_ inArchiveName: String, asClassName trueName: String)
func decodeClassName(_ inArchiveName: String, asClassName trueName: String)
class func classNameDecoded(forArchiveClassName inArchiveName: String) -> String
func classNameDecoded(forArchiveClassName inArchiveName: String) -> String
func replace(_ object: Any, with newObject: Any)
@nonobjc func decodeObjectOfClasses(_ classes: NSSet?, forKey key: String) -> AnyObject?
@nonobjc func decodeObject(of classes: [AnyClass]?, forKey key: String) -> Any?
@nonobjc func decodeTopLevelObject() throws -> Any?
func decodeTopLevelObjectForKey(_ key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObjectOfClasses(_ classes: NSSet?, forKey key: String) throws -> AnyObject?
@nonobjc func decodeTopLevelObject(of classes: [AnyClass]?, forKey key: String) throws -> Any?
func encode(_ point: NSPoint, forKey key: String)
func encode(_ size: NSSize, forKey key: String)
func encode(_ rect: NSRect, forKey key: String)
func decodePoint(forKey key: String) -> NSPoint
func decodeSize(forKey key: String) -> NSSize
func decodeRect(forKey key: String) -> NSRect
func encode(_ point: NSPoint)
func decodePoint() -> NSPoint
func encode(_ size: NSSize)
func decodeSize() -> NSSize
func encode(_ rect: NSRect)
func decodeRect() -> NSRect
func encodeNXObject(_ object: Any)
func decodeNXObject() -> Any?
func encode(_ object: Any?)
func encodeRootObject(_ rootObject: Any)
func encodeBycopyObject(_ anObject: Any?)
func encodeByrefObject(_ anObject: Any?)
func encodeConditionalObject(_ object: Any?)
func encodeArray(ofObjCType type: UnsafePointer<Int8>, count count: Int, at array: UnsafeRawPointer)
func encodeBytes(_ byteaddr: UnsafeRawPointer?, length length: Int)
func decodeObject() -> Any?
func decodeArray(ofObjCType itemType: UnsafePointer<Int8>, count count: Int, at array: UnsafeMutableRawPointer)
func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer?
func encodePropertyList(_ aPropertyList: Any)
func decodePropertyList() -> Any?
var systemVersion: UInt32 { get }
var allowsKeyedCoding: Bool { get }
func encode(_ objv: Any?, forKey key: String)
func encodeConditionalObject(_ objv: Any?, forKey key: String)
func encode(_ boolv: Bool, forKey key: String)
func encodeCInt(_ intv: Int32, forKey key: String)
func encode(_ intv: Int32, forKey key: String)
func encode(_ intv: Int64, forKey key: String)
func encode(_ realv: Float, forKey key: String)
func encode(_ realv: Double, forKey key: String)
func encodeBytes(_ bytesp: UnsafePointer<UInt8>?, length lenv: Int, forKey key: String)
func containsValue(forKey key: String) -> Bool
func decodeObject(forKey key: String) -> Any?
func decodeBool(forKey key: String) -> Bool
func decodeCInt(forKey key: String) -> Int32
func decodeInt32(forKey key: String) -> Int32
func decodeInt64(forKey key: String) -> Int64
func decodeFloat(forKey key: String) -> Float
func decodeDouble(forKey key: String) -> Double
func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
func encode(_ intv: Int, forKey key: String)
func decodeInteger(forKey key: String) -> Int
var requiresSecureCoding: Bool { get }
func __decodeObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) -> Any?
func decodeTopLevelObject(ofClasses classes: Set<AnyHashable>?, forKey key: String) throws -> Any
func decodePropertyList(forKey key: String) -> Any?
var allowedClasses: Set<AnyHashable>? { get }
func failWithError(_ error: Error)
var decodingFailurePolicy: NSCoder.DecodingFailurePolicy { get }
var error: Error? { get }
enum DecodingFailurePolicy : Int {
case raiseException
case setErrorAndReturn
}
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 NSUnarchiver : CVarArg {
}
extension NSUnarchiver : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func classNameDecodedForArchiveClassName(_ inArchiveName: String) -> String |
To | class func classNameDecoded(forArchiveClassName inArchiveName: String) -> String |
---|
| Declaration |
From | func classNameDecodedForArchiveClassName(_ inArchiveName: String) -> String |
To | func classNameDecoded(forArchiveClassName inArchiveName: String) -> String |
---|
| Declaration |
From | init?(forReadingWithData data: NSData) |
To | init?(forReadingWith data: Data) |
---|
| Declaration |
From | var atEnd: Bool { get } |
To | var isAtEnd: Bool { get } |
---|
| Declaration |
From | func replaceObject(_ object: AnyObject, withObject newObject: AnyObject) |
To | func replace(_ object: Any, with newObject: Any) |
---|
| Declaration |
From | class func unarchiveObjectWithData(_ data: NSData) -> AnyObject? |
To | class func unarchiveObject(with data: Data) -> Any? |
---|
| Declaration |
From | class func unarchiveObjectWithFile(_ path: String) -> AnyObject? |
To | class func unarchiveObject(withFile path: String) -> Any? |
---|
| Declaration |
From | class NSUniqueIDSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, uniqueID uniqueID: AnyObject)
@NSCopying var uniqueID: AnyObject
} |
To | class NSUniqueIDSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, uniqueID uniqueID: Any)
var uniqueID: Any
} |
---|
| Declaration |
From | init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, uniqueID uniqueID: AnyObject) |
To | init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, uniqueID uniqueID: Any) |
---|
| Declaration |
From | @NSCopying var uniqueID: AnyObject |
To | var uniqueID: Any |
---|
| Declaration | Protocols |
From | class NSURL : NSObject, NSSecureCoding, NSCopying, NSURLHandleClient {
convenience init?(scheme scheme: String, host host: String?, path path: String)
init(fileURLWithPath path: String, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?)
init(fileURLWithPath path: String, relativeToURL baseURL: NSURL?)
init(fileURLWithPath path: String, isDirectory isDir: Bool)
init(fileURLWithPath path: String)
class func fileURLWithPath(_ path: String, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?) -> NSURL
class func fileURLWithPath(_ path: String, relativeToURL baseURL: NSURL?) -> NSURL
class func fileURLWithPath(_ path: String, isDirectory isDir: Bool) -> NSURL
class func fileURLWithPath(_ path: String) -> NSURL
init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?)
class func fileURLWithFileSystemRepresentation(_ path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?) -> NSURL
convenience init?(string URLString: String)
init?(string URLString: String, relativeToURL baseURL: NSURL?)
class func URLWithString(_ URLString: String) -> Self?
class func URLWithString(_ URLString: String, relativeToURL baseURL: NSURL?) -> Self?
init(dataRepresentation data: NSData, relativeToURL baseURL: NSURL?)
class func URLWithDataRepresentation(_ data: NSData, relativeToURL baseURL: NSURL?) -> NSURL
init(absoluteURLWithDataRepresentation data: NSData, relativeToURL baseURL: NSURL?)
class func absoluteURLWithDataRepresentation(_ data: NSData, relativeToURL baseURL: NSURL?) -> NSURL
@NSCopying var dataRepresentation: NSData { get }
var absoluteString: String { get }
var relativeString: String? { get }
@NSCopying var baseURL: NSURL? { get }
@NSCopying var absoluteURL: NSURL { get }
var scheme: String { get }
var resourceSpecifier: String { get }
var host: String? { get }
@NSCopying var port: NSNumber? { get }
var user: String? { get }
var password: String? { get }
var path: String? { get }
var fragment: String? { get }
var parameterString: String? { get }
var query: String? { get }
var relativePath: String? { get }
var hasDirectoryPath: Bool { get }
func getFileSystemRepresentation(_ buffer: UnsafeMutablePointer<Int8>, maxLength maxBufferLength: Int) -> Bool
var fileSystemRepresentation: UnsafePointer<Int8> { get }
var fileURL: Bool { get }
@NSCopying var standardizedURL: NSURL? { get }
func checkResourceIsReachableAndReturnError(_ error: NSErrorPointer) -> Bool
func isFileReferenceURL() -> Bool
func fileReferenceURL() -> NSURL?
@NSCopying var filePathURL: NSURL? { get }
func getResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: String) throws
func resourceValuesForKeys(_ keys: [String]) throws -> [String : AnyObject]
func setResourceValue(_ value: AnyObject?, forKey key: String) throws
func setResourceValues(_ keyedValues: [String : AnyObject]) throws
func removeCachedResourceValueForKey(_ key: String)
func removeAllCachedResourceValues()
func setTemporaryResourceValue(_ value: AnyObject?, forKey key: String)
func bookmarkDataWithOptions(_ options: NSURLBookmarkCreationOptions, includingResourceValuesForKeys keys: [String]?, relativeToURL relativeURL: NSURL?) throws -> NSData
convenience init(byResolvingBookmarkData bookmarkData: NSData, options options: NSURLBookmarkResolutionOptions, relativeToURL relativeURL: NSURL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>) throws
class func URLByResolvingBookmarkData(_ bookmarkData: NSData, options options: NSURLBookmarkResolutionOptions, relativeToURL relativeURL: NSURL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>) throws -> Self
class func resourceValuesForKeys(_ keys: [String], fromBookmarkData bookmarkData: NSData) -> [String : AnyObject]?
class func writeBookmarkData(_ bookmarkData: NSData, toURL bookmarkFileURL: NSURL, options options: NSURLBookmarkFileCreationOptions) throws
class func bookmarkDataWithContentsOfURL(_ bookmarkFileURL: NSURL) throws -> NSData
convenience init(byResolvingAliasFileAtURL url: NSURL, options options: NSURLBookmarkResolutionOptions) throws
class func URLByResolvingAliasFileAtURL(_ url: NSURL, options options: NSURLBookmarkResolutionOptions) throws -> Self
func startAccessingSecurityScopedResource() -> Bool
func stopAccessingSecurityScopedResource()
}
extension NSURL : NSPasteboardWriting, NSPasteboardReading {
init?(fromPasteboard pasteBoard: NSPasteboard)
class func URLFromPasteboard(_ pasteBoard: NSPasteboard) -> NSURL?
func writeToPasteboard(_ pasteBoard: NSPasteboard)
}
extension NSURL {
required convenience init(fileReferenceLiteral path: String)
}
extension NSURL : _Reflectable {
}
extension NSURL {
func getPromisedItemResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: String) throws
func promisedItemResourceValuesForKeys(_ keys: [String]) throws -> [String : AnyObject]
func checkPromisedItemIsReachableAndReturnError(_ error: NSErrorPointer) -> Bool
}
extension NSURL {
class func fileURLWithPathComponents(_ components: [String]) -> NSURL?
var pathComponents: [String]? { get }
var lastPathComponent: String? { get }
var pathExtension: String? { get }
func URLByAppendingPathComponent(_ pathComponent: String) -> NSURL
func URLByAppendingPathComponent(_ pathComponent: String, isDirectory isDirectory: Bool) -> NSURL
@NSCopying var URLByDeletingLastPathComponent: NSURL? { get }
func URLByAppendingPathExtension(_ pathExtension: String) -> NSURL
@NSCopying var URLByDeletingPathExtension: NSURL? { get }
@NSCopying var URLByStandardizingPath: NSURL? { get }
@NSCopying var URLByResolvingSymlinksInPath: NSURL? { get }
}
extension NSURL {
func resourceDataUsingCache(_ shouldUseCache: Bool) -> NSData?
func loadResourceDataNotifyingClient(_ client: AnyObject, usingCache shouldUseCache: Bool)
func propertyForKey(_ propertyKey: String) -> AnyObject?
func setResourceData(_ data: NSData) -> Bool
func setProperty(_ property: AnyObject, forKey propertyKey: String) -> Bool
func URLHandleUsingCache(_ shouldUseCache: Bool) -> NSURLHandle?
}
extension NSURL : _Reflectable {
}
extension NSURL {
required convenience init(fileReferenceLiteral path: String)
}
extension NSURL : QLPreviewItem {
} | NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding, NSURLHandleClient, QLPreviewItem |
To | class NSURL : NSObject, NSSecureCoding, NSCopying, NSURLHandleClient {
convenience init?(scheme scheme: String, host host: String?, path path: String)
init(fileURLWithPath path: String, isDirectory isDir: Bool, relativeTo baseURL: URL?)
init(fileURLWithPath path: String, relativeTo baseURL: URL?)
init(fileURLWithPath path: String, isDirectory isDir: Bool)
init(fileURLWithPath path: String)
class func fileURL(withPath path: String, isDirectory isDir: Bool, relativeTo baseURL: URL?) -> URL
class func fileURL(withPath path: String, relativeTo baseURL: URL?) -> URL
class func fileURL(withPath path: String, isDirectory isDir: Bool) -> URL
class func fileURL(withPath path: String) -> URL
init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeTo baseURL: URL?)
class func fileURL(withFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeTo baseURL: URL?) -> URL
convenience init?(string URLString: String)
init?(string URLString: String, relativeTo baseURL: URL?)
class func withString(_ URLString: String) -> Self?
class func withString(_ URLString: String, relativeTo baseURL: URL?) -> Self?
init(dataRepresentation data: Data, relativeTo baseURL: URL?)
class func withDataRepresentation(_ data: Data, relativeTo baseURL: URL?) -> URL
init(absoluteURLWithDataRepresentation data: Data, relativeTo baseURL: URL?)
class func absoluteURL(withDataRepresentation data: Data, relativeTo baseURL: URL?) -> URL
var dataRepresentation: Data { get }
var absoluteString: String? { get }
var relativeString: String { get }
var baseURL: URL? { get }
var absoluteURL: URL? { get }
var scheme: String? { get }
var resourceSpecifier: String? { get }
var host: String? { get }
@NSCopying var port: NSNumber? { get }
var user: String? { get }
var password: String? { get }
var path: String? { get }
var fragment: String? { get }
var parameterString: String? { get }
var query: String? { get }
var relativePath: String? { get }
var hasDirectoryPath: Bool { get }
func getFileSystemRepresentation(_ buffer: UnsafeMutablePointer<Int8>, maxLength maxBufferLength: Int) -> Bool
var fileSystemRepresentation: UnsafePointer<Int8> { get }
var isFileURL: Bool { get }
var standardized: URL? { get }
func checkResourceIsReachableAndReturnError(_ error: NSErrorPointer) -> Bool
func isFileReferenceURL() -> Bool
func fileReferenceURL() -> URL?
var filePathURL: URL? { get }
func getResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: URLResourceKey) throws
func resourceValues(forKeys keys: [URLResourceKey]) throws -> [URLResourceKey : Any]
func setResourceValue(_ value: Any?, forKey key: URLResourceKey) throws
func setResourceValues(_ keyedValues: [URLResourceKey : Any]) throws
func removeCachedResourceValue(forKey key: URLResourceKey)
func removeAllCachedResourceValues()
func setTemporaryResourceValue(_ value: Any?, forKey key: URLResourceKey)
func bookmarkData(options options: NSURL.BookmarkCreationOptions = [], includingResourceValuesForKeys keys: [URLResourceKey]?, relativeTo relativeURL: URL?) throws -> Data
convenience init(resolvingBookmarkData bookmarkData: Data, options options: NSURL.BookmarkResolutionOptions = [], relativeTo relativeURL: URL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>?) throws
convenience init(byResolvingBookmarkData bookmarkData: Data, options options: NSURL.BookmarkResolutionOptions = [], relativeTo relativeURL: URL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>?) throws
class func resolvingBookmarkData(_ bookmarkData: Data, options options: NSURL.BookmarkResolutionOptions = [], relativeTo relativeURL: URL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>?) throws -> Self
class func resourceValues(forKeys keys: [URLResourceKey], fromBookmarkData bookmarkData: Data) -> [URLResourceKey : Any]?
class func writeBookmarkData(_ bookmarkData: Data, to bookmarkFileURL: URL, options options: NSURL.BookmarkFileCreationOptions) throws
class func bookmarkData(withContentsOf bookmarkFileURL: URL) throws -> Data
convenience init(resolvingAliasFileAt url: URL, options options: NSURL.BookmarkResolutionOptions = []) throws
class func resolvingAliasFile(at url: URL, options options: NSURL.BookmarkResolutionOptions = []) throws -> Self
func startAccessingSecurityScopedResource() -> Bool
func stopAccessingSecurityScopedResource()
func resourceData(usingCache shouldUseCache: Bool) -> Data?
func loadResourceDataNotifyingClient(_ client: Any, usingCache shouldUseCache: Bool)
func property(forKey propertyKey: String) -> Any?
func setResourceData(_ data: Data) -> Bool
func setProperty(_ property: Any, forKey propertyKey: String) -> Bool
func urlHandle(usingCache shouldUseCache: Bool) -> NSURLHandle?
class func fileURL(withPathComponents components: [String]) -> URL?
var pathComponents: [String]? { get }
var lastPathComponent: String? { get }
var pathExtension: String? { get }
func appendingPathComponent(_ pathComponent: String) -> URL?
func appendingPathComponent(_ pathComponent: String, isDirectory isDirectory: Bool) -> URL?
var deletingLastPathComponent: URL? { get }
func appendingPathExtension(_ pathExtension: String) -> URL?
var deletingPathExtension: URL? { get }
var standardizingPath: URL? { get }
var resolvingSymlinksInPath: URL? { get }
func getPromisedItemResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: URLResourceKey) throws
func promisedItemResourceValues(forKeys keys: [URLResourceKey]) throws -> [URLResourceKey : Any]
func checkPromisedItemIsReachableAndReturnError(_ error: NSErrorPointer) -> Bool
struct BookmarkCreationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var preferFileIDResolution: NSURL.BookmarkCreationOptions { get }
static var minimalBookmark: NSURL.BookmarkCreationOptions { get }
static var suitableForBookmarkFile: NSURL.BookmarkCreationOptions { get }
static var withSecurityScope: NSURL.BookmarkCreationOptions { get }
static var securityScopeAllowOnlyReadAccess: NSURL.BookmarkCreationOptions { get }
}
struct BookmarkResolutionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var withoutUI: NSURL.BookmarkResolutionOptions { get }
static var withoutMounting: NSURL.BookmarkResolutionOptions { get }
static var withSecurityScope: NSURL.BookmarkResolutionOptions { get }
}
typealias BookmarkFileCreationOptions = Int
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 NSURL : NSPasteboardWriting, NSPasteboardReading {
init?(from pasteBoard: NSPasteboard)
class func fromPasteboard(_ pasteBoard: NSPasteboard) -> URL?
func write(to pasteBoard: NSPasteboard)
}
extension NSURL : CVarArg {
}
extension NSURL : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
}
extension NSURL : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSURL {
struct BookmarkCreationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var preferFileIDResolution: NSURL.BookmarkCreationOptions { get }
static var minimalBookmark: NSURL.BookmarkCreationOptions { get }
static var suitableForBookmarkFile: NSURL.BookmarkCreationOptions { get }
static var withSecurityScope: NSURL.BookmarkCreationOptions { get }
static var securityScopeAllowOnlyReadAccess: NSURL.BookmarkCreationOptions { get }
}
struct BookmarkResolutionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var withoutUI: NSURL.BookmarkResolutionOptions { get }
static var withoutMounting: NSURL.BookmarkResolutionOptions { get }
static var withSecurityScope: NSURL.BookmarkResolutionOptions { get }
}
typealias BookmarkFileCreationOptions = Int
}
extension NSURL {
func getPromisedItemResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: URLResourceKey) throws
func promisedItemResourceValues(forKeys keys: [URLResourceKey]) throws -> [URLResourceKey : Any]
func checkPromisedItemIsReachableAndReturnError(_ error: NSErrorPointer) -> Bool
}
extension NSURL {
class func fileURL(withPathComponents components: [String]) -> URL?
var pathComponents: [String]? { get }
var lastPathComponent: String? { get }
var pathExtension: String? { get }
func appendingPathComponent(_ pathComponent: String) -> URL?
func appendingPathComponent(_ pathComponent: String, isDirectory isDirectory: Bool) -> URL?
var deletingLastPathComponent: URL? { get }
func appendingPathExtension(_ pathExtension: String) -> URL?
var deletingPathExtension: URL? { get }
var standardizingPath: URL? { get }
var resolvingSymlinksInPath: URL? { get }
}
extension NSURL {
func resourceData(usingCache shouldUseCache: Bool) -> Data?
func loadResourceDataNotifyingClient(_ client: Any, usingCache shouldUseCache: Bool)
func property(forKey propertyKey: String) -> Any?
func setResourceData(_ data: Data) -> Bool
func setProperty(_ property: Any, forKey propertyKey: String) -> Bool
func urlHandle(usingCache shouldUseCache: Bool) -> NSURLHandle?
}
extension NSURL : CustomPlaygroundQuickLookable {
var customPlaygroundQuickLook: PlaygroundQuickLook { get }
}
extension NSURL {
}
extension NSURL : QLPreviewItem {
} | CVarArg, CustomPlaygroundQuickLookable, Equatable, Hashable, NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding, NSURLHandleClient, QLPreviewItem |
---|
| Declaration |
From | var absoluteString: String { get } |
To | var absoluteString: String? { get } |
---|
| Declaration |
From | @NSCopying var absoluteURL: NSURL { get } |
To | var absoluteURL: URL? { get } |
---|
| Declaration |
From | class func absoluteURLWithDataRepresentation(_ data: NSData, relativeToURL baseURL: NSURL?) -> NSURL |
To | class func absoluteURL(withDataRepresentation data: Data, relativeTo baseURL: URL?) -> URL |
---|
| Declaration |
From | func URLByAppendingPathComponent(_ pathComponent: String) -> NSURL |
To | func appendingPathComponent(_ pathComponent: String) -> URL? |
---|
| Declaration |
From | func URLByAppendingPathComponent(_ pathComponent: String, isDirectory isDirectory: Bool) -> NSURL |
To | func appendingPathComponent(_ pathComponent: String, isDirectory isDirectory: Bool) -> URL? |
---|
| Declaration |
From | func URLByAppendingPathExtension(_ pathExtension: String) -> NSURL |
To | func appendingPathExtension(_ pathExtension: String) -> URL? |
---|
| Declaration |
From | @NSCopying var baseURL: NSURL? { get } |
To | var baseURL: URL? { get } |
---|
| Declaration |
From | func bookmarkDataWithOptions(_ options: NSURLBookmarkCreationOptions, includingResourceValuesForKeys keys: [String]?, relativeToURL relativeURL: NSURL?) throws -> NSData |
To | func bookmarkData(options options: NSURL.BookmarkCreationOptions = [], includingResourceValuesForKeys keys: [URLResourceKey]?, relativeTo relativeURL: URL?) throws -> Data |
---|
| Declaration |
From | class func bookmarkDataWithContentsOfURL(_ bookmarkFileURL: NSURL) throws -> NSData |
To | class func bookmarkData(withContentsOf bookmarkFileURL: URL) throws -> Data |
---|
| Declaration |
From | @NSCopying var dataRepresentation: NSData { get } |
To | var dataRepresentation: Data { get } |
---|
| Declaration |
From | @NSCopying var URLByDeletingLastPathComponent: NSURL? { get } |
To | var deletingLastPathComponent: URL? { get } |
---|
| Declaration |
From | @NSCopying var URLByDeletingPathExtension: NSURL? { get } |
To | var deletingPathExtension: URL? { get } |
---|
| Declaration |
From | @NSCopying var filePathURL: NSURL? { get } |
To | var filePathURL: URL? { get } |
---|
| Declaration |
From | func fileReferenceURL() -> NSURL? |
To | func fileReferenceURL() -> URL? |
---|
| Declaration |
From | class func fileURLWithFileSystemRepresentation(_ path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?) -> NSURL |
To | class func fileURL(withFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeTo baseURL: URL?) -> URL |
---|
| Declaration |
From | class func fileURLWithPath(_ path: String) -> NSURL |
To | class func fileURL(withPath path: String) -> URL |
---|
| Declaration |
From | class func fileURLWithPath(_ path: String, isDirectory isDir: Bool) -> NSURL |
To | class func fileURL(withPath path: String, isDirectory isDir: Bool) -> URL |
---|
| Declaration |
From | class func fileURLWithPath(_ path: String, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?) -> NSURL |
To | class func fileURL(withPath path: String, isDirectory isDir: Bool, relativeTo baseURL: URL?) -> URL |
---|
| Declaration |
From | class func fileURLWithPath(_ path: String, relativeToURL baseURL: NSURL?) -> NSURL |
To | class func fileURL(withPath path: String, relativeTo baseURL: URL?) -> URL |
---|
| Declaration |
From | class func fileURLWithPathComponents(_ components: [String]) -> NSURL? |
To | class func fileURL(withPathComponents components: [String]) -> URL? |
---|
| Declaration |
From | func getPromisedItemResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: String) throws |
To | func getPromisedItemResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: URLResourceKey) throws |
---|
| Declaration |
From | func getResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: String) throws |
To | func getResourceValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: URLResourceKey) throws |
---|
| Declaration |
From | init(absoluteURLWithDataRepresentation data: NSData, relativeToURL baseURL: NSURL?) |
To | init(absoluteURLWithDataRepresentation data: Data, relativeTo baseURL: URL?) |
---|
| Declaration |
From | init(dataRepresentation data: NSData, relativeToURL baseURL: NSURL?) |
To | init(dataRepresentation data: Data, relativeTo baseURL: URL?) |
---|
| Declaration |
From | init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?) |
To | init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory isDir: Bool, relativeTo baseURL: URL?) |
---|
| Declaration |
From | init(fileURLWithPath path: String, isDirectory isDir: Bool, relativeToURL baseURL: NSURL?) |
To | init(fileURLWithPath path: String, isDirectory isDir: Bool, relativeTo baseURL: URL?) |
---|
| Declaration |
From | init(fileURLWithPath path: String, relativeToURL baseURL: NSURL?) |
To | init(fileURLWithPath path: String, relativeTo baseURL: URL?) |
---|
| Declaration |
From | convenience init(byResolvingAliasFileAtURL url: NSURL, options options: NSURLBookmarkResolutionOptions) throws |
To | convenience init(resolvingAliasFileAt url: URL, options options: NSURL.BookmarkResolutionOptions = []) throws |
---|
| Declaration |
From | convenience init(byResolvingBookmarkData bookmarkData: NSData, options options: NSURLBookmarkResolutionOptions, relativeToURL relativeURL: NSURL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>) throws |
To | convenience init(resolvingBookmarkData bookmarkData: Data, options options: NSURL.BookmarkResolutionOptions = [], relativeTo relativeURL: URL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>?) throws |
---|
| Declaration |
From | init?(string URLString: String, relativeToURL baseURL: NSURL?) |
To | init?(string URLString: String, relativeTo baseURL: URL?) |
---|
| Declaration |
From | var fileURL: Bool { get } |
To | var isFileURL: Bool { get } |
---|
| Declaration |
From | func promisedItemResourceValuesForKeys(_ keys: [String]) throws -> [String : AnyObject] |
To | func promisedItemResourceValues(forKeys keys: [URLResourceKey]) throws -> [URLResourceKey : Any] |
---|
| Declaration |
From | var relativeString: String? { get } |
To | var relativeString: String { get } |
---|
| Declaration |
From | func removeCachedResourceValueForKey(_ key: String) |
To | func removeCachedResourceValue(forKey key: URLResourceKey) |
---|
| Declaration |
From | @NSCopying var URLByResolvingSymlinksInPath: NSURL? { get } |
To | var resolvingSymlinksInPath: URL? { get } |
---|
| Declaration |
From | var resourceSpecifier: String { get } |
To | var resourceSpecifier: String? { get } |
---|
| Declaration |
From | func resourceValuesForKeys(_ keys: [String]) throws -> [String : AnyObject] |
To | func resourceValues(forKeys keys: [URLResourceKey]) throws -> [URLResourceKey : Any] |
---|
| Declaration |
From | class func resourceValuesForKeys(_ keys: [String], fromBookmarkData bookmarkData: NSData) -> [String : AnyObject]? |
To | class func resourceValues(forKeys keys: [URLResourceKey], fromBookmarkData bookmarkData: Data) -> [URLResourceKey : Any]? |
---|
| Declaration |
From | var scheme: String { get } |
To | var scheme: String? { get } |
---|
| Declaration |
From | func setResourceValue(_ value: AnyObject?, forKey key: String) throws |
To | func setResourceValue(_ value: Any?, forKey key: URLResourceKey) throws |
---|
| Declaration |
From | func setResourceValues(_ keyedValues: [String : AnyObject]) throws |
To | func setResourceValues(_ keyedValues: [URLResourceKey : Any]) throws |
---|
| Declaration |
From | func setTemporaryResourceValue(_ value: AnyObject?, forKey key: String) |
To | func setTemporaryResourceValue(_ value: Any?, forKey key: URLResourceKey) |
---|
| Declaration |
From | @NSCopying var standardizedURL: NSURL? { get } |
To | var standardized: URL? { get } |
---|
| Declaration |
From | @NSCopying var URLByStandardizingPath: NSURL? { get } |
To | var standardizingPath: URL? { get } |
---|
| Declaration |
From | class func writeBookmarkData(_ bookmarkData: NSData, toURL bookmarkFileURL: NSURL, options options: NSURLBookmarkFileCreationOptions) throws |
To | class func writeBookmarkData(_ bookmarkData: Data, to bookmarkFileURL: URL, options options: NSURL.BookmarkFileCreationOptions) throws |
---|
| Declaration | Protocols |
From | struct NSURLBookmarkCreationOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var PreferFileIDResolution: NSURLBookmarkCreationOptions { get }
static var MinimalBookmark: NSURLBookmarkCreationOptions { get }
static var SuitableForBookmarkFile: NSURLBookmarkCreationOptions { get }
static var WithSecurityScope: NSURLBookmarkCreationOptions { get }
static var SecurityScopeAllowOnlyReadAccess: NSURLBookmarkCreationOptions { get }
} | OptionSetType |
To | struct BookmarkCreationOptions : OptionSet {
init(rawValue rawValue: UInt)
static var preferFileIDResolution: NSURL.BookmarkCreationOptions { get }
static var minimalBookmark: NSURL.BookmarkCreationOptions { get }
static var suitableForBookmarkFile: NSURL.BookmarkCreationOptions { get }
static var withSecurityScope: NSURL.BookmarkCreationOptions { get }
static var securityScopeAllowOnlyReadAccess: NSURL.BookmarkCreationOptions { get }
}
extension NSURL.BookmarkCreationOptions {
func union(_ other: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions
func intersection(_ other: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions
func symmetricDifference(_ other: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions
}
extension NSURL.BookmarkCreationOptions {
func contains(_ member: NSURL.BookmarkCreationOptions) -> Bool
mutating func insert(_ newMember: NSURL.BookmarkCreationOptions) -> (inserted: Bool, memberAfterInsert: NSURL.BookmarkCreationOptions)
mutating func remove(_ member: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions?
mutating func update(with newMember: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions?
}
extension NSURL.BookmarkCreationOptions {
convenience init()
mutating func formUnion(_ other: NSURL.BookmarkCreationOptions)
mutating func formIntersection(_ other: NSURL.BookmarkCreationOptions)
mutating func formSymmetricDifference(_ other: NSURL.BookmarkCreationOptions)
}
extension NSURL.BookmarkCreationOptions {
convenience init<S : Sequence where S.Iterator.Element == NSURL.BookmarkCreationOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSURL.BookmarkCreationOptions...)
mutating func subtract(_ other: NSURL.BookmarkCreationOptions)
func isSubset(of other: NSURL.BookmarkCreationOptions) -> Bool
func isSuperset(of other: NSURL.BookmarkCreationOptions) -> Bool
func isDisjoint(with other: NSURL.BookmarkCreationOptions) -> Bool
func subtracting(_ other: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSURL.BookmarkCreationOptions) -> Bool
func isStrictSubset(of other: NSURL.BookmarkCreationOptions) -> Bool
}
extension NSURL.BookmarkCreationOptions {
func intersect(_ other: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions
func exclusiveOr(_ other: NSURL.BookmarkCreationOptions) -> NSURL.BookmarkCreationOptions
mutating func unionInPlace(_ other: NSURL.BookmarkCreationOptions)
mutating func intersectInPlace(_ other: NSURL.BookmarkCreationOptions)
mutating func exclusiveOrInPlace(_ other: NSURL.BookmarkCreationOptions)
func isSubsetOf(_ other: NSURL.BookmarkCreationOptions) -> Bool
func isDisjointWith(_ other: NSURL.BookmarkCreationOptions) -> Bool
func isSupersetOf(_ other: NSURL.BookmarkCreationOptions) -> Bool
mutating func subtractInPlace(_ other: NSURL.BookmarkCreationOptions)
func isStrictSupersetOf(_ other: NSURL.BookmarkCreationOptions) -> Bool
func isStrictSubsetOf(_ other: NSURL.BookmarkCreationOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | MinimalBookmark | static var MinimalBookmark: NSURLBookmarkCreationOptions { get } |
To | minimalBookmark | static var minimalBookmark: NSURL.BookmarkCreationOptions { get } |
---|
| Name | Declaration |
From | SecurityScopeAllowOnlyReadAccess | static var SecurityScopeAllowOnlyReadAccess: NSURLBookmarkCreationOptions { get } |
To | securityScopeAllowOnlyReadAccess | static var securityScopeAllowOnlyReadAccess: NSURL.BookmarkCreationOptions { get } |
---|
| Name | Declaration |
From | SuitableForBookmarkFile | static var SuitableForBookmarkFile: NSURLBookmarkCreationOptions { get } |
To | suitableForBookmarkFile | static var suitableForBookmarkFile: NSURL.BookmarkCreationOptions { get } |
---|
| Name | Declaration |
From | WithSecurityScope | static var WithSecurityScope: NSURLBookmarkCreationOptions { get } |
To | withSecurityScope | static var withSecurityScope: NSURL.BookmarkCreationOptions { get } |
---|
| Declaration | Protocols |
From | struct NSURLBookmarkResolutionOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var WithoutUI: NSURLBookmarkResolutionOptions { get }
static var WithoutMounting: NSURLBookmarkResolutionOptions { get }
static var WithSecurityScope: NSURLBookmarkResolutionOptions { get }
} | OptionSetType |
To | struct BookmarkResolutionOptions : OptionSet {
init(rawValue rawValue: UInt)
static var withoutUI: NSURL.BookmarkResolutionOptions { get }
static var withoutMounting: NSURL.BookmarkResolutionOptions { get }
static var withSecurityScope: NSURL.BookmarkResolutionOptions { get }
}
extension NSURL.BookmarkResolutionOptions {
func union(_ other: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions
func intersection(_ other: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions
func symmetricDifference(_ other: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions
}
extension NSURL.BookmarkResolutionOptions {
func contains(_ member: NSURL.BookmarkResolutionOptions) -> Bool
mutating func insert(_ newMember: NSURL.BookmarkResolutionOptions) -> (inserted: Bool, memberAfterInsert: NSURL.BookmarkResolutionOptions)
mutating func remove(_ member: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions?
mutating func update(with newMember: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions?
}
extension NSURL.BookmarkResolutionOptions {
convenience init()
mutating func formUnion(_ other: NSURL.BookmarkResolutionOptions)
mutating func formIntersection(_ other: NSURL.BookmarkResolutionOptions)
mutating func formSymmetricDifference(_ other: NSURL.BookmarkResolutionOptions)
}
extension NSURL.BookmarkResolutionOptions {
convenience init<S : Sequence where S.Iterator.Element == NSURL.BookmarkResolutionOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSURL.BookmarkResolutionOptions...)
mutating func subtract(_ other: NSURL.BookmarkResolutionOptions)
func isSubset(of other: NSURL.BookmarkResolutionOptions) -> Bool
func isSuperset(of other: NSURL.BookmarkResolutionOptions) -> Bool
func isDisjoint(with other: NSURL.BookmarkResolutionOptions) -> Bool
func subtracting(_ other: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSURL.BookmarkResolutionOptions) -> Bool
func isStrictSubset(of other: NSURL.BookmarkResolutionOptions) -> Bool
}
extension NSURL.BookmarkResolutionOptions {
func intersect(_ other: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions
func exclusiveOr(_ other: NSURL.BookmarkResolutionOptions) -> NSURL.BookmarkResolutionOptions
mutating func unionInPlace(_ other: NSURL.BookmarkResolutionOptions)
mutating func intersectInPlace(_ other: NSURL.BookmarkResolutionOptions)
mutating func exclusiveOrInPlace(_ other: NSURL.BookmarkResolutionOptions)
func isSubsetOf(_ other: NSURL.BookmarkResolutionOptions) -> Bool
func isDisjointWith(_ other: NSURL.BookmarkResolutionOptions) -> Bool
func isSupersetOf(_ other: NSURL.BookmarkResolutionOptions) -> Bool
mutating func subtractInPlace(_ other: NSURL.BookmarkResolutionOptions)
func isStrictSupersetOf(_ other: NSURL.BookmarkResolutionOptions) -> Bool
func isStrictSubsetOf(_ other: NSURL.BookmarkResolutionOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | WithoutMounting | static var WithoutMounting: NSURLBookmarkResolutionOptions { get } |
To | withoutMounting | static var withoutMounting: NSURL.BookmarkResolutionOptions { get } |
---|
| Name | Declaration |
From | WithoutUI | static var WithoutUI: NSURLBookmarkResolutionOptions { get } |
To | withoutUI | static var withoutUI: NSURL.BookmarkResolutionOptions { get } |
---|
| Name | Declaration |
From | WithSecurityScope | static var WithSecurityScope: NSURLBookmarkResolutionOptions { get } |
To | withSecurityScope | static var withSecurityScope: NSURL.BookmarkResolutionOptions { get } |
---|
| Declaration | Protocols |
From | class NSURLComponents : NSObject, NSCopying {
init()
init?(URL url: NSURL, resolvingAgainstBaseURL resolve: Bool)
class func componentsWithURL(_ url: NSURL, resolvingAgainstBaseURL resolve: Bool) -> Self?
init?(string URLString: String)
class func componentsWithString(_ URLString: String) -> Self?
@NSCopying var URL: NSURL? { get }
func URLRelativeToURL(_ baseURL: NSURL?) -> NSURL?
var string: String? { get }
var scheme: String?
var user: String?
var password: String?
var host: String?
@NSCopying var port: NSNumber?
var path: String?
var query: String?
var fragment: String?
var percentEncodedUser: String?
var percentEncodedPassword: String?
var percentEncodedHost: String?
var percentEncodedPath: String?
var percentEncodedQuery: String?
var percentEncodedFragment: String?
var rangeOfScheme: NSRange { get }
var rangeOfUser: NSRange { get }
var rangeOfPassword: NSRange { get }
var rangeOfHost: NSRange { get }
var rangeOfPort: NSRange { get }
var rangeOfPath: NSRange { get }
var rangeOfQuery: NSRange { get }
var rangeOfFragment: NSRange { get }
var queryItems: [NSURLQueryItem]?
} | NSCopying |
To | class NSURLComponents : NSObject, NSCopying {
init()
init?(url url: URL, resolvingAgainstBaseURL resolve: Bool)
class func withURL(_ url: URL, resolvingAgainstBaseURL resolve: Bool) -> Self?
init?(string URLString: String)
class func withString(_ URLString: String) -> Self?
var url: URL? { get }
func url(relativeTo baseURL: URL?) -> URL?
var string: String? { get }
var scheme: String?
var user: String?
var password: String?
var host: String?
@NSCopying var port: NSNumber?
var path: String?
var query: String?
var fragment: String?
var percentEncodedUser: String?
var percentEncodedPassword: String?
var percentEncodedHost: String?
var percentEncodedPath: String?
var percentEncodedQuery: String?
var percentEncodedFragment: String?
var rangeOfScheme: NSRange { get }
var rangeOfUser: NSRange { get }
var rangeOfPassword: NSRange { get }
var rangeOfHost: NSRange { get }
var rangeOfPort: NSRange { get }
var rangeOfPath: NSRange { get }
var rangeOfQuery: NSRange { get }
var rangeOfFragment: NSRange { get }
var queryItems: [URLQueryItem]?
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 NSURLComponents : CVarArg {
}
extension NSURLComponents : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSURLComponents {
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Declaration |
From | init?(URL url: NSURL, resolvingAgainstBaseURL resolve: Bool) |
To | init?(url url: URL, resolvingAgainstBaseURL resolve: Bool) |
---|
| Declaration |
From | var queryItems: [NSURLQueryItem]? |
To | var queryItems: [URLQueryItem]? |
---|
| Declaration |
From | @NSCopying var URL: NSURL? { get } |
To | var url: URL? { get } |
---|
| Declaration |
From | func URLRelativeToURL(_ baseURL: NSURL?) -> NSURL? |
To | func url(relativeTo baseURL: URL?) -> URL? |
---|
| Declaration | Protocols |
From | class NSURLConnection : NSObject {
init?(request request: NSURLRequest, delegate delegate: AnyObject?, startImmediately startImmediately: Bool)
init?(request request: NSURLRequest, delegate delegate: AnyObject?)
class func connectionWithRequest(_ request: NSURLRequest, delegate delegate: AnyObject?) -> NSURLConnection?
@NSCopying var originalRequest: NSURLRequest { get }
@NSCopying var currentRequest: NSURLRequest { get }
func start()
func cancel()
func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
func unscheduleFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
func setDelegateQueue(_ queue: NSOperationQueue?)
class func canHandleRequest(_ request: NSURLRequest) -> Bool
}
extension NSURLConnection {
class func sendSynchronousRequest(_ request: NSURLRequest, returningResponse response: AutoreleasingUnsafeMutablePointer<NSURLResponse?>) throws -> NSData
}
extension NSURLConnection {
class func sendAsynchronousRequest(_ request: NSURLRequest, queue queue: NSOperationQueue, completionHandler handler: (NSURLResponse?, NSData?, NSError?) -> Void)
} | -- |
To | class NSURLConnection : NSObject {
init?(request request: URLRequest, delegate delegate: Any?, startImmediately startImmediately: Bool)
init?(request request: URLRequest, delegate delegate: Any?)
class func withRequest(_ request: URLRequest, delegate delegate: Any?) -> NSURLConnection?
var originalRequest: URLRequest { get }
var currentRequest: URLRequest { get }
func start()
func cancel()
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode)
func unschedule(from aRunLoop: RunLoop, forMode mode: RunLoopMode)
func setDelegateQueue(_ queue: OperationQueue?)
class func canHandle(_ request: URLRequest) -> Bool
class func sendAsynchronousRequest(_ request: URLRequest, queue queue: OperationQueue, completionHandler handler: @escaping (URLResponse?, Data?, Error?) -> Swift.Void)
class func sendSynchronousRequest(_ request: URLRequest, returning response: AutoreleasingUnsafeMutablePointer<URLResponse?>?) throws -> Data
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 NSURLConnection : CVarArg {
}
extension NSURLConnection : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSURLConnection {
class func sendSynchronousRequest(_ request: URLRequest, returning response: AutoreleasingUnsafeMutablePointer<URLResponse?>?) throws -> Data
}
extension NSURLConnection {
class func sendAsynchronousRequest(_ request: URLRequest, queue queue: OperationQueue, completionHandler handler: @escaping (URLResponse?, Data?, Error?) -> Swift.Void)
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func canHandleRequest(_ request: NSURLRequest) -> Bool |
To | class func canHandle(_ request: URLRequest) -> Bool |
---|
| Declaration |
From | @NSCopying var currentRequest: NSURLRequest { get } |
To | var currentRequest: URLRequest { get } |
---|
| Declaration |
From | init?(request request: NSURLRequest, delegate delegate: AnyObject?) |
To | init?(request request: URLRequest, delegate delegate: Any?) |
---|
| Declaration |
From | init?(request request: NSURLRequest, delegate delegate: AnyObject?, startImmediately startImmediately: Bool) |
To | init?(request request: URLRequest, delegate delegate: Any?, startImmediately startImmediately: Bool) |
---|
| Declaration |
From | @NSCopying var originalRequest: NSURLRequest { get } |
To | var originalRequest: URLRequest { get } |
---|
| Declaration |
From | func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Declaration |
From | class func sendAsynchronousRequest(_ request: NSURLRequest, queue queue: NSOperationQueue, completionHandler handler: (NSURLResponse?, NSData?, NSError?) -> Void) |
To | class func sendAsynchronousRequest(_ request: URLRequest, queue queue: OperationQueue, completionHandler handler: @escaping (URLResponse?, Data?, Error?) -> Swift.Void) |
---|
| Declaration |
From | class func sendSynchronousRequest(_ request: NSURLRequest, returningResponse response: AutoreleasingUnsafeMutablePointer<NSURLResponse?>) throws -> NSData |
To | class func sendSynchronousRequest(_ request: URLRequest, returning response: AutoreleasingUnsafeMutablePointer<URLResponse?>?) throws -> Data |
---|
| Declaration |
From | func setDelegateQueue(_ queue: NSOperationQueue?) |
To | func setDelegateQueue(_ queue: OperationQueue?) |
---|
| Declaration |
From | func unscheduleFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | func unschedule(from aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Declaration |
From | protocol NSURLConnectionDataDelegate : NSURLConnectionDelegate {
optional func connection(_ connection: NSURLConnection, willSendRequest request: NSURLRequest, redirectResponse response: NSURLResponse?) -> NSURLRequest?
optional func connection(_ connection: NSURLConnection, didReceiveResponse response: NSURLResponse)
optional func connection(_ connection: NSURLConnection, didReceiveData data: NSData)
optional func connection(_ connection: NSURLConnection, needNewBodyStream request: NSURLRequest) -> NSInputStream?
optional func connection(_ connection: NSURLConnection, didSendBodyData bytesWritten: Int, totalBytesWritten totalBytesWritten: Int, totalBytesExpectedToWrite totalBytesExpectedToWrite: Int)
optional func connection(_ connection: NSURLConnection, willCacheResponse cachedResponse: NSCachedURLResponse) -> NSCachedURLResponse?
optional func connectionDidFinishLoading(_ connection: NSURLConnection)
} |
To | protocol NSURLConnectionDataDelegate : NSURLConnectionDelegate {
optional func connection(_ connection: NSURLConnection, willSend request: URLRequest, redirectResponse response: URLResponse?) -> URLRequest?
optional func connection(_ connection: NSURLConnection, didReceive response: URLResponse)
optional func connection(_ connection: NSURLConnection, didReceive data: Data)
optional func connection(_ connection: NSURLConnection, needNewBodyStream request: URLRequest) -> InputStream?
optional func connection(_ connection: NSURLConnection, didSendBodyData bytesWritten: Int, totalBytesWritten totalBytesWritten: Int, totalBytesExpectedToWrite totalBytesExpectedToWrite: Int)
optional func connection(_ connection: NSURLConnection, willCacheResponse cachedResponse: CachedURLResponse) -> CachedURLResponse?
optional func connectionDidFinishLoading(_ connection: NSURLConnection)
} |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, didReceiveData data: NSData) |
To | optional func connection(_ connection: NSURLConnection, didReceive data: Data) |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, didReceiveResponse response: NSURLResponse) |
To | optional func connection(_ connection: NSURLConnection, didReceive response: URLResponse) |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, needNewBodyStream request: NSURLRequest) -> NSInputStream? |
To | optional func connection(_ connection: NSURLConnection, needNewBodyStream request: URLRequest) -> InputStream? |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, willCacheResponse cachedResponse: NSCachedURLResponse) -> NSCachedURLResponse? |
To | optional func connection(_ connection: NSURLConnection, willCacheResponse cachedResponse: CachedURLResponse) -> CachedURLResponse? |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, willSendRequest request: NSURLRequest, redirectResponse response: NSURLResponse?) -> NSURLRequest? |
To | optional func connection(_ connection: NSURLConnection, willSend request: URLRequest, redirectResponse response: URLResponse?) -> URLRequest? |
---|
| Declaration |
From | protocol NSURLConnectionDelegate : NSObjectProtocol {
optional func connection(_ connection: NSURLConnection, didFailWithError error: NSError)
optional func connectionShouldUseCredentialStorage(_ connection: NSURLConnection) -> Bool
optional func connection(_ connection: NSURLConnection, willSendRequestForAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
optional func connection(_ connection: NSURLConnection, canAuthenticateAgainstProtectionSpace protectionSpace: NSURLProtectionSpace) -> Bool
optional func connection(_ connection: NSURLConnection, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
optional func connection(_ connection: NSURLConnection, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
} |
To | protocol NSURLConnectionDelegate : NSObjectProtocol {
optional func connection(_ connection: NSURLConnection, didFailWithError error: Error)
optional func connectionShouldUseCredentialStorage(_ connection: NSURLConnection) -> Bool
optional func connection(_ connection: NSURLConnection, willSendRequestFor challenge: URLAuthenticationChallenge)
optional func connection(_ connection: NSURLConnection, canAuthenticateAgainstProtectionSpace protectionSpace: URLProtectionSpace) -> Bool
optional func connection(_ connection: NSURLConnection, didReceive challenge: URLAuthenticationChallenge)
optional func connection(_ connection: NSURLConnection, didCancel challenge: URLAuthenticationChallenge)
} |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, canAuthenticateAgainstProtectionSpace protectionSpace: NSURLProtectionSpace) -> Bool |
To | optional func connection(_ connection: NSURLConnection, canAuthenticateAgainstProtectionSpace protectionSpace: URLProtectionSpace) -> Bool |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | optional func connection(_ connection: NSURLConnection, didCancel challenge: URLAuthenticationChallenge) |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, didFailWithError error: NSError) |
To | optional func connection(_ connection: NSURLConnection, didFailWithError error: Error) |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | optional func connection(_ connection: NSURLConnection, didReceive challenge: URLAuthenticationChallenge) |
---|
| Declaration |
From | optional func connection(_ connection: NSURLConnection, willSendRequestForAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | optional func connection(_ connection: NSURLConnection, willSendRequestFor challenge: URLAuthenticationChallenge) |
---|
| Declaration |
From | protocol NSURLConnectionDownloadDelegate : NSURLConnectionDelegate {
optional func connection(_ connection: NSURLConnection, didWriteData bytesWritten: Int64, totalBytesWritten totalBytesWritten: Int64, expectedTotalBytes expectedTotalBytes: Int64)
optional func connectionDidResumeDownloading(_ connection: NSURLConnection, totalBytesWritten totalBytesWritten: Int64, expectedTotalBytes expectedTotalBytes: Int64)
func connectionDidFinishDownloading(_ connection: NSURLConnection, destinationURL destinationURL: NSURL)
} |
To | protocol NSURLConnectionDownloadDelegate : NSURLConnectionDelegate {
optional func connection(_ connection: NSURLConnection, didWriteData bytesWritten: Int64, totalBytesWritten totalBytesWritten: Int64, expectedTotalBytes expectedTotalBytes: Int64)
optional func connectionDidResumeDownloading(_ connection: NSURLConnection, totalBytesWritten totalBytesWritten: Int64, expectedTotalBytes expectedTotalBytes: Int64)
func connectionDidFinishDownloading(_ connection: NSURLConnection, destinationURL destinationURL: URL)
} |
---|
| Declaration |
From | func connectionDidFinishDownloading(_ connection: NSURLConnection, destinationURL destinationURL: NSURL) |
To | func connectionDidFinishDownloading(_ connection: NSURLConnection, destinationURL destinationURL: URL) |
---|
| Declaration | Protocols |
From | class NSURLDownload : NSObject {
class func canResumeDownloadDecodedWithEncodingMIMEType(_ MIMEType: String) -> Bool
init(request request: NSURLRequest, delegate delegate: NSURLDownloadDelegate?)
init(resumeData resumeData: NSData, delegate delegate: NSURLDownloadDelegate?, path path: String)
func cancel()
func setDestination(_ path: String, allowOverwrite allowOverwrite: Bool)
@NSCopying var request: NSURLRequest { get }
@NSCopying var resumeData: NSData? { get }
var deletesFileUponFailure: Bool
} | -- |
To | class NSURLDownload : NSObject {
class func canResumeDownloadDecoded(withEncodingMIMEType MIMEType: String) -> Bool
init(request request: URLRequest, delegate delegate: NSURLDownloadDelegate?)
init(resumeData resumeData: Data, delegate delegate: NSURLDownloadDelegate?, path path: String)
func cancel()
func setDestination(_ path: String, allowOverwrite allowOverwrite: Bool)
var request: URLRequest { get }
var resumeData: Data? { get }
var deletesFileUponFailure: Bool
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 NSURLDownload : CVarArg {
}
extension NSURLDownload : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func canResumeDownloadDecodedWithEncodingMIMEType(_ MIMEType: String) -> Bool |
To | class func canResumeDownloadDecoded(withEncodingMIMEType MIMEType: String) -> Bool |
---|
| Declaration |
From | init(request request: NSURLRequest, delegate delegate: NSURLDownloadDelegate?) |
To | init(request request: URLRequest, delegate delegate: NSURLDownloadDelegate?) |
---|
| Declaration |
From | init(resumeData resumeData: NSData, delegate delegate: NSURLDownloadDelegate?, path path: String) |
To | init(resumeData resumeData: Data, delegate delegate: NSURLDownloadDelegate?, path path: String) |
---|
| Declaration |
From | @NSCopying var request: NSURLRequest { get } |
To | var request: URLRequest { get } |
---|
| Declaration |
From | @NSCopying var resumeData: NSData? { get } |
To | var resumeData: Data? { get } |
---|
| Declaration |
From | protocol NSURLDownloadDelegate : NSObjectProtocol {
optional func downloadDidBegin(_ download: NSURLDownload)
optional func download(_ download: NSURLDownload, willSendRequest request: NSURLRequest, redirectResponse redirectResponse: NSURLResponse?) -> NSURLRequest?
optional func download(_ connection: NSURLDownload, canAuthenticateAgainstProtectionSpace protectionSpace: NSURLProtectionSpace) -> Bool
optional func download(_ download: NSURLDownload, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
optional func download(_ download: NSURLDownload, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
optional func downloadShouldUseCredentialStorage(_ download: NSURLDownload) -> Bool
optional func download(_ download: NSURLDownload, didReceiveResponse response: NSURLResponse)
optional func download(_ download: NSURLDownload, willResumeWithResponse response: NSURLResponse, fromByte startingByte: Int64)
optional func download(_ download: NSURLDownload, didReceiveDataOfLength length: Int)
optional func download(_ download: NSURLDownload, shouldDecodeSourceDataOfMIMEType encodingType: String) -> Bool
optional func download(_ download: NSURLDownload, decideDestinationWithSuggestedFilename filename: String)
optional func download(_ download: NSURLDownload, didCreateDestination path: String)
optional func downloadDidFinish(_ download: NSURLDownload)
optional func download(_ download: NSURLDownload, didFailWithError error: NSError)
} |
To | protocol NSURLDownloadDelegate : NSObjectProtocol {
optional func downloadDidBegin(_ download: NSURLDownload)
optional func download(_ download: NSURLDownload, willSend request: URLRequest, redirectResponse redirectResponse: URLResponse?) -> URLRequest?
optional func download(_ connection: NSURLDownload, canAuthenticateAgainstProtectionSpace protectionSpace: URLProtectionSpace) -> Bool
optional func download(_ download: NSURLDownload, didReceive challenge: URLAuthenticationChallenge)
optional func download(_ download: NSURLDownload, didCancel challenge: URLAuthenticationChallenge)
optional func downloadShouldUseCredentialStorage(_ download: NSURLDownload) -> Bool
optional func download(_ download: NSURLDownload, didReceive response: URLResponse)
optional func download(_ download: NSURLDownload, willResumeWith response: URLResponse, fromByte startingByte: Int64)
optional func download(_ download: NSURLDownload, didReceiveDataOfLength length: Int)
optional func download(_ download: NSURLDownload, shouldDecodeSourceDataOfMIMEType encodingType: String) -> Bool
optional func download(_ download: NSURLDownload, decideDestinationWithSuggestedFilename filename: String)
optional func download(_ download: NSURLDownload, didCreateDestination path: String)
optional func downloadDidFinish(_ download: NSURLDownload)
optional func download(_ download: NSURLDownload, didFailWithError error: Error)
} |
---|
| Declaration |
From | optional func download(_ connection: NSURLDownload, canAuthenticateAgainstProtectionSpace protectionSpace: NSURLProtectionSpace) -> Bool |
To | optional func download(_ connection: NSURLDownload, canAuthenticateAgainstProtectionSpace protectionSpace: URLProtectionSpace) -> Bool |
---|
| Declaration |
From | optional func download(_ download: NSURLDownload, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | optional func download(_ download: NSURLDownload, didCancel challenge: URLAuthenticationChallenge) |
---|
| Declaration |
From | optional func download(_ download: NSURLDownload, didFailWithError error: NSError) |
To | optional func download(_ download: NSURLDownload, didFailWithError error: Error) |
---|
| Declaration |
From | optional func download(_ download: NSURLDownload, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | optional func download(_ download: NSURLDownload, didReceive challenge: URLAuthenticationChallenge) |
---|
| Declaration |
From | optional func download(_ download: NSURLDownload, didReceiveResponse response: NSURLResponse) |
To | optional func download(_ download: NSURLDownload, didReceive response: URLResponse) |
---|
| Declaration |
From | optional func download(_ download: NSURLDownload, willResumeWithResponse response: NSURLResponse, fromByte startingByte: Int64) |
To | optional func download(_ download: NSURLDownload, willResumeWith response: URLResponse, fromByte startingByte: Int64) |
---|
| Declaration |
From | optional func download(_ download: NSURLDownload, willSendRequest request: NSURLRequest, redirectResponse redirectResponse: NSURLResponse?) -> NSURLRequest? |
To | optional func download(_ download: NSURLDownload, willSend request: URLRequest, redirectResponse redirectResponse: URLResponse?) -> URLRequest? |
---|
| Declaration | Protocols |
From | class NSURLHandle : NSObject {
class func registerURLHandleClass(_ anURLHandleSubclass: AnyClass!)
class func URLHandleClassForURL(_ anURL: NSURL!) -> AnyClass!
func status() -> NSURLHandleStatus
func failureReason() -> String!
func addClient(_ client: NSURLHandleClient!)
func removeClient(_ client: NSURLHandleClient!)
func loadInBackground()
func cancelLoadInBackground()
func resourceData() -> NSData!
func availableResourceData() -> NSData!
func expectedResourceDataSize() -> Int64
func flushCachedData()
func backgroundLoadDidFailWithReason(_ reason: String!)
func didLoadBytes(_ newBytes: NSData!, loadComplete yorn: Bool)
class func canInitWithURL(_ anURL: NSURL!) -> Bool
class func cachedHandleForURL(_ anURL: NSURL!) -> NSURLHandle!
init!(URL anURL: NSURL!, cached willCache: Bool)
func propertyForKey(_ propertyKey: String!) -> AnyObject!
func propertyForKeyIfAvailable(_ propertyKey: String!) -> AnyObject!
func writeProperty(_ propertyValue: AnyObject!, forKey propertyKey: String!) -> Bool
func writeData(_ data: NSData!) -> Bool
func loadInForeground() -> NSData!
func beginLoadInBackground()
func endLoadInBackground()
} | -- |
To | class NSURLHandle : NSObject {
class func registerClass(_ anURLHandleSubclass: Swift.AnyClass!)
class func urlHandleClass(for anURL: URL!) -> Swift.AnyClass!
func status() -> NSURLHandle.Status
func failureReason() -> String!
func add(_ client: NSURLHandleClient!)
func remove(_ client: NSURLHandleClient!)
func loadInBackground()
func cancelLoadInBackground()
func resourceData() -> Data!
func availableResourceData() -> Data!
func expectedResourceDataSize() -> Int64
func flushCachedData()
func backgroundLoadDidFail(withReason reason: String!)
func didLoadBytes(_ newBytes: Data!, loadComplete yorn: Bool)
class func canInit(with anURL: URL!) -> Bool
class func cachedHandle(for anURL: URL!) -> NSURLHandle!
init!(url anURL: URL!, cached willCache: Bool)
func property(forKey propertyKey: String!) -> Any!
func property(forKeyIfAvailable propertyKey: String!) -> Any!
func writeProperty(_ propertyValue: Any!, forKey propertyKey: String!) -> Bool
func write(_ data: Data!) -> Bool
func loadInForeground() -> Data!
func beginLoadInBackground()
func endLoadInBackground()
enum Status : UInt {
case notLoaded
case loadSucceeded
case loadInProgress
case loadFailed
}
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 NSURLHandle {
enum Status : UInt {
case notLoaded
case loadSucceeded
case loadInProgress
case loadFailed
}
}
extension NSURLHandle : CVarArg {
}
extension NSURLHandle : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | enum NSURLHandleStatus : UInt {
case NotLoaded
case LoadSucceeded
case LoadInProgress
case LoadFailed
} |
To | enum Status : UInt {
case notLoaded
case loadSucceeded
case loadInProgress
case loadFailed
} |
---|
| Name | Declaration |
From | LoadFailed | case LoadFailed |
To | loadFailed | case loadFailed |
---|
| Name | Declaration |
From | LoadInProgress | case LoadInProgress |
To | loadInProgress | case loadInProgress |
---|
| Name | Declaration |
From | LoadSucceeded | case LoadSucceeded |
To | loadSucceeded | case loadSucceeded |
---|
| Name | Declaration |
From | NotLoaded | case NotLoaded |
To | notLoaded | case notLoaded |
---|
| Declaration |
From | protocol NSURLHandleClient {
func URLHandle(_ sender: NSURLHandle!, resourceDataDidBecomeAvailable newBytes: NSData!)
func URLHandleResourceDidBeginLoading(_ sender: NSURLHandle!)
func URLHandleResourceDidFinishLoading(_ sender: NSURLHandle!)
func URLHandleResourceDidCancelLoading(_ sender: NSURLHandle!)
func URLHandle(_ sender: NSURLHandle!, resourceDidFailLoadingWithReason reason: String!)
} |
To | protocol NSURLHandleClient {
func urlHandle(_ sender: NSURLHandle!, resourceDataDidBecomeAvailable newBytes: Data!)
func urlHandleResourceDidBeginLoading(_ sender: NSURLHandle!)
func urlHandleResourceDidFinishLoading(_ sender: NSURLHandle!)
func urlHandleResourceDidCancelLoading(_ sender: NSURLHandle!)
func urlHandle(_ sender: NSURLHandle!, resourceDidFailLoadingWithReason reason: String!)
} |
---|
| Declaration | Protocols |
From | class NSURLQueryItem : NSObject, NSSecureCoding, NSCopying {
init(name name: String, value value: String?)
class func queryItemWithName(_ name: String, value value: String?) -> Self
var name: String { get }
var value: String? { get }
} | NSCopying, NSSecureCoding |
To | class NSURLQueryItem : NSObject, NSSecureCoding, NSCopying {
init(name name: String, value value: String?)
class func withName(_ name: String, value value: String?) -> Self
var name: String { get }
var value: String? { 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 NSURLQueryItem : CVarArg {
}
extension NSURLQueryItem : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSURLQueryItem {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration | Protocols |
From | class NSURLRequest : NSObject, NSSecureCoding, NSCopying, NSMutableCopying {
convenience init(URL URL: NSURL)
class func requestWithURL(_ URL: NSURL) -> Self
class func supportsSecureCoding() -> Bool
convenience init(URL URL: NSURL, cachePolicy cachePolicy: NSURLRequestCachePolicy, timeoutInterval timeoutInterval: NSTimeInterval)
class func requestWithURL(_ URL: NSURL, cachePolicy cachePolicy: NSURLRequestCachePolicy, timeoutInterval timeoutInterval: NSTimeInterval) -> Self
convenience init(URL URL: NSURL)
init(URL URL: NSURL, cachePolicy cachePolicy: NSURLRequestCachePolicy, timeoutInterval timeoutInterval: NSTimeInterval)
@NSCopying var URL: NSURL? { get }
var cachePolicy: NSURLRequestCachePolicy { get }
var timeoutInterval: NSTimeInterval { get }
@NSCopying var mainDocumentURL: NSURL? { get }
var networkServiceType: NSURLRequestNetworkServiceType { get }
var allowsCellularAccess: Bool { get }
}
extension NSURLRequest {
var HTTPMethod: String? { get }
var allHTTPHeaderFields: [String : String]? { get }
func valueForHTTPHeaderField(_ field: String) -> String?
@NSCopying var HTTPBody: NSData? { get }
var HTTPBodyStream: NSInputStream? { get }
var HTTPShouldHandleCookies: Bool { get }
var HTTPShouldUsePipelining: Bool { get }
} | NSCopying, NSMutableCopying, NSSecureCoding |
To | class NSURLRequest : NSObject, NSSecureCoding, NSCopying, NSMutableCopying {
convenience init(url URL: URL)
class func withURL(_ URL: URL) -> Self
class var supportsSecureCoding: Bool { get }
convenience init(url URL: URL, cachePolicy cachePolicy: NSURLRequest.CachePolicy, timeoutInterval timeoutInterval: TimeInterval)
class func withURL(_ URL: URL, cachePolicy cachePolicy: NSURLRequest.CachePolicy, timeoutInterval timeoutInterval: TimeInterval) -> Self
convenience init(url URL: URL)
init(url URL: URL, cachePolicy cachePolicy: NSURLRequest.CachePolicy, timeoutInterval timeoutInterval: TimeInterval)
var url: URL? { get }
var cachePolicy: NSURLRequest.CachePolicy { get }
var timeoutInterval: TimeInterval { get }
var mainDocumentURL: URL? { get }
var networkServiceType: NSURLRequest.NetworkServiceType { get }
var allowsCellularAccess: Bool { get }
var httpMethod: String? { get }
var allHTTPHeaderFields: [String : String]? { get }
func value(forHTTPHeaderField field: String) -> String?
var httpBody: Data? { get }
var httpBodyStream: InputStream? { get }
var httpShouldHandleCookies: Bool { get }
var httpShouldUsePipelining: Bool { get }
enum CachePolicy : UInt {
case useProtocolCachePolicy
case reloadIgnoringLocalCacheData
case reloadIgnoringLocalAndRemoteCacheData
static var reloadIgnoringCacheData: NSURLRequest.CachePolicy { get }
case returnCacheDataElseLoad
case returnCacheDataDontLoad
case reloadRevalidatingCacheData
}
enum NetworkServiceType : UInt {
case `default`
case voip
case video
case background
case voice
case networkServiceTypeCallSignaling
}
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 NSURLRequest {
enum CachePolicy : UInt {
case useProtocolCachePolicy
case reloadIgnoringLocalCacheData
case reloadIgnoringLocalAndRemoteCacheData
static var reloadIgnoringCacheData: NSURLRequest.CachePolicy { get }
case returnCacheDataElseLoad
case returnCacheDataDontLoad
case reloadRevalidatingCacheData
}
enum NetworkServiceType : UInt {
case `default`
case voip
case video
case background
case voice
case networkServiceTypeCallSignaling
}
}
extension NSURLRequest : CVarArg {
}
extension NSURLRequest : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSURLRequest {
var httpMethod: String? { get }
var allHTTPHeaderFields: [String : String]? { get }
func value(forHTTPHeaderField field: String) -> String?
var httpBody: Data? { get }
var httpBodyStream: InputStream? { get }
var httpShouldHandleCookies: Bool { get }
var httpShouldUsePipelining: Bool { get }
}
extension NSURLRequest {
} | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
---|
| Declaration |
From | var cachePolicy: NSURLRequestCachePolicy { get } |
To | var cachePolicy: NSURLRequest.CachePolicy { get } |
---|
| Declaration |
From | @NSCopying var HTTPBody: NSData? { get } |
To | var httpBody: Data? { get } |
---|
| Declaration |
From | var HTTPBodyStream: NSInputStream? { get } |
To | var httpBodyStream: InputStream? { get } |
---|
| Declaration |
From | var HTTPMethod: String? { get } |
To | var httpMethod: String? { get } |
---|
| Declaration |
From | var HTTPShouldHandleCookies: Bool { get } |
To | var httpShouldHandleCookies: Bool { get } |
---|
| Declaration |
From | var HTTPShouldUsePipelining: Bool { get } |
To | var httpShouldUsePipelining: Bool { get } |
---|
| Declaration |
From | convenience init(URL URL: NSURL) |
To | convenience init(url URL: URL) |
---|
| Declaration |
From | init(URL URL: NSURL, cachePolicy cachePolicy: NSURLRequestCachePolicy, timeoutInterval timeoutInterval: NSTimeInterval) |
To | init(url URL: URL, cachePolicy cachePolicy: NSURLRequest.CachePolicy, timeoutInterval timeoutInterval: TimeInterval) |
---|
| Declaration |
From | @NSCopying var mainDocumentURL: NSURL? { get } |
To | var mainDocumentURL: URL? { get } |
---|
| Declaration |
From | var networkServiceType: NSURLRequestNetworkServiceType { get } |
To | var networkServiceType: NSURLRequest.NetworkServiceType { get } |
---|
| Declaration |
From | var timeoutInterval: NSTimeInterval { get } |
To | var timeoutInterval: TimeInterval { get } |
---|
| Declaration |
From | @NSCopying var URL: NSURL? { get } |
To | var url: URL? { get } |
---|
| Declaration |
From | func valueForHTTPHeaderField(_ field: String) -> String? |
To | func value(forHTTPHeaderField field: String) -> String? |
---|
| Declaration |
From | enum NSURLRequestCachePolicy : UInt {
case UseProtocolCachePolicy
case ReloadIgnoringLocalCacheData
case ReloadIgnoringLocalAndRemoteCacheData
static var ReloadIgnoringCacheData: NSURLRequestCachePolicy { get }
case ReturnCacheDataElseLoad
case ReturnCacheDataDontLoad
case ReloadRevalidatingCacheData
} |
To | enum CachePolicy : UInt {
case useProtocolCachePolicy
case reloadIgnoringLocalCacheData
case reloadIgnoringLocalAndRemoteCacheData
static var reloadIgnoringCacheData: NSURLRequest.CachePolicy { get }
case returnCacheDataElseLoad
case returnCacheDataDontLoad
case reloadRevalidatingCacheData
} |
---|
| Name | Declaration | Introduction |
From | ReloadIgnoringCacheData | static var ReloadIgnoringCacheData: NSURLRequestCachePolicy { get } | OS X 10.11 |
To | reloadIgnoringCacheData | static var reloadIgnoringCacheData: NSURLRequest.CachePolicy { get } | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ReloadIgnoringLocalAndRemoteCacheData | case ReloadIgnoringLocalAndRemoteCacheData | OS X 10.10 |
To | reloadIgnoringLocalAndRemoteCacheData | case reloadIgnoringLocalAndRemoteCacheData | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ReloadIgnoringLocalCacheData | case ReloadIgnoringLocalCacheData | OS X 10.10 |
To | reloadIgnoringLocalCacheData | case reloadIgnoringLocalCacheData | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ReloadRevalidatingCacheData | case ReloadRevalidatingCacheData | OS X 10.10 |
To | reloadRevalidatingCacheData | case reloadRevalidatingCacheData | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ReturnCacheDataDontLoad | case ReturnCacheDataDontLoad | OS X 10.10 |
To | returnCacheDataDontLoad | case returnCacheDataDontLoad | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | ReturnCacheDataElseLoad | case ReturnCacheDataElseLoad | OS X 10.10 |
To | returnCacheDataElseLoad | case returnCacheDataElseLoad | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | UseProtocolCachePolicy | case UseProtocolCachePolicy | OS X 10.10 |
To | useProtocolCachePolicy | case useProtocolCachePolicy | OS X 10.12 |
---|
| Declaration |
From | enum NSURLRequestNetworkServiceType : UInt {
case NetworkServiceTypeDefault
case NetworkServiceTypeVoIP
case NetworkServiceTypeVideo
case NetworkServiceTypeBackground
case NetworkServiceTypeVoice
} |
To | enum NetworkServiceType : UInt {
case `default`
case voip
case video
case background
case voice
case networkServiceTypeCallSignaling
} |
---|
| Name | Declaration | Introduction |
From | NetworkServiceTypeBackground | case NetworkServiceTypeBackground | OS X 10.10 |
To | background | case background | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NetworkServiceTypeDefault | case NetworkServiceTypeDefault | OS X 10.10 |
To | default | case `default` | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NetworkServiceTypeVideo | case NetworkServiceTypeVideo | OS X 10.10 |
To | video | case video | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NetworkServiceTypeVoice | case NetworkServiceTypeVoice | OS X 10.10 |
To | voice | case voice | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NetworkServiceTypeVoIP | case NetworkServiceTypeVoIP | OS X 10.10 |
To | voip | case voip | OS X 10.12 |
---|
| Declaration | Protocols |
From | class NSUserActivity : NSObject {
init(activityType activityType: String)
init()
var activityType: String { get }
var title: String?
var userInfo: [NSObject : AnyObject]?
func addUserInfoEntriesFromDictionary(_ otherDictionary: [NSObject : AnyObject])
var requiredUserInfoKeys: Set<String>
var needsSave: Bool
@NSCopying var webpageURL: NSURL?
@NSCopying var expirationDate: NSDate
var keywords: Set<String>
var supportsContinuationStreams: Bool
weak var delegate: NSUserActivityDelegate?
func becomeCurrent()
func resignCurrent()
func invalidate()
func getContinuationStreamsWithCompletionHandler(_ completionHandler: (NSInputStream?, NSOutputStream?, NSError?) -> Void)
var eligibleForHandoff: Bool
var eligibleForSearch: Bool
var eligibleForPublicIndexing: Bool
} | -- |
To | class NSUserActivity : NSObject {
init(activityType activityType: String)
convenience init()
var activityType: String { get }
var title: String?
var userInfo: [AnyHashable : Any]?
func addUserInfoEntries(from otherDictionary: [AnyHashable : Any])
var requiredUserInfoKeys: Set<String>
var needsSave: Bool
var webpageURL: URL?
var expirationDate: Date
var keywords: Set<String>
var supportsContinuationStreams: Bool
weak var delegate: NSUserActivityDelegate?
func becomeCurrent()
func resignCurrent()
func invalidate()
func getContinuationStreams(completionHandler completionHandler: @escaping (InputStream?, OutputStream?, Error?) -> Swift.Void)
var isEligibleForHandoff: Bool
var isEligibleForSearch: Bool
var isEligibleForPublicIndexing: Bool
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 NSUserActivity : CVarArg {
}
extension NSUserActivity : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSUserActivity {
var interaction: INInteraction? { get }
}
extension NSUserActivity {
var mapItem: MKMapItem!
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addUserInfoEntriesFromDictionary(_ otherDictionary: [NSObject : AnyObject]) |
To | func addUserInfoEntries(from otherDictionary: [AnyHashable : Any]) |
---|
| Declaration |
From | @NSCopying var expirationDate: NSDate |
To | var expirationDate: Date |
---|
| Declaration |
From | func getContinuationStreamsWithCompletionHandler(_ completionHandler: (NSInputStream?, NSOutputStream?, NSError?) -> Void) |
To | func getContinuationStreams(completionHandler completionHandler: @escaping (InputStream?, OutputStream?, Error?) -> Swift.Void) |
---|
| Declaration | Deprecation |
From | init() | -- |
To | convenience init() | OS X 10.12 |
---|
| Declaration |
From | var eligibleForHandoff: Bool |
To | var isEligibleForHandoff: Bool |
---|
| Declaration |
From | var eligibleForPublicIndexing: Bool |
To | var isEligibleForPublicIndexing: Bool |
---|
| Declaration |
From | var eligibleForSearch: Bool |
To | var isEligibleForSearch: Bool |
---|
| Declaration |
From | var userInfo: [NSObject : AnyObject]? |
To | var userInfo: [AnyHashable : Any]? |
---|
| Declaration |
From | @NSCopying var webpageURL: NSURL? |
To | var webpageURL: URL? |
---|
| Declaration |
From | protocol NSUserActivityDelegate : NSObjectProtocol {
optional func userActivityWillSave(_ userActivity: NSUserActivity)
optional func userActivityWasContinued(_ userActivity: NSUserActivity)
optional func userActivity(_ userActivity: NSUserActivity?, didReceiveInputStream inputStream: NSInputStream, outputStream outputStream: NSOutputStream)
} |
To | protocol NSUserActivityDelegate : NSObjectProtocol {
optional func userActivityWillSave(_ userActivity: NSUserActivity)
optional func userActivityWasContinued(_ userActivity: NSUserActivity)
optional func userActivity(_ userActivity: NSUserActivity?, didReceive inputStream: InputStream, outputStream outputStream: OutputStream)
} |
---|
| Declaration |
From | optional func userActivity(_ userActivity: NSUserActivity?, didReceiveInputStream inputStream: NSInputStream, outputStream outputStream: NSOutputStream) |
To | optional func userActivity(_ userActivity: NSUserActivity?, didReceive inputStream: InputStream, outputStream outputStream: OutputStream) |
---|
| Declaration | Protocols |
From | class NSUserAppleScriptTask : NSUserScriptTask {
func executeWithAppleEvent(_ event: NSAppleEventDescriptor?, completionHandler handler: NSUserAppleScriptTaskCompletionHandler?)
} | -- |
To | class NSUserAppleScriptTask : NSUserScriptTask {
func execute(withAppleEvent event: NSAppleEventDescriptor?, completionHandler handler: NSUserAppleScriptTask.CompletionHandler? = nil)
typealias CompletionHandler = (NSAppleEventDescriptor?, Error?) -> Swift.Void
typealias CompletionHandler = (Error?) -> 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 NSUserAppleScriptTask : CVarArg {
}
extension NSUserAppleScriptTask : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSUserAppleScriptTask {
typealias CompletionHandler = (NSAppleEventDescriptor?, Error?) -> Swift.Void
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func executeWithAppleEvent(_ event: NSAppleEventDescriptor?, completionHandler handler: NSUserAppleScriptTaskCompletionHandler?) |
To | func execute(withAppleEvent event: NSAppleEventDescriptor?, completionHandler handler: NSUserAppleScriptTask.CompletionHandler? = nil) |
---|
| Declaration | Protocols |
From | class NSUserAutomatorTask : NSUserScriptTask {
var variables: [String : AnyObject]?
func executeWithInput(_ input: NSSecureCoding?, completionHandler handler: NSUserAutomatorTaskCompletionHandler?)
} | -- |
To | class NSUserAutomatorTask : NSUserScriptTask {
var variables: [String : Any]?
func execute(withInput input: NSSecureCoding?, completionHandler handler: NSUserAutomatorTask.CompletionHandler? = nil)
typealias CompletionHandler = (Any?, Error?) -> Swift.Void
typealias CompletionHandler = (Error?) -> 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 NSUserAutomatorTask : CVarArg {
}
extension NSUserAutomatorTask : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSUserAutomatorTask {
typealias CompletionHandler = (Any?, Error?) -> Swift.Void
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func executeWithInput(_ input: NSSecureCoding?, completionHandler handler: NSUserAutomatorTaskCompletionHandler?) |
To | func execute(withInput input: NSSecureCoding?, completionHandler handler: NSUserAutomatorTask.CompletionHandler? = nil) |
---|
| Declaration |
From | var variables: [String : AnyObject]? |
To | var variables: [String : Any]? |
---|
| Declaration | Protocols |
From | class NSUserNotification : NSObject, NSCopying {
init()
var title: String?
var subtitle: String?
var informativeText: String?
var actionButtonTitle: String
var userInfo: [String : AnyObject]?
@NSCopying var deliveryDate: NSDate?
@NSCopying var deliveryTimeZone: NSTimeZone?
@NSCopying var deliveryRepeatInterval: NSDateComponents?
@NSCopying var actualDeliveryDate: NSDate? { get }
var presented: Bool { get }
var remote: Bool { get }
var soundName: String?
var hasActionButton: Bool
var activationType: NSUserNotificationActivationType { get }
var otherButtonTitle: String
var identifier: String?
@NSCopying var contentImage: NSImage?
var hasReplyButton: Bool
var responsePlaceholder: String?
@NSCopying var response: NSAttributedString? { get }
var additionalActions: [NSUserNotificationAction]?
@NSCopying var additionalActivationAction: NSUserNotificationAction? { get }
} | NSCopying |
To | class NSUserNotification : NSObject, NSCopying {
init()
var title: String?
var subtitle: String?
var informativeText: String?
var actionButtonTitle: String
var userInfo: [String : Any]?
var deliveryDate: Date?
var deliveryTimeZone: TimeZone?
var deliveryRepeatInterval: DateComponents?
var actualDeliveryDate: Date? { get }
var isPresented: Bool { get }
var isRemote: Bool { get }
var soundName: String?
var hasActionButton: Bool
var activationType: NSUserNotification.ActivationType { get }
var otherButtonTitle: String
var identifier: String?
@NSCopying var contentImage: NSImage?
var hasReplyButton: Bool
var responsePlaceholder: String?
@NSCopying var response: NSAttributedString? { get }
var additionalActions: [NSUserNotificationAction]?
@NSCopying var additionalActivationAction: NSUserNotificationAction? { get }
enum ActivationType : Int {
case none
case contentsClicked
case actionButtonClicked
case replied
case additionalActionClicked
}
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 NSUserNotification {
enum ActivationType : Int {
case none
case contentsClicked
case actionButtonClicked
case replied
case additionalActionClicked
}
}
extension NSUserNotification : CVarArg {
}
extension NSUserNotification : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Declaration |
From | var activationType: NSUserNotificationActivationType { get } |
To | var activationType: NSUserNotification.ActivationType { get } |
---|
| Declaration |
From | @NSCopying var actualDeliveryDate: NSDate? { get } |
To | var actualDeliveryDate: Date? { get } |
---|
| Declaration |
From | @NSCopying var deliveryDate: NSDate? |
To | var deliveryDate: Date? |
---|
| Declaration |
From | @NSCopying var deliveryRepeatInterval: NSDateComponents? |
To | var deliveryRepeatInterval: DateComponents? |
---|
| Declaration |
From | @NSCopying var deliveryTimeZone: NSTimeZone? |
To | var deliveryTimeZone: TimeZone? |
---|
| Declaration |
From | var presented: Bool { get } |
To | var isPresented: Bool { get } |
---|
| Declaration |
From | var remote: Bool { get } |
To | var isRemote: Bool { get } |
---|
| Declaration |
From | var userInfo: [String : AnyObject]? |
To | var userInfo: [String : Any]? |
---|
| Declaration |
From | enum NSUserNotificationActivationType : Int {
case None
case ContentsClicked
case ActionButtonClicked
case Replied
case AdditionalActionClicked
} |
To | enum ActivationType : Int {
case none
case contentsClicked
case actionButtonClicked
case replied
case additionalActionClicked
} |
---|
| Name | Declaration |
From | ActionButtonClicked | case ActionButtonClicked |
To | actionButtonClicked | case actionButtonClicked |
---|
| Name | Declaration |
From | AdditionalActionClicked | case AdditionalActionClicked |
To | additionalActionClicked | case additionalActionClicked |
---|
| Name | Declaration |
From | ContentsClicked | case ContentsClicked |
To | contentsClicked | case contentsClicked |
---|
| Name | Declaration |
From | None | case None |
To | none | case none |
---|
| Name | Declaration |
From | Replied | case Replied |
To | replied | case replied |
---|
| Declaration | Protocols |
From | class NSUserNotificationAction : NSObject, NSCopying {
convenience init(identifier identifier: String?, title title: String?)
class func actionWithIdentifier(_ identifier: String?, title title: String?) -> Self
var identifier: String? { get }
var title: String? { get }
} | NSCopying |
To | class NSUserNotificationAction : NSObject, NSCopying {
convenience init(identifier identifier: String?, title title: String?)
class func withIdentifier(_ identifier: String?, title title: String?) -> Self
var identifier: String? { get }
var title: String? { 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 NSUserNotificationAction : CVarArg {
}
extension NSUserNotificationAction : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Declaration | Protocols |
From | class NSUserNotificationCenter : NSObject {
class func defaultUserNotificationCenter() -> NSUserNotificationCenter
unowned(unsafe) var delegate: NSUserNotificationCenterDelegate?
var scheduledNotifications: [NSUserNotification]
func scheduleNotification(_ notification: NSUserNotification)
func removeScheduledNotification(_ notification: NSUserNotification)
var deliveredNotifications: [NSUserNotification] { get }
func deliverNotification(_ notification: NSUserNotification)
func removeDeliveredNotification(_ notification: NSUserNotification)
func removeAllDeliveredNotifications()
} | -- |
To | class NSUserNotificationCenter : NSObject {
class var `default`: NSUserNotificationCenter { get }
unowned(unsafe) var delegate: NSUserNotificationCenterDelegate?
var scheduledNotifications: [NSUserNotification]
func scheduleNotification(_ notification: NSUserNotification)
func removeScheduledNotification(_ notification: NSUserNotification)
var deliveredNotifications: [NSUserNotification] { get }
func deliver(_ notification: NSUserNotification)
func removeDeliveredNotification(_ notification: NSUserNotification)
func removeAllDeliveredNotifications()
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 NSUserNotificationCenter : CVarArg {
}
extension NSUserNotificationCenter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func deliverNotification(_ notification: NSUserNotification) |
To | func deliver(_ notification: NSUserNotification) |
---|
| Declaration |
From | protocol NSUserNotificationCenterDelegate : NSObjectProtocol {
optional func userNotificationCenter(_ center: NSUserNotificationCenter, didDeliverNotification notification: NSUserNotification)
optional func userNotificationCenter(_ center: NSUserNotificationCenter, didActivateNotification notification: NSUserNotification)
optional func userNotificationCenter(_ center: NSUserNotificationCenter, shouldPresentNotification notification: NSUserNotification) -> Bool
} |
To | protocol NSUserNotificationCenterDelegate : NSObjectProtocol {
optional func userNotificationCenter(_ center: NSUserNotificationCenter, didDeliver notification: NSUserNotification)
optional func userNotificationCenter(_ center: NSUserNotificationCenter, didActivate notification: NSUserNotification)
optional func userNotificationCenter(_ center: NSUserNotificationCenter, shouldPresent notification: NSUserNotification) -> Bool
} |
---|
| Declaration |
From | optional func userNotificationCenter(_ center: NSUserNotificationCenter, didActivateNotification notification: NSUserNotification) |
To | optional func userNotificationCenter(_ center: NSUserNotificationCenter, didActivate notification: NSUserNotification) |
---|
| Declaration |
From | optional func userNotificationCenter(_ center: NSUserNotificationCenter, didDeliverNotification notification: NSUserNotification) |
To | optional func userNotificationCenter(_ center: NSUserNotificationCenter, didDeliver notification: NSUserNotification) |
---|
| Declaration |
From | optional func userNotificationCenter(_ center: NSUserNotificationCenter, shouldPresentNotification notification: NSUserNotification) -> Bool |
To | optional func userNotificationCenter(_ center: NSUserNotificationCenter, shouldPresent notification: NSUserNotification) -> Bool |
---|
| Declaration | Protocols |
From | class NSUserScriptTask : NSObject {
init(URL url: NSURL) throws
@NSCopying var scriptURL: NSURL { get }
func executeWithCompletionHandler(_ handler: NSUserScriptTaskCompletionHandler?)
} | -- |
To | class NSUserScriptTask : NSObject {
init(url url: URL) throws
var scriptURL: URL { get }
func execute(completionHandler handler: NSUserScriptTask.CompletionHandler? = nil)
typealias CompletionHandler = (Error?) -> 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 NSUserScriptTask : CVarArg {
}
extension NSUserScriptTask : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSUserScriptTask {
typealias CompletionHandler = (Error?) -> Swift.Void
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func executeWithCompletionHandler(_ handler: NSUserScriptTaskCompletionHandler?) |
To | func execute(completionHandler handler: NSUserScriptTask.CompletionHandler? = nil) |
---|
| Declaration |
From | init(URL url: NSURL) throws |
To | init(url url: URL) throws |
---|
| Declaration |
From | @NSCopying var scriptURL: NSURL { get } |
To | var scriptURL: URL { get } |
---|
| Declaration | Protocols |
From | class NSUserUnixTask : NSUserScriptTask {
var standardInput: NSFileHandle?
var standardOutput: NSFileHandle?
var standardError: NSFileHandle?
func executeWithArguments(_ arguments: [String]?, completionHandler handler: NSUserUnixTaskCompletionHandler?)
} | -- |
To | class NSUserUnixTask : NSUserScriptTask {
var standardInput: FileHandle?
var standardOutput: FileHandle?
var standardError: FileHandle?
func execute(withArguments arguments: [String]?, completionHandler handler: NSUserUnixTask.CompletionHandler? = nil)
typealias CompletionHandler = (Error?) -> Swift.Void
typealias CompletionHandler = (Error?) -> 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 NSUserUnixTask : CVarArg {
}
extension NSUserUnixTask : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSUserUnixTask {
typealias CompletionHandler = (Error?) -> Swift.Void
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func executeWithArguments(_ arguments: [String]?, completionHandler handler: NSUserUnixTaskCompletionHandler?) |
To | func execute(withArguments arguments: [String]?, completionHandler handler: NSUserUnixTask.CompletionHandler? = nil) |
---|
| Declaration |
From | var standardError: NSFileHandle? |
To | var standardError: FileHandle? |
---|
| Declaration |
From | var standardInput: NSFileHandle? |
To | var standardInput: FileHandle? |
---|
| Declaration |
From | var standardOutput: NSFileHandle? |
To | var standardOutput: FileHandle? |
---|
| Declaration | Protocols |
From | class NSUUID : NSObject, NSCopying, NSSecureCoding {
convenience init()
class func UUID() -> Self
init()
convenience init?(UUIDString string: String)
convenience init(UUIDBytes bytes: UnsafePointer<UInt8>)
func getUUIDBytes(_ uuid: UnsafeMutablePointer<UInt8>)
var UUIDString: String { get }
} | NSCopying, NSSecureCoding |
To | class NSUUID : NSObject, NSCopying, NSSecureCoding {
convenience init()
class func uuid() -> Self
init()
convenience init?(uuidString string: String)
convenience init(uuidBytes bytes: UnsafePointer<UInt8>!)
func getBytes(_ uuid: UnsafeMutablePointer<UInt8>!)
var uuidString: String { 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 NSUUID : CVarArg {
}
extension NSUUID : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSUUID {
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | func getUUIDBytes(_ uuid: UnsafeMutablePointer<UInt8>) |
To | func getBytes(_ uuid: UnsafeMutablePointer<UInt8>!) |
---|
| Declaration |
From | convenience init(UUIDBytes bytes: UnsafePointer<UInt8>) |
To | convenience init(uuidBytes bytes: UnsafePointer<UInt8>!) |
---|
| Declaration |
From | convenience init?(UUIDString string: String) |
To | convenience init?(uuidString string: String) |
---|
| Declaration |
From | var UUIDString: String { get } |
To | var uuidString: String { get } |
---|
| Declaration | Protocols |
From | class NSValue : NSObject, NSCopying, NSSecureCoding {
func getValue(_ value: UnsafeMutablePointer<Void>)
var objCType: UnsafePointer<Int8> { get }
init(bytes value: UnsafePointer<Void>, objCType type: UnsafePointer<Int8>)
init?(coder aDecoder: NSCoder)
}
extension NSValue {
init(CMTime time: CMTime)
class func valueWithCMTime(_ time: CMTime) -> NSValue
var CMTimeValue: CMTime { get }
init(CMTimeRange timeRange: CMTimeRange)
class func valueWithCMTimeRange(_ timeRange: CMTimeRange) -> NSValue
var CMTimeRangeValue: CMTimeRange { get }
init(CMTimeMapping timeMapping: CMTimeMapping)
class func valueWithCMTimeMapping(_ timeMapping: CMTimeMapping) -> NSValue
var CMTimeMappingValue: CMTimeMapping { get }
}
extension NSValue {
init(point point: NSPoint)
class func valueWithPoint(_ point: NSPoint) -> NSValue
init(size size: NSSize)
class func valueWithSize(_ size: NSSize) -> NSValue
init(rect rect: NSRect)
class func valueWithRect(_ rect: NSRect) -> NSValue
init(edgeInsets insets: NSEdgeInsets)
class func valueWithEdgeInsets(_ insets: NSEdgeInsets) -> NSValue
var pointValue: NSPoint { get }
var sizeValue: NSSize { get }
var rectValue: NSRect { get }
var edgeInsetsValue: NSEdgeInsets { get }
}
extension NSValue {
init(range range: NSRange)
class func valueWithRange(_ range: NSRange) -> NSValue
var rangeValue: NSRange { get }
}
extension NSValue {
class func valueWithBytes(_ value: UnsafePointer<Void>, objCType type: UnsafePointer<Int8>) -> NSValue
init(_ value: UnsafePointer<Void>, withObjCType type: UnsafePointer<Int8>)
class func value(_ value: UnsafePointer<Void>, withObjCType type: UnsafePointer<Int8>) -> NSValue
}
extension NSValue {
init(nonretainedObject anObject: AnyObject?)
class func valueWithNonretainedObject(_ anObject: AnyObject?) -> NSValue
var nonretainedObjectValue: AnyObject? { get }
init(pointer pointer: UnsafePointer<Void>)
class func valueWithPointer(_ pointer: UnsafePointer<Void>) -> NSValue
var pointerValue: UnsafeMutablePointer<Void> { get }
func isEqualToValue(_ value: NSValue) -> Bool
}
extension NSValue {
init(MKCoordinate coordinate: CLLocationCoordinate2D)
class func valueWithMKCoordinate(_ coordinate: CLLocationCoordinate2D) -> NSValue
init(MKCoordinateSpan span: MKCoordinateSpan)
class func valueWithMKCoordinateSpan(_ span: MKCoordinateSpan) -> NSValue
var MKCoordinateValue: CLLocationCoordinate2D { get }
var MKCoordinateSpanValue: MKCoordinateSpan { get }
}
extension NSValue {
init(CATransform3D t: CATransform3D)
class func valueWithCATransform3D(_ t: CATransform3D) -> NSValue
var CATransform3DValue: CATransform3D { get }
}
extension NSValue {
init(SCNVector3 v: SCNVector3)
class func valueWithSCNVector3(_ v: SCNVector3) -> NSValue
init(SCNVector4 v: SCNVector4)
class func valueWithSCNVector4(_ v: SCNVector4) -> NSValue
init(SCNMatrix4 v: SCNMatrix4)
class func valueWithSCNMatrix4(_ v: SCNMatrix4) -> NSValue
var SCNVector3Value: SCNVector3 { get }
var SCNVector4Value: SCNVector4 { get }
var SCNMatrix4Value: SCNMatrix4 { get }
} | NSCopying, NSSecureCoding |
To | class NSValue : NSObject, NSCopying, NSSecureCoding {
func getValue(_ value: UnsafeMutableRawPointer)
var objCType: UnsafePointer<Int8> { get }
init(bytes value: UnsafeRawPointer, objCType type: UnsafePointer<Int8>)
init?(coder aDecoder: NSCoder)
init(point point: NSPoint)
class func withPoint(_ point: NSPoint) -> NSValue
init(size size: NSSize)
class func withSize(_ size: NSSize) -> NSValue
init(rect rect: NSRect)
class func withRect(_ rect: NSRect) -> NSValue
init(edgeInsets insets: EdgeInsets)
class func withEdgeInsets(_ insets: EdgeInsets) -> NSValue
var pointValue: NSPoint { get }
var sizeValue: NSSize { get }
var rectValue: NSRect { get }
var edgeInsetsValue: EdgeInsets { get }
init(range range: NSRange)
class func withRange(_ range: NSRange) -> NSValue
var rangeValue: NSRange { get }
init(nonretainedObject anObject: Any?)
class func withNonretainedObject(_ anObject: Any?) -> NSValue
var nonretainedObjectValue: Any? { get }
init(pointer pointer: UnsafeRawPointer?)
class func withPointer(_ pointer: UnsafeRawPointer?) -> NSValue
var pointerValue: UnsafeMutableRawPointer? { get }
func isEqual(to value: NSValue) -> Bool
class func withBytes(_ value: UnsafeRawPointer, objCType type: UnsafePointer<Int8>) -> NSValue
init(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>)
class func value(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>) -> NSValue
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 NSValue {
init(time time: CMTime)
class func withCMTime(_ time: CMTime) -> NSValue
var timeValue: CMTime { get }
init(timeRange timeRange: CMTimeRange)
class func withCMTimeRange(_ timeRange: CMTimeRange) -> NSValue
var timeRangeValue: CMTimeRange { get }
init(timeMapping timeMapping: CMTimeMapping)
class func withCMTimeMapping(_ timeMapping: CMTimeMapping) -> NSValue
var timeMappingValue: CMTimeMapping { get }
}
extension NSValue {
init(point point: NSPoint)
class func withPoint(_ point: NSPoint) -> NSValue
init(size size: NSSize)
class func withSize(_ size: NSSize) -> NSValue
init(rect rect: NSRect)
class func withRect(_ rect: NSRect) -> NSValue
init(edgeInsets insets: EdgeInsets)
class func withEdgeInsets(_ insets: EdgeInsets) -> NSValue
var pointValue: NSPoint { get }
var sizeValue: NSSize { get }
var rectValue: NSRect { get }
var edgeInsetsValue: EdgeInsets { get }
}
extension NSValue {
init(range range: NSRange)
class func withRange(_ range: NSRange) -> NSValue
var rangeValue: NSRange { get }
}
extension NSValue : CVarArg {
}
extension NSValue : Equatable, Hashable {
var hashValue: Int { get }
}
extension NSValue {
class func withBytes(_ value: UnsafeRawPointer, objCType type: UnsafePointer<Int8>) -> NSValue
init(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>)
class func value(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>) -> NSValue
}
extension NSValue {
init(nonretainedObject anObject: Any?)
class func withNonretainedObject(_ anObject: Any?) -> NSValue
var nonretainedObjectValue: Any? { get }
init(pointer pointer: UnsafeRawPointer?)
class func withPointer(_ pointer: UnsafeRawPointer?) -> NSValue
var pointerValue: UnsafeMutableRawPointer? { get }
func isEqual(to value: NSValue) -> Bool
}
extension NSValue {
init(mkCoordinate coordinate: CLLocationCoordinate2D)
class func withMKCoordinate(_ coordinate: CLLocationCoordinate2D) -> NSValue
init(mkCoordinateSpan span: MKCoordinateSpan)
class func withMKCoordinateSpan(_ span: MKCoordinateSpan) -> NSValue
var mkCoordinateValue: CLLocationCoordinate2D { get }
var mkCoordinateSpanValue: MKCoordinateSpan { get }
}
extension NSValue {
init(caTransform3D t: CATransform3D)
class func withCATransform3D(_ t: CATransform3D) -> NSValue
var caTransform3DValue: CATransform3D { get }
}
extension NSValue {
init(scnVector3 v: SCNVector3)
class func withSCNVector3(_ v: SCNVector3) -> NSValue
init(scnVector4 v: SCNVector4)
class func withSCNVector4(_ v: SCNVector4) -> NSValue
init(scnMatrix4 v: SCNMatrix4)
class func withSCNMatrix4(_ v: SCNMatrix4) -> NSValue
var scnVector3Value: SCNVector3 { get }
var scnVector4Value: SCNVector4 { get }
var scnMatrix4Value: SCNMatrix4 { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var edgeInsetsValue: NSEdgeInsets { get } |
To | var edgeInsetsValue: EdgeInsets { get } |
---|
| Declaration |
From | func getValue(_ value: UnsafeMutablePointer<Void>) |
To | func getValue(_ value: UnsafeMutableRawPointer) |
---|
| Declaration |
From | init(_ value: UnsafePointer<Void>, withObjCType type: UnsafePointer<Int8>) |
To | init(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<Int8>) |
---|
| Declaration |
From | init(bytes value: UnsafePointer<Void>, objCType type: UnsafePointer<Int8>) |
To | init(bytes value: UnsafeRawPointer, objCType type: UnsafePointer<Int8>) |
---|
| Declaration |
From | init(edgeInsets insets: NSEdgeInsets) |
To | init(edgeInsets insets: EdgeInsets) |
---|
| Declaration |
From | init(nonretainedObject anObject: AnyObject?) |
To | init(nonretainedObject anObject: Any?) |
---|
| Declaration |
From | init(pointer pointer: UnsafePointer<Void>) |
To | init(pointer pointer: UnsafeRawPointer?) |
---|
| Declaration |
From | func isEqualToValue(_ value: NSValue) -> Bool |
To | func isEqual(to value: NSValue) -> Bool |
---|
| Declaration |
From | var nonretainedObjectValue: AnyObject? { get } |
To | var nonretainedObjectValue: Any? { get } |
---|
| Declaration |
From | var pointerValue: UnsafeMutablePointer<Void> { get } |
To | var pointerValue: UnsafeMutableRawPointer? { get } |
---|
| Name | Declaration |
From | NSIsNilTransformerName | let NSIsNilTransformerName: String |
To | isNilTransformerName | static let isNilTransformerName: NSValueTransformerName |
---|
| Name | Declaration |
From | NSIsNotNilTransformerName | let NSIsNotNilTransformerName: String |
To | isNotNilTransformerName | static let isNotNilTransformerName: NSValueTransformerName |
---|
| Name | Declaration |
From | NSKeyedUnarchiveFromDataTransformerName | let NSKeyedUnarchiveFromDataTransformerName: String |
To | keyedUnarchiveFromDataTransformerName | static let keyedUnarchiveFromDataTransformerName: NSValueTransformerName |
---|
| Name | Declaration |
From | NSNegateBooleanTransformerName | let NSNegateBooleanTransformerName: String |
To | negateBooleanTransformerName | static let negateBooleanTransformerName: NSValueTransformerName |
---|
| Name | Declaration |
From | NSUnarchiveFromDataTransformerName | let NSUnarchiveFromDataTransformerName: String |
To | unarchiveFromDataTransformerName | static let unarchiveFromDataTransformerName: NSValueTransformerName |
---|
| Declaration |
From | class NSWhoseSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, test test: NSScriptWhoseTest)
var test: NSScriptWhoseTest
var startSubelementIdentifier: NSWhoseSubelementIdentifier
var startSubelementIndex: Int
var endSubelementIdentifier: NSWhoseSubelementIdentifier
var endSubelementIndex: Int
} |
To | class NSWhoseSpecifier : NSScriptObjectSpecifier {
init?(coder inCoder: NSCoder)
init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, test test: NSScriptWhoseTest)
var test: NSScriptWhoseTest
var startSubelementIdentifier: NSWhoseSpecifier.SubelementIdentifier
var startSubelementIndex: Int
var endSubelementIdentifier: NSWhoseSpecifier.SubelementIdentifier
var endSubelementIndex: Int
enum SubelementIdentifier : UInt {
case indexSubelement
case everySubelement
case middleSubelement
case randomSubelement
case noSubelement
}
}
extension NSWhoseSpecifier {
enum SubelementIdentifier : UInt {
case indexSubelement
case everySubelement
case middleSubelement
case randomSubelement
case noSubelement
}
} |
---|
| Declaration |
From | var endSubelementIdentifier: NSWhoseSubelementIdentifier |
To | var endSubelementIdentifier: NSWhoseSpecifier.SubelementIdentifier |
---|
| Declaration |
From | var startSubelementIdentifier: NSWhoseSubelementIdentifier |
To | var startSubelementIdentifier: NSWhoseSpecifier.SubelementIdentifier |
---|
| Declaration |
From | enum NSWhoseSubelementIdentifier : UInt {
case IndexSubelement
case EverySubelement
case MiddleSubelement
case RandomSubelement
case NoSubelement
} |
To | enum SubelementIdentifier : UInt {
case indexSubelement
case everySubelement
case middleSubelement
case randomSubelement
case noSubelement
} |
---|
| Name | Declaration |
From | EverySubelement | case EverySubelement |
To | everySubelement | case everySubelement |
---|
| Name | Declaration |
From | IndexSubelement | case IndexSubelement |
To | indexSubelement | case indexSubelement |
---|
| Name | Declaration |
From | MiddleSubelement | case MiddleSubelement |
To | middleSubelement | case middleSubelement |
---|
| Name | Declaration |
From | NoSubelement | case NoSubelement |
To | noSubelement | case noSubelement |
---|
| Name | Declaration |
From | RandomSubelement | case RandomSubelement |
To | randomSubelement | case randomSubelement |
---|
| Declaration | Protocols |
From | class NSXPCConnection : NSObject, NSXPCProxyCreating {
init(serviceName serviceName: String)
var serviceName: String? { get }
init(machServiceName name: String, options options: NSXPCConnectionOptions)
init(listenerEndpoint endpoint: NSXPCListenerEndpoint)
var endpoint: NSXPCListenerEndpoint { get }
var exportedInterface: NSXPCInterface?
var exportedObject: AnyObject?
var remoteObjectInterface: NSXPCInterface?
var remoteObjectProxy: AnyObject { get }
func remoteObjectProxyWithErrorHandler(_ handler: (NSError) -> Void) -> AnyObject
var interruptionHandler: (() -> Void)?
var invalidationHandler: (() -> Void)?
func resume()
func suspend()
func invalidate()
var auditSessionIdentifier: au_asid_t { get }
var processIdentifier: pid_t { get }
var effectiveUserIdentifier: uid_t { get }
var effectiveGroupIdentifier: gid_t { get }
} | NSXPCProxyCreating |
To | class NSXPCConnection : NSObject, NSXPCProxyCreating {
init(serviceName serviceName: String)
var serviceName: String? { get }
init(machServiceName name: String, options options: NSXPCConnection.Options = [])
init(listenerEndpoint endpoint: NSXPCListenerEndpoint)
var endpoint: NSXPCListenerEndpoint { get }
var exportedInterface: NSXPCInterface?
var exportedObject: Any?
var remoteObjectInterface: NSXPCInterface?
var remoteObjectProxy: Any { get }
func remoteObjectProxyWithErrorHandler(_ handler: @escaping (Error) -> Swift.Void) -> Any
var interruptionHandler: (() -> Swift.Void)?
var invalidationHandler: (() -> Swift.Void)?
func resume()
func suspend()
func invalidate()
var auditSessionIdentifier: au_asid_t { get }
var processIdentifier: pid_t { get }
var effectiveUserIdentifier: uid_t { get }
var effectiveGroupIdentifier: gid_t { get }
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var privileged: NSXPCConnection.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 NSXPCConnection {
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var privileged: NSXPCConnection.Options { get }
}
}
extension NSXPCConnection : CVarArg {
}
extension NSXPCConnection : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSXPCProxyCreating |
---|
| Declaration |
From | var exportedObject: AnyObject? |
To | var exportedObject: Any? |
---|
| Declaration |
From | init(machServiceName name: String, options options: NSXPCConnectionOptions) |
To | init(machServiceName name: String, options options: NSXPCConnection.Options = []) |
---|
| Declaration |
From | var interruptionHandler: (() -> Void)? |
To | var interruptionHandler: (() -> Swift.Void)? |
---|
| Declaration |
From | var invalidationHandler: (() -> Void)? |
To | var invalidationHandler: (() -> Swift.Void)? |
---|
| Declaration |
From | var remoteObjectProxy: AnyObject { get } |
To | var remoteObjectProxy: Any { get } |
---|
| Declaration |
From | func remoteObjectProxyWithErrorHandler(_ handler: (NSError) -> Void) -> AnyObject |
To | func remoteObjectProxyWithErrorHandler(_ handler: @escaping (Error) -> Swift.Void) -> Any |
---|
| Declaration | Protocols |
From | struct NSXPCConnectionOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Privileged: NSXPCConnectionOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var privileged: NSXPCConnection.Options { get }
}
extension NSXPCConnection.Options {
func union(_ other: NSXPCConnection.Options) -> NSXPCConnection.Options
func intersection(_ other: NSXPCConnection.Options) -> NSXPCConnection.Options
func symmetricDifference(_ other: NSXPCConnection.Options) -> NSXPCConnection.Options
}
extension NSXPCConnection.Options {
func contains(_ member: NSXPCConnection.Options) -> Bool
mutating func insert(_ newMember: NSXPCConnection.Options) -> (inserted: Bool, memberAfterInsert: NSXPCConnection.Options)
mutating func remove(_ member: NSXPCConnection.Options) -> NSXPCConnection.Options?
mutating func update(with newMember: NSXPCConnection.Options) -> NSXPCConnection.Options?
}
extension NSXPCConnection.Options {
convenience init()
mutating func formUnion(_ other: NSXPCConnection.Options)
mutating func formIntersection(_ other: NSXPCConnection.Options)
mutating func formSymmetricDifference(_ other: NSXPCConnection.Options)
}
extension NSXPCConnection.Options {
convenience init<S : Sequence where S.Iterator.Element == NSXPCConnection.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: NSXPCConnection.Options...)
mutating func subtract(_ other: NSXPCConnection.Options)
func isSubset(of other: NSXPCConnection.Options) -> Bool
func isSuperset(of other: NSXPCConnection.Options) -> Bool
func isDisjoint(with other: NSXPCConnection.Options) -> Bool
func subtracting(_ other: NSXPCConnection.Options) -> NSXPCConnection.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: NSXPCConnection.Options) -> Bool
func isStrictSubset(of other: NSXPCConnection.Options) -> Bool
}
extension NSXPCConnection.Options {
func intersect(_ other: NSXPCConnection.Options) -> NSXPCConnection.Options
func exclusiveOr(_ other: NSXPCConnection.Options) -> NSXPCConnection.Options
mutating func unionInPlace(_ other: NSXPCConnection.Options)
mutating func intersectInPlace(_ other: NSXPCConnection.Options)
mutating func exclusiveOrInPlace(_ other: NSXPCConnection.Options)
func isSubsetOf(_ other: NSXPCConnection.Options) -> Bool
func isDisjointWith(_ other: NSXPCConnection.Options) -> Bool
func isSupersetOf(_ other: NSXPCConnection.Options) -> Bool
mutating func subtractInPlace(_ other: NSXPCConnection.Options)
func isStrictSupersetOf(_ other: NSXPCConnection.Options) -> Bool
func isStrictSubsetOf(_ other: NSXPCConnection.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | Privileged | static var Privileged: NSXPCConnectionOptions { get } |
To | privileged | static var privileged: NSXPCConnection.Options { get } |
---|
| Declaration | Protocols |
From | class NSXPCInterface : NSObject {
init(withProtocol protocol: Protocol)
class func interfaceWithProtocol(_ protocol: Protocol) -> NSXPCInterface
unowned(unsafe) var `protocol`: Protocol
func setClasses(_ classes: Set<NSObject>, forSelector sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool)
func classesForSelector(_ sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> Set<NSObject>
func setInterface(_ ifc: NSXPCInterface, forSelector sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool)
func interfaceForSelector(_ sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> NSXPCInterface?
} | -- |
To | class NSXPCInterface : NSObject {
init(with protocol: Protocol)
class func withProtocol(_ protocol: Protocol) -> NSXPCInterface
unowned(unsafe) var `protocol`: Protocol
func setClasses(_ classes: Set<AnyHashable>, for sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool)
func classes(for sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> Set<AnyHashable>
func setInterface(_ ifc: NSXPCInterface, for sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool)
func forSelector(_ sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> NSXPCInterface?
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 NSXPCInterface : CVarArg {
}
extension NSXPCInterface : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func classesForSelector(_ sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> Set<NSObject> |
To | func classes(for sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> Set<AnyHashable> |
---|
| Declaration |
From | func interfaceForSelector(_ sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> NSXPCInterface? |
To | func forSelector(_ sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) -> NSXPCInterface? |
---|
| Declaration |
From | init(withProtocol protocol: Protocol) |
To | init(with protocol: Protocol) |
---|
| Declaration |
From | func setClasses(_ classes: Set<NSObject>, forSelector sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) |
To | func setClasses(_ classes: Set<AnyHashable>, for sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) |
---|
| Declaration |
From | func setInterface(_ ifc: NSXPCInterface, forSelector sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) |
To | func setInterface(_ ifc: NSXPCInterface, for sel: Selector, argumentIndex arg: Int, ofReply ofReply: Bool) |
---|
| Declaration | Protocols |
From | class NSXPCListener : NSObject {
class func serviceListener() -> NSXPCListener
class func anonymousListener() -> NSXPCListener
init(machServiceName name: String)
unowned(unsafe) var delegate: NSXPCListenerDelegate?
var endpoint: NSXPCListenerEndpoint { get }
func resume()
func suspend()
func invalidate()
} | -- |
To | class NSXPCListener : NSObject {
class func service() -> NSXPCListener
class func anonymous() -> NSXPCListener
init(machServiceName name: String)
unowned(unsafe) var delegate: NSXPCListenerDelegate?
var endpoint: NSXPCListenerEndpoint { get }
func resume()
func suspend()
func invalidate()
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 NSXPCListener : CVarArg {
}
extension NSXPCListener : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func anonymousListener() -> NSXPCListener |
To | class func anonymous() -> NSXPCListener |
---|
| Declaration |
From | class func serviceListener() -> NSXPCListener |
To | class func service() -> NSXPCListener |
---|
| Declaration | Protocols |
From | class NSXPCListenerEndpoint : NSObject, NSSecureCoding {
} | NSSecureCoding |
To | class NSXPCListenerEndpoint : NSObject, NSSecureCoding {
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 NSXPCListenerEndpoint : CVarArg {
}
extension NSXPCListenerEndpoint : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSSecureCoding |
---|
| Declaration |
From | protocol NSXPCProxyCreating {
func remoteObjectProxy() -> AnyObject
func remoteObjectProxyWithErrorHandler(_ handler: (NSError) -> Void) -> AnyObject
} |
To | protocol NSXPCProxyCreating {
func remoteObjectProxy() -> Any
func remoteObjectProxyWithErrorHandler(_ handler: @escaping (Error) -> Swift.Void) -> Any
} |
---|
| Declaration |
From | func remoteObjectProxy() -> AnyObject |
To | func remoteObjectProxy() -> Any |
---|
| Declaration |
From | func remoteObjectProxyWithErrorHandler(_ handler: (NSError) -> Void) -> AnyObject |
To | func remoteObjectProxyWithErrorHandler(_ handler: @escaping (Error) -> Swift.Void) -> Any |
---|
| Declaration | Protocols |
From | class NSNumberFormatter : NSFormatter {
var formattingContext: NSFormattingContext
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, range rangep: UnsafeMutablePointer<NSRange>) throws
func stringFromNumber(_ number: NSNumber) -> String?
func numberFromString(_ string: String) -> NSNumber?
class func localizedStringFromNumber(_ num: NSNumber, numberStyle nstyle: NSNumberFormatterStyle) -> String
class func defaultFormatterBehavior() -> NSNumberFormatterBehavior
class func setDefaultFormatterBehavior(_ behavior: NSNumberFormatterBehavior)
var numberStyle: NSNumberFormatterStyle
@NSCopying var locale: NSLocale!
var generatesDecimalNumbers: Bool
var formatterBehavior: NSNumberFormatterBehavior
var negativeFormat: String!
var textAttributesForNegativeValues: [String : AnyObject]?
var positiveFormat: String!
var textAttributesForPositiveValues: [String : AnyObject]?
var allowsFloats: Bool
var decimalSeparator: String!
var alwaysShowsDecimalSeparator: Bool
var currencyDecimalSeparator: String!
var usesGroupingSeparator: Bool
var groupingSeparator: String!
var zeroSymbol: String?
var textAttributesForZero: [String : AnyObject]?
var nilSymbol: String
var textAttributesForNil: [String : AnyObject]?
var notANumberSymbol: String!
var textAttributesForNotANumber: [String : AnyObject]?
var positiveInfinitySymbol: String
var textAttributesForPositiveInfinity: [String : AnyObject]?
var negativeInfinitySymbol: String
var textAttributesForNegativeInfinity: [String : AnyObject]?
var positivePrefix: String!
var positiveSuffix: String!
var negativePrefix: String!
var negativeSuffix: String!
var currencyCode: String!
var currencySymbol: String!
var internationalCurrencySymbol: String!
var percentSymbol: String!
var perMillSymbol: String!
var minusSign: String!
var plusSign: String!
var exponentSymbol: String!
var groupingSize: Int
var secondaryGroupingSize: Int
@NSCopying var multiplier: NSNumber?
var formatWidth: Int
var paddingCharacter: String!
var paddingPosition: NSNumberFormatterPadPosition
var roundingMode: NSNumberFormatterRoundingMode
@NSCopying var roundingIncrement: NSNumber!
var minimumIntegerDigits: Int
var maximumIntegerDigits: Int
var minimumFractionDigits: Int
var maximumFractionDigits: Int
@NSCopying var minimum: NSNumber?
@NSCopying var maximum: NSNumber?
var currencyGroupingSeparator: String!
var lenient: Bool
var usesSignificantDigits: Bool
var minimumSignificantDigits: Int
var maximumSignificantDigits: Int
var partialStringValidationEnabled: Bool
}
extension NSNumberFormatter {
var hasThousandSeparators: Bool
var thousandSeparator: String!
var localizesFormat: Bool
var format: String
@NSCopying var attributedStringForZero: NSAttributedString
@NSCopying var attributedStringForNil: NSAttributedString
@NSCopying var attributedStringForNotANumber: NSAttributedString
@NSCopying var roundingBehavior: NSDecimalNumberHandler
} | -- |
To | class NumberFormatter : Formatter {
var formattingContext: Formatter.Context
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?) throws
func string(from number: NSNumber) -> String?
func number(from string: String) -> NSNumber?
class func localizedString(from num: NSNumber, number nstyle: NumberFormatter.Style) -> String
class func defaultFormatterBehavior() -> NumberFormatter.Behavior
class func setDefaultFormatterBehavior(_ behavior: NumberFormatter.Behavior)
var numberStyle: NumberFormatter.Style
var locale: Locale!
var generatesDecimalNumbers: Bool
var formatterBehavior: NumberFormatter.Behavior
var negativeFormat: String!
var textAttributesForNegativeValues: [String : Any]?
var positiveFormat: String!
var textAttributesForPositiveValues: [String : Any]?
var allowsFloats: Bool
var decimalSeparator: String!
var alwaysShowsDecimalSeparator: Bool
var currencyDecimalSeparator: String!
var usesGroupingSeparator: Bool
var groupingSeparator: String!
var zeroSymbol: String?
var textAttributesForZero: [String : Any]?
var nilSymbol: String
var textAttributesForNil: [String : Any]?
var notANumberSymbol: String!
var textAttributesForNotANumber: [String : Any]?
var positiveInfinitySymbol: String
var textAttributesForPositiveInfinity: [String : Any]?
var negativeInfinitySymbol: String
var textAttributesForNegativeInfinity: [String : Any]?
var positivePrefix: String!
var positiveSuffix: String!
var negativePrefix: String!
var negativeSuffix: String!
var currencyCode: String!
var currencySymbol: String!
var internationalCurrencySymbol: String!
var percentSymbol: String!
var perMillSymbol: String!
var minusSign: String!
var plusSign: String!
var exponentSymbol: String!
var groupingSize: Int
var secondaryGroupingSize: Int
@NSCopying var multiplier: NSNumber?
var formatWidth: Int
var paddingCharacter: String!
var paddingPosition: NumberFormatter.PadPosition
var roundingMode: NumberFormatter.RoundingMode
@NSCopying var roundingIncrement: NSNumber!
var minimumIntegerDigits: Int
var maximumIntegerDigits: Int
var minimumFractionDigits: Int
var maximumFractionDigits: Int
@NSCopying var minimum: NSNumber?
@NSCopying var maximum: NSNumber?
var currencyGroupingSeparator: String!
var isLenient: Bool
var usesSignificantDigits: Bool
var minimumSignificantDigits: Int
var maximumSignificantDigits: Int
var isPartialStringValidationEnabled: Bool
var hasThousandSeparators: Bool
var thousandSeparator: String!
var localizesFormat: Bool
var format: String
@NSCopying var attributedStringForZero: NSAttributedString
@NSCopying var attributedStringForNil: NSAttributedString
@NSCopying var attributedStringForNotANumber: NSAttributedString
@NSCopying var roundingBehavior: NSDecimalNumberHandler
enum Behavior : UInt {
case `default`
case behavior10_0
case behavior10_4
}
enum Style : UInt {
case none
case decimal
case currency
case percent
case scientific
case spellOut
case ordinal
case currencyISOCode
case currencyPlural
case currencyAccounting
}
enum PadPosition : UInt {
case beforePrefix
case afterPrefix
case beforeSuffix
case afterSuffix
}
enum RoundingMode : UInt {
case ceiling
case floor
case down
case up
case halfEven
case halfDown
case halfUp
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 NumberFormatter {
enum Behavior : UInt {
case `default`
case behavior10_0
case behavior10_4
}
enum Style : UInt {
case none
case decimal
case currency
case percent
case scientific
case spellOut
case ordinal
case currencyISOCode
case currencyPlural
case currencyAccounting
}
enum PadPosition : UInt {
case beforePrefix
case afterPrefix
case beforeSuffix
case afterSuffix
}
enum RoundingMode : UInt {
case ceiling
case floor
case down
case up
case halfEven
case halfDown
case halfUp
}
}
extension NumberFormatter : CVarArg {
}
extension NumberFormatter : Equatable, Hashable {
var hashValue: Int { get }
}
extension NumberFormatter {
var hasThousandSeparators: Bool
var thousandSeparator: String!
var localizesFormat: Bool
var format: String
@NSCopying var attributedStringForZero: NSAttributedString
@NSCopying var attributedStringForNil: NSAttributedString
@NSCopying var attributedStringForNotANumber: NSAttributedString
@NSCopying var roundingBehavior: NSDecimalNumberHandler
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | class func defaultFormatterBehavior() -> NSNumberFormatterBehavior |
To | class func defaultFormatterBehavior() -> NumberFormatter.Behavior |
---|
| Declaration |
From | var formatterBehavior: NSNumberFormatterBehavior |
To | var formatterBehavior: NumberFormatter.Behavior |
---|
| Declaration |
From | var formattingContext: NSFormattingContext |
To | var formattingContext: Formatter.Context |
---|
| Name | Declaration |
From | getObjectValue(_:forString:range:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, range rangep: UnsafeMutablePointer<NSRange>) throws |
To | getObjectValue(_:for:range:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?) throws |
---|
| Name | Declaration |
From | lenient | var lenient: Bool |
To | isLenient | var isLenient: Bool |
---|
| Name | Declaration |
From | partialStringValidationEnabled | var partialStringValidationEnabled: Bool |
To | isPartialStringValidationEnabled | var isPartialStringValidationEnabled: Bool |
---|
| Declaration |
From | @NSCopying var locale: NSLocale! |
To | var locale: Locale! |
---|
| Name | Declaration |
From | localizedStringFromNumber(_:numberStyle:) | class func localizedStringFromNumber(_ num: NSNumber, numberStyle nstyle: NSNumberFormatterStyle) -> String |
To | localizedString(from:number:) | class func localizedString(from num: NSNumber, number nstyle: NumberFormatter.Style) -> String |
---|
| Name | Declaration |
From | numberFromString(_:) | func numberFromString(_ string: String) -> NSNumber? |
To | number(from:) | func number(from string: String) -> NSNumber? |
---|
| Declaration |
From | var numberStyle: NSNumberFormatterStyle |
To | var numberStyle: NumberFormatter.Style |
---|
| Declaration |
From | var paddingPosition: NSNumberFormatterPadPosition |
To | var paddingPosition: NumberFormatter.PadPosition |
---|
| Declaration |
From | var roundingMode: NSNumberFormatterRoundingMode |
To | var roundingMode: NumberFormatter.RoundingMode |
---|
| Declaration |
From | class func setDefaultFormatterBehavior(_ behavior: NSNumberFormatterBehavior) |
To | class func setDefaultFormatterBehavior(_ behavior: NumberFormatter.Behavior) |
---|
| Name | Declaration |
From | stringFromNumber(_:) | func stringFromNumber(_ number: NSNumber) -> String? |
To | string(from:) | func string(from number: NSNumber) -> String? |
---|
| Declaration |
From | var textAttributesForNegativeInfinity: [String : AnyObject]? |
To | var textAttributesForNegativeInfinity: [String : Any]? |
---|
| Declaration |
From | var textAttributesForNegativeValues: [String : AnyObject]? |
To | var textAttributesForNegativeValues: [String : Any]? |
---|
| Declaration |
From | var textAttributesForNil: [String : AnyObject]? |
To | var textAttributesForNil: [String : Any]? |
---|
| Declaration |
From | var textAttributesForNotANumber: [String : AnyObject]? |
To | var textAttributesForNotANumber: [String : Any]? |
---|
| Declaration |
From | var textAttributesForPositiveInfinity: [String : AnyObject]? |
To | var textAttributesForPositiveInfinity: [String : Any]? |
---|
| Declaration |
From | var textAttributesForPositiveValues: [String : AnyObject]? |
To | var textAttributesForPositiveValues: [String : Any]? |
---|
| Declaration |
From | var textAttributesForZero: [String : AnyObject]? |
To | var textAttributesForZero: [String : Any]? |
---|
| Declaration |
From | enum NSNumberFormatterBehavior : UInt {
case BehaviorDefault
case Behavior10_0
case Behavior10_4
} |
To | enum Behavior : UInt {
case `default`
case behavior10_0
case behavior10_4
} |
---|
| Name | Declaration |
From | Behavior10_0 | case Behavior10_0 |
To | behavior10_0 | case behavior10_0 |
---|
| Name | Declaration |
From | Behavior10_4 | case Behavior10_4 |
To | behavior10_4 | case behavior10_4 |
---|
| Name | Declaration |
From | BehaviorDefault | case BehaviorDefault |
To | default | case `default` |
---|
| Declaration |
From | enum NSNumberFormatterPadPosition : UInt {
case BeforePrefix
case AfterPrefix
case BeforeSuffix
case AfterSuffix
} |
To | enum PadPosition : UInt {
case beforePrefix
case afterPrefix
case beforeSuffix
case afterSuffix
} |
---|
| Name | Declaration |
From | AfterPrefix | case AfterPrefix |
To | afterPrefix | case afterPrefix |
---|
| Name | Declaration |
From | AfterSuffix | case AfterSuffix |
To | afterSuffix | case afterSuffix |
---|
| Name | Declaration |
From | BeforePrefix | case BeforePrefix |
To | beforePrefix | case beforePrefix |
---|
| Name | Declaration |
From | BeforeSuffix | case BeforeSuffix |
To | beforeSuffix | case beforeSuffix |
---|
| Declaration |
From | enum NSNumberFormatterRoundingMode : UInt {
case RoundCeiling
case RoundFloor
case RoundDown
case RoundUp
case RoundHalfEven
case RoundHalfDown
case RoundHalfUp
} |
To | enum RoundingMode : UInt {
case ceiling
case floor
case down
case up
case halfEven
case halfDown
case halfUp
} |
---|
| Name | Declaration |
From | RoundCeiling | case RoundCeiling |
To | ceiling | case ceiling |
---|
| Name | Declaration |
From | RoundDown | case RoundDown |
To | down | case down |
---|
| Name | Declaration |
From | RoundFloor | case RoundFloor |
To | floor | case floor |
---|
| Name | Declaration |
From | RoundHalfDown | case RoundHalfDown |
To | halfDown | case halfDown |
---|
| Name | Declaration |
From | RoundHalfEven | case RoundHalfEven |
To | halfEven | case halfEven |
---|
| Name | Declaration |
From | RoundHalfUp | case RoundHalfUp |
To | halfUp | case halfUp |
---|
| Name | Declaration |
From | RoundUp | case RoundUp |
To | up | case up |
---|
| Declaration |
From | enum NSNumberFormatterStyle : UInt {
case NoStyle
case DecimalStyle
case CurrencyStyle
case PercentStyle
case ScientificStyle
case SpellOutStyle
case OrdinalStyle
case CurrencyISOCodeStyle
case CurrencyPluralStyle
case CurrencyAccountingStyle
} |
To | enum Style : UInt {
case none
case decimal
case currency
case percent
case scientific
case spellOut
case ordinal
case currencyISOCode
case currencyPlural
case currencyAccounting
} |
---|
| Name | Declaration |
From | CurrencyStyle | case CurrencyStyle |
To | currency | case currency |
---|
| Name | Declaration |
From | CurrencyAccountingStyle | case CurrencyAccountingStyle |
To | currencyAccounting | case currencyAccounting |
---|
| Name | Declaration |
From | CurrencyISOCodeStyle | case CurrencyISOCodeStyle |
To | currencyISOCode | case currencyISOCode |
---|
| Name | Declaration |
From | CurrencyPluralStyle | case CurrencyPluralStyle |
To | currencyPlural | case currencyPlural |
---|
| Name | Declaration |
From | DecimalStyle | case DecimalStyle |
To | decimal | case decimal |
---|
| Name | Declaration |
From | NoStyle | case NoStyle |
To | none | case none |
---|
| Name | Declaration |
From | OrdinalStyle | case OrdinalStyle |
To | ordinal | case ordinal |
---|
| Name | Declaration |
From | PercentStyle | case PercentStyle |
To | percent | case percent |
---|
| Name | Declaration |
From | ScientificStyle | case ScientificStyle |
To | scientific | case scientific |
---|
| Name | Declaration |
From | SpellOutStyle | case SpellOutStyle |
To | spellOut | case spellOut |
---|
| Declaration |
From | struct NSOperatingSystemVersion {
var majorVersion: Int
var minorVersion: Int
var patchVersion: Int
init()
init(majorVersion majorVersion: Int, minorVersion minorVersion: Int, patchVersion patchVersion: Int)
} |
To | struct OperatingSystemVersion {
var majorVersion: Int
var minorVersion: Int
var patchVersion: Int
init()
init(majorVersion majorVersion: Int, minorVersion minorVersion: Int, patchVersion patchVersion: Int)
} |
---|
| Declaration | Protocols |
From | class NSOperation : NSObject {
func start()
func main()
var cancelled: Bool { get }
func cancel()
var executing: Bool { get }
var finished: Bool { get }
var concurrent: Bool { get }
var asynchronous: Bool { get }
var ready: Bool { get }
func addDependency(_ op: NSOperation)
func removeDependency(_ op: NSOperation)
var dependencies: [NSOperation] { get }
var queuePriority: NSOperationQueuePriority
var completionBlock: (() -> Void)?
func waitUntilFinished()
var threadPriority: Double
var qualityOfService: NSQualityOfService
var name: String?
} | -- |
To | class Operation : NSObject {
func start()
func main()
var isCancelled: Bool { get }
func cancel()
var isExecuting: Bool { get }
var isFinished: Bool { get }
var isConcurrent: Bool { get }
var isAsynchronous: Bool { get }
var isReady: Bool { get }
func addDependency(_ op: Operation)
func removeDependency(_ op: Operation)
var dependencies: [Operation] { get }
var queuePriority: Operation.QueuePriority
var completionBlock: (() -> Swift.Void)?
func waitUntilFinished()
var threadPriority: Double
var qualityOfService: QualityOfService
var name: String?
enum QueuePriority : Int {
case veryLow
case low
case normal
case high
case veryHigh
}
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 Operation : CVarArg {
}
extension Operation : Equatable, Hashable {
var hashValue: Int { get }
}
extension Operation {
enum QueuePriority : Int {
case veryLow
case low
case normal
case high
case veryHigh
}
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addDependency(_ op: NSOperation) |
To | func addDependency(_ op: Operation) |
---|
| Declaration |
From | var completionBlock: (() -> Void)? |
To | var completionBlock: (() -> Swift.Void)? |
---|
| Declaration |
From | var dependencies: [NSOperation] { get } |
To | var dependencies: [Operation] { get } |
---|
| Name | Declaration |
From | asynchronous | var asynchronous: Bool { get } |
To | isAsynchronous | var isAsynchronous: Bool { get } |
---|
| Name | Declaration |
From | cancelled | var cancelled: Bool { get } |
To | isCancelled | var isCancelled: Bool { get } |
---|
| Name | Declaration |
From | concurrent | var concurrent: Bool { get } |
To | isConcurrent | var isConcurrent: Bool { get } |
---|
| Name | Declaration |
From | executing | var executing: Bool { get } |
To | isExecuting | var isExecuting: Bool { get } |
---|
| Name | Declaration |
From | finished | var finished: Bool { get } |
To | isFinished | var isFinished: Bool { get } |
---|
| Name | Declaration |
From | ready | var ready: Bool { get } |
To | isReady | var isReady: Bool { get } |
---|
| Declaration |
From | var qualityOfService: NSQualityOfService |
To | var qualityOfService: QualityOfService |
---|
| Declaration |
From | var queuePriority: NSOperationQueuePriority |
To | var queuePriority: Operation.QueuePriority |
---|
| Declaration |
From | func removeDependency(_ op: NSOperation) |
To | func removeDependency(_ op: Operation) |
---|
| Declaration |
From | enum NSOperationQueuePriority : Int {
case VeryLow
case Low
case Normal
case High
case VeryHigh
} |
To | enum QueuePriority : Int {
case veryLow
case low
case normal
case high
case veryHigh
} |
---|
| Name | Declaration |
From | High | case High |
To | high | case high |
---|
| Name | Declaration |
From | Low | case Low |
To | low | case low |
---|
| Name | Declaration |
From | Normal | case Normal |
To | normal | case normal |
---|
| Name | Declaration |
From | VeryHigh | case VeryHigh |
To | veryHigh | case veryHigh |
---|
| Name | Declaration |
From | VeryLow | case VeryLow |
To | veryLow | case veryLow |
---|
| Declaration | Protocols |
From | class NSOperationQueue : NSObject {
func addOperation(_ op: NSOperation)
func addOperations(_ ops: [NSOperation], waitUntilFinished wait: Bool)
func addOperationWithBlock(_ block: () -> Void)
var operations: [NSOperation] { get }
var operationCount: Int { get }
var maxConcurrentOperationCount: Int
var suspended: Bool
var name: String?
var qualityOfService: NSQualityOfService
unowned(unsafe) var underlyingQueue: dispatch_queue_t?
func cancelAllOperations()
func waitUntilAllOperationsAreFinished()
class func currentQueue() -> NSOperationQueue?
class func mainQueue() -> NSOperationQueue
} | -- |
To | class OperationQueue : NSObject {
func addOperation(_ op: Operation)
func addOperations(_ ops: [Operation], waitUntilFinished wait: Bool)
func addOperation(_ block: @escaping () -> Swift.Void)
var operations: [Operation] { get }
var operationCount: Int { get }
var maxConcurrentOperationCount: Int
var isSuspended: Bool
var name: String?
var qualityOfService: QualityOfService
unowned(unsafe) var underlyingQueue: DispatchQueue?
func cancelAllOperations()
func waitUntilAllOperationsAreFinished()
class var current: OperationQueue? { get }
class var main: OperationQueue { get }
class let defaultMaxConcurrentOperationCount: Int
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 OperationQueue {
class let defaultMaxConcurrentOperationCount: Int
}
extension OperationQueue : CVarArg {
}
extension OperationQueue : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addOperation(_ op: NSOperation) |
To | func addOperation(_ op: Operation) |
---|
| Name | Declaration |
From | addOperationWithBlock(_:) | func addOperationWithBlock(_ block: () -> Void) |
To | addOperation(_:) | func addOperation(_ block: @escaping () -> Swift.Void) |
---|
| Declaration |
From | func addOperations(_ ops: [NSOperation], waitUntilFinished wait: Bool) |
To | func addOperations(_ ops: [Operation], waitUntilFinished wait: Bool) |
---|
| Name | Declaration |
From | NSOperationQueueDefaultMaxConcurrentOperationCount | let NSOperationQueueDefaultMaxConcurrentOperationCount: Int |
To | defaultMaxConcurrentOperationCount | class let defaultMaxConcurrentOperationCount: Int |
---|
| Name | Declaration |
From | suspended | var suspended: Bool |
To | isSuspended | var isSuspended: Bool |
---|
| Declaration |
From | var operations: [NSOperation] { get } |
To | var operations: [Operation] { get } |
---|
| Declaration |
From | var qualityOfService: NSQualityOfService |
To | var qualityOfService: QualityOfService |
---|
| Declaration |
From | unowned(unsafe) var underlyingQueue: dispatch_queue_t? |
To | unowned(unsafe) var underlyingQueue: DispatchQueue? |
---|
| Declaration | Protocols |
From | class NSOutputStream : NSStream {
func write(_ buffer: UnsafePointer<UInt8>, maxLength len: Int) -> Int
var hasSpaceAvailable: Bool { get }
init(toMemory toMemory: ())
init(toBuffer buffer: UnsafeMutablePointer<UInt8>, capacity capacity: Int)
init?(URL url: NSURL, append shouldAppend: Bool)
}
extension NSOutputStream {
convenience init?(toFileAtPath path: String, append shouldAppend: Bool)
class func outputStreamToMemory() -> Self
convenience init(toBuffer buffer: UnsafeMutablePointer<UInt8>, capacity capacity: Int)
class func outputStreamToBuffer(_ buffer: UnsafeMutablePointer<UInt8>, capacity capacity: Int) -> Self
class func outputStreamToFileAtPath(_ path: String, append shouldAppend: Bool) -> Self
convenience init?(URL url: NSURL, append shouldAppend: Bool)
class func outputStreamWithURL(_ url: NSURL, append shouldAppend: Bool) -> Self?
} | -- |
To | class OutputStream : Stream {
func write(_ buffer: UnsafePointer<UInt8>, maxLength len: Int) -> Int
var hasSpaceAvailable: Bool { get }
init(toMemory toMemory: ())
init(toBuffer buffer: UnsafeMutablePointer<UInt8>, capacity capacity: Int)
init?(url url: URL, append shouldAppend: Bool)
convenience init?(toFileAtPath path: String, append shouldAppend: Bool)
class func toMemory() -> Self
class func toBuffer(_ buffer: UnsafeMutablePointer<UInt8>, capacity capacity: Int) -> Self
class func toFile(atPath path: String, append shouldAppend: Bool) -> Self
class func withURL(_ url: URL, append shouldAppend: Bool) -> Self?
class func getBoundStreams(withBufferSize bufferSize: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
class func getStreamsToHost(withName hostname: String, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
class func getStreamsTo(_ host: Host, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
struct PropertyKey : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
enum Status : UInt {
case notOpen
case opening
case open
case reading
case writing
case atEnd
case closed
case error
}
struct Event : OptionSet {
init(rawValue rawValue: UInt)
static var none: Stream.Event { get }
static var openCompleted: Stream.Event { get }
static var hasBytesAvailable: Stream.Event { get }
static var hasSpaceAvailable: Stream.Event { get }
static var errorOccurred: Stream.Event { get }
static var endEncountered: Stream.Event { 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 OutputStream : CVarArg {
}
extension OutputStream : Equatable, Hashable {
var hashValue: Int { get }
}
extension OutputStream {
convenience init?(toFileAtPath path: String, append shouldAppend: Bool)
class func toMemory() -> Self
class func toBuffer(_ buffer: UnsafeMutablePointer<UInt8>, capacity capacity: Int) -> Self
class func toFile(atPath path: String, append shouldAppend: Bool) -> Self
class func withURL(_ url: URL, append shouldAppend: Bool) -> Self?
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | init?(URL url: NSURL, append shouldAppend: Bool) |
To | init?(url url: URL, append shouldAppend: Bool) |
---|
| Declaration |
From | class func outputStreamToMemory() -> Self |
To | class func toMemory() -> Self |
---|
| Declaration | Protocols |
From | class NSPersonNameComponentsFormatter : NSFormatter {
var style: NSPersonNameComponentsFormatterStyle
var phonetic: Bool
class func localizedStringFromPersonNameComponents(_ components: NSPersonNameComponents, style nameFormatStyle: NSPersonNameComponentsFormatterStyle, options nameOptions: NSPersonNameComponentsFormatterOptions) -> String
func stringFromPersonNameComponents(_ components: NSPersonNameComponents) -> String
func annotatedStringFromPersonNameComponents(_ components: NSPersonNameComponents) -> NSAttributedString
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
} | -- |
To | class PersonNameComponentsFormatter : Formatter {
var style: PersonNameComponentsFormatter.Style
var isPhonetic: Bool
class func localizedString(from components: PersonNameComponents, style nameFormatStyle: PersonNameComponentsFormatter.Style, options nameOptions: PersonNameComponentsFormatter.Options = []) -> String
func string(from components: PersonNameComponents) -> String
func annotatedString(from components: PersonNameComponents) -> NSAttributedString
func personNameComponents(from string: String) -> PersonNameComponents?
func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
enum Style : Int {
case `default`
case short
case medium
case long
case abbreviated
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var phonetic: PersonNameComponentsFormatter.Options { get }
}
enum Context : Int {
case unknown
case dynamic
case standalone
case listItem
case beginningOfSentence
case middleOfSentence
}
enum UnitStyle : Int {
case short
case medium
case long
}
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 PersonNameComponentsFormatter {
enum Style : Int {
case `default`
case short
case medium
case long
case abbreviated
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var phonetic: PersonNameComponentsFormatter.Options { get }
}
}
extension PersonNameComponentsFormatter : CVarArg {
}
extension PersonNameComponentsFormatter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | annotatedStringFromPersonNameComponents(_:) | func annotatedStringFromPersonNameComponents(_ components: NSPersonNameComponents) -> NSAttributedString |
To | annotatedString(from:) | func annotatedString(from components: PersonNameComponents) -> NSAttributedString |
---|
| Name | Declaration |
From | getObjectValue(_:forString:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>, forString string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | getObjectValue(_:for:errorDescription:) | func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Name | Declaration |
From | phonetic | var phonetic: Bool |
To | isPhonetic | var isPhonetic: Bool |
---|
| Name | Declaration |
From | localizedStringFromPersonNameComponents(_:style:options:) | class func localizedStringFromPersonNameComponents(_ components: NSPersonNameComponents, style nameFormatStyle: NSPersonNameComponentsFormatterStyle, options nameOptions: NSPersonNameComponentsFormatterOptions) -> String |
To | localizedString(from:style:options:) | class func localizedString(from components: PersonNameComponents, style nameFormatStyle: PersonNameComponentsFormatter.Style, options nameOptions: PersonNameComponentsFormatter.Options = []) -> String |
---|
| Name | Declaration |
From | stringFromPersonNameComponents(_:) | func stringFromPersonNameComponents(_ components: NSPersonNameComponents) -> String |
To | string(from:) | func string(from components: PersonNameComponents) -> String |
---|
| Declaration |
From | var style: NSPersonNameComponentsFormatterStyle |
To | var style: PersonNameComponentsFormatter.Style |
---|
| Declaration | Protocols |
From | struct NSPersonNameComponentsFormatterOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Phonetic: NSPersonNameComponentsFormatterOptions { get }
} | OptionSetType |
To | struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var phonetic: PersonNameComponentsFormatter.Options { get }
}
extension PersonNameComponentsFormatter.Options {
func union(_ other: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options
func intersection(_ other: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options
func symmetricDifference(_ other: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options
}
extension PersonNameComponentsFormatter.Options {
func contains(_ member: PersonNameComponentsFormatter.Options) -> Bool
mutating func insert(_ newMember: PersonNameComponentsFormatter.Options) -> (inserted: Bool, memberAfterInsert: PersonNameComponentsFormatter.Options)
mutating func remove(_ member: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options?
mutating func update(with newMember: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options?
}
extension PersonNameComponentsFormatter.Options {
convenience init()
mutating func formUnion(_ other: PersonNameComponentsFormatter.Options)
mutating func formIntersection(_ other: PersonNameComponentsFormatter.Options)
mutating func formSymmetricDifference(_ other: PersonNameComponentsFormatter.Options)
}
extension PersonNameComponentsFormatter.Options {
convenience init<S : Sequence where S.Iterator.Element == PersonNameComponentsFormatter.Options>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: PersonNameComponentsFormatter.Options...)
mutating func subtract(_ other: PersonNameComponentsFormatter.Options)
func isSubset(of other: PersonNameComponentsFormatter.Options) -> Bool
func isSuperset(of other: PersonNameComponentsFormatter.Options) -> Bool
func isDisjoint(with other: PersonNameComponentsFormatter.Options) -> Bool
func subtracting(_ other: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options
var isEmpty: Bool { get }
func isStrictSuperset(of other: PersonNameComponentsFormatter.Options) -> Bool
func isStrictSubset(of other: PersonNameComponentsFormatter.Options) -> Bool
}
extension PersonNameComponentsFormatter.Options {
func intersect(_ other: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options
func exclusiveOr(_ other: PersonNameComponentsFormatter.Options) -> PersonNameComponentsFormatter.Options
mutating func unionInPlace(_ other: PersonNameComponentsFormatter.Options)
mutating func intersectInPlace(_ other: PersonNameComponentsFormatter.Options)
mutating func exclusiveOrInPlace(_ other: PersonNameComponentsFormatter.Options)
func isSubsetOf(_ other: PersonNameComponentsFormatter.Options) -> Bool
func isDisjointWith(_ other: PersonNameComponentsFormatter.Options) -> Bool
func isSupersetOf(_ other: PersonNameComponentsFormatter.Options) -> Bool
mutating func subtractInPlace(_ other: PersonNameComponentsFormatter.Options)
func isStrictSupersetOf(_ other: PersonNameComponentsFormatter.Options) -> Bool
func isStrictSubsetOf(_ other: PersonNameComponentsFormatter.Options) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | Phonetic | static var Phonetic: NSPersonNameComponentsFormatterOptions { get } |
To | phonetic | static var phonetic: PersonNameComponentsFormatter.Options { get } |
---|
| Declaration |
From | enum NSPersonNameComponentsFormatterStyle : Int {
case Default
case Short
case Medium
case Long
case Abbreviated
} |
To | enum Style : Int {
case `default`
case short
case medium
case long
case abbreviated
} |
---|
| Name | Declaration |
From | Abbreviated | case Abbreviated |
To | abbreviated | case abbreviated |
---|
| Name | Declaration |
From | Default | case Default |
To | default | case `default` |
---|
| Name | Declaration |
From | Long | case Long |
To | long | case long |
---|
| Name | Declaration |
From | Medium | case Medium |
To | medium | case medium |
---|
| Name | Declaration |
From | Short | case Short |
To | short | case short |
---|
| Declaration | Protocols |
From | class NSPipe : NSObject {
var fileHandleForReading: NSFileHandle { get }
var fileHandleForWriting: NSFileHandle { get }
init()
class func pipe() -> NSPipe
} | -- |
To | class Pipe : NSObject {
var fileHandleForReading: FileHandle { get }
var fileHandleForWriting: FileHandle { get }
init()
class func pipe() -> Pipe
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 Pipe : CVarArg {
}
extension Pipe : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var fileHandleForReading: NSFileHandle { get } |
To | var fileHandleForReading: FileHandle { get } |
---|
| Declaration |
From | var fileHandleForWriting: NSFileHandle { get } |
To | var fileHandleForWriting: FileHandle { get } |
---|
| Declaration | Protocols |
From | class NSPort : NSObject, NSCopying, NSCoding {
init()
class func port() -> NSPort
func invalidate()
var valid: Bool { get }
func setDelegate(_ anObject: NSPortDelegate?)
func delegate() -> NSPortDelegate?
func scheduleInRunLoop(_ runLoop: NSRunLoop, forMode mode: String)
func removeFromRunLoop(_ runLoop: NSRunLoop, forMode mode: String)
var reservedSpaceLength: Int { get }
func sendBeforeDate(_ limitDate: NSDate, components components: NSMutableArray?, from receivePort: NSPort?, reserved headerSpaceReserved: Int) -> Bool
func sendBeforeDate(_ limitDate: NSDate, msgid msgID: Int, components components: NSMutableArray?, from receivePort: NSPort?, reserved headerSpaceReserved: Int) -> Bool
func addConnection(_ conn: NSConnection, toRunLoop runLoop: NSRunLoop, forMode mode: String)
func removeConnection(_ conn: NSConnection, fromRunLoop runLoop: NSRunLoop, forMode mode: String)
} | NSCoding, NSCopying |
To | class Port : NSObject, NSCopying, NSCoding {
init()
class func port() -> Port
func invalidate()
var isValid: Bool { get }
func setDelegate(_ anObject: PortDelegate?)
func delegate() -> PortDelegate?
func schedule(in runLoop: RunLoop, forMode mode: RunLoopMode)
func remove(from runLoop: RunLoop, forMode mode: RunLoopMode)
var reservedSpaceLength: Int { get }
func send(before limitDate: Date, components components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool
func send(before limitDate: Date, msgid msgID: Int, components components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool
func add(_ conn: NSConnection, to runLoop: RunLoop, forMode mode: RunLoopMode)
func remove(_ conn: NSConnection, from runLoop: RunLoop, forMode mode: RunLoopMode)
class let didBecomeInvalidNotification: NSNotification.Name
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 Port {
class let didBecomeInvalidNotification: NSNotification.Name
}
extension Port : CVarArg {
}
extension Port : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
---|
| Declaration |
From | func delegate() -> NSPortDelegate? |
To | func delegate() -> PortDelegate? |
---|
| Name | Declaration |
From | NSPortDidBecomeInvalidNotification | let NSPortDidBecomeInvalidNotification: String |
To | didBecomeInvalidNotification | class let didBecomeInvalidNotification: NSNotification.Name |
---|
| Name | Declaration |
From | valid | var valid: Bool { get } |
To | isValid | var isValid: Bool { get } |
---|
| Name | Declaration |
From | removeFromRunLoop(_:forMode:) | func removeFromRunLoop(_ runLoop: NSRunLoop, forMode mode: String) |
To | remove(from:forMode:) | func remove(from runLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | scheduleInRunLoop(_:forMode:) | func scheduleInRunLoop(_ runLoop: NSRunLoop, forMode mode: String) |
To | schedule(in:forMode:) | func schedule(in runLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | sendBeforeDate(_:components:from:reserved:) | func sendBeforeDate(_ limitDate: NSDate, components components: NSMutableArray?, from receivePort: NSPort?, reserved headerSpaceReserved: Int) -> Bool |
To | send(before:components:from:reserved:) | func send(before limitDate: Date, components components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool |
---|
| Name | Declaration |
From | sendBeforeDate(_:msgid:components:from:reserved:) | func sendBeforeDate(_ limitDate: NSDate, msgid msgID: Int, components components: NSMutableArray?, from receivePort: NSPort?, reserved headerSpaceReserved: Int) -> Bool |
To | send(before:msgid:components:from:reserved:) | func send(before limitDate: Date, msgid msgID: Int, components components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool |
---|
| Declaration |
From | func setDelegate(_ anObject: NSPortDelegate?) |
To | func setDelegate(_ anObject: PortDelegate?) |
---|
| Declaration |
From | protocol NSPortDelegate : NSObjectProtocol {
optional func handlePortMessage(_ message: NSPortMessage)
} |
To | protocol PortDelegate : NSObjectProtocol {
optional func handle(_ message: PortMessage)
} |
---|
| Name | Declaration |
From | handlePortMessage(_:) | optional func handlePortMessage(_ message: NSPortMessage) |
To | handle(_:) | optional func handle(_ message: PortMessage) |
---|
| Declaration | Protocols |
From | class NSPortMessage : NSObject {
init(sendPort sendPort: NSPort?, receivePort replyPort: NSPort?, components components: [AnyObject]?)
var components: [AnyObject]? { get }
var receivePort: NSPort? { get }
var sendPort: NSPort? { get }
func sendBeforeDate(_ date: NSDate) -> Bool
var msgid: UInt32
} | -- |
To | class PortMessage : NSObject {
init(send sendPort: Port?, receive replyPort: Port?, components components: [Any]?)
var components: [Any]? { get }
var receivePort: Port? { get }
var sendPort: Port? { get }
func send(before date: Date) -> Bool
var msgid: UInt32
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 PortMessage : CVarArg {
}
extension PortMessage : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var components: [AnyObject]? { get } |
To | var components: [Any]? { get } |
---|
| Name | Declaration |
From | init(sendPort:receivePort:components:) | init(sendPort sendPort: NSPort?, receivePort replyPort: NSPort?, components components: [AnyObject]?) |
To | init(send:receive:components:) | init(send sendPort: Port?, receive replyPort: Port?, components components: [Any]?) |
---|
| Declaration |
From | var receivePort: NSPort? { get } |
To | var receivePort: Port? { get } |
---|
| Name | Declaration |
From | sendBeforeDate(_:) | func sendBeforeDate(_ date: NSDate) -> Bool |
To | send(before:) | func send(before date: Date) -> Bool |
---|
| Declaration |
From | var sendPort: NSPort? { get } |
To | var sendPort: Port? { get } |
---|
| Declaration | Protocols |
From | class NSTask : NSObject {
init()
var launchPath: String?
var arguments: [String]?
var environment: [String : String]?
var currentDirectoryPath: String
var standardInput: AnyObject?
var standardOutput: AnyObject?
var standardError: AnyObject?
func launch()
func interrupt()
func terminate()
func suspend() -> Bool
func resume() -> Bool
var processIdentifier: Int32 { get }
var running: Bool { get }
var terminationStatus: Int32 { get }
var terminationReason: NSTaskTerminationReason { get }
var terminationHandler: ((NSTask) -> Void)?
var qualityOfService: NSQualityOfService
}
extension NSTask {
class func launchedTaskWithLaunchPath(_ path: String, arguments arguments: [String]) -> NSTask
func waitUntilExit()
} | -- |
To | class Process : NSObject {
init()
var launchPath: String?
var arguments: [String]?
var environment: [String : String]?
var currentDirectoryPath: String
var standardInput: Any?
var standardOutput: Any?
var standardError: Any?
func launch()
func interrupt()
func terminate()
func suspend() -> Bool
func resume() -> Bool
var processIdentifier: Int32 { get }
var isRunning: Bool { get }
var terminationStatus: Int32 { get }
var terminationReason: Process.TerminationReason { get }
var terminationHandler: ((Process) -> Swift.Void)?
var qualityOfService: QualityOfService
class func launchedProcess(launchPath path: String, arguments arguments: [String]) -> Process
func waitUntilExit()
class let didTerminateNotification: NSNotification.Name
enum TerminationReason : Int {
case exit
case uncaughtSignal
}
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 Process : CVarArg {
}
extension Process : Equatable, Hashable {
var hashValue: Int { get }
}
extension Process {
class func launchedProcess(launchPath path: String, arguments arguments: [String]) -> Process
func waitUntilExit()
}
extension Process {
class let didTerminateNotification: NSNotification.Name
enum TerminationReason : Int {
case exit
case uncaughtSignal
}
} | CVarArg, Equatable, Hashable |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSTaskDidTerminateNotification | let NSTaskDidTerminateNotification: String | OS X 10.10 |
To | didTerminateNotification | class let didTerminateNotification: NSNotification.Name | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | running | var running: Bool { get } | OS X 10.10 |
To | isRunning | var isRunning: Bool { get } | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | launchedTaskWithLaunchPath(_:arguments:) | class func launchedTaskWithLaunchPath(_ path: String, arguments arguments: [String]) -> NSTask | OS X 10.10 |
To | launchedProcess(launchPath:arguments:) | class func launchedProcess(launchPath path: String, arguments arguments: [String]) -> Process | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Declaration |
From | var qualityOfService: NSQualityOfService |
To | var qualityOfService: QualityOfService |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Declaration | Introduction |
From | var standardError: AnyObject? | OS X 10.10 |
To | var standardError: Any? | OS X 10.12 |
---|
| Declaration | Introduction |
From | var standardInput: AnyObject? | OS X 10.10 |
To | var standardInput: Any? | OS X 10.12 |
---|
| Declaration | Introduction |
From | var standardOutput: AnyObject? | OS X 10.10 |
To | var standardOutput: Any? | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Declaration |
From | var terminationHandler: ((NSTask) -> Void)? |
To | var terminationHandler: ((Process) -> Swift.Void)? |
---|
| Declaration |
From | var terminationReason: NSTaskTerminationReason { get } |
To | var terminationReason: Process.TerminationReason { get } |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Introduction |
From | OS X 10.10 |
To | OS X 10.12 |
---|
| Declaration |
From | enum NSTaskTerminationReason : Int {
case Exit
case UncaughtSignal
} |
To | enum TerminationReason : Int {
case exit
case uncaughtSignal
} |
---|
| Name | Declaration | Introduction |
From | Exit | case Exit | OS X 10.10 |
To | exit | case exit | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | UncaughtSignal | case UncaughtSignal | OS X 10.10 |
To | uncaughtSignal | case uncaughtSignal | OS X 10.12 |
---|
| Declaration | Protocols |
From | class NSProcessInfo : NSObject {
class func processInfo() -> NSProcessInfo
var environment: [String : String] { get }
var arguments: [String] { get }
var hostName: String { get }
var processName: String
var processIdentifier: Int32 { get }
var globallyUniqueString: String { get }
func operatingSystem() -> Int
func operatingSystemName() -> String
var operatingSystemVersionString: String { get }
var operatingSystemVersion: NSOperatingSystemVersion { get }
var processorCount: Int { get }
var activeProcessorCount: Int { get }
var physicalMemory: UInt64 { get }
func isOperatingSystemAtLeastVersion(_ version: NSOperatingSystemVersion) -> Bool
var systemUptime: NSTimeInterval { get }
func disableSuddenTermination()
func enableSuddenTermination()
func disableAutomaticTermination(_ reason: String)
func enableAutomaticTermination(_ reason: String)
var automaticTerminationSupportEnabled: Bool
}
extension NSProcessInfo {
func beginActivityWithOptions(_ options: NSActivityOptions, reason reason: String) -> NSObjectProtocol
func endActivity(_ activity: NSObjectProtocol)
func performActivityWithOptions(_ options: NSActivityOptions, reason reason: String, usingBlock block: () -> Void)
func performExpiringActivityWithReason(_ reason: String, usingBlock block: (Bool) -> Void)
}
extension NSProcessInfo {
var thermalState: NSProcessInfoThermalState { get }
}
extension NSProcessInfo {
var lowPowerModeEnabled: Bool { get }
} | -- |
To | class ProcessInfo : NSObject {
class var processInfo: ProcessInfo { get }
var environment: [String : String] { get }
var arguments: [String] { get }
var hostName: String { get }
var processName: String
var processIdentifier: Int32 { get }
var globallyUniqueString: String { get }
func operatingSystem() -> Int
func operatingSystemName() -> String
var operatingSystemVersionString: String { get }
var operatingSystemVersion: OperatingSystemVersion { get }
var processorCount: Int { get }
var activeProcessorCount: Int { get }
var physicalMemory: UInt64 { get }
func isOperatingSystemAtLeast(_ version: OperatingSystemVersion) -> Bool
var systemUptime: TimeInterval { get }
func disableSuddenTermination()
func enableSuddenTermination()
func disableAutomaticTermination(_ reason: String)
func enableAutomaticTermination(_ reason: String)
var automaticTerminationSupportEnabled: Bool
init()
struct ActivityOptions : OptionSet {
init(rawValue rawValue: UInt64)
static var idleDisplaySleepDisabled: ProcessInfo.ActivityOptions { get }
static var idleSystemSleepDisabled: ProcessInfo.ActivityOptions { get }
static var suddenTerminationDisabled: ProcessInfo.ActivityOptions { get }
static var automaticTerminationDisabled: ProcessInfo.ActivityOptions { get }
static var userInitiated: ProcessInfo.ActivityOptions { get }
static var userInitiatedAllowingIdleSystemSleep: ProcessInfo.ActivityOptions { get }
static var background: ProcessInfo.ActivityOptions { get }
static var latencyCritical: ProcessInfo.ActivityOptions { get }
}
enum ThermalState : Int {
case nominal
case fair
case serious
case critical
}
class let thermalStateDidChangeNotification: NSNotification.Name
var isLowPowerModeEnabled: Bool { get }
var thermalState: ProcessInfo.ThermalState { get }
var userName: String { get }
var fullUserName: String { get }
func beginActivity(options options: ProcessInfo.ActivityOptions = [], reason reason: String) -> NSObjectProtocol
func endActivity(_ activity: NSObjectProtocol)
func performActivity(options options: ProcessInfo.ActivityOptions = [], reason reason: String, using block: @escaping () -> Swift.Void)
func performExpiringActivity(withReason reason: String, using block: @escaping (Bool) -> 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 ProcessInfo : CVarArg {
}
extension ProcessInfo : Equatable, Hashable {
var hashValue: Int { get }
}
extension ProcessInfo {
struct ActivityOptions : OptionSet {
init(rawValue rawValue: UInt64)
static var idleDisplaySleepDisabled: ProcessInfo.ActivityOptions { get }
static var idleSystemSleepDisabled: ProcessInfo.ActivityOptions { get }
static var suddenTerminationDisabled: ProcessInfo.ActivityOptions { get }
static var automaticTerminationDisabled: ProcessInfo.ActivityOptions { get }
static var userInitiated: ProcessInfo.ActivityOptions { get }
static var userInitiatedAllowingIdleSystemSleep: ProcessInfo.ActivityOptions { get }
static var background: ProcessInfo.ActivityOptions { get }
static var latencyCritical: ProcessInfo.ActivityOptions { get }
}
enum ThermalState : Int {
case nominal
case fair
case serious
case critical
}
class let thermalStateDidChangeNotification: NSNotification.Name
}
extension ProcessInfo {
func beginActivity(options options: ProcessInfo.ActivityOptions = [], reason reason: String) -> NSObjectProtocol
func endActivity(_ activity: NSObjectProtocol)
func performActivity(options options: ProcessInfo.ActivityOptions = [], reason reason: String, using block: @escaping () -> Swift.Void)
func performExpiringActivity(withReason reason: String, using block: @escaping (Bool) -> Swift.Void)
}
extension ProcessInfo {
var userName: String { get }
var fullUserName: String { get }
}
extension ProcessInfo {
var thermalState: ProcessInfo.ThermalState { get }
}
extension ProcessInfo {
var isLowPowerModeEnabled: Bool { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | beginActivityWithOptions(_:reason:) | func beginActivityWithOptions(_ options: NSActivityOptions, reason reason: String) -> NSObjectProtocol |
To | beginActivity(options:reason:) | func beginActivity(options options: ProcessInfo.ActivityOptions = [], reason reason: String) -> NSObjectProtocol |
---|
| Name | Declaration |
From | isOperatingSystemAtLeastVersion(_:) | func isOperatingSystemAtLeastVersion(_ version: NSOperatingSystemVersion) -> Bool |
To | isOperatingSystemAtLeast(_:) | func isOperatingSystemAtLeast(_ version: OperatingSystemVersion) -> Bool |
---|
| Declaration |
From | var operatingSystemVersion: NSOperatingSystemVersion { get } |
To | var operatingSystemVersion: OperatingSystemVersion { get } |
---|
| Name | Declaration |
From | performActivityWithOptions(_:reason:usingBlock:) | func performActivityWithOptions(_ options: NSActivityOptions, reason reason: String, usingBlock block: () -> Void) |
To | performActivity(options:reason:using:) | func performActivity(options options: ProcessInfo.ActivityOptions = [], reason reason: String, using block: @escaping () -> Swift.Void) |
---|
| Declaration |
From | var systemUptime: NSTimeInterval { get } |
To | var systemUptime: TimeInterval { get } |
---|
| Declaration |
From | var thermalState: NSProcessInfoThermalState { get } |
To | var thermalState: ProcessInfo.ThermalState { get } |
---|
| Name | Declaration |
From | NSProcessInfoThermalStateDidChangeNotification | let NSProcessInfoThermalStateDidChangeNotification: String |
To | thermalStateDidChangeNotification | class let thermalStateDidChangeNotification: NSNotification.Name |
---|
| Declaration | Protocols |
From | struct NSActivityOptions : OptionSetType {
init(rawValue rawValue: UInt64)
static var IdleDisplaySleepDisabled: NSActivityOptions { get }
static var IdleSystemSleepDisabled: NSActivityOptions { get }
static var SuddenTerminationDisabled: NSActivityOptions { get }
static var AutomaticTerminationDisabled: NSActivityOptions { get }
static var UserInitiated: NSActivityOptions { get }
static var UserInitiatedAllowingIdleSystemSleep: NSActivityOptions { get }
static var Background: NSActivityOptions { get }
static var LatencyCritical: NSActivityOptions { get }
} | OptionSetType |
To | struct ActivityOptions : OptionSet {
init(rawValue rawValue: UInt64)
static var idleDisplaySleepDisabled: ProcessInfo.ActivityOptions { get }
static var idleSystemSleepDisabled: ProcessInfo.ActivityOptions { get }
static var suddenTerminationDisabled: ProcessInfo.ActivityOptions { get }
static var automaticTerminationDisabled: ProcessInfo.ActivityOptions { get }
static var userInitiated: ProcessInfo.ActivityOptions { get }
static var userInitiatedAllowingIdleSystemSleep: ProcessInfo.ActivityOptions { get }
static var background: ProcessInfo.ActivityOptions { get }
static var latencyCritical: ProcessInfo.ActivityOptions { get }
}
extension ProcessInfo.ActivityOptions {
func union(_ other: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions
func intersection(_ other: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions
func symmetricDifference(_ other: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions
}
extension ProcessInfo.ActivityOptions {
func contains(_ member: ProcessInfo.ActivityOptions) -> Bool
mutating func insert(_ newMember: ProcessInfo.ActivityOptions) -> (inserted: Bool, memberAfterInsert: ProcessInfo.ActivityOptions)
mutating func remove(_ member: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions?
mutating func update(with newMember: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions?
}
extension ProcessInfo.ActivityOptions {
convenience init()
mutating func formUnion(_ other: ProcessInfo.ActivityOptions)
mutating func formIntersection(_ other: ProcessInfo.ActivityOptions)
mutating func formSymmetricDifference(_ other: ProcessInfo.ActivityOptions)
}
extension ProcessInfo.ActivityOptions {
convenience init<S : Sequence where S.Iterator.Element == ProcessInfo.ActivityOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: ProcessInfo.ActivityOptions...)
mutating func subtract(_ other: ProcessInfo.ActivityOptions)
func isSubset(of other: ProcessInfo.ActivityOptions) -> Bool
func isSuperset(of other: ProcessInfo.ActivityOptions) -> Bool
func isDisjoint(with other: ProcessInfo.ActivityOptions) -> Bool
func subtracting(_ other: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: ProcessInfo.ActivityOptions) -> Bool
func isStrictSubset(of other: ProcessInfo.ActivityOptions) -> Bool
}
extension ProcessInfo.ActivityOptions {
func intersect(_ other: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions
func exclusiveOr(_ other: ProcessInfo.ActivityOptions) -> ProcessInfo.ActivityOptions
mutating func unionInPlace(_ other: ProcessInfo.ActivityOptions)
mutating func intersectInPlace(_ other: ProcessInfo.ActivityOptions)
mutating func exclusiveOrInPlace(_ other: ProcessInfo.ActivityOptions)
func isSubsetOf(_ other: ProcessInfo.ActivityOptions) -> Bool
func isDisjointWith(_ other: ProcessInfo.ActivityOptions) -> Bool
func isSupersetOf(_ other: ProcessInfo.ActivityOptions) -> Bool
mutating func subtractInPlace(_ other: ProcessInfo.ActivityOptions)
func isStrictSupersetOf(_ other: ProcessInfo.ActivityOptions) -> Bool
func isStrictSubsetOf(_ other: ProcessInfo.ActivityOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | AutomaticTerminationDisabled | static var AutomaticTerminationDisabled: NSActivityOptions { get } |
To | automaticTerminationDisabled | static var automaticTerminationDisabled: ProcessInfo.ActivityOptions { get } |
---|
| Name | Declaration |
From | Background | static var Background: NSActivityOptions { get } |
To | background | static var background: ProcessInfo.ActivityOptions { get } |
---|
| Name | Declaration |
From | IdleDisplaySleepDisabled | static var IdleDisplaySleepDisabled: NSActivityOptions { get } |
To | idleDisplaySleepDisabled | static var idleDisplaySleepDisabled: ProcessInfo.ActivityOptions { get } |
---|
| Name | Declaration |
From | IdleSystemSleepDisabled | static var IdleSystemSleepDisabled: NSActivityOptions { get } |
To | idleSystemSleepDisabled | static var idleSystemSleepDisabled: ProcessInfo.ActivityOptions { get } |
---|
| Name | Declaration |
From | LatencyCritical | static var LatencyCritical: NSActivityOptions { get } |
To | latencyCritical | static var latencyCritical: ProcessInfo.ActivityOptions { get } |
---|
| Name | Declaration |
From | SuddenTerminationDisabled | static var SuddenTerminationDisabled: NSActivityOptions { get } |
To | suddenTerminationDisabled | static var suddenTerminationDisabled: ProcessInfo.ActivityOptions { get } |
---|
| Name | Declaration |
From | UserInitiated | static var UserInitiated: NSActivityOptions { get } |
To | userInitiated | static var userInitiated: ProcessInfo.ActivityOptions { get } |
---|
| Name | Declaration |
From | UserInitiatedAllowingIdleSystemSleep | static var UserInitiatedAllowingIdleSystemSleep: NSActivityOptions { get } |
To | userInitiatedAllowingIdleSystemSleep | static var userInitiatedAllowingIdleSystemSleep: ProcessInfo.ActivityOptions { get } |
---|
| Declaration |
From | enum NSProcessInfoThermalState : Int {
case Nominal
case Fair
case Serious
case Critical
} |
To | enum ThermalState : Int {
case nominal
case fair
case serious
case critical
} |
---|
| Name | Declaration |
From | Critical | case Critical |
To | critical | case critical |
---|
| Name | Declaration |
From | Fair | case Fair |
To | fair | case fair |
---|
| Name | Declaration |
From | Nominal | case Nominal |
To | nominal | case nominal |
---|
| Name | Declaration |
From | Serious | case Serious |
To | serious | case serious |
---|
| Declaration | Protocols |
From | class NSProgress : NSObject {
class func currentProgress() -> NSProgress?
init(totalUnitCount unitCount: Int64)
class func progressWithTotalUnitCount(_ unitCount: Int64) -> NSProgress
class func discreteProgressWithTotalUnitCount(_ unitCount: Int64) -> NSProgress
init(totalUnitCount unitCount: Int64, parent parent: NSProgress, pendingUnitCount portionOfParentTotalUnitCount: Int64)
class func progressWithTotalUnitCount(_ unitCount: Int64, parent parent: NSProgress, pendingUnitCount portionOfParentTotalUnitCount: Int64) -> NSProgress
init(parent parentProgressOrNil: NSProgress?, userInfo userInfoOrNil: [NSObject : AnyObject]?)
func becomeCurrentWithPendingUnitCount(_ unitCount: Int64)
func resignCurrent()
func addChild(_ child: NSProgress, withPendingUnitCount inUnitCount: Int64)
var totalUnitCount: Int64
var completedUnitCount: Int64
var localizedDescription: String!
var localizedAdditionalDescription: String!
var cancellable: Bool
var pausable: Bool
var cancelled: Bool { get }
var paused: Bool { get }
var cancellationHandler: (() -> Void)?
var pausingHandler: (() -> Void)?
var resumingHandler: (() -> Void)?
func setUserInfoObject(_ objectOrNil: AnyObject?, forKey key: String)
var indeterminate: Bool { get }
var fractionCompleted: Double { get }
func cancel()
func pause()
func resume()
var userInfo: [NSObject : AnyObject] { get }
var kind: String?
func publish()
func unpublish()
class func addSubscriberForFileURL(_ url: NSURL, withPublishingHandler publishingHandler: NSProgressPublishingHandler) -> AnyObject
class func removeSubscriber(_ subscriber: AnyObject)
var old: Bool { get }
} | -- |
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: 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)
}
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addChild(_ child: NSProgress, withPendingUnitCount inUnitCount: Int64) |
To | func addChild(_ child: Progress, withPendingUnitCount inUnitCount: Int64) |
---|
| Name | Declaration |
From | addSubscriberForFileURL(_:withPublishingHandler:) | class func addSubscriberForFileURL(_ url: NSURL, withPublishingHandler publishingHandler: NSProgressPublishingHandler) -> AnyObject |
To | addSubscriber(forFileURL:withPublishingHandler:) | class func addSubscriber(forFileURL url: URL, withPublishingHandler publishingHandler: Progress.PublishingHandler) -> Any |
---|
| Name | Declaration |
From | becomeCurrentWithPendingUnitCount(_:) | func becomeCurrentWithPendingUnitCount(_ unitCount: Int64) |
To | becomeCurrent(withPendingUnitCount:) | func becomeCurrent(withPendingUnitCount unitCount: Int64) |
---|
| Declaration |
From | var cancellationHandler: (() -> Void)? |
To | var cancellationHandler: (() -> Swift.Void)? |
---|
| Name | Declaration |
From | currentProgress() | class func currentProgress() -> NSProgress? |
To | current() | class func current() -> Progress? |
---|
| Name | Declaration |
From | discreteProgressWithTotalUnitCount(_:) | class func discreteProgressWithTotalUnitCount(_ unitCount: Int64) -> NSProgress |
To | discreteProgress(totalUnitCount:) | class func discreteProgress(totalUnitCount unitCount: Int64) -> Progress |
---|
| Declaration |
From | init(parent parentProgressOrNil: NSProgress?, userInfo userInfoOrNil: [NSObject : AnyObject]?) |
To | init(parent parentProgressOrNil: Progress?, userInfo userInfoOrNil: [AnyHashable : Any]? = nil) |
---|
| Declaration |
From | init(totalUnitCount unitCount: Int64, parent parent: NSProgress, pendingUnitCount portionOfParentTotalUnitCount: Int64) |
To | init(totalUnitCount unitCount: Int64, parent parent: Progress, pendingUnitCount portionOfParentTotalUnitCount: Int64) |
---|
| Name | Declaration |
From | cancellable | var cancellable: Bool |
To | isCancellable | var isCancellable: Bool |
---|
| Name | Declaration |
From | cancelled | var cancelled: Bool { get } |
To | isCancelled | var isCancelled: Bool { get } |
---|
| Name | Declaration |
From | indeterminate | var indeterminate: Bool { get } |
To | isIndeterminate | var isIndeterminate: Bool { get } |
---|
| Name | Declaration |
From | old | var old: Bool { get } |
To | isOld | var isOld: Bool { get } |
---|
| Name | Declaration |
From | pausable | var pausable: Bool |
To | isPausable | var isPausable: Bool |
---|
| Name | Declaration |
From | paused | var paused: Bool { get } |
To | isPaused | var isPaused: Bool { get } |
---|
| Declaration |
From | var kind: String? |
To | var kind: ProgressKind? |
---|
| Declaration |
From | var pausingHandler: (() -> Void)? |
To | var pausingHandler: (() -> Swift.Void)? |
---|
| Declaration |
From | class func removeSubscriber(_ subscriber: AnyObject) |
To | class func removeSubscriber(_ subscriber: Any) |
---|
| Declaration |
From | var resumingHandler: (() -> Void)? |
To | var resumingHandler: (() -> Swift.Void)? |
---|
| Declaration |
From | func setUserInfoObject(_ objectOrNil: AnyObject?, forKey key: String) |
To | func setUserInfoObject(_ objectOrNil: Any?, forKey key: ProgressUserInfoKey) |
---|
| Declaration |
From | var userInfo: [NSObject : AnyObject] { get } |
To | var userInfo: [ProgressUserInfoKey : Any] { get } |
---|
| Name | Declaration |
From | NSProgressFileOperationKindCopying | let NSProgressFileOperationKindCopying: String |
To | copying | static let copying: Progress.FileOperationKind |
---|
| Name | Declaration |
From | NSProgressFileOperationKindDecompressingAfterDownloading | let NSProgressFileOperationKindDecompressingAfterDownloading: String |
To | decompressingAfterDownloading | static let decompressingAfterDownloading: Progress.FileOperationKind |
---|
| Name | Declaration |
From | NSProgressFileOperationKindDownloading | let NSProgressFileOperationKindDownloading: String |
To | downloading | static let downloading: Progress.FileOperationKind |
---|
| Name | Declaration |
From | NSProgressFileOperationKindReceiving | let NSProgressFileOperationKindReceiving: String |
To | receiving | static let receiving: Progress.FileOperationKind |
---|
| Name | Declaration |
From | NSProgressKindFile | let NSProgressKindFile: String |
To | file | static let file: ProgressKind |
---|
| Declaration |
From | protocol NSProgressReporting : NSObjectProtocol {
var progress: NSProgress { get }
} |
To | protocol ProgressReporting : NSObjectProtocol {
var progress: Progress { get }
} |
---|
| Declaration |
From | var progress: NSProgress { get } |
To | var progress: Progress { get } |
---|
| Name | Declaration |
From | NSProgressEstimatedTimeRemainingKey | let NSProgressEstimatedTimeRemainingKey: String |
To | estimatedTimeRemainingKey | static let estimatedTimeRemainingKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressFileAnimationImageKey | let NSProgressFileAnimationImageKey: String |
To | fileAnimationImageKey | static let fileAnimationImageKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressFileAnimationImageOriginalRectKey | let NSProgressFileAnimationImageOriginalRectKey: String |
To | fileAnimationImageOriginalRectKey | static let fileAnimationImageOriginalRectKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressFileCompletedCountKey | let NSProgressFileCompletedCountKey: String |
To | fileCompletedCountKey | static let fileCompletedCountKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressFileIconKey | let NSProgressFileIconKey: String |
To | fileIconKey | static let fileIconKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressFileOperationKindKey | let NSProgressFileOperationKindKey: String |
To | fileOperationKindKey | static let fileOperationKindKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressFileTotalCountKey | let NSProgressFileTotalCountKey: String |
To | fileTotalCountKey | static let fileTotalCountKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressFileURLKey | let NSProgressFileURLKey: String |
To | fileURLKey | static let fileURLKey: ProgressUserInfoKey |
---|
| Name | Declaration |
From | NSProgressThroughputKey | let NSProgressThroughputKey: String |
To | throughputKey | static let throughputKey: ProgressUserInfoKey |
---|
| Declaration | Protocols |
From | class NSPropertyListSerialization : NSObject {
class func propertyList(_ plist: AnyObject, isValidForFormat format: NSPropertyListFormat) -> Bool
class func dataWithPropertyList(_ plist: AnyObject, format format: NSPropertyListFormat, options opt: NSPropertyListWriteOptions) throws -> NSData
class func writePropertyList(_ plist: AnyObject, toStream stream: NSOutputStream, format format: NSPropertyListFormat, options opt: NSPropertyListWriteOptions, error error: NSErrorPointer) -> Int
class func propertyListWithData(_ data: NSData, options opt: NSPropertyListReadOptions, format format: UnsafeMutablePointer<NSPropertyListFormat>) throws -> AnyObject
class func propertyListWithStream(_ stream: NSInputStream, options opt: NSPropertyListReadOptions, format format: UnsafeMutablePointer<NSPropertyListFormat>) throws -> AnyObject
class func dataFromPropertyList(_ plist: AnyObject, format format: NSPropertyListFormat, errorDescription errorString: UnsafeMutablePointer<NSString?>) -> NSData?
class func propertyListFromData(_ data: NSData, mutabilityOption opt: NSPropertyListMutabilityOptions, format format: UnsafeMutablePointer<NSPropertyListFormat>, errorDescription errorString: UnsafeMutablePointer<NSString?>) -> AnyObject?
} | -- |
To | class PropertyListSerialization : NSObject {
class func propertyList(_ plist: Any, isValidFor format: PropertyListSerialization.PropertyListFormat) -> Bool
class func data(fromPropertyList plist: Any, format format: PropertyListSerialization.PropertyListFormat, options opt: PropertyListSerialization.WriteOptions) throws -> Data
class func writePropertyList(_ plist: Any, to stream: OutputStream, format format: PropertyListSerialization.PropertyListFormat, options opt: PropertyListSerialization.WriteOptions, error error: NSErrorPointer) -> Int
class func propertyList(from data: Data, options opt: PropertyListSerialization.ReadOptions = [], format format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?) throws -> Any
class func propertyList(with stream: InputStream, options opt: PropertyListSerialization.ReadOptions = [], format format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?) throws -> Any
class func dataFromPropertyList(_ plist: Any, format format: PropertyListSerialization.PropertyListFormat, errorDescription errorString: UnsafeMutablePointer<NSString?>?) -> Data?
class func propertyListFromData(_ data: Data, mutabilityOption opt: PropertyListSerialization.MutabilityOptions = [], format format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?, errorDescription errorString: UnsafeMutablePointer<NSString?>?) -> Any?
struct MutabilityOptions : OptionSet {
init(rawValue rawValue: UInt)
static var immutable: PropertyListSerialization.MutabilityOptions { get }
static var mutableContainers: PropertyListSerialization.MutabilityOptions { get }
static var mutableContainersAndLeaves: PropertyListSerialization.MutabilityOptions { get }
}
enum PropertyListFormat : UInt {
case openStep
case xml
case binary
}
typealias ReadOptions = PropertyListSerialization.MutabilityOptions
typealias WriteOptions = Int
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 PropertyListSerialization {
struct MutabilityOptions : OptionSet {
init(rawValue rawValue: UInt)
static var immutable: PropertyListSerialization.MutabilityOptions { get }
static var mutableContainers: PropertyListSerialization.MutabilityOptions { get }
static var mutableContainersAndLeaves: PropertyListSerialization.MutabilityOptions { get }
}
enum PropertyListFormat : UInt {
case openStep
case xml
case binary
}
typealias ReadOptions = PropertyListSerialization.MutabilityOptions
typealias WriteOptions = Int
}
extension PropertyListSerialization : CVarArg {
}
extension PropertyListSerialization : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | dataWithPropertyList(_:format:options:) | class func dataWithPropertyList(_ plist: AnyObject, format format: NSPropertyListFormat, options opt: NSPropertyListWriteOptions) throws -> NSData |
To | data(fromPropertyList:format:options:) | class func data(fromPropertyList plist: Any, format format: PropertyListSerialization.PropertyListFormat, options opt: PropertyListSerialization.WriteOptions) throws -> Data |
---|
| Declaration |
From | class func dataFromPropertyList(_ plist: AnyObject, format format: NSPropertyListFormat, errorDescription errorString: UnsafeMutablePointer<NSString?>) -> NSData? |
To | class func dataFromPropertyList(_ plist: Any, format format: PropertyListSerialization.PropertyListFormat, errorDescription errorString: UnsafeMutablePointer<NSString?>?) -> Data? |
---|
| Name | Declaration |
From | propertyList(_:isValidForFormat:) | class func propertyList(_ plist: AnyObject, isValidForFormat format: NSPropertyListFormat) -> Bool |
To | propertyList(_:isValidFor:) | class func propertyList(_ plist: Any, isValidFor format: PropertyListSerialization.PropertyListFormat) -> Bool |
---|
| Name | Declaration |
From | propertyListWithData(_:options:format:) | class func propertyListWithData(_ data: NSData, options opt: NSPropertyListReadOptions, format format: UnsafeMutablePointer<NSPropertyListFormat>) throws -> AnyObject |
To | propertyList(from:options:format:) | class func propertyList(from data: Data, options opt: PropertyListSerialization.ReadOptions = [], format format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?) throws -> Any |
---|
| Name | Declaration |
From | propertyListWithStream(_:options:format:) | class func propertyListWithStream(_ stream: NSInputStream, options opt: NSPropertyListReadOptions, format format: UnsafeMutablePointer<NSPropertyListFormat>) throws -> AnyObject |
To | propertyList(with:options:format:) | class func propertyList(with stream: InputStream, options opt: PropertyListSerialization.ReadOptions = [], format format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?) throws -> Any |
---|
| Declaration |
From | class func propertyListFromData(_ data: NSData, mutabilityOption opt: NSPropertyListMutabilityOptions, format format: UnsafeMutablePointer<NSPropertyListFormat>, errorDescription errorString: UnsafeMutablePointer<NSString?>) -> AnyObject? |
To | class func propertyListFromData(_ data: Data, mutabilityOption opt: PropertyListSerialization.MutabilityOptions = [], format format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?, errorDescription errorString: UnsafeMutablePointer<NSString?>?) -> Any? |
---|
| Name | Declaration |
From | writePropertyList(_:toStream:format:options:error:) | class func writePropertyList(_ plist: AnyObject, toStream stream: NSOutputStream, format format: NSPropertyListFormat, options opt: NSPropertyListWriteOptions, error error: NSErrorPointer) -> Int |
To | writePropertyList(_:to:format:options:error:) | class func writePropertyList(_ plist: Any, to stream: OutputStream, format format: PropertyListSerialization.PropertyListFormat, options opt: PropertyListSerialization.WriteOptions, error error: NSErrorPointer) -> Int |
---|
| Declaration | Protocols |
From | struct NSPropertyListMutabilityOptions : OptionSetType {
init(rawValue rawValue: UInt)
static var Immutable: NSPropertyListMutabilityOptions { get }
static var MutableContainers: NSPropertyListMutabilityOptions { get }
static var MutableContainersAndLeaves: NSPropertyListMutabilityOptions { get }
} | OptionSetType |
To | struct MutabilityOptions : OptionSet {
init(rawValue rawValue: UInt)
static var immutable: PropertyListSerialization.MutabilityOptions { get }
static var mutableContainers: PropertyListSerialization.MutabilityOptions { get }
static var mutableContainersAndLeaves: PropertyListSerialization.MutabilityOptions { get }
}
extension PropertyListSerialization.MutabilityOptions {
func union(_ other: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions
func intersection(_ other: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions
func symmetricDifference(_ other: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions
}
extension PropertyListSerialization.MutabilityOptions {
func contains(_ member: PropertyListSerialization.MutabilityOptions) -> Bool
mutating func insert(_ newMember: PropertyListSerialization.MutabilityOptions) -> (inserted: Bool, memberAfterInsert: PropertyListSerialization.MutabilityOptions)
mutating func remove(_ member: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions?
mutating func update(with newMember: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions?
}
extension PropertyListSerialization.MutabilityOptions {
convenience init()
mutating func formUnion(_ other: PropertyListSerialization.MutabilityOptions)
mutating func formIntersection(_ other: PropertyListSerialization.MutabilityOptions)
mutating func formSymmetricDifference(_ other: PropertyListSerialization.MutabilityOptions)
}
extension PropertyListSerialization.MutabilityOptions {
convenience init<S : Sequence where S.Iterator.Element == PropertyListSerialization.MutabilityOptions>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: PropertyListSerialization.MutabilityOptions...)
mutating func subtract(_ other: PropertyListSerialization.MutabilityOptions)
func isSubset(of other: PropertyListSerialization.MutabilityOptions) -> Bool
func isSuperset(of other: PropertyListSerialization.MutabilityOptions) -> Bool
func isDisjoint(with other: PropertyListSerialization.MutabilityOptions) -> Bool
func subtracting(_ other: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions
var isEmpty: Bool { get }
func isStrictSuperset(of other: PropertyListSerialization.MutabilityOptions) -> Bool
func isStrictSubset(of other: PropertyListSerialization.MutabilityOptions) -> Bool
}
extension PropertyListSerialization.MutabilityOptions {
func intersect(_ other: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions
func exclusiveOr(_ other: PropertyListSerialization.MutabilityOptions) -> PropertyListSerialization.MutabilityOptions
mutating func unionInPlace(_ other: PropertyListSerialization.MutabilityOptions)
mutating func intersectInPlace(_ other: PropertyListSerialization.MutabilityOptions)
mutating func exclusiveOrInPlace(_ other: PropertyListSerialization.MutabilityOptions)
func isSubsetOf(_ other: PropertyListSerialization.MutabilityOptions) -> Bool
func isDisjointWith(_ other: PropertyListSerialization.MutabilityOptions) -> Bool
func isSupersetOf(_ other: PropertyListSerialization.MutabilityOptions) -> Bool
mutating func subtractInPlace(_ other: PropertyListSerialization.MutabilityOptions)
func isStrictSupersetOf(_ other: PropertyListSerialization.MutabilityOptions) -> Bool
func isStrictSubsetOf(_ other: PropertyListSerialization.MutabilityOptions) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | MutableContainers | static var MutableContainers: NSPropertyListMutabilityOptions { get } |
To | mutableContainers | static var mutableContainers: PropertyListSerialization.MutabilityOptions { get } |
---|
| Name | Declaration |
From | MutableContainersAndLeaves | static var MutableContainersAndLeaves: NSPropertyListMutabilityOptions { get } |
To | mutableContainersAndLeaves | static var mutableContainersAndLeaves: PropertyListSerialization.MutabilityOptions { get } |
---|
| Declaration |
From | enum NSPropertyListFormat : UInt {
case OpenStepFormat
case XMLFormat_v1_0
case BinaryFormat_v1_0
} |
To | enum PropertyListFormat : UInt {
case openStep
case xml
case binary
} |
---|
| Name | Declaration |
From | BinaryFormat_v1_0 | case BinaryFormat_v1_0 |
To | binary | case binary |
---|
| Name | Declaration |
From | OpenStepFormat | case OpenStepFormat |
To | openStep | case openStep |
---|
| Name | Declaration |
From | XMLFormat_v1_0 | case XMLFormat_v1_0 |
To | xml | case xml |
---|
| Declaration |
From | enum NSQualityOfService : Int {
case UserInteractive
case UserInitiated
case Utility
case Background
case Default
} |
To | enum QualityOfService : Int {
case userInteractive
case userInitiated
case utility
case background
case `default`
} |
---|
| Name | Declaration |
From | Background | case Background |
To | background | case background |
---|
| Name | Declaration |
From | Default | case Default |
To | default | case `default` |
---|
| Name | Declaration |
From | UserInitiated | case UserInitiated |
To | userInitiated | case userInitiated |
---|
| Name | Declaration |
From | UserInteractive | case UserInteractive |
To | userInteractive | case userInteractive |
---|
| Name | Declaration |
From | Utility | case Utility |
To | utility | case utility |
---|
| Declaration | Protocols |
From | class NSRunLoop : NSObject {
class func currentRunLoop() -> NSRunLoop
class func mainRunLoop() -> NSRunLoop
var currentMode: String? { get }
func getCFRunLoop() -> CFRunLoop
func addTimer(_ timer: NSTimer, forMode mode: String)
func addPort(_ aPort: NSPort, forMode mode: String)
func removePort(_ aPort: NSPort, forMode mode: String)
func limitDateForMode(_ mode: String) -> NSDate?
func acceptInputForMode(_ mode: String, beforeDate limitDate: NSDate)
}
extension NSRunLoop {
func run()
func runUntilDate(_ limitDate: NSDate)
func runMode(_ mode: String, beforeDate limitDate: NSDate) -> Bool
func configureAsServer()
}
extension NSRunLoop {
func performSelector(_ aSelector: Selector, target target: AnyObject, argument arg: AnyObject?, order order: Int, modes modes: [String])
func cancelPerformSelector(_ aSelector: Selector, target target: AnyObject, argument arg: AnyObject?)
func cancelPerformSelectorsWithTarget(_ target: AnyObject)
} | -- |
To | class RunLoop : NSObject {
class var current: RunLoop { get }
class var main: RunLoop { get }
var currentMode: RunLoopMode? { get }
func getCFRunLoop() -> CFRunLoop
func add(_ timer: Timer, forMode mode: RunLoopMode)
func add(_ aPort: Port, forMode mode: RunLoopMode)
func remove(_ aPort: Port, forMode mode: RunLoopMode)
func limitDate(forMode mode: RunLoopMode) -> Date?
func acceptInput(forMode mode: RunLoopMode, before limitDate: Date)
func perform(_ aSelector: Selector, target target: Any, argument arg: Any?, order order: Int, modes modes: [RunLoopMode])
func cancelPerform(_ aSelector: Selector, target target: Any, argument arg: Any?)
func cancelPerformSelectors(withTarget target: Any)
func run()
func run(until limitDate: Date)
func run(mode mode: RunLoopMode, before limitDate: Date) -> Bool
func configureAsServer()
func perform(inModes modes: [RunLoopMode], block block: @escaping () -> Swift.Void)
func perform(_ block: @escaping () -> 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 RunLoop : CVarArg {
}
extension RunLoop : Equatable, Hashable {
var hashValue: Int { get }
}
extension RunLoop {
func run()
func run(until limitDate: Date)
func run(mode mode: RunLoopMode, before limitDate: Date) -> Bool
func configureAsServer()
func perform(inModes modes: [RunLoopMode], block block: @escaping () -> Swift.Void)
func perform(_ block: @escaping () -> Swift.Void)
}
extension RunLoop {
func perform(_ aSelector: Selector, target target: Any, argument arg: Any?, order order: Int, modes modes: [RunLoopMode])
func cancelPerform(_ aSelector: Selector, target target: Any, argument arg: Any?)
func cancelPerformSelectors(withTarget target: Any)
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | acceptInputForMode(_:beforeDate:) | func acceptInputForMode(_ mode: String, beforeDate limitDate: NSDate) |
To | acceptInput(forMode:before:) | func acceptInput(forMode mode: RunLoopMode, before limitDate: Date) |
---|
| Name | Declaration |
From | addPort(_:forMode:) | func addPort(_ aPort: NSPort, forMode mode: String) |
To | add(_:forMode:) | func add(_ aPort: Port, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | addTimer(_:forMode:) | func addTimer(_ timer: NSTimer, forMode mode: String) |
To | add(_:forMode:) | func add(_ timer: Timer, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | cancelPerformSelector(_:target:argument:) | func cancelPerformSelector(_ aSelector: Selector, target target: AnyObject, argument arg: AnyObject?) |
To | cancelPerform(_:target:argument:) | func cancelPerform(_ aSelector: Selector, target target: Any, argument arg: Any?) |
---|
| Name | Declaration |
From | cancelPerformSelectorsWithTarget(_:) | func cancelPerformSelectorsWithTarget(_ target: AnyObject) |
To | cancelPerformSelectors(withTarget:) | func cancelPerformSelectors(withTarget target: Any) |
---|
| Declaration |
From | var currentMode: String? { get } |
To | var currentMode: RunLoopMode? { get } |
---|
| Name | Declaration |
From | limitDateForMode(_:) | func limitDateForMode(_ mode: String) -> NSDate? |
To | limitDate(forMode:) | func limitDate(forMode mode: RunLoopMode) -> Date? |
---|
| Name | Declaration |
From | performSelector(_:target:argument:order:modes:) | func performSelector(_ aSelector: Selector, target target: AnyObject, argument arg: AnyObject?, order order: Int, modes modes: [String]) |
To | perform(_:target:argument:order:modes:) | func perform(_ aSelector: Selector, target target: Any, argument arg: Any?, order order: Int, modes modes: [RunLoopMode]) |
---|
| Name | Declaration |
From | removePort(_:forMode:) | func removePort(_ aPort: NSPort, forMode mode: String) |
To | remove(_:forMode:) | func remove(_ aPort: Port, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | runMode(_:beforeDate:) | func runMode(_ mode: String, beforeDate limitDate: NSDate) -> Bool |
To | run(mode:before:) | func run(mode mode: RunLoopMode, before limitDate: Date) -> Bool |
---|
| Name | Declaration |
From | runUntilDate(_:) | func runUntilDate(_ limitDate: NSDate) |
To | run(until:) | func run(until limitDate: Date) |
---|
| Name | Declaration |
From | NSRunLoopCommonModes | let NSRunLoopCommonModes: String |
To | commonModes | static let commonModes: RunLoopMode |
---|
| Name | Declaration |
From | NSDefaultRunLoopMode | let NSDefaultRunLoopMode: String |
To | defaultRunLoopMode | static let defaultRunLoopMode: RunLoopMode |
---|
| Declaration | Protocols |
From | class NSScanner : NSObject, NSCopying {
var string: String { get }
var scanLocation: Int
@NSCopying var charactersToBeSkipped: NSCharacterSet?
var caseSensitive: Bool
var locale: AnyObject?
init(string string: String)
}
extension NSScanner {
func scanDecimal(_ dcm: UnsafeMutablePointer<NSDecimal>) -> Bool
}
extension NSScanner {
func scanInt(_ result: UnsafeMutablePointer<Int32>) -> Bool
func scanInteger(_ result: UnsafeMutablePointer<Int>) -> Bool
func scanLongLong(_ result: UnsafeMutablePointer<Int64>) -> Bool
func scanUnsignedLongLong(_ result: UnsafeMutablePointer<UInt64>) -> Bool
func scanFloat(_ result: UnsafeMutablePointer<Float>) -> Bool
func scanDouble(_ result: UnsafeMutablePointer<Double>) -> Bool
func scanHexInt(_ result: UnsafeMutablePointer<UInt32>) -> Bool
func scanHexLongLong(_ result: UnsafeMutablePointer<UInt64>) -> Bool
func scanHexFloat(_ result: UnsafeMutablePointer<Float>) -> Bool
func scanHexDouble(_ result: UnsafeMutablePointer<Double>) -> Bool
func scanString(_ string: String, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
func scanCharactersFromSet(_ set: NSCharacterSet, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
func scanUpToString(_ string: String, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
func scanUpToCharactersFromSet(_ set: NSCharacterSet, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool
var atEnd: Bool { get }
convenience init(string string: String)
class func scannerWithString(_ string: String) -> Self
class func localizedScannerWithString(_ string: String) -> AnyObject
} | NSCopying |
To | class Scanner : NSObject, NSCopying {
var string: String { get }
var scanLocation: Int
var charactersToBeSkipped: CharacterSet?
var caseSensitive: Bool
var locale: Any?
init(string string: String)
func scanDecimal(_ dcm: UnsafeMutablePointer<Decimal>?) -> Bool
func scanInt32(_ result: UnsafeMutablePointer<Int32>?) -> Bool
func scanInt(_ result: UnsafeMutablePointer<Int>?) -> Bool
func scanInt64(_ result: UnsafeMutablePointer<Int64>?) -> Bool
func scanUnsignedLongLong(_ result: UnsafeMutablePointer<UInt64>?) -> Bool
func scanFloat(_ result: UnsafeMutablePointer<Float>?) -> Bool
func scanDouble(_ result: UnsafeMutablePointer<Double>?) -> Bool
func scanHexInt32(_ result: UnsafeMutablePointer<UInt32>?) -> Bool
func scanHexInt64(_ result: UnsafeMutablePointer<UInt64>?) -> Bool
func scanHexFloat(_ result: UnsafeMutablePointer<Float>?) -> Bool
func scanHexDouble(_ result: UnsafeMutablePointer<Double>?) -> Bool
func scanString(_ string: String, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func scanCharacters(from set: CharacterSet, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func scanUpTo(_ string: String, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func scanUpToCharacters(from set: CharacterSet, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
var isAtEnd: Bool { get }
class func withString(_ string: String) -> Self
class func localizedScanner(with string: 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 Scanner {
func scanDecimal(_ dcm: UnsafeMutablePointer<Decimal>?) -> Bool
}
extension Scanner : CVarArg {
}
extension Scanner : Equatable, Hashable {
var hashValue: Int { get }
}
extension Scanner {
func scanInt32(_ result: UnsafeMutablePointer<Int32>?) -> Bool
func scanInt(_ result: UnsafeMutablePointer<Int>?) -> Bool
func scanInt64(_ result: UnsafeMutablePointer<Int64>?) -> Bool
func scanUnsignedLongLong(_ result: UnsafeMutablePointer<UInt64>?) -> Bool
func scanFloat(_ result: UnsafeMutablePointer<Float>?) -> Bool
func scanDouble(_ result: UnsafeMutablePointer<Double>?) -> Bool
func scanHexInt32(_ result: UnsafeMutablePointer<UInt32>?) -> Bool
func scanHexInt64(_ result: UnsafeMutablePointer<UInt64>?) -> Bool
func scanHexFloat(_ result: UnsafeMutablePointer<Float>?) -> Bool
func scanHexDouble(_ result: UnsafeMutablePointer<Double>?) -> Bool
func scanString(_ string: String, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func scanCharacters(from set: CharacterSet, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func scanUpTo(_ string: String, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
func scanUpToCharacters(from set: CharacterSet, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
var isAtEnd: Bool { get }
class func withString(_ string: String) -> Self
class func localizedScanner(with string: String) -> Any
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Declaration |
From | @NSCopying var charactersToBeSkipped: NSCharacterSet? |
To | var charactersToBeSkipped: CharacterSet? |
---|
| Name | Declaration |
From | atEnd | var atEnd: Bool { get } |
To | isAtEnd | var isAtEnd: Bool { get } |
---|
| Declaration |
From | var locale: AnyObject? |
To | var locale: Any? |
---|
| Name | Declaration |
From | localizedScannerWithString(_:) | class func localizedScannerWithString(_ string: String) -> AnyObject |
To | localizedScanner(with:) | class func localizedScanner(with string: String) -> Any |
---|
| Name | Declaration |
From | scanCharactersFromSet(_:intoString:) | func scanCharactersFromSet(_ set: NSCharacterSet, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | scanCharacters(from:into:) | func scanCharacters(from set: CharacterSet, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Declaration |
From | func scanDecimal(_ dcm: UnsafeMutablePointer<NSDecimal>) -> Bool |
To | func scanDecimal(_ dcm: UnsafeMutablePointer<Decimal>?) -> Bool |
---|
| Declaration |
From | func scanDouble(_ result: UnsafeMutablePointer<Double>) -> Bool |
To | func scanDouble(_ result: UnsafeMutablePointer<Double>?) -> Bool |
---|
| Declaration |
From | func scanFloat(_ result: UnsafeMutablePointer<Float>) -> Bool |
To | func scanFloat(_ result: UnsafeMutablePointer<Float>?) -> Bool |
---|
| Declaration |
From | func scanHexDouble(_ result: UnsafeMutablePointer<Double>) -> Bool |
To | func scanHexDouble(_ result: UnsafeMutablePointer<Double>?) -> Bool |
---|
| Declaration |
From | func scanHexFloat(_ result: UnsafeMutablePointer<Float>) -> Bool |
To | func scanHexFloat(_ result: UnsafeMutablePointer<Float>?) -> Bool |
---|
| Name | Declaration |
From | scanHexInt(_:) | func scanHexInt(_ result: UnsafeMutablePointer<UInt32>) -> Bool |
To | scanHexInt32(_:) | func scanHexInt32(_ result: UnsafeMutablePointer<UInt32>?) -> Bool |
---|
| Name | Declaration |
From | scanHexLongLong(_:) | func scanHexLongLong(_ result: UnsafeMutablePointer<UInt64>) -> Bool |
To | scanHexInt64(_:) | func scanHexInt64(_ result: UnsafeMutablePointer<UInt64>?) -> Bool |
---|
| Name | Declaration |
From | scanInteger(_:) | func scanInteger(_ result: UnsafeMutablePointer<Int>) -> Bool |
To | scanInt(_:) | func scanInt(_ result: UnsafeMutablePointer<Int>?) -> Bool |
---|
| Name | Declaration |
From | scanInt(_:) | func scanInt(_ result: UnsafeMutablePointer<Int32>) -> Bool |
To | scanInt32(_:) | func scanInt32(_ result: UnsafeMutablePointer<Int32>?) -> Bool |
---|
| Name | Declaration |
From | scanLongLong(_:) | func scanLongLong(_ result: UnsafeMutablePointer<Int64>) -> Bool |
To | scanInt64(_:) | func scanInt64(_ result: UnsafeMutablePointer<Int64>?) -> Bool |
---|
| Name | Declaration |
From | scanString(_:intoString:) | func scanString(_ string: String, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | scanString(_:into:) | func scanString(_ string: String, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Declaration |
From | func scanUnsignedLongLong(_ result: UnsafeMutablePointer<UInt64>) -> Bool |
To | func scanUnsignedLongLong(_ result: UnsafeMutablePointer<UInt64>?) -> Bool |
---|
| Name | Declaration |
From | scanUpToString(_:intoString:) | func scanUpToString(_ string: String, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | scanUpTo(_:into:) | func scanUpTo(_ string: String, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Name | Declaration |
From | scanUpToCharactersFromSet(_:intoString:) | func scanUpToCharactersFromSet(_ set: NSCharacterSet, intoString result: AutoreleasingUnsafeMutablePointer<NSString?>) -> Bool |
To | scanUpToCharacters(from:into:) | func scanUpToCharacters(from set: CharacterSet, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool |
---|
| Declaration | Protocols |
From | class NSSocketPort : NSPort {
convenience init()
convenience init?(TCPPort port: UInt16)
init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: NSData)
init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, socket sock: NSSocketNativeHandle)
convenience init?(remoteWithTCPPort port: UInt16, host hostName: String?)
init(remoteWithProtocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: NSData)
var protocolFamily: Int32 { get }
var socketType: Int32 { get }
var `protocol`: Int32 { get }
@NSCopying var address: NSData { get }
var socket: NSSocketNativeHandle { get }
} | -- |
To | class SocketPort : Port {
convenience init()
convenience init?(tcpPort port: UInt16)
init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: Data)
init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, socket sock: SocketNativeHandle)
convenience init?(remoteWithTCPPort port: UInt16, host hostName: String?)
init(remoteWithProtocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: Data)
var protocolFamily: Int32 { get }
var socketType: Int32 { get }
var `protocol`: Int32 { get }
var address: Data { get }
var socket: SocketNativeHandle { get }
class let didBecomeInvalidNotification: NSNotification.Name
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 SocketPort : CVarArg {
}
extension SocketPort : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | @NSCopying var address: NSData { get } |
To | var address: Data { get } |
---|
| Declaration |
From | init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: NSData) |
To | init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: Data) |
---|
| Declaration |
From | init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, socket sock: NSSocketNativeHandle) |
To | init?(protocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, socket sock: SocketNativeHandle) |
---|
| Declaration |
From | init(remoteWithProtocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: NSData) |
To | init(remoteWithProtocolFamily family: Int32, socketType type: Int32, protocol protocol: Int32, address address: Data) |
---|
| Name | Declaration |
From | init(TCPPort:) | convenience init?(TCPPort port: UInt16) |
To | init(tcpPort:) | convenience init?(tcpPort port: UInt16) |
---|
| Declaration |
From | var socket: NSSocketNativeHandle { get } |
To | var socket: SocketNativeHandle { get } |
---|
| Declaration | Protocols |
From | class NSStream : NSObject {
func open()
func close()
unowned(unsafe) var delegate: NSStreamDelegate?
func propertyForKey(_ key: String) -> AnyObject?
func setProperty(_ property: AnyObject?, forKey key: String) -> Bool
func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
func removeFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String)
var streamStatus: NSStreamStatus { get }
@NSCopying var streamError: NSError? { get }
}
extension NSStream {
class func getStreamsToHostWithName(_ hostname: String, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<NSInputStream?>, outputStream outputStream: AutoreleasingUnsafeMutablePointer<NSOutputStream?>)
class func getStreamsToHost(_ host: NSHost, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<NSInputStream?>, outputStream outputStream: AutoreleasingUnsafeMutablePointer<NSOutputStream?>)
}
extension NSStream {
class func getBoundStreamsWithBufferSize(_ bufferSize: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<NSInputStream?>, outputStream outputStream: AutoreleasingUnsafeMutablePointer<NSOutputStream?>)
} | -- |
To | class Stream : NSObject {
func open()
func close()
unowned(unsafe) var delegate: StreamDelegate?
func property(forKey key: Stream.PropertyKey) -> Any?
func setProperty(_ property: Any?, forKey key: Stream.PropertyKey) -> Bool
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode)
func remove(from aRunLoop: RunLoop, forMode mode: RunLoopMode)
var streamStatus: Stream.Status { get }
var streamError: Error? { get }
class func getBoundStreams(withBufferSize bufferSize: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
class func getStreamsToHost(withName hostname: String, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
class func getStreamsTo(_ host: Host, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
struct PropertyKey : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
enum Status : UInt {
case notOpen
case opening
case open
case reading
case writing
case atEnd
case closed
case error
}
struct Event : OptionSet {
init(rawValue rawValue: UInt)
static var none: Stream.Event { get }
static var openCompleted: Stream.Event { get }
static var hasBytesAvailable: Stream.Event { get }
static var hasSpaceAvailable: Stream.Event { get }
static var errorOccurred: Stream.Event { get }
static var endEncountered: Stream.Event { 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 Stream {
struct PropertyKey : RawRepresentable, Equatable, Hashable, Comparable {
init(_ rawValue: String)
init(rawValue rawValue: String)
}
enum Status : UInt {
case notOpen
case opening
case open
case reading
case writing
case atEnd
case closed
case error
}
struct Event : OptionSet {
init(rawValue rawValue: UInt)
static var none: Stream.Event { get }
static var openCompleted: Stream.Event { get }
static var hasBytesAvailable: Stream.Event { get }
static var hasSpaceAvailable: Stream.Event { get }
static var errorOccurred: Stream.Event { get }
static var endEncountered: Stream.Event { get }
}
}
extension Stream : CVarArg {
}
extension Stream : Equatable, Hashable {
var hashValue: Int { get }
}
extension Stream {
class func getStreamsToHost(withName hostname: String, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
class func getStreamsTo(_ host: Host, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
}
extension Stream {
class func getBoundStreams(withBufferSize bufferSize: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?)
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | unowned(unsafe) var delegate: NSStreamDelegate? |
To | unowned(unsafe) var delegate: StreamDelegate? |
---|
| Name | Declaration |
From | getBoundStreamsWithBufferSize(_:inputStream:outputStream:) | class func getBoundStreamsWithBufferSize(_ bufferSize: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<NSInputStream?>, outputStream outputStream: AutoreleasingUnsafeMutablePointer<NSOutputStream?>) |
To | getBoundStreams(withBufferSize:inputStream:outputStream:) | class func getBoundStreams(withBufferSize bufferSize: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?) |
---|
| Name | Declaration |
From | getStreamsToHost(_:port:inputStream:outputStream:) | class func getStreamsToHost(_ host: NSHost, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<NSInputStream?>, outputStream outputStream: AutoreleasingUnsafeMutablePointer<NSOutputStream?>) |
To | getStreamsTo(_:port:inputStream:outputStream:) | class func getStreamsTo(_ host: Host, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?) |
---|
| Name | Declaration |
From | getStreamsToHostWithName(_:port:inputStream:outputStream:) | class func getStreamsToHostWithName(_ hostname: String, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<NSInputStream?>, outputStream outputStream: AutoreleasingUnsafeMutablePointer<NSOutputStream?>) |
To | getStreamsToHost(withName:port:inputStream:outputStream:) | class func getStreamsToHost(withName hostname: String, port port: Int, inputStream inputStream: AutoreleasingUnsafeMutablePointer<InputStream?>?, outputStream outputStream: AutoreleasingUnsafeMutablePointer<OutputStream?>?) |
---|
| Name | Declaration |
From | propertyForKey(_:) | func propertyForKey(_ key: String) -> AnyObject? |
To | property(forKey:) | func property(forKey key: Stream.PropertyKey) -> Any? |
---|
| Name | Declaration |
From | removeFromRunLoop(_:forMode:) | func removeFromRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | remove(from:forMode:) | func remove(from aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Name | Declaration |
From | scheduleInRunLoop(_:forMode:) | func scheduleInRunLoop(_ aRunLoop: NSRunLoop, forMode mode: String) |
To | schedule(in:forMode:) | func schedule(in aRunLoop: RunLoop, forMode mode: RunLoopMode) |
---|
| Declaration |
From | func setProperty(_ property: AnyObject?, forKey key: String) -> Bool |
To | func setProperty(_ property: Any?, forKey key: Stream.PropertyKey) -> Bool |
---|
| Declaration |
From | @NSCopying var streamError: NSError? { get } |
To | var streamError: Error? { get } |
---|
| Declaration |
From | var streamStatus: NSStreamStatus { get } |
To | var streamStatus: Stream.Status { get } |
---|
| Declaration | Protocols |
From | struct NSStreamEvent : OptionSetType {
init(rawValue rawValue: UInt)
static var None: NSStreamEvent { get }
static var OpenCompleted: NSStreamEvent { get }
static var HasBytesAvailable: NSStreamEvent { get }
static var HasSpaceAvailable: NSStreamEvent { get }
static var ErrorOccurred: NSStreamEvent { get }
static var EndEncountered: NSStreamEvent { get }
} | OptionSetType |
To | struct Event : OptionSet {
init(rawValue rawValue: UInt)
static var none: Stream.Event { get }
static var openCompleted: Stream.Event { get }
static var hasBytesAvailable: Stream.Event { get }
static var hasSpaceAvailable: Stream.Event { get }
static var errorOccurred: Stream.Event { get }
static var endEncountered: Stream.Event { get }
}
extension Stream.Event {
func union(_ other: Stream.Event) -> Stream.Event
func intersection(_ other: Stream.Event) -> Stream.Event
func symmetricDifference(_ other: Stream.Event) -> Stream.Event
}
extension Stream.Event {
func contains(_ member: Stream.Event) -> Bool
mutating func insert(_ newMember: Stream.Event) -> (inserted: Bool, memberAfterInsert: Stream.Event)
mutating func remove(_ member: Stream.Event) -> Stream.Event?
mutating func update(with newMember: Stream.Event) -> Stream.Event?
}
extension Stream.Event {
convenience init()
mutating func formUnion(_ other: Stream.Event)
mutating func formIntersection(_ other: Stream.Event)
mutating func formSymmetricDifference(_ other: Stream.Event)
}
extension Stream.Event {
convenience init<S : Sequence where S.Iterator.Element == Stream.Event>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: Stream.Event...)
mutating func subtract(_ other: Stream.Event)
func isSubset(of other: Stream.Event) -> Bool
func isSuperset(of other: Stream.Event) -> Bool
func isDisjoint(with other: Stream.Event) -> Bool
func subtracting(_ other: Stream.Event) -> Stream.Event
var isEmpty: Bool { get }
func isStrictSuperset(of other: Stream.Event) -> Bool
func isStrictSubset(of other: Stream.Event) -> Bool
}
extension Stream.Event {
func intersect(_ other: Stream.Event) -> Stream.Event
func exclusiveOr(_ other: Stream.Event) -> Stream.Event
mutating func unionInPlace(_ other: Stream.Event)
mutating func intersectInPlace(_ other: Stream.Event)
mutating func exclusiveOrInPlace(_ other: Stream.Event)
func isSubsetOf(_ other: Stream.Event) -> Bool
func isDisjointWith(_ other: Stream.Event) -> Bool
func isSupersetOf(_ other: Stream.Event) -> Bool
mutating func subtractInPlace(_ other: Stream.Event)
func isStrictSupersetOf(_ other: Stream.Event) -> Bool
func isStrictSubsetOf(_ other: Stream.Event) -> Bool
} | OptionSet |
---|
| Name | Declaration |
From | EndEncountered | static var EndEncountered: NSStreamEvent { get } |
To | endEncountered | static var endEncountered: Stream.Event { get } |
---|
| Name | Declaration |
From | ErrorOccurred | static var ErrorOccurred: NSStreamEvent { get } |
To | errorOccurred | static var errorOccurred: Stream.Event { get } |
---|
| Name | Declaration |
From | HasBytesAvailable | static var HasBytesAvailable: NSStreamEvent { get } |
To | hasBytesAvailable | static var hasBytesAvailable: Stream.Event { get } |
---|
| Name | Declaration |
From | HasSpaceAvailable | static var HasSpaceAvailable: NSStreamEvent { get } |
To | hasSpaceAvailable | static var hasSpaceAvailable: Stream.Event { get } |
---|
| Name | Declaration |
From | OpenCompleted | static var OpenCompleted: NSStreamEvent { get } |
To | openCompleted | static var openCompleted: Stream.Event { get } |
---|
| Name | Declaration |
From | NSStreamDataWrittenToMemoryStreamKey | let NSStreamDataWrittenToMemoryStreamKey: String |
To | dataWrittenToMemoryStreamKey | static let dataWrittenToMemoryStreamKey: Stream.PropertyKey |
---|
| Name | Declaration |
From | NSStreamFileCurrentOffsetKey | let NSStreamFileCurrentOffsetKey: String |
To | fileCurrentOffsetKey | static let fileCurrentOffsetKey: Stream.PropertyKey |
---|
| Name | Declaration |
From | NSStreamNetworkServiceType | let NSStreamNetworkServiceType: String |
To | networkServiceType | static let networkServiceType: Stream.PropertyKey |
---|
| Name | Declaration |
From | NSStreamSocketSecurityLevelKey | let NSStreamSocketSecurityLevelKey: String |
To | socketSecurityLevelKey | static let socketSecurityLevelKey: Stream.PropertyKey |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyConfigurationKey | let NSStreamSOCKSProxyConfigurationKey: String |
To | socksProxyConfigurationKey | static let socksProxyConfigurationKey: Stream.PropertyKey |
---|
| Declaration |
From | enum NSStreamStatus : UInt {
case NotOpen
case Opening
case Open
case Reading
case Writing
case AtEnd
case Closed
case Error
} |
To | enum Status : UInt {
case notOpen
case opening
case open
case reading
case writing
case atEnd
case closed
case error
} |
---|
| Name | Declaration |
From | AtEnd | case AtEnd |
To | atEnd | case atEnd |
---|
| Name | Declaration |
From | Closed | case Closed |
To | closed | case closed |
---|
| Name | Declaration |
From | Error | case Error |
To | error | case error |
---|
| Name | Declaration |
From | NotOpen | case NotOpen |
To | notOpen | case notOpen |
---|
| Name | Declaration |
From | Open | case Open |
To | open | case open |
---|
| Name | Declaration |
From | Opening | case Opening |
To | opening | case opening |
---|
| Name | Declaration |
From | Reading | case Reading |
To | reading | case reading |
---|
| Name | Declaration |
From | Writing | case Writing |
To | writing | case writing |
---|
| Declaration |
From | protocol NSStreamDelegate : NSObjectProtocol {
optional func stream(_ aStream: NSStream, handleEvent eventCode: NSStreamEvent)
} |
To | protocol StreamDelegate : NSObjectProtocol {
optional func stream(_ aStream: Stream, handle eventCode: Stream.Event)
} |
---|
| Name | Declaration |
From | stream(_:handleEvent:) | optional func stream(_ aStream: NSStream, handleEvent eventCode: NSStreamEvent) |
To | stream(_:handle:) | optional func stream(_ aStream: Stream, handle eventCode: Stream.Event) |
---|
| Name | Declaration |
From | NSStreamNetworkServiceTypeBackground | let NSStreamNetworkServiceTypeBackground: String |
To | background | static let background: StreamNetworkServiceTypeValue |
---|
| Name | Declaration |
From | NSStreamNetworkServiceTypeVideo | let NSStreamNetworkServiceTypeVideo: String |
To | video | static let video: StreamNetworkServiceTypeValue |
---|
| Name | Declaration |
From | NSStreamNetworkServiceTypeVoice | let NSStreamNetworkServiceTypeVoice: String |
To | voice | static let voice: StreamNetworkServiceTypeValue |
---|
| Name | Declaration |
From | NSStreamNetworkServiceTypeVoIP | let NSStreamNetworkServiceTypeVoIP: String |
To | voIP | static let voIP: StreamNetworkServiceTypeValue |
---|
| Name | Declaration |
From | NSStreamSocketSecurityLevelNegotiatedSSL | let NSStreamSocketSecurityLevelNegotiatedSSL: String |
To | negotiatedSSL | static let negotiatedSSL: StreamSocketSecurityLevel |
---|
| Name | Declaration |
From | NSStreamSocketSecurityLevelNone | let NSStreamSocketSecurityLevelNone: String |
To | none | static let none: StreamSocketSecurityLevel |
---|
| Name | Declaration |
From | NSStreamSocketSecurityLevelSSLv2 | let NSStreamSocketSecurityLevelSSLv2: String |
To | ssLv2 | static let ssLv2: StreamSocketSecurityLevel |
---|
| Name | Declaration |
From | NSStreamSocketSecurityLevelSSLv3 | let NSStreamSocketSecurityLevelSSLv3: String |
To | ssLv3 | static let ssLv3: StreamSocketSecurityLevel |
---|
| Name | Declaration |
From | NSStreamSocketSecurityLevelTLSv1 | let NSStreamSocketSecurityLevelTLSv1: String |
To | tlSv1 | static let tlSv1: StreamSocketSecurityLevel |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyHostKey | let NSStreamSOCKSProxyHostKey: String |
To | hostKey | static let hostKey: StreamSOCKSProxyConfiguration |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyPasswordKey | let NSStreamSOCKSProxyPasswordKey: String |
To | passwordKey | static let passwordKey: StreamSOCKSProxyConfiguration |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyPortKey | let NSStreamSOCKSProxyPortKey: String |
To | portKey | static let portKey: StreamSOCKSProxyConfiguration |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyUserKey | let NSStreamSOCKSProxyUserKey: String |
To | userKey | static let userKey: StreamSOCKSProxyConfiguration |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyVersionKey | let NSStreamSOCKSProxyVersionKey: String |
To | versionKey | static let versionKey: StreamSOCKSProxyConfiguration |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyVersion4 | let NSStreamSOCKSProxyVersion4: String |
To | version4 | static let version4: StreamSOCKSProxyVersion |
---|
| Name | Declaration |
From | NSStreamSOCKSProxyVersion5 | let NSStreamSOCKSProxyVersion5: String |
To | version5 | static let version5: StreamSOCKSProxyVersion |
---|
Modified String.fastestEncoding
| Declaration |
From | var fastestEncoding: NSStringEncoding { get } |
To | var fastestEncoding: String.Encoding { get } |
---|
Modified String.propertyListFromStringsFileFormat() -> [String : String]
| Declaration |
From | @warn_unused_result
func propertyListFromStringsFileFormat() -> [String : String] |
To | func propertyListFromStringsFileFormat() -> [String : String] |
---|
Modified String.smallestEncoding
| Declaration |
From | var smallestEncoding: NSStringEncoding { get } |
To | var smallestEncoding: String.Encoding { get } |
---|
| Name | Declaration |
From | NSStringEncodingDetectionAllowLossyKey | let NSStringEncodingDetectionAllowLossyKey: String |
To | allowLossyKey | static let allowLossyKey: StringEncodingDetectionOptionsKey |
---|
| Name | Declaration |
From | NSStringEncodingDetectionDisallowedEncodingsKey | let NSStringEncodingDetectionDisallowedEncodingsKey: String |
To | disallowedEncodingsKey | static let disallowedEncodingsKey: StringEncodingDetectionOptionsKey |
---|
| Name | Declaration |
From | NSStringEncodingDetectionFromWindowsKey | let NSStringEncodingDetectionFromWindowsKey: String |
To | fromWindowsKey | static let fromWindowsKey: StringEncodingDetectionOptionsKey |
---|
| Name | Declaration |
From | NSStringEncodingDetectionLikelyLanguageKey | let NSStringEncodingDetectionLikelyLanguageKey: String |
To | likelyLanguageKey | static let likelyLanguageKey: StringEncodingDetectionOptionsKey |
---|
| Name | Declaration |
From | NSStringEncodingDetectionLossySubstitutionKey | let NSStringEncodingDetectionLossySubstitutionKey: String |
To | lossySubstitutionKey | static let lossySubstitutionKey: StringEncodingDetectionOptionsKey |
---|
| Name | Declaration |
From | NSStringEncodingDetectionSuggestedEncodingsKey | let NSStringEncodingDetectionSuggestedEncodingsKey: String |
To | suggestedEncodingsKey | static let suggestedEncodingsKey: StringEncodingDetectionOptionsKey |
---|
| Name | Declaration |
From | NSStringEncodingDetectionUseOnlySuggestedEncodingsKey | let NSStringEncodingDetectionUseOnlySuggestedEncodingsKey: String |
To | useOnlySuggestedEncodingsKey | static let useOnlySuggestedEncodingsKey: StringEncodingDetectionOptionsKey |
---|
| Name | Declaration |
From | NSStringTransformFullwidthToHalfwidth | let NSStringTransformFullwidthToHalfwidth: String |
To | fullwidthToHalfwidth | static let fullwidthToHalfwidth: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformHiraganaToKatakana | let NSStringTransformHiraganaToKatakana: String |
To | hiraganaToKatakana | static let hiraganaToKatakana: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToArabic | let NSStringTransformLatinToArabic: String |
To | latinToArabic | static let latinToArabic: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToCyrillic | let NSStringTransformLatinToCyrillic: String |
To | latinToCyrillic | static let latinToCyrillic: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToGreek | let NSStringTransformLatinToGreek: String |
To | latinToGreek | static let latinToGreek: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToHangul | let NSStringTransformLatinToHangul: String |
To | latinToHangul | static let latinToHangul: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToHebrew | let NSStringTransformLatinToHebrew: String |
To | latinToHebrew | static let latinToHebrew: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToHiragana | let NSStringTransformLatinToHiragana: String |
To | latinToHiragana | static let latinToHiragana: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToKatakana | let NSStringTransformLatinToKatakana: String |
To | latinToKatakana | static let latinToKatakana: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformLatinToThai | let NSStringTransformLatinToThai: String |
To | latinToThai | static let latinToThai: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformMandarinToLatin | let NSStringTransformMandarinToLatin: String |
To | mandarinToLatin | static let mandarinToLatin: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformStripCombiningMarks | let NSStringTransformStripCombiningMarks: String |
To | stripCombiningMarks | static let stripCombiningMarks: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformStripDiacritics | let NSStringTransformStripDiacritics: String |
To | stripDiacritics | static let stripDiacritics: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformToLatin | let NSStringTransformToLatin: String |
To | toLatin | static let toLatin: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformToUnicodeName | let NSStringTransformToUnicodeName: String |
To | toUnicodeName | static let toUnicodeName: StringTransform |
---|
| Name | Declaration |
From | NSStringTransformToXMLHex | let NSStringTransformToXMLHex: String |
To | toXMLHex | static let toXMLHex: StringTransform |
---|
| Declaration | Protocols |
From | class NSThread : NSObject {
class func currentThread() -> NSThread
class func detachNewThreadSelector(_ selector: Selector, toTarget target: AnyObject, withObject argument: AnyObject?)
class func isMultiThreaded() -> Bool
var threadDictionary: NSMutableDictionary { get }
class func sleepUntilDate(_ date: NSDate)
class func sleepForTimeInterval(_ ti: NSTimeInterval)
class func exit()
class func threadPriority() -> Double
class func setThreadPriority(_ p: Double) -> Bool
var threadPriority: Double
var qualityOfService: NSQualityOfService
class func callStackReturnAddresses() -> [NSNumber]
class func callStackSymbols() -> [String]
var name: String?
var stackSize: Int
var isMainThread: Bool { get }
class func isMainThread() -> Bool
class func mainThread() -> NSThread
init()
convenience init(target target: AnyObject, selector selector: Selector, object argument: AnyObject?)
var executing: Bool { get }
var finished: Bool { get }
var cancelled: Bool { get }
func cancel()
func start()
func main()
} | -- |
To | class Thread : NSObject {
class var current: Thread { get }
class func detachNewThread(_ block: @escaping () -> Swift.Void)
class func detachNewThreadSelector(_ selector: Selector, toTarget target: Any, with argument: Any?)
class func isMultiThreaded() -> Bool
var threadDictionary: NSMutableDictionary { get }
class func sleep(until date: Date)
class func sleep(forTimeInterval ti: TimeInterval)
class func exit()
class func threadPriority() -> Double
class func setThreadPriority(_ p: Double) -> Bool
var threadPriority: Double
var qualityOfService: QualityOfService
class var callStackReturnAddresses: [NSNumber] { get }
class var callStackSymbols: [String] { get }
var name: String?
var stackSize: Int
var isMainThread: Bool { get }
class var isMainThread: Bool { get }
class var main: Thread { get }
init()
convenience init(target target: Any, selector selector: Selector, object argument: Any?)
convenience init(block block: @escaping () -> Swift.Void)
var isExecuting: Bool { get }
var isFinished: Bool { get }
var isCancelled: Bool { get }
func cancel()
func start()
func main()
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 Thread : CVarArg {
}
extension Thread : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | detachNewThreadSelector(_:toTarget:withObject:) | class func detachNewThreadSelector(_ selector: Selector, toTarget target: AnyObject, withObject argument: AnyObject?) |
To | detachNewThreadSelector(_:toTarget:with:) | class func detachNewThreadSelector(_ selector: Selector, toTarget target: Any, with argument: Any?) |
---|
| Declaration |
From | convenience init(target target: AnyObject, selector selector: Selector, object argument: AnyObject?) |
To | convenience init(target target: Any, selector selector: Selector, object argument: Any?) |
---|
| Name | Declaration |
From | cancelled | var cancelled: Bool { get } |
To | isCancelled | var isCancelled: Bool { get } |
---|
| Name | Declaration |
From | executing | var executing: Bool { get } |
To | isExecuting | var isExecuting: Bool { get } |
---|
| Name | Declaration |
From | finished | var finished: Bool { get } |
To | isFinished | var isFinished: Bool { get } |
---|
| Declaration |
From | var qualityOfService: NSQualityOfService |
To | var qualityOfService: QualityOfService |
---|
| Name | Declaration |
From | sleepForTimeInterval(_:) | class func sleepForTimeInterval(_ ti: NSTimeInterval) |
To | sleep(forTimeInterval:) | class func sleep(forTimeInterval ti: TimeInterval) |
---|
| Name | Declaration |
From | sleepUntilDate(_:) | class func sleepUntilDate(_ date: NSDate) |
To | sleep(until:) | class func sleep(until date: Date) |
---|
| Declaration | Protocols |
From | class NSTimer : NSObject {
init(timeInterval ti: NSTimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool)
class func timerWithTimeInterval(_ ti: NSTimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) -> NSTimer
class func scheduledTimerWithTimeInterval(_ ti: NSTimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) -> NSTimer
init(timeInterval ti: NSTimeInterval, target aTarget: AnyObject, selector aSelector: Selector, userInfo userInfo: AnyObject?, repeats yesOrNo: Bool)
class func timerWithTimeInterval(_ ti: NSTimeInterval, target aTarget: AnyObject, selector aSelector: Selector, userInfo userInfo: AnyObject?, repeats yesOrNo: Bool) -> NSTimer
class func scheduledTimerWithTimeInterval(_ ti: NSTimeInterval, target aTarget: AnyObject, selector aSelector: Selector, userInfo userInfo: AnyObject?, repeats yesOrNo: Bool) -> NSTimer
init(fireDate date: NSDate, interval ti: NSTimeInterval, target t: AnyObject, selector s: Selector, userInfo ui: AnyObject?, repeats rep: Bool)
func fire()
@NSCopying var fireDate: NSDate
var timeInterval: NSTimeInterval { get }
var tolerance: NSTimeInterval
func invalidate()
var valid: Bool { get }
var userInfo: AnyObject? { get }
} | -- |
To | class Timer : NSObject {
init(timeInterval ti: TimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool)
class func withTimeInterval(_ ti: TimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) -> Timer
class func scheduledTimer(timeInterval ti: TimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) -> Timer
init(timeInterval ti: TimeInterval, target aTarget: Any, selector aSelector: Selector, userInfo userInfo: Any?, repeats yesOrNo: Bool)
class func withTimeInterval(_ ti: TimeInterval, target aTarget: Any, selector aSelector: Selector, userInfo userInfo: Any?, repeats yesOrNo: Bool) -> Timer
class func scheduledTimer(timeInterval ti: TimeInterval, target aTarget: Any, selector aSelector: Selector, userInfo userInfo: Any?, repeats yesOrNo: Bool) -> Timer
init(timeInterval interval: TimeInterval, repeats repeats: Bool, block block: @escaping (Timer) -> Swift.Void)
class func withTimeInterval(_ interval: TimeInterval, repeats repeats: Bool, block block: @escaping (Timer) -> Swift.Void) -> Timer
class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats repeats: Bool, block block: @escaping (Timer) -> Swift.Void) -> Timer
convenience init(fire date: Date, interval interval: TimeInterval, repeats repeats: Bool, block block: @escaping (Timer) -> Swift.Void)
init(fireAt date: Date, interval ti: TimeInterval, target t: Any, selector s: Selector, userInfo ui: Any?, repeats rep: Bool)
func fire()
var fireDate: Date
var timeInterval: TimeInterval { get }
var tolerance: TimeInterval
func invalidate()
var isValid: Bool { get }
var userInfo: 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 Timer : CVarArg {
}
extension Timer : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | @NSCopying var fireDate: NSDate |
To | var fireDate: Date |
---|
| Name | Declaration |
From | init(fireDate:interval:target:selector:userInfo:repeats:) | init(fireDate date: NSDate, interval ti: NSTimeInterval, target t: AnyObject, selector s: Selector, userInfo ui: AnyObject?, repeats rep: Bool) |
To | init(fireAt:interval:target:selector:userInfo:repeats:) | init(fireAt date: Date, interval ti: TimeInterval, target t: Any, selector s: Selector, userInfo ui: Any?, repeats rep: Bool) |
---|
| Declaration |
From | init(timeInterval ti: NSTimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) |
To | init(timeInterval ti: TimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) |
---|
| Declaration |
From | init(timeInterval ti: NSTimeInterval, target aTarget: AnyObject, selector aSelector: Selector, userInfo userInfo: AnyObject?, repeats yesOrNo: Bool) |
To | init(timeInterval ti: TimeInterval, target aTarget: Any, selector aSelector: Selector, userInfo userInfo: Any?, repeats yesOrNo: Bool) |
---|
| Name | Declaration |
From | valid | var valid: Bool { get } |
To | isValid | var isValid: Bool { get } |
---|
| Name | Declaration |
From | scheduledTimerWithTimeInterval(_:invocation:repeats:) | class func scheduledTimerWithTimeInterval(_ ti: NSTimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) -> NSTimer |
To | scheduledTimer(timeInterval:invocation:repeats:) | class func scheduledTimer(timeInterval ti: TimeInterval, invocation invocation: NSInvocation, repeats yesOrNo: Bool) -> Timer |
---|
| Name | Declaration |
From | scheduledTimerWithTimeInterval(_:target:selector:userInfo:repeats:) | class func scheduledTimerWithTimeInterval(_ ti: NSTimeInterval, target aTarget: AnyObject, selector aSelector: Selector, userInfo userInfo: AnyObject?, repeats yesOrNo: Bool) -> NSTimer |
To | scheduledTimer(timeInterval:target:selector:userInfo:repeats:) | class func scheduledTimer(timeInterval ti: TimeInterval, target aTarget: Any, selector aSelector: Selector, userInfo userInfo: Any?, repeats yesOrNo: Bool) -> Timer |
---|
| Declaration |
From | var timeInterval: NSTimeInterval { get } |
To | var timeInterval: TimeInterval { get } |
---|
| Declaration |
From | var tolerance: NSTimeInterval |
To | var tolerance: TimeInterval |
---|
| Declaration |
From | var userInfo: AnyObject? { get } |
To | var userInfo: Any? { get } |
---|
| Declaration | Protocols |
From | class NSUndoManager : NSObject {
func beginUndoGrouping()
func endUndoGrouping()
var groupingLevel: Int { get }
func disableUndoRegistration()
func enableUndoRegistration()
var undoRegistrationEnabled: Bool { get }
var groupsByEvent: Bool
var levelsOfUndo: Int
var runLoopModes: [String]
func undo()
func redo()
func undoNestedGroup()
var canUndo: Bool { get }
var canRedo: Bool { get }
var undoing: Bool { get }
var redoing: Bool { get }
func removeAllActions()
func removeAllActionsWithTarget(_ target: AnyObject)
func registerUndoWithTarget(_ target: AnyObject, selector selector: Selector, object anObject: AnyObject?)
func prepareWithInvocationTarget(_ target: AnyObject) -> AnyObject
func __registerUndoWithTarget(_ target: AnyObject, handler undoHandler: (AnyObject) -> Void)
func setActionIsDiscardable(_ discardable: Bool)
var undoActionIsDiscardable: Bool { get }
var redoActionIsDiscardable: Bool { get }
var undoActionName: String { get }
var redoActionName: String { get }
func setActionName(_ actionName: String)
var undoMenuItemTitle: String { get }
var redoMenuItemTitle: String { get }
func undoMenuTitleForUndoActionName(_ actionName: String) -> String
func redoMenuTitleForUndoActionName(_ actionName: String) -> String
}
extension NSUndoManager {
func registerUndoWithTarget<TargetType : AnyObject>(_ target: TargetType, handler handler: (TargetType) -> Void)
}
extension NSUndoManager {
func registerUndoWithTarget<TargetType : AnyObject>(_ target: TargetType, handler handler: (TargetType) -> Void)
} | -- |
To | class UndoManager : NSObject {
func beginUndoGrouping()
func endUndoGrouping()
var groupingLevel: Int { get }
func disableUndoRegistration()
func enableUndoRegistration()
var isUndoRegistrationEnabled: Bool { get }
var groupsByEvent: Bool
var levelsOfUndo: Int
var runLoopModes: [RunLoopMode]
func undo()
func redo()
func undoNestedGroup()
var canUndo: Bool { get }
var canRedo: Bool { get }
var isUndoing: Bool { get }
var isRedoing: Bool { get }
func removeAllActions()
func removeAllActions(withTarget target: Any)
func registerUndo(withTarget target: Any, selector selector: Selector, object anObject: Any?)
func prepare(withInvocationTarget target: Any) -> Any
func __registerUndoWithTarget(_ target: Any, handler undoHandler: @escaping (Any) -> Swift.Void)
func setActionIsDiscardable(_ discardable: Bool)
var undoActionIsDiscardable: Bool { get }
var redoActionIsDiscardable: Bool { get }
var undoActionName: String { get }
var redoActionName: String { get }
func setActionName(_ actionName: String)
var undoMenuItemTitle: String { get }
var redoMenuItemTitle: String { get }
func undoMenuTitle(forUndoActionName actionName: String) -> String
func redoMenuTitle(forUndoActionName actionName: String) -> String
func registerUndoWithTarget<TargetType : AnyObject>(_ target: TargetType, handler handler: (TargetType) -> Swift.Void)
func registerUndo<TargetType : AnyObject>(withTarget target: TargetType, handler handler: @escaping (TargetType) -> 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 UndoManager : CVarArg {
}
extension UndoManager : Equatable, Hashable {
var hashValue: Int { get }
}
extension UndoManager {
func registerUndoWithTarget<TargetType : AnyObject>(_ target: TargetType, handler handler: (TargetType) -> Swift.Void)
func registerUndo<TargetType : AnyObject>(withTarget target: TargetType, handler handler: @escaping (TargetType) -> Swift.Void)
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | redoing | var redoing: Bool { get } |
To | isRedoing | var isRedoing: Bool { get } |
---|
| Name | Declaration |
From | undoing | var undoing: Bool { get } |
To | isUndoing | var isUndoing: Bool { get } |
---|
| Name | Declaration |
From | undoRegistrationEnabled | var undoRegistrationEnabled: Bool { get } |
To | isUndoRegistrationEnabled | var isUndoRegistrationEnabled: Bool { get } |
---|
| Name | Declaration |
From | prepareWithInvocationTarget(_:) | func prepareWithInvocationTarget(_ target: AnyObject) -> AnyObject |
To | prepare(withInvocationTarget:) | func prepare(withInvocationTarget target: Any) -> Any |
---|
| Name | Declaration |
From | redoMenuTitleForUndoActionName(_:) | func redoMenuTitleForUndoActionName(_ actionName: String) -> String |
To | redoMenuTitle(forUndoActionName:) | func redoMenuTitle(forUndoActionName actionName: String) -> String |
---|
| Name | Declaration |
From | registerUndoWithTarget(_:selector:object:) | func registerUndoWithTarget(_ target: AnyObject, selector selector: Selector, object anObject: AnyObject?) |
To | registerUndo(withTarget:selector:object:) | func registerUndo(withTarget target: Any, selector selector: Selector, object anObject: Any?) |
---|
| Name | Declaration |
From | removeAllActionsWithTarget(_:) | func removeAllActionsWithTarget(_ target: AnyObject) |
To | removeAllActions(withTarget:) | func removeAllActions(withTarget target: Any) |
---|
| Declaration |
From | var runLoopModes: [String] |
To | var runLoopModes: [RunLoopMode] |
---|
| Name | Declaration |
From | undoMenuTitleForUndoActionName(_:) | func undoMenuTitleForUndoActionName(_ actionName: String) -> String |
To | undoMenuTitle(forUndoActionName:) | func undoMenuTitle(forUndoActionName actionName: String) -> String |
---|
| Declaration | Protocols |
From | class NSURLAuthenticationChallenge : NSObject, NSSecureCoding {
init(protectionSpace space: NSURLProtectionSpace, proposedCredential credential: NSURLCredential?, previousFailureCount previousFailureCount: Int, failureResponse response: NSURLResponse?, error error: NSError?, sender sender: NSURLAuthenticationChallengeSender)
init(authenticationChallenge challenge: NSURLAuthenticationChallenge, sender sender: NSURLAuthenticationChallengeSender)
@NSCopying var protectionSpace: NSURLProtectionSpace { get }
@NSCopying var proposedCredential: NSURLCredential? { get }
var previousFailureCount: Int { get }
@NSCopying var failureResponse: NSURLResponse? { get }
@NSCopying var error: NSError? { get }
var sender: NSURLAuthenticationChallengeSender? { get }
} | NSSecureCoding |
To | class URLAuthenticationChallenge : NSObject, NSSecureCoding {
init(protectionSpace space: URLProtectionSpace, proposedCredential credential: URLCredential?, previousFailureCount previousFailureCount: Int, failureResponse response: URLResponse?, error error: Error?, sender sender: URLAuthenticationChallengeSender)
init(authenticationChallenge challenge: URLAuthenticationChallenge, sender sender: URLAuthenticationChallengeSender)
@NSCopying var protectionSpace: URLProtectionSpace { get }
@NSCopying var proposedCredential: URLCredential? { get }
var previousFailureCount: Int { get }
@NSCopying var failureResponse: URLResponse? { get }
var error: Error? { get }
var sender: URLAuthenticationChallengeSender? { 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 URLAuthenticationChallenge : CVarArg {
}
extension URLAuthenticationChallenge : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSSecureCoding |
---|
| Declaration |
From | @NSCopying var error: NSError? { get } |
To | var error: Error? { get } |
---|
| Declaration |
From | @NSCopying var failureResponse: NSURLResponse? { get } |
To | @NSCopying var failureResponse: URLResponse? { get } |
---|
| Declaration |
From | init(authenticationChallenge challenge: NSURLAuthenticationChallenge, sender sender: NSURLAuthenticationChallengeSender) |
To | init(authenticationChallenge challenge: URLAuthenticationChallenge, sender sender: URLAuthenticationChallengeSender) |
---|
| Declaration |
From | init(protectionSpace space: NSURLProtectionSpace, proposedCredential credential: NSURLCredential?, previousFailureCount previousFailureCount: Int, failureResponse response: NSURLResponse?, error error: NSError?, sender sender: NSURLAuthenticationChallengeSender) |
To | init(protectionSpace space: URLProtectionSpace, proposedCredential credential: URLCredential?, previousFailureCount previousFailureCount: Int, failureResponse response: URLResponse?, error error: Error?, sender sender: URLAuthenticationChallengeSender) |
---|
| Declaration |
From | @NSCopying var proposedCredential: NSURLCredential? { get } |
To | @NSCopying var proposedCredential: URLCredential? { get } |
---|
| Declaration |
From | @NSCopying var protectionSpace: NSURLProtectionSpace { get } |
To | @NSCopying var protectionSpace: URLProtectionSpace { get } |
---|
| Declaration |
From | var sender: NSURLAuthenticationChallengeSender? { get } |
To | var sender: URLAuthenticationChallengeSender? { get } |
---|
| Declaration |
From | protocol NSURLAuthenticationChallengeSender : NSObjectProtocol {
func useCredential(_ credential: NSURLCredential, forAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
func continueWithoutCredentialForAuthenticationChallenge(_ challenge: NSURLAuthenticationChallenge)
func cancelAuthenticationChallenge(_ challenge: NSURLAuthenticationChallenge)
optional func performDefaultHandlingForAuthenticationChallenge(_ challenge: NSURLAuthenticationChallenge)
optional func rejectProtectionSpaceAndContinueWithChallenge(_ challenge: NSURLAuthenticationChallenge)
} |
To | protocol URLAuthenticationChallengeSender : NSObjectProtocol {
func use(_ credential: URLCredential, for challenge: URLAuthenticationChallenge)
func continueWithoutCredential(for challenge: URLAuthenticationChallenge)
func cancel(_ challenge: URLAuthenticationChallenge)
optional func performDefaultHandling(for challenge: URLAuthenticationChallenge)
optional func rejectProtectionSpaceAndContinue(with challenge: URLAuthenticationChallenge)
} |
---|
| Name | Declaration |
From | cancelAuthenticationChallenge(_:) | func cancelAuthenticationChallenge(_ challenge: NSURLAuthenticationChallenge) |
To | cancel(_:) | func cancel(_ challenge: URLAuthenticationChallenge) |
---|
| Name | Declaration |
From | continueWithoutCredentialForAuthenticationChallenge(_:) | func continueWithoutCredentialForAuthenticationChallenge(_ challenge: NSURLAuthenticationChallenge) |
To | continueWithoutCredential(for:) | func continueWithoutCredential(for challenge: URLAuthenticationChallenge) |
---|
| Name | Declaration |
From | performDefaultHandlingForAuthenticationChallenge(_:) | optional func performDefaultHandlingForAuthenticationChallenge(_ challenge: NSURLAuthenticationChallenge) |
To | performDefaultHandling(for:) | optional func performDefaultHandling(for challenge: URLAuthenticationChallenge) |
---|
| Name | Declaration |
From | rejectProtectionSpaceAndContinueWithChallenge(_:) | optional func rejectProtectionSpaceAndContinueWithChallenge(_ challenge: NSURLAuthenticationChallenge) |
To | rejectProtectionSpaceAndContinue(with:) | optional func rejectProtectionSpaceAndContinue(with challenge: URLAuthenticationChallenge) |
---|
| Name | Declaration |
From | useCredential(_:forAuthenticationChallenge:) | func useCredential(_ credential: NSURLCredential, forAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | use(_:for:) | func use(_ credential: URLCredential, for challenge: URLAuthenticationChallenge) |
---|
| Declaration | Protocols |
From | class NSURLCache : NSObject {
class func sharedURLCache() -> NSURLCache
class func setSharedURLCache(_ cache: NSURLCache)
init(memoryCapacity memoryCapacity: Int, diskCapacity diskCapacity: Int, diskPath path: String?)
func cachedResponseForRequest(_ request: NSURLRequest) -> NSCachedURLResponse?
func storeCachedResponse(_ cachedResponse: NSCachedURLResponse, forRequest request: NSURLRequest)
func removeCachedResponseForRequest(_ request: NSURLRequest)
func removeAllCachedResponses()
func removeCachedResponsesSinceDate(_ date: NSDate)
var memoryCapacity: Int
var diskCapacity: Int
var currentMemoryUsage: Int { get }
var currentDiskUsage: Int { get }
}
extension NSURLCache {
func storeCachedResponse(_ cachedResponse: NSCachedURLResponse, forDataTask dataTask: NSURLSessionDataTask)
func getCachedResponseForDataTask(_ dataTask: NSURLSessionDataTask, completionHandler completionHandler: (NSCachedURLResponse?) -> Void)
func removeCachedResponseForDataTask(_ dataTask: NSURLSessionDataTask)
} | -- |
To | class URLCache : NSObject {
class var shared: URLCache
init(memoryCapacity memoryCapacity: Int, diskCapacity diskCapacity: Int, diskPath path: String?)
func cachedResponse(for request: URLRequest) -> CachedURLResponse?
func storeCachedResponse(_ cachedResponse: CachedURLResponse, for request: URLRequest)
func removeCachedResponse(for request: URLRequest)
func removeAllCachedResponses()
func removeCachedResponses(since date: Date)
var memoryCapacity: Int
var diskCapacity: Int
var currentMemoryUsage: Int { get }
var currentDiskUsage: Int { get }
func storeCachedResponse(_ cachedResponse: CachedURLResponse, for dataTask: URLSessionDataTask)
func getCachedResponse(for dataTask: URLSessionDataTask, completionHandler completionHandler: @escaping (CachedURLResponse?) -> Swift.Void)
func removeCachedResponse(for dataTask: URLSessionDataTask)
enum StoragePolicy : UInt {
case allowed
case allowedInMemoryOnly
case notAllowed
}
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 URLCache {
enum StoragePolicy : UInt {
case allowed
case allowedInMemoryOnly
case notAllowed
}
}
extension URLCache : CVarArg {
}
extension URLCache : Equatable, Hashable {
var hashValue: Int { get }
}
extension URLCache {
func storeCachedResponse(_ cachedResponse: CachedURLResponse, for dataTask: URLSessionDataTask)
func getCachedResponse(for dataTask: URLSessionDataTask, completionHandler completionHandler: @escaping (CachedURLResponse?) -> Swift.Void)
func removeCachedResponse(for dataTask: URLSessionDataTask)
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | cachedResponseForRequest(_:) | func cachedResponseForRequest(_ request: NSURLRequest) -> NSCachedURLResponse? |
To | cachedResponse(for:) | func cachedResponse(for request: URLRequest) -> CachedURLResponse? |
---|
| Name | Declaration |
From | getCachedResponseForDataTask(_:completionHandler:) | func getCachedResponseForDataTask(_ dataTask: NSURLSessionDataTask, completionHandler completionHandler: (NSCachedURLResponse?) -> Void) |
To | getCachedResponse(for:completionHandler:) | func getCachedResponse(for dataTask: URLSessionDataTask, completionHandler completionHandler: @escaping (CachedURLResponse?) -> Swift.Void) |
---|
| Name | Declaration |
From | removeCachedResponseForDataTask(_:) | func removeCachedResponseForDataTask(_ dataTask: NSURLSessionDataTask) |
To | removeCachedResponse(for:) | func removeCachedResponse(for dataTask: URLSessionDataTask) |
---|
| Name | Declaration |
From | removeCachedResponseForRequest(_:) | func removeCachedResponseForRequest(_ request: NSURLRequest) |
To | removeCachedResponse(for:) | func removeCachedResponse(for request: URLRequest) |
---|
| Name | Declaration |
From | removeCachedResponsesSinceDate(_:) | func removeCachedResponsesSinceDate(_ date: NSDate) |
To | removeCachedResponses(since:) | func removeCachedResponses(since date: Date) |
---|
| Name | Declaration |
From | storeCachedResponse(_:forDataTask:) | func storeCachedResponse(_ cachedResponse: NSCachedURLResponse, forDataTask dataTask: NSURLSessionDataTask) |
To | storeCachedResponse(_:for:) | func storeCachedResponse(_ cachedResponse: CachedURLResponse, for dataTask: URLSessionDataTask) |
---|
| Name | Declaration |
From | storeCachedResponse(_:forRequest:) | func storeCachedResponse(_ cachedResponse: NSCachedURLResponse, forRequest request: NSURLRequest) |
To | storeCachedResponse(_:for:) | func storeCachedResponse(_ cachedResponse: CachedURLResponse, for request: URLRequest) |
---|
| Declaration |
From | enum NSURLCacheStoragePolicy : UInt {
case Allowed
case AllowedInMemoryOnly
case NotAllowed
} |
To | enum StoragePolicy : UInt {
case allowed
case allowedInMemoryOnly
case notAllowed
} |
---|
| Name | Declaration |
From | Allowed | case Allowed |
To | allowed | case allowed |
---|
| Name | Declaration |
From | AllowedInMemoryOnly | case AllowedInMemoryOnly |
To | allowedInMemoryOnly | case allowedInMemoryOnly |
---|
| Name | Declaration |
From | NotAllowed | case NotAllowed |
To | notAllowed | case notAllowed |
---|
| Declaration | Protocols |
From | class NSURLCredential : NSObject, NSSecureCoding, NSCopying {
var persistence: NSURLCredentialPersistence { get }
}
extension NSURLCredential {
init(user user: String, password password: String, persistence persistence: NSURLCredentialPersistence)
class func credentialWithUser(_ user: String, password password: String, persistence persistence: NSURLCredentialPersistence) -> NSURLCredential
var user: String? { get }
var password: String? { get }
var hasPassword: Bool { get }
}
extension NSURLCredential {
init(identity identity: SecIdentity, certificates certArray: [AnyObject]?, persistence persistence: NSURLCredentialPersistence)
class func credentialWithIdentity(_ identity: SecIdentity, certificates certArray: [AnyObject]?, persistence persistence: NSURLCredentialPersistence) -> NSURLCredential
var identity: SecIdentity? { get }
var certificates: [AnyObject] { get }
}
extension NSURLCredential {
init(trust trust: SecTrust)
init(forTrust trust: SecTrust)
class func credentialForTrust(_ trust: SecTrust) -> NSURLCredential
} | NSCopying, NSSecureCoding |
To | class URLCredential : NSObject, NSSecureCoding, NSCopying {
var persistence: URLCredential.Persistence { get }
init(trust trust: SecTrust)
class func forTrust(_ trust: SecTrust) -> URLCredential
init(identity identity: SecIdentity, certificates certArray: [Any]?, persistence persistence: URLCredential.Persistence)
class func withIdentity(_ identity: SecIdentity, certificates certArray: [Any]?, persistence persistence: URLCredential.Persistence) -> URLCredential
var identity: SecIdentity? { get }
var certificates: [Any] { get }
init(user user: String, password password: String, persistence persistence: URLCredential.Persistence)
class func withUser(_ user: String, password password: String, persistence persistence: URLCredential.Persistence) -> URLCredential
var user: String? { get }
var password: String? { get }
var hasPassword: Bool { get }
enum Persistence : UInt {
case none
case forSession
case permanent
case synchronizable
}
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 URLCredential {
enum Persistence : UInt {
case none
case forSession
case permanent
case synchronizable
}
}
extension URLCredential : CVarArg {
}
extension URLCredential : Equatable, Hashable {
var hashValue: Int { get }
}
extension URLCredential {
init(user user: String, password password: String, persistence persistence: URLCredential.Persistence)
class func withUser(_ user: String, password password: String, persistence persistence: URLCredential.Persistence) -> URLCredential
var user: String? { get }
var password: String? { get }
var hasPassword: Bool { get }
}
extension URLCredential {
init(identity identity: SecIdentity, certificates certArray: [Any]?, persistence persistence: URLCredential.Persistence)
class func withIdentity(_ identity: SecIdentity, certificates certArray: [Any]?, persistence persistence: URLCredential.Persistence) -> URLCredential
var identity: SecIdentity? { get }
var certificates: [Any] { get }
}
extension URLCredential {
init(trust trust: SecTrust)
class func forTrust(_ trust: SecTrust) -> URLCredential
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var certificates: [AnyObject] { get } |
To | var certificates: [Any] { get } |
---|
| Declaration |
From | init(identity identity: SecIdentity, certificates certArray: [AnyObject]?, persistence persistence: NSURLCredentialPersistence) |
To | init(identity identity: SecIdentity, certificates certArray: [Any]?, persistence persistence: URLCredential.Persistence) |
---|
| Declaration |
From | init(user user: String, password password: String, persistence persistence: NSURLCredentialPersistence) |
To | init(user user: String, password password: String, persistence persistence: URLCredential.Persistence) |
---|
| Declaration |
From | var persistence: NSURLCredentialPersistence { get } |
To | var persistence: URLCredential.Persistence { get } |
---|
| Declaration |
From | enum NSURLCredentialPersistence : UInt {
case None
case ForSession
case Permanent
case Synchronizable
} |
To | enum Persistence : UInt {
case none
case forSession
case permanent
case synchronizable
} |
---|
| Name | Declaration |
From | ForSession | case ForSession |
To | forSession | case forSession |
---|
| Name | Declaration |
From | None | case None |
To | none | case none |
---|
| Name | Declaration |
From | Permanent | case Permanent |
To | permanent | case permanent |
---|
| Name | Declaration |
From | Synchronizable | case Synchronizable |
To | synchronizable | case synchronizable |
---|
| Declaration | Protocols |
From | class NSURLCredentialStorage : NSObject {
class func sharedCredentialStorage() -> NSURLCredentialStorage
func credentialsForProtectionSpace(_ space: NSURLProtectionSpace) -> [String : NSURLCredential]?
var allCredentials: [NSURLProtectionSpace : [String : NSURLCredential]] { get }
func setCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace)
func removeCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace)
func removeCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace, options options: [String : AnyObject]?)
func defaultCredentialForProtectionSpace(_ space: NSURLProtectionSpace) -> NSURLCredential?
func setDefaultCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace)
}
extension NSURLCredentialStorage {
func getCredentialsForProtectionSpace(_ protectionSpace: NSURLProtectionSpace, task task: NSURLSessionTask, completionHandler completionHandler: ([String : NSURLCredential]?) -> Void)
func setCredential(_ credential: NSURLCredential, forProtectionSpace protectionSpace: NSURLProtectionSpace, task task: NSURLSessionTask)
func removeCredential(_ credential: NSURLCredential, forProtectionSpace protectionSpace: NSURLProtectionSpace, options options: [String : AnyObject]?, task task: NSURLSessionTask)
func getDefaultCredentialForProtectionSpace(_ space: NSURLProtectionSpace, task task: NSURLSessionTask, completionHandler completionHandler: (NSURLCredential?) -> Void)
func setDefaultCredential(_ credential: NSURLCredential, forProtectionSpace protectionSpace: NSURLProtectionSpace, task task: NSURLSessionTask)
} | -- |
To | class URLCredentialStorage : NSObject {
class var shared: URLCredentialStorage { get }
func credentials(for space: URLProtectionSpace) -> [String : URLCredential]?
var allCredentials: [URLProtectionSpace : [String : URLCredential]] { get }
func set(_ credential: URLCredential, for space: URLProtectionSpace)
func remove(_ credential: URLCredential, for space: URLProtectionSpace)
func remove(_ credential: URLCredential, for space: URLProtectionSpace, options options: [String : Any]? = nil)
func defaultCredential(for space: URLProtectionSpace) -> URLCredential?
func setDefaultCredential(_ credential: URLCredential, for space: URLProtectionSpace)
func getCredentials(for protectionSpace: URLProtectionSpace, task task: URLSessionTask, completionHandler completionHandler: @escaping ([String : URLCredential]?) -> Swift.Void)
func set(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, task task: URLSessionTask)
func remove(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, options options: [String : Any]? = nil, task task: URLSessionTask)
func getDefaultCredential(for space: URLProtectionSpace, task task: URLSessionTask, completionHandler completionHandler: @escaping (URLCredential?) -> Swift.Void)
func setDefaultCredential(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, task task: URLSessionTask)
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 URLCredentialStorage : CVarArg {
}
extension URLCredentialStorage : Equatable, Hashable {
var hashValue: Int { get }
}
extension URLCredentialStorage {
func getCredentials(for protectionSpace: URLProtectionSpace, task task: URLSessionTask, completionHandler completionHandler: @escaping ([String : URLCredential]?) -> Swift.Void)
func set(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, task task: URLSessionTask)
func remove(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, options options: [String : Any]? = nil, task task: URLSessionTask)
func getDefaultCredential(for space: URLProtectionSpace, task task: URLSessionTask, completionHandler completionHandler: @escaping (URLCredential?) -> Swift.Void)
func setDefaultCredential(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, task task: URLSessionTask)
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var allCredentials: [NSURLProtectionSpace : [String : NSURLCredential]] { get } |
To | var allCredentials: [URLProtectionSpace : [String : URLCredential]] { get } |
---|
| Name | Declaration |
From | credentialsForProtectionSpace(_:) | func credentialsForProtectionSpace(_ space: NSURLProtectionSpace) -> [String : NSURLCredential]? |
To | credentials(for:) | func credentials(for space: URLProtectionSpace) -> [String : URLCredential]? |
---|
| Name | Declaration |
From | defaultCredentialForProtectionSpace(_:) | func defaultCredentialForProtectionSpace(_ space: NSURLProtectionSpace) -> NSURLCredential? |
To | defaultCredential(for:) | func defaultCredential(for space: URLProtectionSpace) -> URLCredential? |
---|
| Name | Declaration |
From | getCredentialsForProtectionSpace(_:task:completionHandler:) | func getCredentialsForProtectionSpace(_ protectionSpace: NSURLProtectionSpace, task task: NSURLSessionTask, completionHandler completionHandler: ([String : NSURLCredential]?) -> Void) |
To | getCredentials(for:task:completionHandler:) | func getCredentials(for protectionSpace: URLProtectionSpace, task task: URLSessionTask, completionHandler completionHandler: @escaping ([String : URLCredential]?) -> Swift.Void) |
---|
| Name | Declaration |
From | getDefaultCredentialForProtectionSpace(_:task:completionHandler:) | func getDefaultCredentialForProtectionSpace(_ space: NSURLProtectionSpace, task task: NSURLSessionTask, completionHandler completionHandler: (NSURLCredential?) -> Void) |
To | getDefaultCredential(for:task:completionHandler:) | func getDefaultCredential(for space: URLProtectionSpace, task task: URLSessionTask, completionHandler completionHandler: @escaping (URLCredential?) -> Swift.Void) |
---|
| Name | Declaration |
From | removeCredential(_:forProtectionSpace:) | func removeCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace) |
To | remove(_:for:) | func remove(_ credential: URLCredential, for space: URLProtectionSpace) |
---|
| Name | Declaration |
From | removeCredential(_:forProtectionSpace:options:) | func removeCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace, options options: [String : AnyObject]?) |
To | remove(_:for:options:) | func remove(_ credential: URLCredential, for space: URLProtectionSpace, options options: [String : Any]? = nil) |
---|
| Name | Declaration |
From | removeCredential(_:forProtectionSpace:options:task:) | func removeCredential(_ credential: NSURLCredential, forProtectionSpace protectionSpace: NSURLProtectionSpace, options options: [String : AnyObject]?, task task: NSURLSessionTask) |
To | remove(_:for:options:task:) | func remove(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, options options: [String : Any]? = nil, task task: URLSessionTask) |
---|
| Name | Declaration |
From | setCredential(_:forProtectionSpace:) | func setCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace) |
To | set(_:for:) | func set(_ credential: URLCredential, for space: URLProtectionSpace) |
---|
| Name | Declaration |
From | setCredential(_:forProtectionSpace:task:) | func setCredential(_ credential: NSURLCredential, forProtectionSpace protectionSpace: NSURLProtectionSpace, task task: NSURLSessionTask) |
To | set(_:for:task:) | func set(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, task task: URLSessionTask) |
---|
| Name | Declaration |
From | setDefaultCredential(_:forProtectionSpace:) | func setDefaultCredential(_ credential: NSURLCredential, forProtectionSpace space: NSURLProtectionSpace) |
To | setDefaultCredential(_:for:) | func setDefaultCredential(_ credential: URLCredential, for space: URLProtectionSpace) |
---|
| Name | Declaration |
From | setDefaultCredential(_:forProtectionSpace:task:) | func setDefaultCredential(_ credential: NSURLCredential, forProtectionSpace protectionSpace: NSURLProtectionSpace, task task: NSURLSessionTask) |
To | setDefaultCredential(_:for:task:) | func setDefaultCredential(_ credential: URLCredential, for protectionSpace: URLProtectionSpace, task task: URLSessionTask) |
---|
| Name | Declaration |
From | NSURLFileResourceTypeBlockSpecial | let NSURLFileResourceTypeBlockSpecial: String |
To | blockSpecial | static let blockSpecial: URLFileResourceType |
---|
| Name | Declaration |
From | NSURLFileResourceTypeCharacterSpecial | let NSURLFileResourceTypeCharacterSpecial: String |
To | characterSpecial | static let characterSpecial: URLFileResourceType |
---|
| Name | Declaration |
From | NSURLFileResourceTypeDirectory | let NSURLFileResourceTypeDirectory: String |
To | directory | static let directory: URLFileResourceType |
---|
| Name | Declaration |
From | NSURLFileResourceTypeNamedPipe | let NSURLFileResourceTypeNamedPipe: String |
To | namedPipe | static let namedPipe: URLFileResourceType |
---|
| Name | Declaration |
From | NSURLFileResourceTypeRegular | let NSURLFileResourceTypeRegular: String |
To | regular | static let regular: URLFileResourceType |
---|
| Name | Declaration |
From | NSURLFileResourceTypeSocket | let NSURLFileResourceTypeSocket: String |
To | socket | static let socket: URLFileResourceType |
---|
| Name | Declaration |
From | NSURLFileResourceTypeSymbolicLink | let NSURLFileResourceTypeSymbolicLink: String |
To | symbolicLink | static let symbolicLink: URLFileResourceType |
---|
| Name | Declaration |
From | NSURLFileResourceTypeUnknown | let NSURLFileResourceTypeUnknown: String |
To | unknown | static let unknown: URLFileResourceType |
---|
| Declaration | Protocols |
From | class NSURLProtectionSpace : NSObject, NSSecureCoding, NSCopying {
init(host host: String, port port: Int, protocol protocol: String?, realm realm: String?, authenticationMethod authenticationMethod: String?)
init(proxyHost host: String, port port: Int, type type: String?, realm realm: String?, authenticationMethod authenticationMethod: String?)
var realm: String? { get }
var receivesCredentialSecurely: Bool { get }
var host: String { get }
var port: Int { get }
var proxyType: String? { get }
var `protocol`: String? { get }
var authenticationMethod: String { get }
func isProxy() -> Bool
}
extension NSURLProtectionSpace {
var distinguishedNames: [NSData]? { get }
}
extension NSURLProtectionSpace {
var serverTrust: SecTrust? { get }
} | NSCopying, NSSecureCoding |
To | class URLProtectionSpace : NSObject, NSSecureCoding, NSCopying {
init(host host: String, port port: Int, protocol protocol: String?, realm realm: String?, authenticationMethod authenticationMethod: String?)
init(proxyHost host: String, port port: Int, type type: String?, realm realm: String?, authenticationMethod authenticationMethod: String?)
var realm: String? { get }
var receivesCredentialSecurely: Bool { get }
var host: String { get }
var port: Int { get }
var proxyType: String? { get }
var `protocol`: String? { get }
var authenticationMethod: String { get }
func isProxy() -> Bool
var serverTrust: SecTrust? { get }
var distinguishedNames: [Data]? { 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 URLProtectionSpace : CVarArg {
}
extension URLProtectionSpace : Equatable, Hashable {
var hashValue: Int { get }
}
extension URLProtectionSpace {
var distinguishedNames: [Data]? { get }
}
extension URLProtectionSpace {
var serverTrust: SecTrust? { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Declaration |
From | var distinguishedNames: [NSData]? { get } |
To | var distinguishedNames: [Data]? { get } |
---|
| Declaration | Protocols |
From | class NSURLProtocol : NSObject {
init(request request: NSURLRequest, cachedResponse cachedResponse: NSCachedURLResponse?, client client: NSURLProtocolClient?)
var client: NSURLProtocolClient? { get }
@NSCopying var request: NSURLRequest { get }
@NSCopying var cachedResponse: NSCachedURLResponse? { get }
class func canInitWithRequest(_ request: NSURLRequest) -> Bool
class func canonicalRequestForRequest(_ request: NSURLRequest) -> NSURLRequest
class func requestIsCacheEquivalent(_ a: NSURLRequest, toRequest b: NSURLRequest) -> Bool
func startLoading()
func stopLoading()
class func propertyForKey(_ key: String, inRequest request: NSURLRequest) -> AnyObject?
class func setProperty(_ value: AnyObject, forKey key: String, inRequest request: NSMutableURLRequest)
class func removePropertyForKey(_ key: String, inRequest request: NSMutableURLRequest)
class func registerClass(_ protocolClass: AnyClass) -> Bool
class func unregisterClass(_ protocolClass: AnyClass)
}
extension NSURLProtocol {
class func canInitWithTask(_ task: NSURLSessionTask) -> Bool
convenience init(task task: NSURLSessionTask, cachedResponse cachedResponse: NSCachedURLResponse?, client client: NSURLProtocolClient?)
@NSCopying var task: NSURLSessionTask? { get }
} | -- |
To | class URLProtocol : NSObject {
init(request request: URLRequest, cachedResponse cachedResponse: CachedURLResponse?, client client: URLProtocolClient?)
var client: URLProtocolClient? { get }
var request: URLRequest { get }
@NSCopying var cachedResponse: CachedURLResponse? { get }
class func canInit(with request: URLRequest) -> Bool
class func canonicalRequest(for request: URLRequest) -> URLRequest
class func requestIsCacheEquivalent(_ a: URLRequest, to b: URLRequest) -> Bool
func startLoading()
func stopLoading()
class func property(forKey key: String, in request: URLRequest) -> Any?
class func setProperty(_ value: Any, forKey key: String, in request: NSMutableURLRequest)
class func removeProperty(forKey key: String, in request: NSMutableURLRequest)
class func registerClass(_ protocolClass: Swift.AnyClass) -> Bool
class func unregisterClass(_ protocolClass: Swift.AnyClass)
class func canInit(with task: URLSessionTask) -> Bool
convenience init(task task: URLSessionTask, cachedResponse cachedResponse: CachedURLResponse?, client client: URLProtocolClient?)
@NSCopying var task: URLSessionTask? { 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 URLProtocol : CVarArg {
}
extension URLProtocol : Equatable, Hashable {
var hashValue: Int { get }
}
extension URLProtocol {
class func canInit(with task: URLSessionTask) -> Bool
convenience init(task task: URLSessionTask, cachedResponse cachedResponse: CachedURLResponse?, client client: URLProtocolClient?)
@NSCopying var task: URLSessionTask? { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | @NSCopying var cachedResponse: NSCachedURLResponse? { get } |
To | @NSCopying var cachedResponse: CachedURLResponse? { get } |
---|
| Name | Declaration |
From | canInitWithRequest(_:) | class func canInitWithRequest(_ request: NSURLRequest) -> Bool |
To | canInit(with:) | class func canInit(with request: URLRequest) -> Bool |
---|
| Name | Declaration |
From | canInitWithTask(_:) | class func canInitWithTask(_ task: NSURLSessionTask) -> Bool |
To | canInit(with:) | class func canInit(with task: URLSessionTask) -> Bool |
---|
| Name | Declaration |
From | canonicalRequestForRequest(_:) | class func canonicalRequestForRequest(_ request: NSURLRequest) -> NSURLRequest |
To | canonicalRequest(for:) | class func canonicalRequest(for request: URLRequest) -> URLRequest |
---|
| Declaration |
From | var client: NSURLProtocolClient? { get } |
To | var client: URLProtocolClient? { get } |
---|
| Declaration |
From | init(request request: NSURLRequest, cachedResponse cachedResponse: NSCachedURLResponse?, client client: NSURLProtocolClient?) |
To | init(request request: URLRequest, cachedResponse cachedResponse: CachedURLResponse?, client client: URLProtocolClient?) |
---|
| Declaration |
From | convenience init(task task: NSURLSessionTask, cachedResponse cachedResponse: NSCachedURLResponse?, client client: NSURLProtocolClient?) |
To | convenience init(task task: URLSessionTask, cachedResponse cachedResponse: CachedURLResponse?, client client: URLProtocolClient?) |
---|
| Name | Declaration |
From | propertyForKey(_:inRequest:) | class func propertyForKey(_ key: String, inRequest request: NSURLRequest) -> AnyObject? |
To | property(forKey:in:) | class func property(forKey key: String, in request: URLRequest) -> Any? |
---|
| Declaration |
From | class func registerClass(_ protocolClass: AnyClass) -> Bool |
To | class func registerClass(_ protocolClass: Swift.AnyClass) -> Bool |
---|
| Name | Declaration |
From | removePropertyForKey(_:inRequest:) | class func removePropertyForKey(_ key: String, inRequest request: NSMutableURLRequest) |
To | removeProperty(forKey:in:) | class func removeProperty(forKey key: String, in request: NSMutableURLRequest) |
---|
| Declaration |
From | @NSCopying var request: NSURLRequest { get } |
To | var request: URLRequest { get } |
---|
| Name | Declaration |
From | requestIsCacheEquivalent(_:toRequest:) | class func requestIsCacheEquivalent(_ a: NSURLRequest, toRequest b: NSURLRequest) -> Bool |
To | requestIsCacheEquivalent(_:to:) | class func requestIsCacheEquivalent(_ a: URLRequest, to b: URLRequest) -> Bool |
---|
| Name | Declaration |
From | setProperty(_:forKey:inRequest:) | class func setProperty(_ value: AnyObject, forKey key: String, inRequest request: NSMutableURLRequest) |
To | setProperty(_:forKey:in:) | class func setProperty(_ value: Any, forKey key: String, in request: NSMutableURLRequest) |
---|
| Declaration |
From | @NSCopying var task: NSURLSessionTask? { get } |
To | @NSCopying var task: URLSessionTask? { get } |
---|
| Declaration |
From | class func unregisterClass(_ protocolClass: AnyClass) |
To | class func unregisterClass(_ protocolClass: Swift.AnyClass) |
---|
| Declaration |
From | protocol NSURLProtocolClient : NSObjectProtocol {
func URLProtocol(_ protocol: NSURLProtocol, wasRedirectedToRequest request: NSURLRequest, redirectResponse redirectResponse: NSURLResponse)
func URLProtocol(_ protocol: NSURLProtocol, cachedResponseIsValid cachedResponse: NSCachedURLResponse)
func URLProtocol(_ protocol: NSURLProtocol, didReceiveResponse response: NSURLResponse, cacheStoragePolicy policy: NSURLCacheStoragePolicy)
func URLProtocol(_ protocol: NSURLProtocol, didLoadData data: NSData)
func URLProtocolDidFinishLoading(_ protocol: NSURLProtocol)
func URLProtocol(_ protocol: NSURLProtocol, didFailWithError error: NSError)
func URLProtocol(_ protocol: NSURLProtocol, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
func URLProtocol(_ protocol: NSURLProtocol, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge)
} |
To | protocol URLProtocolClient : NSObjectProtocol {
func urlProtocol(_ protocol: URLProtocol, wasRedirectedTo request: URLRequest, redirectResponse redirectResponse: URLResponse)
func urlProtocol(_ protocol: URLProtocol, cachedResponseIsValid cachedResponse: CachedURLResponse)
func urlProtocol(_ protocol: URLProtocol, didReceive response: URLResponse, cacheStoragePolicy policy: URLCache.StoragePolicy)
func urlProtocol(_ protocol: URLProtocol, didLoad data: Data)
func urlProtocolDidFinishLoading(_ protocol: URLProtocol)
func urlProtocol(_ protocol: URLProtocol, didFailWithError error: Error)
func urlProtocol(_ protocol: URLProtocol, didReceive challenge: URLAuthenticationChallenge)
func urlProtocol(_ protocol: URLProtocol, didCancel challenge: URLAuthenticationChallenge)
} |
---|
| Name | Declaration |
From | URLProtocol(_:cachedResponseIsValid:) | func URLProtocol(_ protocol: NSURLProtocol, cachedResponseIsValid cachedResponse: NSCachedURLResponse) |
To | urlProtocol(_:cachedResponseIsValid:) | func urlProtocol(_ protocol: URLProtocol, cachedResponseIsValid cachedResponse: CachedURLResponse) |
---|
| Name | Declaration |
From | URLProtocol(_:didCancelAuthenticationChallenge:) | func URLProtocol(_ protocol: NSURLProtocol, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | urlProtocol(_:didCancel:) | func urlProtocol(_ protocol: URLProtocol, didCancel challenge: URLAuthenticationChallenge) |
---|
| Name | Declaration |
From | URLProtocol(_:didFailWithError:) | func URLProtocol(_ protocol: NSURLProtocol, didFailWithError error: NSError) |
To | urlProtocol(_:didFailWithError:) | func urlProtocol(_ protocol: URLProtocol, didFailWithError error: Error) |
---|
| Name | Declaration |
From | URLProtocol(_:didLoadData:) | func URLProtocol(_ protocol: NSURLProtocol, didLoadData data: NSData) |
To | urlProtocol(_:didLoad:) | func urlProtocol(_ protocol: URLProtocol, didLoad data: Data) |
---|
| Name | Declaration |
From | URLProtocol(_:didReceiveAuthenticationChallenge:) | func URLProtocol(_ protocol: NSURLProtocol, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge) |
To | urlProtocol(_:didReceive:) | func urlProtocol(_ protocol: URLProtocol, didReceive challenge: URLAuthenticationChallenge) |
---|
| Name | Declaration |
From | URLProtocol(_:didReceiveResponse:cacheStoragePolicy:) | func URLProtocol(_ protocol: NSURLProtocol, didReceiveResponse response: NSURLResponse, cacheStoragePolicy policy: NSURLCacheStoragePolicy) |
To | urlProtocol(_:didReceive:cacheStoragePolicy:) | func urlProtocol(_ protocol: URLProtocol, didReceive response: URLResponse, cacheStoragePolicy policy: URLCache.StoragePolicy) |
---|
| Name | Declaration |
From | URLProtocol(_:wasRedirectedToRequest:redirectResponse:) | func URLProtocol(_ protocol: NSURLProtocol, wasRedirectedToRequest request: NSURLRequest, redirectResponse redirectResponse: NSURLResponse) |
To | urlProtocol(_:wasRedirectedTo:redirectResponse:) | func urlProtocol(_ protocol: URLProtocol, wasRedirectedTo request: URLRequest, redirectResponse redirectResponse: URLResponse) |
---|
| Name | Declaration |
From | URLProtocolDidFinishLoading(_:) | func URLProtocolDidFinishLoading(_ protocol: NSURLProtocol) |
To | urlProtocolDidFinishLoading(_:) | func urlProtocolDidFinishLoading(_ protocol: URLProtocol) |
---|
| Name | Declaration |
From | NSURLAddedToDirectoryDateKey | let NSURLAddedToDirectoryDateKey: String |
To | addedToDirectoryDateKey | static let addedToDirectoryDateKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLApplicationIsScriptableKey | let NSURLApplicationIsScriptableKey: String |
To | applicationIsScriptableKey | static let applicationIsScriptableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLAttributeModificationDateKey | let NSURLAttributeModificationDateKey: String |
To | attributeModificationDateKey | static let attributeModificationDateKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLContentAccessDateKey | let NSURLContentAccessDateKey: String |
To | contentAccessDateKey | static let contentAccessDateKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLContentModificationDateKey | let NSURLContentModificationDateKey: String |
To | contentModificationDateKey | static let contentModificationDateKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLCreationDateKey | let NSURLCreationDateKey: String |
To | creationDateKey | static let creationDateKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLCustomIconKey | let NSURLCustomIconKey: String |
To | customIconKey | static let customIconKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLDocumentIdentifierKey | let NSURLDocumentIdentifierKey: String |
To | documentIdentifierKey | static let documentIdentifierKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLEffectiveIconKey | let NSURLEffectiveIconKey: String |
To | effectiveIconKey | static let effectiveIconKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLFileAllocatedSizeKey | let NSURLFileAllocatedSizeKey: String |
To | fileAllocatedSizeKey | static let fileAllocatedSizeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLFileResourceIdentifierKey | let NSURLFileResourceIdentifierKey: String |
To | fileResourceIdentifierKey | static let fileResourceIdentifierKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLFileResourceTypeKey | let NSURLFileResourceTypeKey: String |
To | fileResourceTypeKey | static let fileResourceTypeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLFileSecurityKey | let NSURLFileSecurityKey: String |
To | fileSecurityKey | static let fileSecurityKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLFileSizeKey | let NSURLFileSizeKey: String |
To | fileSizeKey | static let fileSizeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLGenerationIdentifierKey | let NSURLGenerationIdentifierKey: String |
To | generationIdentifierKey | static let generationIdentifierKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLHasHiddenExtensionKey | let NSURLHasHiddenExtensionKey: String |
To | hasHiddenExtensionKey | static let hasHiddenExtensionKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsAliasFileKey | let NSURLIsAliasFileKey: String |
To | isAliasFileKey | static let isAliasFileKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsApplicationKey | let NSURLIsApplicationKey: String |
To | isApplicationKey | static let isApplicationKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsDirectoryKey | let NSURLIsDirectoryKey: String |
To | isDirectoryKey | static let isDirectoryKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsExcludedFromBackupKey | let NSURLIsExcludedFromBackupKey: String |
To | isExcludedFromBackupKey | static let isExcludedFromBackupKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsExecutableKey | let NSURLIsExecutableKey: String |
To | isExecutableKey | static let isExecutableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsHiddenKey | let NSURLIsHiddenKey: String |
To | isHiddenKey | static let isHiddenKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsMountTriggerKey | let NSURLIsMountTriggerKey: String |
To | isMountTriggerKey | static let isMountTriggerKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsPackageKey | let NSURLIsPackageKey: String |
To | isPackageKey | static let isPackageKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsReadableKey | let NSURLIsReadableKey: String |
To | isReadableKey | static let isReadableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsRegularFileKey | let NSURLIsRegularFileKey: String |
To | isRegularFileKey | static let isRegularFileKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsSymbolicLinkKey | let NSURLIsSymbolicLinkKey: String |
To | isSymbolicLinkKey | static let isSymbolicLinkKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsSystemImmutableKey | let NSURLIsSystemImmutableKey: String |
To | isSystemImmutableKey | static let isSystemImmutableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsUbiquitousItemKey | let NSURLIsUbiquitousItemKey: String |
To | isUbiquitousItemKey | static let isUbiquitousItemKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsUserImmutableKey | let NSURLIsUserImmutableKey: String |
To | isUserImmutableKey | static let isUserImmutableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsVolumeKey | let NSURLIsVolumeKey: String |
To | isVolumeKey | static let isVolumeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLIsWritableKey | let NSURLIsWritableKey: String |
To | isWritableKey | static let isWritableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLKeysOfUnsetValuesKey | let NSURLKeysOfUnsetValuesKey: String |
To | keysOfUnsetValuesKey | static let keysOfUnsetValuesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLLabelColorKey | let NSURLLabelColorKey: String |
To | labelColorKey | static let labelColorKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLLabelNumberKey | let NSURLLabelNumberKey: String |
To | labelNumberKey | static let labelNumberKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLLinkCountKey | let NSURLLinkCountKey: String |
To | linkCountKey | static let linkCountKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLLocalizedLabelKey | let NSURLLocalizedLabelKey: String |
To | localizedLabelKey | static let localizedLabelKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLLocalizedNameKey | let NSURLLocalizedNameKey: String |
To | localizedNameKey | static let localizedNameKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLLocalizedTypeDescriptionKey | let NSURLLocalizedTypeDescriptionKey: String |
To | localizedTypeDescriptionKey | static let localizedTypeDescriptionKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLNameKey | let NSURLNameKey: String |
To | nameKey | static let nameKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLParentDirectoryURLKey | let NSURLParentDirectoryURLKey: String |
To | parentDirectoryURLKey | static let parentDirectoryURLKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLPathKey | let NSURLPathKey: String |
To | pathKey | static let pathKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLPreferredIOBlockSizeKey | let NSURLPreferredIOBlockSizeKey: String |
To | preferredIOBlockSizeKey | static let preferredIOBlockSizeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLQuarantinePropertiesKey | let NSURLQuarantinePropertiesKey: String |
To | quarantinePropertiesKey | static let quarantinePropertiesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLTagNamesKey | let NSURLTagNamesKey: String |
To | tagNamesKey | static let tagNamesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLThumbnailDictionaryKey | let NSURLThumbnailDictionaryKey: String |
To | thumbnailDictionaryKey | static let thumbnailDictionaryKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLThumbnailKey | let NSURLThumbnailKey: String |
To | thumbnailKey | static let thumbnailKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLTotalFileAllocatedSizeKey | let NSURLTotalFileAllocatedSizeKey: String |
To | totalFileAllocatedSizeKey | static let totalFileAllocatedSizeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLTotalFileSizeKey | let NSURLTotalFileSizeKey: String |
To | totalFileSizeKey | static let totalFileSizeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLTypeIdentifierKey | let NSURLTypeIdentifierKey: String |
To | typeIdentifierKey | static let typeIdentifierKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemContainerDisplayNameKey | let NSURLUbiquitousItemContainerDisplayNameKey: String |
To | ubiquitousItemContainerDisplayNameKey | static let ubiquitousItemContainerDisplayNameKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemDownloadingErrorKey | let NSURLUbiquitousItemDownloadingErrorKey: String |
To | ubiquitousItemDownloadingErrorKey | static let ubiquitousItemDownloadingErrorKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemDownloadingStatusKey | let NSURLUbiquitousItemDownloadingStatusKey: String |
To | ubiquitousItemDownloadingStatusKey | static let ubiquitousItemDownloadingStatusKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemDownloadRequestedKey | let NSURLUbiquitousItemDownloadRequestedKey: String |
To | ubiquitousItemDownloadRequestedKey | static let ubiquitousItemDownloadRequestedKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemHasUnresolvedConflictsKey | let NSURLUbiquitousItemHasUnresolvedConflictsKey: String |
To | ubiquitousItemHasUnresolvedConflictsKey | static let ubiquitousItemHasUnresolvedConflictsKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemIsDownloadingKey | let NSURLUbiquitousItemIsDownloadingKey: String |
To | ubiquitousItemIsDownloadingKey | static let ubiquitousItemIsDownloadingKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemIsUploadedKey | let NSURLUbiquitousItemIsUploadedKey: String |
To | ubiquitousItemIsUploadedKey | static let ubiquitousItemIsUploadedKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemIsUploadingKey | let NSURLUbiquitousItemIsUploadingKey: String |
To | ubiquitousItemIsUploadingKey | static let ubiquitousItemIsUploadingKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLUbiquitousItemUploadingErrorKey | let NSURLUbiquitousItemUploadingErrorKey: String |
To | ubiquitousItemUploadingErrorKey | static let ubiquitousItemUploadingErrorKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeAvailableCapacityKey | let NSURLVolumeAvailableCapacityKey: String |
To | volumeAvailableCapacityKey | static let volumeAvailableCapacityKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeCreationDateKey | let NSURLVolumeCreationDateKey: String |
To | volumeCreationDateKey | static let volumeCreationDateKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIdentifierKey | let NSURLVolumeIdentifierKey: String |
To | volumeIdentifierKey | static let volumeIdentifierKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsAutomountedKey | let NSURLVolumeIsAutomountedKey: String |
To | volumeIsAutomountedKey | static let volumeIsAutomountedKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsBrowsableKey | let NSURLVolumeIsBrowsableKey: String |
To | volumeIsBrowsableKey | static let volumeIsBrowsableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsEjectableKey | let NSURLVolumeIsEjectableKey: String |
To | volumeIsEjectableKey | static let volumeIsEjectableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsInternalKey | let NSURLVolumeIsInternalKey: String |
To | volumeIsInternalKey | static let volumeIsInternalKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsJournalingKey | let NSURLVolumeIsJournalingKey: String |
To | volumeIsJournalingKey | static let volumeIsJournalingKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsLocalKey | let NSURLVolumeIsLocalKey: String |
To | volumeIsLocalKey | static let volumeIsLocalKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsReadOnlyKey | let NSURLVolumeIsReadOnlyKey: String |
To | volumeIsReadOnlyKey | static let volumeIsReadOnlyKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeIsRemovableKey | let NSURLVolumeIsRemovableKey: String |
To | volumeIsRemovableKey | static let volumeIsRemovableKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeLocalizedFormatDescriptionKey | let NSURLVolumeLocalizedFormatDescriptionKey: String |
To | volumeLocalizedFormatDescriptionKey | static let volumeLocalizedFormatDescriptionKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeLocalizedNameKey | let NSURLVolumeLocalizedNameKey: String |
To | volumeLocalizedNameKey | static let volumeLocalizedNameKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeMaximumFileSizeKey | let NSURLVolumeMaximumFileSizeKey: String |
To | volumeMaximumFileSizeKey | static let volumeMaximumFileSizeKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeNameKey | let NSURLVolumeNameKey: String |
To | volumeNameKey | static let volumeNameKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeResourceCountKey | let NSURLVolumeResourceCountKey: String |
To | volumeResourceCountKey | static let volumeResourceCountKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsAdvisoryFileLockingKey | let NSURLVolumeSupportsAdvisoryFileLockingKey: String |
To | volumeSupportsAdvisoryFileLockingKey | static let volumeSupportsAdvisoryFileLockingKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsCasePreservedNamesKey | let NSURLVolumeSupportsCasePreservedNamesKey: String |
To | volumeSupportsCasePreservedNamesKey | static let volumeSupportsCasePreservedNamesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsCaseSensitiveNamesKey | let NSURLVolumeSupportsCaseSensitiveNamesKey: String |
To | volumeSupportsCaseSensitiveNamesKey | static let volumeSupportsCaseSensitiveNamesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsExtendedSecurityKey | let NSURLVolumeSupportsExtendedSecurityKey: String |
To | volumeSupportsExtendedSecurityKey | static let volumeSupportsExtendedSecurityKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsHardLinksKey | let NSURLVolumeSupportsHardLinksKey: String |
To | volumeSupportsHardLinksKey | static let volumeSupportsHardLinksKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsJournalingKey | let NSURLVolumeSupportsJournalingKey: String |
To | volumeSupportsJournalingKey | static let volumeSupportsJournalingKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsPersistentIDsKey | let NSURLVolumeSupportsPersistentIDsKey: String |
To | volumeSupportsPersistentIDsKey | static let volumeSupportsPersistentIDsKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsRenamingKey | let NSURLVolumeSupportsRenamingKey: String |
To | volumeSupportsRenamingKey | static let volumeSupportsRenamingKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsRootDirectoryDatesKey | let NSURLVolumeSupportsRootDirectoryDatesKey: String |
To | volumeSupportsRootDirectoryDatesKey | static let volumeSupportsRootDirectoryDatesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsSparseFilesKey | let NSURLVolumeSupportsSparseFilesKey: String |
To | volumeSupportsSparseFilesKey | static let volumeSupportsSparseFilesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsSymbolicLinksKey | let NSURLVolumeSupportsSymbolicLinksKey: String |
To | volumeSupportsSymbolicLinksKey | static let volumeSupportsSymbolicLinksKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsVolumeSizesKey | let NSURLVolumeSupportsVolumeSizesKey: String |
To | volumeSupportsVolumeSizesKey | static let volumeSupportsVolumeSizesKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeSupportsZeroRunsKey | let NSURLVolumeSupportsZeroRunsKey: String |
To | volumeSupportsZeroRunsKey | static let volumeSupportsZeroRunsKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeTotalCapacityKey | let NSURLVolumeTotalCapacityKey: String |
To | volumeTotalCapacityKey | static let volumeTotalCapacityKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeURLForRemountingKey | let NSURLVolumeURLForRemountingKey: String |
To | volumeURLForRemountingKey | static let volumeURLForRemountingKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeURLKey | let NSURLVolumeURLKey: String |
To | volumeURLKey | static let volumeURLKey: URLResourceKey |
---|
| Name | Declaration |
From | NSURLVolumeUUIDStringKey | let NSURLVolumeUUIDStringKey: String |
To | volumeUUIDStringKey | static let volumeUUIDStringKey: URLResourceKey |
---|
| Declaration | Protocols |
From | class NSURLResponse : NSObject, NSSecureCoding, NSCopying {
init(URL URL: NSURL, MIMEType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?)
@NSCopying var URL: NSURL? { get }
var MIMEType: String? { get }
var expectedContentLength: Int64 { get }
var textEncodingName: String? { get }
var suggestedFilename: String? { get }
} | NSCopying, NSSecureCoding |
To | class URLResponse : NSObject, NSSecureCoding, NSCopying {
init(url URL: URL, mimeType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?)
var url: URL? { get }
var mimeType: String? { get }
var expectedContentLength: Int64 { get }
var textEncodingName: String? { get }
var suggestedFilename: String? { 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 URLResponse : CVarArg {
}
extension URLResponse : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
---|
| Name | Declaration |
From | init(URL:MIMEType:expectedContentLength:textEncodingName:) | init(URL URL: NSURL, MIMEType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?) |
To | init(url:mimeType:expectedContentLength:textEncodingName:) | init(url URL: URL, mimeType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?) |
---|
| Name | Declaration |
From | MIMEType | var MIMEType: String? { get } |
To | mimeType | var mimeType: String? { get } |
---|
| Name | Declaration |
From | URL | @NSCopying var URL: NSURL? { get } |
To | url | var url: URL? { get } |
---|
| Declaration | Protocols |
From | class NSURLSession : NSObject {
class func sharedSession() -> NSURLSession
init(configuration configuration: NSURLSessionConfiguration)
class func sessionWithConfiguration(_ configuration: NSURLSessionConfiguration) -> NSURLSession
init(configuration configuration: NSURLSessionConfiguration, delegate delegate: NSURLSessionDelegate?, delegateQueue queue: NSOperationQueue?)
class func sessionWithConfiguration(_ configuration: NSURLSessionConfiguration, delegate delegate: NSURLSessionDelegate?, delegateQueue queue: NSOperationQueue?) -> NSURLSession
var delegateQueue: NSOperationQueue { get }
var delegate: NSURLSessionDelegate? { get }
@NSCopying var configuration: NSURLSessionConfiguration { get }
var sessionDescription: String?
func finishTasksAndInvalidate()
func invalidateAndCancel()
func resetWithCompletionHandler(_ completionHandler: () -> Void)
func flushWithCompletionHandler(_ completionHandler: () -> Void)
func getTasksWithCompletionHandler(_ completionHandler: ([NSURLSessionDataTask], [NSURLSessionUploadTask], [NSURLSessionDownloadTask]) -> Void)
func getAllTasksWithCompletionHandler(_ completionHandler: ([NSURLSessionTask]) -> Void)
func dataTaskWithRequest(_ request: NSURLRequest) -> NSURLSessionDataTask
func dataTaskWithURL(_ url: NSURL) -> NSURLSessionDataTask
func uploadTaskWithRequest(_ request: NSURLRequest, fromFile fileURL: NSURL) -> NSURLSessionUploadTask
func uploadTaskWithRequest(_ request: NSURLRequest, fromData bodyData: NSData) -> NSURLSessionUploadTask
func uploadTaskWithStreamedRequest(_ request: NSURLRequest) -> NSURLSessionUploadTask
func downloadTaskWithRequest(_ request: NSURLRequest) -> NSURLSessionDownloadTask
func downloadTaskWithURL(_ url: NSURL) -> NSURLSessionDownloadTask
func downloadTaskWithResumeData(_ resumeData: NSData) -> NSURLSessionDownloadTask
func streamTaskWithHostName(_ hostname: String, port port: Int) -> NSURLSessionStreamTask
func streamTaskWithNetService(_ service: NSNetService) -> NSURLSessionStreamTask
}
extension NSURLSession {
func dataTaskWithRequest(_ request: NSURLRequest, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDataTask
func dataTaskWithURL(_ url: NSURL, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDataTask
func uploadTaskWithRequest(_ request: NSURLRequest, fromFile fileURL: NSURL, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionUploadTask
func uploadTaskWithRequest(_ request: NSURLRequest, fromData bodyData: NSData?, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionUploadTask
func downloadTaskWithRequest(_ request: NSURLRequest, completionHandler completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask
func downloadTaskWithURL(_ url: NSURL, completionHandler completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask
func downloadTaskWithResumeData(_ resumeData: NSData, completionHandler completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask
} | -- |
To | class URLSession : NSObject {
class var shared: URLSession { get }
init(configuration configuration: URLSessionConfiguration)
class func withConfiguration(_ configuration: URLSessionConfiguration) -> URLSession
init(configuration configuration: URLSessionConfiguration, delegate delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
class func withConfiguration(_ configuration: URLSessionConfiguration, delegate delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?) -> URLSession
var delegateQueue: OperationQueue { get }
var delegate: URLSessionDelegate? { get }
@NSCopying var configuration: URLSessionConfiguration { get }
var sessionDescription: String?
func finishTasksAndInvalidate()
func invalidateAndCancel()
func reset(completionHandler completionHandler: @escaping () -> Swift.Void)
func flush(completionHandler completionHandler: @escaping () -> Swift.Void)
func getTasksWithCompletionHandler(_ completionHandler: @escaping ([URLSessionDataTask], [URLSessionUploadTask], [URLSessionDownloadTask]) -> Swift.Void)
func getAllTasks(completionHandler completionHandler: @escaping ([URLSessionTask]) -> Swift.Void)
func dataTask(with request: URLRequest) -> URLSessionDataTask
func dataTask(with url: URL) -> URLSessionDataTask
func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask
func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask
func uploadTask(withStreamedRequest request: URLRequest) -> URLSessionUploadTask
func downloadTask(with request: URLRequest) -> URLSessionDownloadTask
func downloadTask(with url: URL) -> URLSessionDownloadTask
func downloadTask(withResumeData resumeData: Data) -> URLSessionDownloadTask
func streamTask(withHostName hostname: String, port port: Int) -> URLSessionStreamTask
func streamTask(with service: NetService) -> URLSessionStreamTask
func dataTask(with request: URLRequest, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTask
func dataTask(with url: URL, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTask
func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionUploadTask
func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionUploadTask
func downloadTask(with request: URLRequest, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask
func downloadTask(with url: URL, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask
func downloadTask(withResumeData resumeData: Data, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask
enum AuthChallengeDisposition : Int {
case useCredential
case performDefaultHandling
case cancelAuthenticationChallenge
case rejectProtectionSpace
}
enum ResponseDisposition : Int {
case cancel
case allow
case becomeDownload
case becomeStream
}
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 URLSession : CVarArg {
}
extension URLSession : Equatable, Hashable {
var hashValue: Int { get }
}
extension URLSession {
func dataTask(with request: URLRequest, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTask
func dataTask(with url: URL, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTask
func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionUploadTask
func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionUploadTask
func downloadTask(with request: URLRequest, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask
func downloadTask(with url: URL, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask
func downloadTask(withResumeData resumeData: Data, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask
}
extension URLSession {
enum AuthChallengeDisposition : Int {
case useCredential
case performDefaultHandling
case cancelAuthenticationChallenge
case rejectProtectionSpace
}
enum ResponseDisposition : Int {
case cancel
case allow
case becomeDownload
case becomeStream
}
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | @NSCopying var configuration: NSURLSessionConfiguration { get } |
To | @NSCopying var configuration: URLSessionConfiguration { get } |
---|
| Name | Declaration |
From | dataTaskWithURL(_:) | func dataTaskWithURL(_ url: NSURL) -> NSURLSessionDataTask |
To | dataTask(with:) | func dataTask(with url: URL) -> URLSessionDataTask |
---|
| Name | Declaration |
From | dataTaskWithRequest(_:) | func dataTaskWithRequest(_ request: NSURLRequest) -> NSURLSessionDataTask |
To | dataTask(with:) | func dataTask(with request: URLRequest) -> URLSessionDataTask |
---|
| Name | Declaration |
From | dataTaskWithURL(_:completionHandler:) | func dataTaskWithURL(_ url: NSURL, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDataTask |
To | dataTask(with:completionHandler:) | func dataTask(with url: URL, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTask |
---|
| Name | Declaration |
From | dataTaskWithRequest(_:completionHandler:) | func dataTaskWithRequest(_ request: NSURLRequest, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDataTask |
To | dataTask(with:completionHandler:) | func dataTask(with request: URLRequest, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTask |
---|
| Declaration |
From | var delegate: NSURLSessionDelegate? { get } |
To | var delegate: URLSessionDelegate? { get } |
---|
| Declaration |
From | var delegateQueue: NSOperationQueue { get } |
To | var delegateQueue: OperationQueue { get } |
---|
| Name | Declaration |
From | downloadTaskWithURL(_:) | func downloadTaskWithURL(_ url: NSURL) -> NSURLSessionDownloadTask |
To | downloadTask(with:) | func downloadTask(with url: URL) -> URLSessionDownloadTask |
---|
| Name | Declaration |
From | downloadTaskWithRequest(_:) | func downloadTaskWithRequest(_ request: NSURLRequest) -> NSURLSessionDownloadTask |
To | downloadTask(with:) | func downloadTask(with request: URLRequest) -> URLSessionDownloadTask |
---|
| Name | Declaration |
From | downloadTaskWithURL(_:completionHandler:) | func downloadTaskWithURL(_ url: NSURL, completionHandler completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask |
To | downloadTask(with:completionHandler:) | func downloadTask(with url: URL, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask |
---|
| Name | Declaration |
From | downloadTaskWithRequest(_:completionHandler:) | func downloadTaskWithRequest(_ request: NSURLRequest, completionHandler completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask |
To | downloadTask(with:completionHandler:) | func downloadTask(with request: URLRequest, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask |
---|
| Name | Declaration |
From | downloadTaskWithResumeData(_:) | func downloadTaskWithResumeData(_ resumeData: NSData) -> NSURLSessionDownloadTask |
To | downloadTask(withResumeData:) | func downloadTask(withResumeData resumeData: Data) -> URLSessionDownloadTask |
---|
| Name | Declaration |
From | downloadTaskWithResumeData(_:completionHandler:) | func downloadTaskWithResumeData(_ resumeData: NSData, completionHandler completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask |
To | downloadTask(withResumeData:completionHandler:) | func downloadTask(withResumeData resumeData: Data, completionHandler completionHandler: @escaping (URL?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDownloadTask |
---|
| Name | Declaration |
From | flushWithCompletionHandler(_:) | func flushWithCompletionHandler(_ completionHandler: () -> Void) |
To | flush(completionHandler:) | func flush(completionHandler completionHandler: @escaping () -> Swift.Void) |
---|
| Name | Declaration |
From | getAllTasksWithCompletionHandler(_:) | func getAllTasksWithCompletionHandler(_ completionHandler: ([NSURLSessionTask]) -> Void) |
To | getAllTasks(completionHandler:) | func getAllTasks(completionHandler completionHandler: @escaping ([URLSessionTask]) -> Swift.Void) |
---|
| Declaration |
From | func getTasksWithCompletionHandler(_ completionHandler: ([NSURLSessionDataTask], [NSURLSessionUploadTask], [NSURLSessionDownloadTask]) -> Void) |
To | func getTasksWithCompletionHandler(_ completionHandler: @escaping ([URLSessionDataTask], [URLSessionUploadTask], [URLSessionDownloadTask]) -> Swift.Void) |
---|
| Declaration |
From | init(configuration configuration: NSURLSessionConfiguration) |
To | init(configuration configuration: URLSessionConfiguration) |
---|
| Declaration |
From | init(configuration configuration: NSURLSessionConfiguration, delegate delegate: NSURLSessionDelegate?, delegateQueue queue: NSOperationQueue?) |
To | init(configuration configuration: URLSessionConfiguration, delegate delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?) |
---|
| Name | Declaration |
From | resetWithCompletionHandler(_:) | func resetWithCompletionHandler(_ completionHandler: () -> Void) |
To | reset(completionHandler:) | func reset(completionHandler completionHandler: @escaping () -> Swift.Void) |
---|
| Name | Declaration |
From | streamTaskWithNetService(_:) | func streamTaskWithNetService(_ service: NSNetService) -> NSURLSessionStreamTask |
To | streamTask(with:) | func streamTask(with service: NetService) -> URLSessionStreamTask |
---|
| Name | Declaration |
From | streamTaskWithHostName(_:port:) | func streamTaskWithHostName(_ hostname: String, port port: Int) -> NSURLSessionStreamTask |
To | streamTask(withHostName:port:) | func streamTask(withHostName hostname: String, port port: Int) -> URLSessionStreamTask |
---|
| Name | Declaration |
From | uploadTaskWithRequest(_:fromData:) | func uploadTaskWithRequest(_ request: NSURLRequest, fromData bodyData: NSData) -> NSURLSessionUploadTask |
To | uploadTask(with:from:) | func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask |
---|
| Name | Declaration |
From | uploadTaskWithRequest(_:fromData:completionHandler:) | func uploadTaskWithRequest(_ request: NSURLRequest, fromData bodyData: NSData?, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionUploadTask |
To | uploadTask(with:from:completionHandler:) | func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionUploadTask |
---|
| Name | Declaration |
From | uploadTaskWithRequest(_:fromFile:) | func uploadTaskWithRequest(_ request: NSURLRequest, fromFile fileURL: NSURL) -> NSURLSessionUploadTask |
To | uploadTask(with:fromFile:) | func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask |
---|
| Name | Declaration |
From | uploadTaskWithRequest(_:fromFile:completionHandler:) | func uploadTaskWithRequest(_ request: NSURLRequest, fromFile fileURL: NSURL, completionHandler completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionUploadTask |
To | uploadTask(with:fromFile:completionHandler:) | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionUploadTask |
---|
| Name | Declaration |
From | uploadTaskWithStreamedRequest(_:) | func uploadTaskWithStreamedRequest(_ request: NSURLRequest) -> NSURLSessionUploadTask |
To | uploadTask(withStreamedRequest:) | func uploadTask(withStreamedRequest request: URLRequest) -> URLSessionUploadTask |
---|
| Declaration |
From | enum NSURLSessionAuthChallengeDisposition : Int {
case UseCredential
case PerformDefaultHandling
case CancelAuthenticationChallenge
case RejectProtectionSpace
} |
To | enum AuthChallengeDisposition : Int {
case useCredential
case performDefaultHandling
case cancelAuthenticationChallenge
case rejectProtectionSpace
} |
---|
| Name | Declaration |
From | CancelAuthenticationChallenge | case CancelAuthenticationChallenge |
To | cancelAuthenticationChallenge | case cancelAuthenticationChallenge |
---|
| Name | Declaration |
From | PerformDefaultHandling | case PerformDefaultHandling |
To | performDefaultHandling | case performDefaultHandling |
---|
| Name | Declaration |
From | RejectProtectionSpace | case RejectProtectionSpace |
To | rejectProtectionSpace | case rejectProtectionSpace |
---|
| Name | Declaration |
From | UseCredential | case UseCredential |
To | useCredential | case useCredential |
---|
| Declaration |
From | enum NSURLSessionResponseDisposition : Int {
case Cancel
case Allow
case BecomeDownload
case BecomeStream
} |
To | enum ResponseDisposition : Int {
case cancel
case allow
case becomeDownload
case becomeStream
} |
---|
| Name | Declaration |
From | Allow | case Allow |
To | allow | case allow |
---|
| Name | Declaration |
From | BecomeDownload | case BecomeDownload |
To | becomeDownload | case becomeDownload |
---|
| Name | Declaration |
From | BecomeStream | case BecomeStream |
To | becomeStream | case becomeStream |
---|
| Name | Declaration |
From | Cancel | case Cancel |
To | cancel | case cancel |
---|
| Declaration | Protocols |
From | class NSURLSessionConfiguration : NSObject, NSCopying {
class func defaultSessionConfiguration() -> NSURLSessionConfiguration
class func ephemeralSessionConfiguration() -> NSURLSessionConfiguration
class func backgroundSessionConfigurationWithIdentifier(_ identifier: String) -> NSURLSessionConfiguration
var identifier: String? { get }
var requestCachePolicy: NSURLRequestCachePolicy
var timeoutIntervalForRequest: NSTimeInterval
var timeoutIntervalForResource: NSTimeInterval
var networkServiceType: NSURLRequestNetworkServiceType
var allowsCellularAccess: Bool
var discretionary: Bool
var sharedContainerIdentifier: String?
var sessionSendsLaunchEvents: Bool
var connectionProxyDictionary: [NSObject : AnyObject]?
var TLSMinimumSupportedProtocol: SSLProtocol
var TLSMaximumSupportedProtocol: SSLProtocol
var HTTPShouldUsePipelining: Bool
var HTTPShouldSetCookies: Bool
var HTTPCookieAcceptPolicy: NSHTTPCookieAcceptPolicy
var HTTPAdditionalHeaders: [NSObject : AnyObject]?
var HTTPMaximumConnectionsPerHost: Int
var HTTPCookieStorage: NSHTTPCookieStorage?
var URLCredentialStorage: NSURLCredentialStorage?
var URLCache: NSURLCache?
var shouldUseExtendedBackgroundIdleMode: Bool
var protocolClasses: [AnyClass]?
}
extension NSURLSessionConfiguration {
class func backgroundSessionConfiguration(_ identifier: String) -> NSURLSessionConfiguration
} | NSCopying |
To | class URLSessionConfiguration : NSObject, NSCopying {
class var `default`: URLSessionConfiguration { get }
class var ephemeral: URLSessionConfiguration { get }
class func background(withIdentifier identifier: String) -> URLSessionConfiguration
var identifier: String? { get }
var requestCachePolicy: NSURLRequest.CachePolicy
var timeoutIntervalForRequest: TimeInterval
var timeoutIntervalForResource: TimeInterval
var networkServiceType: NSURLRequest.NetworkServiceType
var allowsCellularAccess: Bool
var isDiscretionary: Bool
var sharedContainerIdentifier: String?
var sessionSendsLaunchEvents: Bool
var connectionProxyDictionary: [AnyHashable : Any]?
var tlsMinimumSupportedProtocol: SSLProtocol
var tlsMaximumSupportedProtocol: SSLProtocol
var httpShouldUsePipelining: Bool
var httpShouldSetCookies: Bool
var httpCookieAcceptPolicy: HTTPCookie.AcceptPolicy
var httpAdditionalHeaders: [AnyHashable : Any]?
var httpMaximumConnectionsPerHost: Int
var httpCookieStorage: HTTPCookieStorage?
var urlCredentialStorage: URLCredentialStorage?
var urlCache: URLCache?
var shouldUseExtendedBackgroundIdleMode: Bool
var protocolClasses: [Swift.AnyClass]?
class func backgroundSessionConfiguration(_ identifier: String) -> URLSessionConfiguration
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 URLSessionConfiguration : CVarArg {
}
extension URLSessionConfiguration : Equatable, Hashable {
var hashValue: Int { get }
}
extension URLSessionConfiguration {
class func backgroundSessionConfiguration(_ identifier: String) -> URLSessionConfiguration
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Name | Declaration |
From | backgroundSessionConfigurationWithIdentifier(_:) | class func backgroundSessionConfigurationWithIdentifier(_ identifier: String) -> NSURLSessionConfiguration |
To | background(withIdentifier:) | class func background(withIdentifier identifier: String) -> URLSessionConfiguration |
---|
| Declaration |
From | class func backgroundSessionConfiguration(_ identifier: String) -> NSURLSessionConfiguration |
To | class func backgroundSessionConfiguration(_ identifier: String) -> URLSessionConfiguration |
---|
| Declaration |
From | var connectionProxyDictionary: [NSObject : AnyObject]? |
To | var connectionProxyDictionary: [AnyHashable : Any]? |
---|
| Name | Declaration |
From | HTTPAdditionalHeaders | var HTTPAdditionalHeaders: [NSObject : AnyObject]? |
To | httpAdditionalHeaders | var httpAdditionalHeaders: [AnyHashable : Any]? |
---|
| Name | Declaration |
From | HTTPCookieAcceptPolicy | var HTTPCookieAcceptPolicy: NSHTTPCookieAcceptPolicy |
To | httpCookieAcceptPolicy | var httpCookieAcceptPolicy: HTTPCookie.AcceptPolicy |
---|
| Name | Declaration |
From | HTTPCookieStorage | var HTTPCookieStorage: NSHTTPCookieStorage? |
To | httpCookieStorage | var httpCookieStorage: HTTPCookieStorage? |
---|
| Name | Declaration |
From | HTTPMaximumConnectionsPerHost | var HTTPMaximumConnectionsPerHost: Int |
To | httpMaximumConnectionsPerHost | var httpMaximumConnectionsPerHost: Int |
---|
| Name | Declaration |
From | HTTPShouldSetCookies | var HTTPShouldSetCookies: Bool |
To | httpShouldSetCookies | var httpShouldSetCookies: Bool |
---|
| Name | Declaration |
From | HTTPShouldUsePipelining | var HTTPShouldUsePipelining: Bool |
To | httpShouldUsePipelining | var httpShouldUsePipelining: Bool |
---|
| Name | Declaration |
From | discretionary | var discretionary: Bool |
To | isDiscretionary | var isDiscretionary: Bool |
---|
| Declaration |
From | var networkServiceType: NSURLRequestNetworkServiceType |
To | var networkServiceType: NSURLRequest.NetworkServiceType |
---|
| Declaration |
From | var protocolClasses: [AnyClass]? |
To | var protocolClasses: [Swift.AnyClass]? |
---|
| Declaration |
From | var requestCachePolicy: NSURLRequestCachePolicy |
To | var requestCachePolicy: NSURLRequest.CachePolicy |
---|
| Declaration |
From | var timeoutIntervalForRequest: NSTimeInterval |
To | var timeoutIntervalForRequest: TimeInterval |
---|
| Declaration |
From | var timeoutIntervalForResource: NSTimeInterval |
To | var timeoutIntervalForResource: TimeInterval |
---|
| Name | Declaration |
From | TLSMaximumSupportedProtocol | var TLSMaximumSupportedProtocol: SSLProtocol |
To | tlsMaximumSupportedProtocol | var tlsMaximumSupportedProtocol: SSLProtocol |
---|
| Name | Declaration |
From | TLSMinimumSupportedProtocol | var TLSMinimumSupportedProtocol: SSLProtocol |
To | tlsMinimumSupportedProtocol | var tlsMinimumSupportedProtocol: SSLProtocol |
---|
| Name | Declaration |
From | URLCache | var URLCache: NSURLCache? |
To | urlCache | var urlCache: URLCache? |
---|
| Name | Declaration |
From | URLCredentialStorage | var URLCredentialStorage: NSURLCredentialStorage? |
To | urlCredentialStorage | var urlCredentialStorage: URLCredentialStorage? |
---|
| Declaration |
From | protocol NSURLSessionDataDelegate : NSURLSessionTaskDelegate {
optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didReceiveResponse response: NSURLResponse, completionHandler completionHandler: (NSURLSessionResponseDisposition) -> Void)
optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask)
optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didBecomeStreamTask streamTask: NSURLSessionStreamTask)
optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didReceiveData data: NSData)
optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, willCacheResponse proposedResponse: NSCachedURLResponse, completionHandler completionHandler: (NSCachedURLResponse?) -> Void)
} |
To | protocol URLSessionDataDelegate : URLSessionTaskDelegate {
optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler completionHandler: @escaping (URLSession.ResponseDisposition) -> Swift.Void)
optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didReceive data: Data)
optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler completionHandler: @escaping (CachedURLResponse?) -> Swift.Void)
} |
---|
| Name | Declaration |
From | URLSession(_:dataTask:didBecomeStreamTask:) | optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didBecomeStreamTask streamTask: NSURLSessionStreamTask) |
To | urlSession(_:dataTask:didBecome:) | optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) |
---|
| Name | Declaration |
From | URLSession(_:dataTask:didBecomeDownloadTask:) | optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask) |
To | urlSession(_:dataTask:didBecome:) | optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) |
---|
| Name | Declaration |
From | URLSession(_:dataTask:didReceiveData:) | optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didReceiveData data: NSData) |
To | urlSession(_:dataTask:didReceive:) | optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didReceive data: Data) |
---|
| Name | Declaration |
From | URLSession(_:dataTask:didReceiveResponse:completionHandler:) | optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, didReceiveResponse response: NSURLResponse, completionHandler completionHandler: (NSURLSessionResponseDisposition) -> Void) |
To | urlSession(_:dataTask:didReceive:completionHandler:) | optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler completionHandler: @escaping (URLSession.ResponseDisposition) -> Swift.Void) |
---|
| Name | Declaration |
From | URLSession(_:dataTask:willCacheResponse:completionHandler:) | optional func URLSession(_ session: NSURLSession, dataTask dataTask: NSURLSessionDataTask, willCacheResponse proposedResponse: NSCachedURLResponse, completionHandler completionHandler: (NSCachedURLResponse?) -> Void) |
To | urlSession(_:dataTask:willCacheResponse:completionHandler:) | optional func urlSession(_ session: URLSession, dataTask dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler completionHandler: @escaping (CachedURLResponse?) -> Swift.Void) |
---|
| Declaration | Protocols |
From | class NSURLSessionDataTask : NSURLSessionTask {
} | -- |
To | class URLSessionDataTask : URLSessionTask {
enum State : Int {
case running
case suspended
case canceling
case completed
}
class let defaultPriority: Float
class let lowPriority: Float
class let highPriority: Float
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 URLSessionDataTask : CVarArg {
}
extension URLSessionDataTask : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | protocol NSURLSessionDelegate : NSObjectProtocol {
optional func URLSession(_ session: NSURLSession, didBecomeInvalidWithError error: NSError?)
optional func URLSession(_ session: NSURLSession, didReceiveChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)
optional func URLSessionDidFinishEventsForBackgroundURLSession(_ session: NSURLSession)
} |
To | protocol URLSessionDelegate : NSObjectProtocol {
optional func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?)
optional func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void)
optional func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession)
} |
---|
| Name | Declaration |
From | URLSession(_:didBecomeInvalidWithError:) | optional func URLSession(_ session: NSURLSession, didBecomeInvalidWithError error: NSError?) |
To | urlSession(_:didBecomeInvalidWithError:) | optional func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) |
---|
| Name | Declaration |
From | URLSession(_:didReceiveChallenge:completionHandler:) | optional func URLSession(_ session: NSURLSession, didReceiveChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) |
To | urlSession(_:didReceive:completionHandler:) | optional func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) |
---|
| Declaration |
From | protocol NSURLSessionDownloadDelegate : NSURLSessionTaskDelegate {
func URLSession(_ session: NSURLSession, downloadTask downloadTask: NSURLSessionDownloadTask, didFinishDownloadingToURL location: NSURL)
optional func URLSession(_ session: NSURLSession, downloadTask downloadTask: NSURLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten totalBytesWritten: Int64, totalBytesExpectedToWrite totalBytesExpectedToWrite: Int64)
optional func URLSession(_ session: NSURLSession, downloadTask downloadTask: NSURLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes expectedTotalBytes: Int64)
} |
To | protocol URLSessionDownloadDelegate : URLSessionTaskDelegate {
func urlSession(_ session: URLSession, downloadTask downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL)
optional func urlSession(_ session: URLSession, downloadTask downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten totalBytesWritten: Int64, totalBytesExpectedToWrite totalBytesExpectedToWrite: Int64)
optional func urlSession(_ session: URLSession, downloadTask downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes expectedTotalBytes: Int64)
} |
---|
| Name | Declaration |
From | URLSession(_:downloadTask:didFinishDownloadingToURL:) | func URLSession(_ session: NSURLSession, downloadTask downloadTask: NSURLSessionDownloadTask, didFinishDownloadingToURL location: NSURL) |
To | urlSession(_:downloadTask:didFinishDownloadingTo:) | func urlSession(_ session: URLSession, downloadTask downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) |
---|
| Name | Declaration |
From | URLSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:) | optional func URLSession(_ session: NSURLSession, downloadTask downloadTask: NSURLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes expectedTotalBytes: Int64) |
To | urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:) | optional func urlSession(_ session: URLSession, downloadTask downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes expectedTotalBytes: Int64) |
---|
| Name | Declaration |
From | URLSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:) | optional func URLSession(_ session: NSURLSession, downloadTask downloadTask: NSURLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten totalBytesWritten: Int64, totalBytesExpectedToWrite totalBytesExpectedToWrite: Int64) |
To | urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:) | optional func urlSession(_ session: URLSession, downloadTask downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten totalBytesWritten: Int64, totalBytesExpectedToWrite totalBytesExpectedToWrite: Int64) |
---|
| Declaration | Protocols |
From | class NSURLSessionDownloadTask : NSURLSessionTask {
func cancelByProducingResumeData(_ completionHandler: (NSData?) -> Void)
} | -- |
To | class URLSessionDownloadTask : URLSessionTask {
func cancel(byProducingResumeData completionHandler: @escaping (Data?) -> Swift.Void)
enum State : Int {
case running
case suspended
case canceling
case completed
}
class let defaultPriority: Float
class let lowPriority: Float
class let highPriority: Float
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 URLSessionDownloadTask : CVarArg {
}
extension URLSessionDownloadTask : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | cancelByProducingResumeData(_:) | func cancelByProducingResumeData(_ completionHandler: (NSData?) -> Void) |
To | cancel(byProducingResumeData:) | func cancel(byProducingResumeData completionHandler: @escaping (Data?) -> Swift.Void) |
---|
| Declaration |
From | protocol NSURLSessionStreamDelegate : NSURLSessionTaskDelegate {
optional func URLSession(_ session: NSURLSession, readClosedForStreamTask streamTask: NSURLSessionStreamTask)
optional func URLSession(_ session: NSURLSession, writeClosedForStreamTask streamTask: NSURLSessionStreamTask)
optional func URLSession(_ session: NSURLSession, betterRouteDiscoveredForStreamTask streamTask: NSURLSessionStreamTask)
optional func URLSession(_ session: NSURLSession, streamTask streamTask: NSURLSessionStreamTask, didBecomeInputStream inputStream: NSInputStream, outputStream outputStream: NSOutputStream)
} |
To | protocol URLSessionStreamDelegate : URLSessionTaskDelegate {
optional func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask)
optional func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask)
optional func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask)
optional func urlSession(_ session: URLSession, streamTask streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream outputStream: OutputStream)
} |
---|
| Name | Declaration |
From | URLSession(_:betterRouteDiscoveredForStreamTask:) | optional func URLSession(_ session: NSURLSession, betterRouteDiscoveredForStreamTask streamTask: NSURLSessionStreamTask) |
To | urlSession(_:betterRouteDiscoveredFor:) | optional func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) |
---|
| Name | Declaration |
From | URLSession(_:readClosedForStreamTask:) | optional func URLSession(_ session: NSURLSession, readClosedForStreamTask streamTask: NSURLSessionStreamTask) |
To | urlSession(_:readClosedFor:) | optional func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) |
---|
| Name | Declaration |
From | URLSession(_:streamTask:didBecomeInputStream:outputStream:) | optional func URLSession(_ session: NSURLSession, streamTask streamTask: NSURLSessionStreamTask, didBecomeInputStream inputStream: NSInputStream, outputStream outputStream: NSOutputStream) |
To | urlSession(_:streamTask:didBecome:outputStream:) | optional func urlSession(_ session: URLSession, streamTask streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream outputStream: OutputStream) |
---|
| Name | Declaration |
From | URLSession(_:writeClosedForStreamTask:) | optional func URLSession(_ session: NSURLSession, writeClosedForStreamTask streamTask: NSURLSessionStreamTask) |
To | urlSession(_:writeClosedFor:) | optional func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) |
---|
| Declaration | Protocols |
From | class NSURLSessionStreamTask : NSURLSessionTask {
func readDataOfMinLength(_ minBytes: Int, maxLength maxBytes: Int, timeout timeout: NSTimeInterval, completionHandler completionHandler: (NSData?, Bool, NSError?) -> Void)
func writeData(_ data: NSData, timeout timeout: NSTimeInterval, completionHandler completionHandler: (NSError?) -> Void)
func captureStreams()
func closeWrite()
func closeRead()
func startSecureConnection()
func stopSecureConnection()
} | -- |
To | class URLSessionStreamTask : URLSessionTask {
func readData(ofMinLength minBytes: Int, maxLength maxBytes: Int, timeout timeout: TimeInterval, completionHandler completionHandler: @escaping (Data?, Bool, Error?) -> Swift.Void)
func write(_ data: Data, timeout timeout: TimeInterval, completionHandler completionHandler: @escaping (Error?) -> Swift.Void)
func captureStreams()
func closeWrite()
func closeRead()
func startSecureConnection()
func stopSecureConnection()
enum State : Int {
case running
case suspended
case canceling
case completed
}
class let defaultPriority: Float
class let lowPriority: Float
class let highPriority: Float
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 URLSessionStreamTask : CVarArg {
}
extension URLSessionStreamTask : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | readDataOfMinLength(_:maxLength:timeout:completionHandler:) | func readDataOfMinLength(_ minBytes: Int, maxLength maxBytes: Int, timeout timeout: NSTimeInterval, completionHandler completionHandler: (NSData?, Bool, NSError?) -> Void) |
To | readData(ofMinLength:maxLength:timeout:completionHandler:) | func readData(ofMinLength minBytes: Int, maxLength maxBytes: Int, timeout timeout: TimeInterval, completionHandler completionHandler: @escaping (Data?, Bool, Error?) -> Swift.Void) |
---|
| Name | Declaration |
From | writeData(_:timeout:completionHandler:) | func writeData(_ data: NSData, timeout timeout: NSTimeInterval, completionHandler completionHandler: (NSError?) -> Void) |
To | write(_:timeout:completionHandler:) | func write(_ data: Data, timeout timeout: TimeInterval, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
---|
| Declaration | Protocols |
From | class NSURLSessionTask : NSObject, NSCopying {
var taskIdentifier: Int { get }
@NSCopying var originalRequest: NSURLRequest? { get }
@NSCopying var currentRequest: NSURLRequest? { get }
@NSCopying var response: NSURLResponse? { get }
var countOfBytesReceived: Int64 { get }
var countOfBytesSent: Int64 { get }
var countOfBytesExpectedToSend: Int64 { get }
var countOfBytesExpectedToReceive: Int64 { get }
var taskDescription: String?
func cancel()
var state: NSURLSessionTaskState { get }
@NSCopying var error: NSError? { get }
func suspend()
func resume()
var priority: Float
} | NSCopying |
To | class URLSessionTask : NSObject, NSCopying {
var taskIdentifier: Int { get }
var originalRequest: URLRequest? { get }
var currentRequest: URLRequest? { get }
@NSCopying var response: URLResponse? { get }
var countOfBytesReceived: Int64 { get }
var countOfBytesSent: Int64 { get }
var countOfBytesExpectedToSend: Int64 { get }
var countOfBytesExpectedToReceive: Int64 { get }
var taskDescription: String?
func cancel()
var state: URLSessionTask.State { get }
var error: Error? { get }
func suspend()
func resume()
var priority: Float
enum State : Int {
case running
case suspended
case canceling
case completed
}
class let defaultPriority: Float
class let lowPriority: Float
class let highPriority: Float
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 URLSessionTask {
enum State : Int {
case running
case suspended
case canceling
case completed
}
class let defaultPriority: Float
class let lowPriority: Float
class let highPriority: Float
}
extension URLSessionTask : CVarArg {
}
extension URLSessionTask : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Declaration |
From | @NSCopying var currentRequest: NSURLRequest? { get } |
To | var currentRequest: URLRequest? { get } |
---|
| Name | Declaration |
From | NSURLSessionTaskPriorityDefault | let NSURLSessionTaskPriorityDefault: Float |
To | defaultPriority | class let defaultPriority: Float |
---|
| Declaration |
From | @NSCopying var error: NSError? { get } |
To | var error: Error? { get } |
---|
| Name | Declaration |
From | NSURLSessionTaskPriorityHigh | let NSURLSessionTaskPriorityHigh: Float |
To | highPriority | class let highPriority: Float |
---|
| Name | Declaration |
From | NSURLSessionTaskPriorityLow | let NSURLSessionTaskPriorityLow: Float |
To | lowPriority | class let lowPriority: Float |
---|
| Declaration |
From | @NSCopying var originalRequest: NSURLRequest? { get } |
To | var originalRequest: URLRequest? { get } |
---|
| Declaration |
From | @NSCopying var response: NSURLResponse? { get } |
To | @NSCopying var response: URLResponse? { get } |
---|
| Declaration |
From | var state: NSURLSessionTaskState { get } |
To | var state: URLSessionTask.State { get } |
---|
| Declaration |
From | enum NSURLSessionTaskState : Int {
case Running
case Suspended
case Canceling
case Completed
} |
To | enum State : Int {
case running
case suspended
case canceling
case completed
} |
---|
| Name | Declaration |
From | Canceling | case Canceling |
To | canceling | case canceling |
---|
| Name | Declaration |
From | Completed | case Completed |
To | completed | case completed |
---|
| Name | Declaration |
From | Running | case Running |
To | running | case running |
---|
| Name | Declaration |
From | Suspended | case Suspended |
To | suspended | case suspended |
---|
| Declaration |
From | protocol NSURLSessionTaskDelegate : NSURLSessionDelegate {
optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, willPerformHTTPRedirection response: NSHTTPURLResponse, newRequest request: NSURLRequest, completionHandler completionHandler: (NSURLRequest?) -> Void)
optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, didReceiveChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)
optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, needNewBodyStream completionHandler: (NSInputStream?) -> Void)
optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent totalBytesSent: Int64, totalBytesExpectedToSend totalBytesExpectedToSend: Int64)
optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, didCompleteWithError error: NSError?)
} |
To | protocol URLSessionTaskDelegate : URLSessionDelegate {
optional func urlSession(_ session: URLSession, task task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler completionHandler: @escaping (URLRequest?) -> Swift.Void)
optional func urlSession(_ session: URLSession, task task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void)
optional func urlSession(_ session: URLSession, task task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Swift.Void)
optional func urlSession(_ session: URLSession, task task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent totalBytesSent: Int64, totalBytesExpectedToSend totalBytesExpectedToSend: Int64)
optional func urlSession(_ session: URLSession, task task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
optional func urlSession(_ session: URLSession, task task: URLSessionTask, didCompleteWithError error: Error?)
} |
---|
| Name | Declaration |
From | URLSession(_:task:didCompleteWithError:) | optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, didCompleteWithError error: NSError?) |
To | urlSession(_:task:didCompleteWithError:) | optional func urlSession(_ session: URLSession, task task: URLSessionTask, didCompleteWithError error: Error?) |
---|
| Name | Declaration |
From | URLSession(_:task:didReceiveChallenge:completionHandler:) | optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, didReceiveChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) |
To | urlSession(_:task:didReceive:completionHandler:) | optional func urlSession(_ session: URLSession, task task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) |
---|
| Name | Declaration |
From | URLSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:) | optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent totalBytesSent: Int64, totalBytesExpectedToSend totalBytesExpectedToSend: Int64) |
To | urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:) | optional func urlSession(_ session: URLSession, task task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent totalBytesSent: Int64, totalBytesExpectedToSend totalBytesExpectedToSend: Int64) |
---|
| Name | Declaration |
From | URLSession(_:task:needNewBodyStream:) | optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, needNewBodyStream completionHandler: (NSInputStream?) -> Void) |
To | urlSession(_:task:needNewBodyStream:) | optional func urlSession(_ session: URLSession, task task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Swift.Void) |
---|
| Name | Declaration |
From | URLSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) | optional func URLSession(_ session: NSURLSession, task task: NSURLSessionTask, willPerformHTTPRedirection response: NSHTTPURLResponse, newRequest request: NSURLRequest, completionHandler completionHandler: (NSURLRequest?) -> Void) |
To | urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) | optional func urlSession(_ session: URLSession, task task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler completionHandler: @escaping (URLRequest?) -> Swift.Void) |
---|
| Declaration |
From | class NSURLSessionUploadTask : NSURLSessionDataTask {
} |
To | class URLSessionUploadTask : URLSessionDataTask {
} |
---|
| Declaration |
From | let NSThumbnail1024x1024SizeKey: String |
To | static let NSThumbnail1024x1024SizeKey: URLThumbnailDictionaryItem |
---|
| Name | Declaration |
From | NSURLUbiquitousItemDownloadingStatusCurrent | let NSURLUbiquitousItemDownloadingStatusCurrent: String |
To | current | static let current: URLUbiquitousItemDownloadingStatus |
---|
| Name | Declaration |
From | NSURLUbiquitousItemDownloadingStatusDownloaded | let NSURLUbiquitousItemDownloadingStatusDownloaded: String |
To | downloaded | static let downloaded: URLUbiquitousItemDownloadingStatus |
---|
| Name | Declaration |
From | NSURLUbiquitousItemDownloadingStatusNotDownloaded | let NSURLUbiquitousItemDownloadingStatusNotDownloaded: String |
To | notDownloaded | static let notDownloaded: URLUbiquitousItemDownloadingStatus |
---|
| Declaration | Protocols |
From | class NSUserDefaults : NSObject {
class func standardUserDefaults() -> NSUserDefaults
class func resetStandardUserDefaults()
convenience init()
init?(suiteName suitename: String?)
convenience init?(user username: String)
func objectForKey(_ defaultName: String) -> AnyObject?
func setObject(_ value: AnyObject?, forKey defaultName: String)
func removeObjectForKey(_ defaultName: String)
func stringForKey(_ defaultName: String) -> String?
func arrayForKey(_ defaultName: String) -> [AnyObject]?
func dictionaryForKey(_ defaultName: String) -> [String : AnyObject]?
func dataForKey(_ defaultName: String) -> NSData?
func stringArrayForKey(_ defaultName: String) -> [String]?
func integerForKey(_ defaultName: String) -> Int
func floatForKey(_ defaultName: String) -> Float
func doubleForKey(_ defaultName: String) -> Double
func boolForKey(_ defaultName: String) -> Bool
func URLForKey(_ defaultName: String) -> NSURL?
func setInteger(_ value: Int, forKey defaultName: String)
func setFloat(_ value: Float, forKey defaultName: String)
func setDouble(_ value: Double, forKey defaultName: String)
func setBool(_ value: Bool, forKey defaultName: String)
func setURL(_ url: NSURL?, forKey defaultName: String)
func registerDefaults(_ registrationDictionary: [String : AnyObject])
func addSuiteNamed(_ suiteName: String)
func removeSuiteNamed(_ suiteName: String)
func dictionaryRepresentation() -> [String : AnyObject]
var volatileDomainNames: [String] { get }
func volatileDomainForName(_ domainName: String) -> [String : AnyObject]
func setVolatileDomain(_ domain: [String : AnyObject], forName domainName: String)
func removeVolatileDomainForName(_ domainName: String)
func persistentDomainNames() -> [AnyObject]
func persistentDomainForName(_ domainName: String) -> [String : AnyObject]?
func setPersistentDomain(_ domain: [String : AnyObject], forName domainName: String)
func removePersistentDomainForName(_ domainName: String)
func synchronize() -> Bool
func objectIsForcedForKey(_ key: String) -> Bool
func objectIsForcedForKey(_ key: String, inDomain domain: String) -> Bool
} | -- |
To | class UserDefaults : NSObject {
class var standard: UserDefaults { get }
class func resetStandardUserDefaults()
convenience init()
init?(suiteName suitename: String?)
convenience init?(user username: String)
func object(forKey defaultName: String) -> Any?
func set(_ value: Any?, forKey defaultName: String)
func removeObject(forKey defaultName: String)
func string(forKey defaultName: String) -> String?
func array(forKey defaultName: String) -> [Any]?
func dictionary(forKey defaultName: String) -> [String : Any]?
func data(forKey defaultName: String) -> Data?
func stringArray(forKey defaultName: String) -> [String]?
func integer(forKey defaultName: String) -> Int
func float(forKey defaultName: String) -> Float
func double(forKey defaultName: String) -> Double
func bool(forKey defaultName: String) -> Bool
func url(forKey defaultName: String) -> URL?
func set(_ value: Int, forKey defaultName: String)
func set(_ value: Float, forKey defaultName: String)
func set(_ value: Double, forKey defaultName: String)
func set(_ value: Bool, forKey defaultName: String)
func set(_ url: URL?, forKey defaultName: String)
func register(defaults registrationDictionary: [String : Any])
func addSuite(named suiteName: String)
func removeSuite(named suiteName: String)
func dictionaryRepresentation() -> [String : Any]
var volatileDomainNames: [String] { get }
func volatileDomain(forName domainName: String) -> [String : Any]
func setVolatileDomain(_ domain: [String : Any], forName domainName: String)
func removeVolatileDomain(forName domainName: String)
func persistentDomainNames() -> [Any]
func persistentDomain(forName domainName: String) -> [String : Any]?
func setPersistentDomain(_ domain: [String : Any], forName domainName: String)
func removePersistentDomain(forName domainName: String)
func synchronize() -> Bool
func objectIsForced(forKey key: String) -> Bool
func objectIsForced(forKey key: String, inDomain domain: String) -> Bool
class let sizeLimitExceededNotification: NSNotification.Name
class let noCloudAccountNotification: NSNotification.Name
class let didChangeCloudAccountsNotification: NSNotification.Name
class let completedInitialCloudSyncNotification: NSNotification.Name
class let didChangeNotification: NSNotification.Name
class let globalDomain: String
class let argumentDomain: String
class let registrationDomain: 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 UserDefaults : CVarArg {
}
extension UserDefaults : Equatable, Hashable {
var hashValue: Int { get }
}
extension UserDefaults {
class let sizeLimitExceededNotification: NSNotification.Name
class let noCloudAccountNotification: NSNotification.Name
class let didChangeCloudAccountsNotification: NSNotification.Name
class let completedInitialCloudSyncNotification: NSNotification.Name
class let didChangeNotification: NSNotification.Name
class let globalDomain: String
class let argumentDomain: String
class let registrationDomain: String
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | addSuiteNamed(_:) | func addSuiteNamed(_ suiteName: String) |
To | addSuite(named:) | func addSuite(named suiteName: String) |
---|
| Name | Declaration |
From | NSArgumentDomain | let NSArgumentDomain: String |
To | argumentDomain | class let argumentDomain: String |
---|
| Name | Declaration |
From | arrayForKey(_:) | func arrayForKey(_ defaultName: String) -> [AnyObject]? |
To | array(forKey:) | func array(forKey defaultName: String) -> [Any]? |
---|
| Name | Declaration |
From | boolForKey(_:) | func boolForKey(_ defaultName: String) -> Bool |
To | bool(forKey:) | func bool(forKey defaultName: String) -> Bool |
---|
| Name | Declaration |
From | dataForKey(_:) | func dataForKey(_ defaultName: String) -> NSData? |
To | data(forKey:) | func data(forKey defaultName: String) -> Data? |
---|
| Name | Declaration |
From | dictionaryForKey(_:) | func dictionaryForKey(_ defaultName: String) -> [String : AnyObject]? |
To | dictionary(forKey:) | func dictionary(forKey defaultName: String) -> [String : Any]? |
---|
| Declaration |
From | func dictionaryRepresentation() -> [String : AnyObject] |
To | func dictionaryRepresentation() -> [String : Any] |
---|
| Name | Declaration |
From | NSUserDefaultsDidChangeNotification | let NSUserDefaultsDidChangeNotification: String |
To | didChangeNotification | class let didChangeNotification: NSNotification.Name |
---|
| Name | Declaration |
From | doubleForKey(_:) | func doubleForKey(_ defaultName: String) -> Double |
To | double(forKey:) | func double(forKey defaultName: String) -> Double |
---|
| Name | Declaration |
From | floatForKey(_:) | func floatForKey(_ defaultName: String) -> Float |
To | float(forKey:) | func float(forKey defaultName: String) -> Float |
---|
| Name | Declaration |
From | NSGlobalDomain | let NSGlobalDomain: String |
To | globalDomain | class let globalDomain: String |
---|
| Name | Declaration |
From | integerForKey(_:) | func integerForKey(_ defaultName: String) -> Int |
To | integer(forKey:) | func integer(forKey defaultName: String) -> Int |
---|
| Name | Declaration |
From | objectForKey(_:) | func objectForKey(_ defaultName: String) -> AnyObject? |
To | object(forKey:) | func object(forKey defaultName: String) -> Any? |
---|
| Name | Declaration |
From | objectIsForcedForKey(_:) | func objectIsForcedForKey(_ key: String) -> Bool |
To | objectIsForced(forKey:) | func objectIsForced(forKey key: String) -> Bool |
---|
| Name | Declaration |
From | objectIsForcedForKey(_:inDomain:) | func objectIsForcedForKey(_ key: String, inDomain domain: String) -> Bool |
To | objectIsForced(forKey:inDomain:) | func objectIsForced(forKey key: String, inDomain domain: String) -> Bool |
---|
| Name | Declaration |
From | persistentDomainForName(_:) | func persistentDomainForName(_ domainName: String) -> [String : AnyObject]? |
To | persistentDomain(forName:) | func persistentDomain(forName domainName: String) -> [String : Any]? |
---|
| Name | Declaration |
From | registerDefaults(_:) | func registerDefaults(_ registrationDictionary: [String : AnyObject]) |
To | register(defaults:) | func register(defaults registrationDictionary: [String : Any]) |
---|
| Name | Declaration |
From | NSRegistrationDomain | let NSRegistrationDomain: String |
To | registrationDomain | class let registrationDomain: String |
---|
| Name | Declaration |
From | removeObjectForKey(_:) | func removeObjectForKey(_ defaultName: String) |
To | removeObject(forKey:) | func removeObject(forKey defaultName: String) |
---|
| Name | Declaration |
From | removePersistentDomainForName(_:) | func removePersistentDomainForName(_ domainName: String) |
To | removePersistentDomain(forName:) | func removePersistentDomain(forName domainName: String) |
---|
| Name | Declaration |
From | removeSuiteNamed(_:) | func removeSuiteNamed(_ suiteName: String) |
To | removeSuite(named:) | func removeSuite(named suiteName: String) |
---|
| Name | Declaration |
From | removeVolatileDomainForName(_:) | func removeVolatileDomainForName(_ domainName: String) |
To | removeVolatileDomain(forName:) | func removeVolatileDomain(forName domainName: String) |
---|
| Name | Declaration |
From | setBool(_:forKey:) | func setBool(_ value: Bool, forKey defaultName: String) |
To | set(_:forKey:) | func set(_ value: Bool, forKey defaultName: String) |
---|
| Name | Declaration |
From | setInteger(_:forKey:) | func setInteger(_ value: Int, forKey defaultName: String) |
To | set(_:forKey:) | func set(_ value: Int, forKey defaultName: String) |
---|
| Name | Declaration |
From | setURL(_:forKey:) | func setURL(_ url: NSURL?, forKey defaultName: String) |
To | set(_:forKey:) | func set(_ url: URL?, forKey defaultName: String) |
---|
| Name | Declaration |
From | setDouble(_:forKey:) | func setDouble(_ value: Double, forKey defaultName: String) |
To | set(_:forKey:) | func set(_ value: Double, forKey defaultName: String) |
---|
| Name | Declaration |
From | setFloat(_:forKey:) | func setFloat(_ value: Float, forKey defaultName: String) |
To | set(_:forKey:) | func set(_ value: Float, forKey defaultName: String) |
---|
| Name | Declaration |
From | setObject(_:forKey:) | func setObject(_ value: AnyObject?, forKey defaultName: String) |
To | set(_:forKey:) | func set(_ value: Any?, forKey defaultName: String) |
---|
| Declaration |
From | func setPersistentDomain(_ domain: [String : AnyObject], forName domainName: String) |
To | func setPersistentDomain(_ domain: [String : Any], forName domainName: String) |
---|
| Declaration |
From | func setVolatileDomain(_ domain: [String : AnyObject], forName domainName: String) |
To | func setVolatileDomain(_ domain: [String : Any], forName domainName: String) |
---|
| Name | Declaration |
From | stringForKey(_:) | func stringForKey(_ defaultName: String) -> String? |
To | string(forKey:) | func string(forKey defaultName: String) -> String? |
---|
| Name | Declaration |
From | stringArrayForKey(_:) | func stringArrayForKey(_ defaultName: String) -> [String]? |
To | stringArray(forKey:) | func stringArray(forKey defaultName: String) -> [String]? |
---|
| Name | Declaration |
From | URLForKey(_:) | func URLForKey(_ defaultName: String) -> NSURL? |
To | url(forKey:) | func url(forKey defaultName: String) -> URL? |
---|
| Name | Declaration |
From | volatileDomainForName(_:) | func volatileDomainForName(_ domainName: String) -> [String : AnyObject] |
To | volatileDomain(forName:) | func volatileDomain(forName domainName: String) -> [String : Any] |
---|
| Declaration | Protocols |
From | class NSValueTransformer : NSObject {
class func setValueTransformer(_ transformer: NSValueTransformer?, forName name: String)
init?(forName name: String)
class func valueTransformerForName(_ name: String) -> NSValueTransformer?
class func valueTransformerNames() -> [String]
class func transformedValueClass() -> AnyClass
class func allowsReverseTransformation() -> Bool
func transformedValue(_ value: AnyObject?) -> AnyObject?
func reverseTransformedValue(_ value: AnyObject?) -> AnyObject?
} | -- |
To | class ValueTransformer : NSObject {
class func setValueTransformer(_ transformer: ValueTransformer?, forName name: NSValueTransformerName)
init?(forName name: NSValueTransformerName)
class func forName(_ name: NSValueTransformerName) -> ValueTransformer?
class func valueTransformerNames() -> [NSValueTransformerName]
class func transformedValueClass() -> Swift.AnyClass
class func allowsReverseTransformation() -> Bool
func transformedValue(_ value: Any?) -> Any?
func reverseTransformedValue(_ value: Any?) -> 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 ValueTransformer : CVarArg {
}
extension ValueTransformer : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | init?(forName name: String) |
To | init?(forName name: NSValueTransformerName) |
---|
| Declaration |
From | func reverseTransformedValue(_ value: AnyObject?) -> AnyObject? |
To | func reverseTransformedValue(_ value: Any?) -> Any? |
---|
| Declaration |
From | class func setValueTransformer(_ transformer: NSValueTransformer?, forName name: String) |
To | class func setValueTransformer(_ transformer: ValueTransformer?, forName name: NSValueTransformerName) |
---|
| Declaration |
From | func transformedValue(_ value: AnyObject?) -> AnyObject? |
To | func transformedValue(_ value: Any?) -> Any? |
---|
| Declaration |
From | class func transformedValueClass() -> AnyClass |
To | class func transformedValueClass() -> Swift.AnyClass |
---|
| Declaration |
From | class func valueTransformerNames() -> [String] |
To | class func valueTransformerNames() -> [NSValueTransformerName] |
---|
| Declaration | Protocols |
From | class NSXMLDocument : NSXMLNode {
init()
convenience init(XMLString string: String, options mask: Int) throws
convenience init(contentsOfURL url: NSURL, options mask: Int) throws
init(data data: NSData, options mask: Int) throws
init(rootElement element: NSXMLElement?)
class func replacementClassForClass(_ cls: AnyClass) -> AnyClass
var characterEncoding: String?
var version: String?
var standalone: Bool
var documentContentKind: NSXMLDocumentContentKind
var MIMEType: String?
@NSCopying var DTD: NSXMLDTD?
func setRootElement(_ root: NSXMLElement)
func rootElement() -> NSXMLElement?
func insertChild(_ child: NSXMLNode, atIndex index: Int)
func insertChildren(_ children: [NSXMLNode], atIndex index: Int)
func removeChildAtIndex(_ index: Int)
func setChildren(_ children: [NSXMLNode]?)
func addChild(_ child: NSXMLNode)
func replaceChildAtIndex(_ index: Int, withNode node: NSXMLNode)
@NSCopying var XMLData: NSData { get }
func XMLDataWithOptions(_ options: Int) -> NSData
func objectByApplyingXSLT(_ xslt: NSData, arguments arguments: [String : String]?) throws -> AnyObject
func objectByApplyingXSLTString(_ xslt: String, arguments arguments: [String : String]?) throws -> AnyObject
func objectByApplyingXSLTAtURL(_ xsltURL: NSURL, arguments argument: [String : String]?) throws -> AnyObject
func validate() throws
} | -- |
To | class XMLDocument : XMLNode {
init()
convenience init(xmlString string: String, options mask: Int) throws
convenience init(contentsOf url: URL, options mask: Int) throws
init(data data: Data, options mask: Int) throws
init(rootElement element: XMLElement?)
class func replacementClass(for cls: Swift.AnyClass) -> Swift.AnyClass
var characterEncoding: String?
var version: String?
var isStandalone: Bool
var documentContentKind: XMLDocument.ContentKind
var mimeType: String?
@NSCopying var dtd: XMLDTD?
func setRootElement(_ root: XMLElement)
func rootElement() -> XMLElement?
func insertChild(_ child: XMLNode, at index: Int)
func insertChildren(_ children: [XMLNode], at index: Int)
func removeChild(at index: Int)
func setChildren(_ children: [XMLNode]?)
func addChild(_ child: XMLNode)
func replaceChild(at index: Int, with node: XMLNode)
var xmlData: Data { get }
func xmlData(withOptions options: Int) -> Data
func object(byApplyingXSLT xslt: Data, arguments arguments: [String : String]?) throws -> Any
func object(byApplyingXSLTString xslt: String, arguments arguments: [String : String]?) throws -> Any
func objectByApplyingXSLT(at xsltURL: URL, arguments argument: [String : String]?) throws -> Any
func validate() throws
enum ContentKind : UInt {
case xml
case xhtml
case html
case text
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var nodeOptionsNone: XMLNode.Options { get }
static var nodeIsCDATA: XMLNode.Options { get }
static var nodeExpandEmptyElement: XMLNode.Options { get }
static var nodeCompactEmptyElement: XMLNode.Options { get }
static var nodeUseSingleQuotes: XMLNode.Options { get }
static var nodeUseDoubleQuotes: XMLNode.Options { get }
static var nodeNeverEscapeContents: XMLNode.Options { get }
static var documentTidyHTML: XMLNode.Options { get }
static var documentTidyXML: XMLNode.Options { get }
static var documentValidate: XMLNode.Options { get }
static var nodeLoadExternalEntitiesAlways: XMLNode.Options { get }
static var nodeLoadExternalEntitiesSameOriginOnly: XMLNode.Options { get }
static var nodeLoadExternalEntitiesNever: XMLNode.Options { get }
static var documentXInclude: XMLNode.Options { get }
static var nodePrettyPrint: XMLNode.Options { get }
static var documentIncludeContentTypeDeclaration: XMLNode.Options { get }
static var nodePreserveNamespaceOrder: XMLNode.Options { get }
static var nodePreserveAttributeOrder: XMLNode.Options { get }
static var nodePreserveEntities: XMLNode.Options { get }
static var nodePreservePrefixes: XMLNode.Options { get }
static var nodePreserveCDATA: XMLNode.Options { get }
static var nodePreserveWhitespace: XMLNode.Options { get }
static var nodePreserveDTD: XMLNode.Options { get }
static var nodePreserveCharacterReferences: XMLNode.Options { get }
static var nodePromoteSignificantWhitespace: XMLNode.Options { get }
static var nodePreserveEmptyElements: XMLNode.Options { get }
static var nodePreserveQuotes: XMLNode.Options { get }
static var nodePreserveAll: XMLNode.Options { get }
}
enum Kind : UInt {
case invalid
case document
case element
case attribute
case namespace
case processingInstruction
case comment
case text
case DTDKind
case entityDeclaration
case attributeDeclaration
case elementDeclaration
case notationDeclaration
}
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 XMLDocument {
enum ContentKind : UInt {
case xml
case xhtml
case html
case text
}
}
extension XMLDocument : CVarArg {
}
extension XMLDocument : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addChild(_ child: NSXMLNode) |
To | func addChild(_ child: XMLNode) |
---|
| Declaration |
From | var documentContentKind: NSXMLDocumentContentKind |
To | var documentContentKind: XMLDocument.ContentKind |
---|
| Name | Declaration |
From | DTD | @NSCopying var DTD: NSXMLDTD? |
To | dtd | @NSCopying var dtd: XMLDTD? |
---|
| Name | Declaration |
From | init(contentsOfURL:options:) | convenience init(contentsOfURL url: NSURL, options mask: Int) throws |
To | init(contentsOf:options:) | convenience init(contentsOf url: URL, options mask: Int) throws |
---|
| Declaration |
From | init(data data: NSData, options mask: Int) throws |
To | init(data data: Data, options mask: Int) throws |
---|
| Declaration |
From | init(rootElement element: NSXMLElement?) |
To | init(rootElement element: XMLElement?) |
---|
| Name | Declaration |
From | init(XMLString:options:) | convenience init(XMLString string: String, options mask: Int) throws |
To | init(xmlString:options:) | convenience init(xmlString string: String, options mask: Int) throws |
---|
| Name | Declaration |
From | insertChild(_:atIndex:) | func insertChild(_ child: NSXMLNode, atIndex index: Int) |
To | insertChild(_:at:) | func insertChild(_ child: XMLNode, at index: Int) |
---|
| Name | Declaration |
From | insertChildren(_:atIndex:) | func insertChildren(_ children: [NSXMLNode], atIndex index: Int) |
To | insertChildren(_:at:) | func insertChildren(_ children: [XMLNode], at index: Int) |
---|
| Name | Declaration |
From | standalone | var standalone: Bool |
To | isStandalone | var isStandalone: Bool |
---|
| Name | Declaration |
From | MIMEType | var MIMEType: String? |
To | mimeType | var mimeType: String? |
---|
| Name | Declaration |
From | objectByApplyingXSLT(_:arguments:) | func objectByApplyingXSLT(_ xslt: NSData, arguments arguments: [String : String]?) throws -> AnyObject |
To | object(byApplyingXSLT:arguments:) | func object(byApplyingXSLT xslt: Data, arguments arguments: [String : String]?) throws -> Any |
---|
| Name | Declaration |
From | objectByApplyingXSLTString(_:arguments:) | func objectByApplyingXSLTString(_ xslt: String, arguments arguments: [String : String]?) throws -> AnyObject |
To | object(byApplyingXSLTString:arguments:) | func object(byApplyingXSLTString xslt: String, arguments arguments: [String : String]?) throws -> Any |
---|
| Name | Declaration |
From | objectByApplyingXSLTAtURL(_:arguments:) | func objectByApplyingXSLTAtURL(_ xsltURL: NSURL, arguments argument: [String : String]?) throws -> AnyObject |
To | objectByApplyingXSLT(at:arguments:) | func objectByApplyingXSLT(at xsltURL: URL, arguments argument: [String : String]?) throws -> Any |
---|
| Name | Declaration |
From | removeChildAtIndex(_:) | func removeChildAtIndex(_ index: Int) |
To | removeChild(at:) | func removeChild(at index: Int) |
---|
| Name | Declaration |
From | replaceChildAtIndex(_:withNode:) | func replaceChildAtIndex(_ index: Int, withNode node: NSXMLNode) |
To | replaceChild(at:with:) | func replaceChild(at index: Int, with node: XMLNode) |
---|
| Name | Declaration |
From | replacementClassForClass(_:) | class func replacementClassForClass(_ cls: AnyClass) -> AnyClass |
To | replacementClass(for:) | class func replacementClass(for cls: Swift.AnyClass) -> Swift.AnyClass |
---|
| Declaration |
From | func rootElement() -> NSXMLElement? |
To | func rootElement() -> XMLElement? |
---|
| Declaration |
From | func setChildren(_ children: [NSXMLNode]?) |
To | func setChildren(_ children: [XMLNode]?) |
---|
| Declaration |
From | func setRootElement(_ root: NSXMLElement) |
To | func setRootElement(_ root: XMLElement) |
---|
| Name | Declaration |
From | XMLData | @NSCopying var XMLData: NSData { get } |
To | xmlData | var xmlData: Data { get } |
---|
| Name | Declaration |
From | XMLDataWithOptions(_:) | func XMLDataWithOptions(_ options: Int) -> NSData |
To | xmlData(withOptions:) | func xmlData(withOptions options: Int) -> Data |
---|
| Declaration |
From | enum NSXMLDocumentContentKind : UInt {
case XMLKind
case XHTMLKind
case HTMLKind
case TextKind
} |
To | enum ContentKind : UInt {
case xml
case xhtml
case html
case text
} |
---|
| Name | Declaration |
From | HTMLKind | case HTMLKind |
To | html | case html |
---|
| Name | Declaration |
From | TextKind | case TextKind |
To | text | case text |
---|
| Name | Declaration |
From | XHTMLKind | case XHTMLKind |
To | xhtml | case xhtml |
---|
| Name | Declaration |
From | XMLKind | case XMLKind |
To | xml | case xml |
---|
| Declaration | Protocols |
From | class NSXMLDTD : NSXMLNode {
init()
convenience init(kind kind: NSXMLNodeKind, options options: Int)
convenience init(contentsOfURL url: NSURL, options mask: Int) throws
init(data data: NSData, options mask: Int) throws
var publicID: String?
var systemID: String?
func insertChild(_ child: NSXMLNode, atIndex index: Int)
func insertChildren(_ children: [NSXMLNode], atIndex index: Int)
func removeChildAtIndex(_ index: Int)
func setChildren(_ children: [NSXMLNode]?)
func addChild(_ child: NSXMLNode)
func replaceChildAtIndex(_ index: Int, withNode node: NSXMLNode)
func entityDeclarationForName(_ name: String) -> NSXMLDTDNode?
func notationDeclarationForName(_ name: String) -> NSXMLDTDNode?
func elementDeclarationForName(_ name: String) -> NSXMLDTDNode?
func attributeDeclarationForName(_ name: String, elementName elementName: String) -> NSXMLDTDNode?
class func predefinedEntityDeclarationForName(_ name: String) -> NSXMLDTDNode?
} | -- |
To | class XMLDTD : XMLNode {
init()
convenience init(kind kind: XMLNode.Kind, options options: XMLNode.Options = [])
convenience init(contentsOf url: URL, options mask: Int) throws
init(data data: Data, options mask: Int) throws
var publicID: String?
var systemID: String?
func insertChild(_ child: XMLNode, at index: Int)
func insertChildren(_ children: [XMLNode], at index: Int)
func removeChild(at index: Int)
func setChildren(_ children: [XMLNode]?)
func addChild(_ child: XMLNode)
func replaceChild(at index: Int, with node: XMLNode)
func entityDeclaration(forName name: String) -> XMLDTDNode?
func notationDeclaration(forName name: String) -> XMLDTDNode?
func elementDeclaration(forName name: String) -> XMLDTDNode?
func attributeDeclaration(forName name: String, elementName elementName: String) -> XMLDTDNode?
class func predefinedEntityDeclaration(forName name: String) -> XMLDTDNode?
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var nodeOptionsNone: XMLNode.Options { get }
static var nodeIsCDATA: XMLNode.Options { get }
static var nodeExpandEmptyElement: XMLNode.Options { get }
static var nodeCompactEmptyElement: XMLNode.Options { get }
static var nodeUseSingleQuotes: XMLNode.Options { get }
static var nodeUseDoubleQuotes: XMLNode.Options { get }
static var nodeNeverEscapeContents: XMLNode.Options { get }
static var documentTidyHTML: XMLNode.Options { get }
static var documentTidyXML: XMLNode.Options { get }
static var documentValidate: XMLNode.Options { get }
static var nodeLoadExternalEntitiesAlways: XMLNode.Options { get }
static var nodeLoadExternalEntitiesSameOriginOnly: XMLNode.Options { get }
static var nodeLoadExternalEntitiesNever: XMLNode.Options { get }
static var documentXInclude: XMLNode.Options { get }
static var nodePrettyPrint: XMLNode.Options { get }
static var documentIncludeContentTypeDeclaration: XMLNode.Options { get }
static var nodePreserveNamespaceOrder: XMLNode.Options { get }
static var nodePreserveAttributeOrder: XMLNode.Options { get }
static var nodePreserveEntities: XMLNode.Options { get }
static var nodePreservePrefixes: XMLNode.Options { get }
static var nodePreserveCDATA: XMLNode.Options { get }
static var nodePreserveWhitespace: XMLNode.Options { get }
static var nodePreserveDTD: XMLNode.Options { get }
static var nodePreserveCharacterReferences: XMLNode.Options { get }
static var nodePromoteSignificantWhitespace: XMLNode.Options { get }
static var nodePreserveEmptyElements: XMLNode.Options { get }
static var nodePreserveQuotes: XMLNode.Options { get }
static var nodePreserveAll: XMLNode.Options { get }
}
enum Kind : UInt {
case invalid
case document
case element
case attribute
case namespace
case processingInstruction
case comment
case text
case DTDKind
case entityDeclaration
case attributeDeclaration
case elementDeclaration
case notationDeclaration
}
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 XMLDTD : CVarArg {
}
extension XMLDTD : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addChild(_ child: NSXMLNode) |
To | func addChild(_ child: XMLNode) |
---|
| Name | Declaration |
From | attributeDeclarationForName(_:elementName:) | func attributeDeclarationForName(_ name: String, elementName elementName: String) -> NSXMLDTDNode? |
To | attributeDeclaration(forName:elementName:) | func attributeDeclaration(forName name: String, elementName elementName: String) -> XMLDTDNode? |
---|
| Name | Declaration |
From | elementDeclarationForName(_:) | func elementDeclarationForName(_ name: String) -> NSXMLDTDNode? |
To | elementDeclaration(forName:) | func elementDeclaration(forName name: String) -> XMLDTDNode? |
---|
| Name | Declaration |
From | entityDeclarationForName(_:) | func entityDeclarationForName(_ name: String) -> NSXMLDTDNode? |
To | entityDeclaration(forName:) | func entityDeclaration(forName name: String) -> XMLDTDNode? |
---|
| Name | Declaration |
From | init(contentsOfURL:options:) | convenience init(contentsOfURL url: NSURL, options mask: Int) throws |
To | init(contentsOf:options:) | convenience init(contentsOf url: URL, options mask: Int) throws |
---|
| Declaration |
From | init(data data: NSData, options mask: Int) throws |
To | init(data data: Data, options mask: Int) throws |
---|
| Name | Declaration |
From | insertChild(_:atIndex:) | func insertChild(_ child: NSXMLNode, atIndex index: Int) |
To | insertChild(_:at:) | func insertChild(_ child: XMLNode, at index: Int) |
---|
| Name | Declaration |
From | insertChildren(_:atIndex:) | func insertChildren(_ children: [NSXMLNode], atIndex index: Int) |
To | insertChildren(_:at:) | func insertChildren(_ children: [XMLNode], at index: Int) |
---|
| Name | Declaration |
From | notationDeclarationForName(_:) | func notationDeclarationForName(_ name: String) -> NSXMLDTDNode? |
To | notationDeclaration(forName:) | func notationDeclaration(forName name: String) -> XMLDTDNode? |
---|
| Name | Declaration |
From | predefinedEntityDeclarationForName(_:) | class func predefinedEntityDeclarationForName(_ name: String) -> NSXMLDTDNode? |
To | predefinedEntityDeclaration(forName:) | class func predefinedEntityDeclaration(forName name: String) -> XMLDTDNode? |
---|
| Name | Declaration |
From | removeChildAtIndex(_:) | func removeChildAtIndex(_ index: Int) |
To | removeChild(at:) | func removeChild(at index: Int) |
---|
| Name | Declaration |
From | replaceChildAtIndex(_:withNode:) | func replaceChildAtIndex(_ index: Int, withNode node: NSXMLNode) |
To | replaceChild(at:with:) | func replaceChild(at index: Int, with node: XMLNode) |
---|
| Declaration |
From | func setChildren(_ children: [NSXMLNode]?) |
To | func setChildren(_ children: [XMLNode]?) |
---|
| Declaration | Protocols |
From | class NSXMLDTDNode : NSXMLNode {
init?(XMLString string: String)
init(kind kind: NSXMLNodeKind, options options: Int)
init()
var DTDKind: NSXMLDTDNodeKind
var external: Bool { get }
var publicID: String?
var systemID: String?
var notationName: String?
} | -- |
To | class XMLDTDNode : XMLNode {
init?(xmlString string: String)
init(kind kind: XMLNode.Kind, options options: XMLNode.Options = [])
init()
var dtdKind: XMLDTDNode.DTDKind
var isExternal: Bool { get }
var publicID: String?
var systemID: String?
var notationName: String?
enum DTDKind : UInt {
case general
case parsed
case unparsed
case parameter
case predefined
case cdataAttribute
case idAttribute
case idRefAttribute
case idRefsAttribute
case entityAttribute
case entitiesAttribute
case nmTokenAttribute
case nmTokensAttribute
case enumerationAttribute
case notationAttribute
case undefinedDeclaration
case emptyDeclaration
case anyDeclaration
case mixedDeclaration
case elementDeclaration
}
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var nodeOptionsNone: XMLNode.Options { get }
static var nodeIsCDATA: XMLNode.Options { get }
static var nodeExpandEmptyElement: XMLNode.Options { get }
static var nodeCompactEmptyElement: XMLNode.Options { get }
static var nodeUseSingleQuotes: XMLNode.Options { get }
static var nodeUseDoubleQuotes: XMLNode.Options { get }
static var nodeNeverEscapeContents: XMLNode.Options { get }
static var documentTidyHTML: XMLNode.Options { get }
static var documentTidyXML: XMLNode.Options { get }
static var documentValidate: XMLNode.Options { get }
static var nodeLoadExternalEntitiesAlways: XMLNode.Options { get }
static var nodeLoadExternalEntitiesSameOriginOnly: XMLNode.Options { get }
static var nodeLoadExternalEntitiesNever: XMLNode.Options { get }
static var documentXInclude: XMLNode.Options { get }
static var nodePrettyPrint: XMLNode.Options { get }
static var documentIncludeContentTypeDeclaration: XMLNode.Options { get }
static var nodePreserveNamespaceOrder: XMLNode.Options { get }
static var nodePreserveAttributeOrder: XMLNode.Options { get }
static var nodePreserveEntities: XMLNode.Options { get }
static var nodePreservePrefixes: XMLNode.Options { get }
static var nodePreserveCDATA: XMLNode.Options { get }
static var nodePreserveWhitespace: XMLNode.Options { get }
static var nodePreserveDTD: XMLNode.Options { get }
static var nodePreserveCharacterReferences: XMLNode.Options { get }
static var nodePromoteSignificantWhitespace: XMLNode.Options { get }
static var nodePreserveEmptyElements: XMLNode.Options { get }
static var nodePreserveQuotes: XMLNode.Options { get }
static var nodePreserveAll: XMLNode.Options { get }
}
enum Kind : UInt {
case invalid
case document
case element
case attribute
case namespace
case processingInstruction
case comment
case text
case DTDKind
case entityDeclaration
case attributeDeclaration
case elementDeclaration
case notationDeclaration
}
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 XMLDTDNode {
enum DTDKind : UInt {
case general
case parsed
case unparsed
case parameter
case predefined
case cdataAttribute
case idAttribute
case idRefAttribute
case idRefsAttribute
case entityAttribute
case entitiesAttribute
case nmTokenAttribute
case nmTokensAttribute
case enumerationAttribute
case notationAttribute
case undefinedDeclaration
case emptyDeclaration
case anyDeclaration
case mixedDeclaration
case elementDeclaration
}
}
extension XMLDTDNode : CVarArg {
}
extension XMLDTDNode : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
---|
| Name | Declaration |
From | DTDKind | var DTDKind: NSXMLDTDNodeKind |
To | dtdKind | var dtdKind: XMLDTDNode.DTDKind |
---|
| Declaration |
From | init(kind kind: NSXMLNodeKind, options options: Int) |
To | init(kind kind: XMLNode.Kind, options options: XMLNode.Options = []) |
---|
| Name | Declaration |
From | init(XMLString:) | init?(XMLString string: String) |
To | init(xmlString:) | init?(xmlString string: String) |
---|
| Name | Declaration |
From | external | var external: Bool { get } |
To | isExternal | var isExternal: Bool { get } |
---|
| Declaration |
From | enum NSXMLDTDNodeKind : UInt {
case NSXMLEntityGeneralKind
case NSXMLEntityParsedKind
case NSXMLEntityUnparsedKind
case NSXMLEntityParameterKind
case NSXMLEntityPredefined
case NSXMLAttributeCDATAKind
case NSXMLAttributeIDKind
case NSXMLAttributeIDRefKind
case NSXMLAttributeIDRefsKind
case NSXMLAttributeEntityKind
case NSXMLAttributeEntitiesKind
case NSXMLAttributeNMTokenKind
case NSXMLAttributeNMTokensKind
case NSXMLAttributeEnumerationKind
case NSXMLAttributeNotationKind
case NSXMLElementDeclarationUndefinedKind
case NSXMLElementDeclarationEmptyKind
case NSXMLElementDeclarationAnyKind
case NSXMLElementDeclarationMixedKind
case NSXMLElementDeclarationElementKind
} |
To | enum DTDKind : UInt {
case general
case parsed
case unparsed
case parameter
case predefined
case cdataAttribute
case idAttribute
case idRefAttribute
case idRefsAttribute
case entityAttribute
case entitiesAttribute
case nmTokenAttribute
case nmTokensAttribute
case enumerationAttribute
case notationAttribute
case undefinedDeclaration
case emptyDeclaration
case anyDeclaration
case mixedDeclaration
case elementDeclaration
} |
---|
| Name | Declaration | Introduction |
From | NSXMLElementDeclarationAnyKind | case NSXMLElementDeclarationAnyKind | OS X 10.10 |
To | anyDeclaration | case anyDeclaration | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeCDATAKind | case NSXMLAttributeCDATAKind | OS X 10.10 |
To | cdataAttribute | case cdataAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLElementDeclarationElementKind | case NSXMLElementDeclarationElementKind | OS X 10.10 |
To | elementDeclaration | case elementDeclaration | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLElementDeclarationEmptyKind | case NSXMLElementDeclarationEmptyKind | OS X 10.10 |
To | emptyDeclaration | case emptyDeclaration | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeEntitiesKind | case NSXMLAttributeEntitiesKind | OS X 10.10 |
To | entitiesAttribute | case entitiesAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeEntityKind | case NSXMLAttributeEntityKind | OS X 10.10 |
To | entityAttribute | case entityAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeEnumerationKind | case NSXMLAttributeEnumerationKind | OS X 10.10 |
To | enumerationAttribute | case enumerationAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLEntityGeneralKind | case NSXMLEntityGeneralKind | OS X 10.10 |
To | general | case general | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeIDKind | case NSXMLAttributeIDKind | OS X 10.10 |
To | idAttribute | case idAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeIDRefKind | case NSXMLAttributeIDRefKind | OS X 10.10 |
To | idRefAttribute | case idRefAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeIDRefsKind | case NSXMLAttributeIDRefsKind | OS X 10.10 |
To | idRefsAttribute | case idRefsAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLElementDeclarationMixedKind | case NSXMLElementDeclarationMixedKind | OS X 10.10 |
To | mixedDeclaration | case mixedDeclaration | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeNMTokenKind | case NSXMLAttributeNMTokenKind | OS X 10.10 |
To | nmTokenAttribute | case nmTokenAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeNMTokensKind | case NSXMLAttributeNMTokensKind | OS X 10.10 |
To | nmTokensAttribute | case nmTokensAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLAttributeNotationKind | case NSXMLAttributeNotationKind | OS X 10.10 |
To | notationAttribute | case notationAttribute | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLEntityParameterKind | case NSXMLEntityParameterKind | OS X 10.10 |
To | parameter | case parameter | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLEntityParsedKind | case NSXMLEntityParsedKind | OS X 10.10 |
To | parsed | case parsed | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLEntityPredefined | case NSXMLEntityPredefined | OS X 10.10 |
To | predefined | case predefined | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLElementDeclarationUndefinedKind | case NSXMLElementDeclarationUndefinedKind | OS X 10.10 |
To | undefinedDeclaration | case undefinedDeclaration | OS X 10.12 |
---|
| Name | Declaration | Introduction |
From | NSXMLEntityUnparsedKind | case NSXMLEntityUnparsedKind | OS X 10.10 |
To | unparsed | case unparsed | OS X 10.12 |
---|
| Declaration | Protocols |
From | class NSXMLElement : NSXMLNode {
convenience init(name name: String)
init(name name: String, URI URI: String?)
convenience init(name name: String, stringValue string: String?)
init(XMLString string: String) throws
convenience init(kind kind: NSXMLNodeKind, options options: Int)
func elementsForName(_ name: String) -> [NSXMLElement]
func elementsForLocalName(_ localName: String, URI URI: String?) -> [NSXMLElement]
func addAttribute(_ attribute: NSXMLNode)
func removeAttributeForName(_ name: String)
var attributes: [NSXMLNode]?
func setAttributesWithDictionary(_ attributes: [String : String])
func attributeForName(_ name: String) -> NSXMLNode?
func attributeForLocalName(_ localName: String, URI URI: String?) -> NSXMLNode?
func addNamespace(_ aNamespace: NSXMLNode)
func removeNamespaceForPrefix(_ name: String)
var namespaces: [NSXMLNode]?
func namespaceForPrefix(_ name: String) -> NSXMLNode?
func resolveNamespaceForName(_ name: String) -> NSXMLNode?
func resolvePrefixForNamespaceURI(_ namespaceURI: String) -> String?
func insertChild(_ child: NSXMLNode, atIndex index: Int)
func insertChildren(_ children: [NSXMLNode], atIndex index: Int)
func removeChildAtIndex(_ index: Int)
func setChildren(_ children: [NSXMLNode]?)
func addChild(_ child: NSXMLNode)
func replaceChildAtIndex(_ index: Int, withNode node: NSXMLNode)
func normalizeAdjacentTextNodesPreservingCDATA(_ preserve: Bool)
}
extension NSXMLElement {
func setAttributesAsDictionary(_ attributes: [NSObject : AnyObject])
} | -- |
To | class XMLElement : XMLNode {
convenience init(name name: String)
init(name name: String, uri URI: String?)
convenience init(name name: String, stringValue string: String?)
init(xmlString string: String) throws
convenience init(kind kind: XMLNode.Kind, options options: XMLNode.Options = [])
func elements(forName name: String) -> [XMLElement]
func elements(forLocalName localName: String, uri URI: String?) -> [XMLElement]
func addAttribute(_ attribute: XMLNode)
func removeAttribute(forName name: String)
var attributes: [XMLNode]?
func setAttributesWith(_ attributes: [String : String])
func attribute(forName name: String) -> XMLNode?
func attribute(forLocalName localName: String, uri URI: String?) -> XMLNode?
func addNamespace(_ aNamespace: XMLNode)
func removeNamespace(forPrefix name: String)
var namespaces: [XMLNode]?
func namespace(forPrefix name: String) -> XMLNode?
func resolveNamespace(forName name: String) -> XMLNode?
func resolvePrefix(forNamespaceURI namespaceURI: String) -> String?
func insertChild(_ child: XMLNode, at index: Int)
func insertChildren(_ children: [XMLNode], at index: Int)
func removeChild(at index: Int)
func setChildren(_ children: [XMLNode]?)
func addChild(_ child: XMLNode)
func replaceChild(at index: Int, with node: XMLNode)
func normalizeAdjacentTextNodesPreservingCDATA(_ preserve: Bool)
func setAttributesAs(_ attributes: [AnyHashable : Any])
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var nodeOptionsNone: XMLNode.Options { get }
static var nodeIsCDATA: XMLNode.Options { get }
static var nodeExpandEmptyElement: XMLNode.Options { get }
static var nodeCompactEmptyElement: XMLNode.Options { get }
static var nodeUseSingleQuotes: XMLNode.Options { get }
static var nodeUseDoubleQuotes: XMLNode.Options { get }
static var nodeNeverEscapeContents: XMLNode.Options { get }
static var documentTidyHTML: XMLNode.Options { get }
static var documentTidyXML: XMLNode.Options { get }
static var documentValidate: XMLNode.Options { get }
static var nodeLoadExternalEntitiesAlways: XMLNode.Options { get }
static var nodeLoadExternalEntitiesSameOriginOnly: XMLNode.Options { get }
static var nodeLoadExternalEntitiesNever: XMLNode.Options { get }
static var documentXInclude: XMLNode.Options { get }
static var nodePrettyPrint: XMLNode.Options { get }
static var documentIncludeContentTypeDeclaration: XMLNode.Options { get }
static var nodePreserveNamespaceOrder: XMLNode.Options { get }
static var nodePreserveAttributeOrder: XMLNode.Options { get }
static var nodePreserveEntities: XMLNode.Options { get }
static var nodePreservePrefixes: XMLNode.Options { get }
static var nodePreserveCDATA: XMLNode.Options { get }
static var nodePreserveWhitespace: XMLNode.Options { get }
static var nodePreserveDTD: XMLNode.Options { get }
static var nodePreserveCharacterReferences: XMLNode.Options { get }
static var nodePromoteSignificantWhitespace: XMLNode.Options { get }
static var nodePreserveEmptyElements: XMLNode.Options { get }
static var nodePreserveQuotes: XMLNode.Options { get }
static var nodePreserveAll: XMLNode.Options { get }
}
enum Kind : UInt {
case invalid
case document
case element
case attribute
case namespace
case processingInstruction
case comment
case text
case DTDKind
case entityDeclaration
case attributeDeclaration
case elementDeclaration
case notationDeclaration
}
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 XMLElement : CVarArg {
}
extension XMLElement : Equatable, Hashable {
var hashValue: Int { get }
}
extension XMLElement {
func setAttributesAs(_ attributes: [AnyHashable : Any])
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | func addAttribute(_ attribute: NSXMLNode) |
To | func addAttribute(_ attribute: XMLNode) |
---|
| Declaration |
From | func addChild(_ child: NSXMLNode) |
To | func addChild(_ child: XMLNode) |
---|
| Declaration |
From | func addNamespace(_ aNamespace: NSXMLNode) |
To | func addNamespace(_ aNamespace: XMLNode) |
---|
| Name | Declaration |
From | attributeForLocalName(_:URI:) | func attributeForLocalName(_ localName: String, URI URI: String?) -> NSXMLNode? |
To | attribute(forLocalName:uri:) | func attribute(forLocalName localName: String, uri URI: String?) -> XMLNode? |
---|
| Name | Declaration |
From | attributeForName(_:) | func attributeForName(_ name: String) -> NSXMLNode? |
To | attribute(forName:) | func attribute(forName name: String) -> XMLNode? |
---|
| Declaration |
From | var attributes: [NSXMLNode]? |
To | var attributes: [XMLNode]? |
---|
| Name | Declaration |
From | elementsForLocalName(_:URI:) | func elementsForLocalName(_ localName: String, URI URI: String?) -> [NSXMLElement] |
To | elements(forLocalName:uri:) | func elements(forLocalName localName: String, uri URI: String?) -> [XMLElement] |
---|
| Name | Declaration |
From | elementsForName(_:) | func elementsForName(_ name: String) -> [NSXMLElement] |
To | elements(forName:) | func elements(forName name: String) -> [XMLElement] |
---|
| Declaration |
From | convenience init(kind kind: NSXMLNodeKind, options options: Int) |
To | convenience init(kind kind: XMLNode.Kind, options options: XMLNode.Options = []) |
---|
| Name | Declaration |
From | init(name:URI:) | init(name name: String, URI URI: String?) |
To | init(name:uri:) | init(name name: String, uri URI: String?) |
---|
| Name | Declaration |
From | init(XMLString:) | init(XMLString string: String) throws |
To | init(xmlString:) | init(xmlString string: String) throws |
---|
| Name | Declaration |
From | insertChild(_:atIndex:) | func insertChild(_ child: NSXMLNode, atIndex index: Int) |
To | insertChild(_:at:) | func insertChild(_ child: XMLNode, at index: Int) |
---|
| Name | Declaration |
From | insertChildren(_:atIndex:) | func insertChildren(_ children: [NSXMLNode], atIndex index: Int) |
To | insertChildren(_:at:) | func insertChildren(_ children: [XMLNode], at index: Int) |
---|
| Name | Declaration |
From | namespaceForPrefix(_:) | func namespaceForPrefix(_ name: String) -> NSXMLNode? |
To | namespace(forPrefix:) | func namespace(forPrefix name: String) -> XMLNode? |
---|
| Declaration |
From | var namespaces: [NSXMLNode]? |
To | var namespaces: [XMLNode]? |
---|
| Name | Declaration |
From | removeAttributeForName(_:) | func removeAttributeForName(_ name: String) |
To | removeAttribute(forName:) | func removeAttribute(forName name: String) |
---|
| Name | Declaration |
From | removeChildAtIndex(_:) | func removeChildAtIndex(_ index: Int) |
To | removeChild(at:) | func removeChild(at index: Int) |
---|
| Name | Declaration |
From | removeNamespaceForPrefix(_:) | func removeNamespaceForPrefix(_ name: String) |
To | removeNamespace(forPrefix:) | func removeNamespace(forPrefix name: String) |
---|
| Name | Declaration |
From | replaceChildAtIndex(_:withNode:) | func replaceChildAtIndex(_ index: Int, withNode node: NSXMLNode) |
To | replaceChild(at:with:) | func replaceChild(at index: Int, with node: XMLNode) |
---|
| Name | Declaration |
From | resolveNamespaceForName(_:) | func resolveNamespaceForName(_ name: String) -> NSXMLNode? |
To | resolveNamespace(forName:) | func resolveNamespace(forName name: String) -> XMLNode? |
---|
| Name | Declaration |
From | resolvePrefixForNamespaceURI(_:) | func resolvePrefixForNamespaceURI(_ namespaceURI: String) -> String? |
To | resolvePrefix(forNamespaceURI:) | func resolvePrefix(forNamespaceURI namespaceURI: String) -> String? |
---|
| Name | Declaration |
From | setAttributesAsDictionary(_:) | func setAttributesAsDictionary(_ attributes: [NSObject : AnyObject]) |
To | setAttributesAs(_:) | func setAttributesAs(_ attributes: [AnyHashable : Any]) |
---|
| Name | Declaration |
From | setAttributesWithDictionary(_:) | func setAttributesWithDictionary(_ attributes: [String : String]) |
To | setAttributesWith(_:) | func setAttributesWith(_ attributes: [String : String]) |
---|
| Declaration |
From | func setChildren(_ children: [NSXMLNode]?) |
To | func setChildren(_ children: [XMLNode]?) |
---|
| Declaration | Protocols |
From | class NSXMLNode : NSObject, NSCopying {
init()
convenience init(kind kind: NSXMLNodeKind)
init(kind kind: NSXMLNodeKind, options options: Int)
class func document() -> AnyObject
class func documentWithRootElement(_ element: NSXMLElement) -> AnyObject
class func elementWithName(_ name: String) -> AnyObject
class func elementWithName(_ name: String, URI URI: String) -> AnyObject
class func elementWithName(_ name: String, stringValue string: String) -> AnyObject
class func elementWithName(_ name: String, children children: [NSXMLNode]?, attributes attributes: [NSXMLNode]?) -> AnyObject
class func attributeWithName(_ name: String, stringValue stringValue: String) -> AnyObject
class func attributeWithName(_ name: String, URI URI: String, stringValue stringValue: String) -> AnyObject
class func namespaceWithName(_ name: String, stringValue stringValue: String) -> AnyObject
class func processingInstructionWithName(_ name: String, stringValue stringValue: String) -> AnyObject
class func commentWithStringValue(_ stringValue: String) -> AnyObject
class func textWithStringValue(_ stringValue: String) -> AnyObject
class func DTDNodeWithXMLString(_ string: String) -> AnyObject?
var kind: NSXMLNodeKind { get }
var name: String?
var objectValue: AnyObject?
var stringValue: String?
func setStringValue(_ string: String, resolvingEntities resolve: Bool)
var index: Int { get }
var level: Int { get }
var rootDocument: NSXMLDocument? { get }
@NSCopying var parent: NSXMLNode? { get }
var childCount: Int { get }
var children: [NSXMLNode]? { get }
func childAtIndex(_ index: Int) -> NSXMLNode?
@NSCopying var previousSibling: NSXMLNode? { get }
@NSCopying var nextSibling: NSXMLNode? { get }
@NSCopying var previousNode: NSXMLNode? { get }
@NSCopying var nextNode: NSXMLNode? { get }
func detach()
var XPath: String? { get }
var localName: String? { get }
var prefix: String? { get }
var URI: String?
class func localNameForName(_ name: String) -> String
class func prefixForName(_ name: String) -> String?
class func predefinedNamespaceForPrefix(_ name: String) -> NSXMLNode?
var description: String { get }
var XMLString: String { get }
func XMLStringWithOptions(_ options: Int) -> String
func canonicalXMLStringPreservingComments(_ comments: Bool) -> String
func nodesForXPath(_ xpath: String) throws -> [NSXMLNode]
func objectsForXQuery(_ xquery: String, constants constants: [String : AnyObject]?) throws -> [AnyObject]
func objectsForXQuery(_ xquery: String) throws -> [AnyObject]
} | NSCopying |
To | class XMLNode : NSObject, NSCopying {
init()
convenience init(kind kind: XMLNode.Kind)
init(kind kind: XMLNode.Kind, options options: XMLNode.Options = [])
class func document() -> Any
class func document(withRootElement element: XMLElement) -> Any
class func element(withName name: String) -> Any
class func element(withName name: String, uri URI: String) -> Any
class func element(withName name: String, stringValue string: String) -> Any
class func element(withName name: String, children children: [XMLNode]?, attributes attributes: [XMLNode]?) -> Any
class func attribute(withName name: String, stringValue stringValue: String) -> Any
class func attribute(withName name: String, uri URI: String, stringValue stringValue: String) -> Any
class func namespace(withName name: String, stringValue stringValue: String) -> Any
class func processingInstruction(withName name: String, stringValue stringValue: String) -> Any
class func comment(withStringValue stringValue: String) -> Any
class func text(withStringValue stringValue: String) -> Any
class func dtdNode(withXMLString string: String) -> Any?
var kind: XMLNode.Kind { get }
var name: String?
var objectValue: Any?
var stringValue: String?
func setStringValue(_ string: String, resolvingEntities resolve: Bool)
var index: Int { get }
var level: Int { get }
var rootDocument: XMLDocument? { get }
@NSCopying var parent: XMLNode? { get }
var childCount: Int { get }
var children: [XMLNode]? { get }
func child(at index: Int) -> XMLNode?
@NSCopying var previousSibling: XMLNode? { get }
@NSCopying var nextSibling: XMLNode? { get }
@NSCopying var previous: XMLNode? { get }
@NSCopying var next: XMLNode? { get }
func detach()
var xPath: String? { get }
var localName: String? { get }
var prefix: String? { get }
var uri: String?
class func localName(forName name: String) -> String
class func prefix(forName name: String) -> String?
class func predefinedNamespace(forPrefix name: String) -> XMLNode?
var description: String { get }
var xmlString: String { get }
func xmlString(withOptions options: Int) -> String
func canonicalXMLStringPreservingComments(_ comments: Bool) -> String
func nodes(forXPath xpath: String) throws -> [XMLNode]
func objects(forXQuery xquery: String, constants constants: [String : Any]?) throws -> [Any]
func objects(forXQuery xquery: String) throws -> [Any]
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var nodeOptionsNone: XMLNode.Options { get }
static var nodeIsCDATA: XMLNode.Options { get }
static var nodeExpandEmptyElement: XMLNode.Options { get }
static var nodeCompactEmptyElement: XMLNode.Options { get }
static var nodeUseSingleQuotes: XMLNode.Options { get }
static var nodeUseDoubleQuotes: XMLNode.Options { get }
static var nodeNeverEscapeContents: XMLNode.Options { get }
static var documentTidyHTML: XMLNode.Options { get }
static var documentTidyXML: XMLNode.Options { get }
static var documentValidate: XMLNode.Options { get }
static var nodeLoadExternalEntitiesAlways: XMLNode.Options { get }
static var nodeLoadExternalEntitiesSameOriginOnly: XMLNode.Options { get }
static var nodeLoadExternalEntitiesNever: XMLNode.Options { get }
static var documentXInclude: XMLNode.Options { get }
static var nodePrettyPrint: XMLNode.Options { get }
static var documentIncludeContentTypeDeclaration: XMLNode.Options { get }
static var nodePreserveNamespaceOrder: XMLNode.Options { get }
static var nodePreserveAttributeOrder: XMLNode.Options { get }
static var nodePreserveEntities: XMLNode.Options { get }
static var nodePreservePrefixes: XMLNode.Options { get }
static var nodePreserveCDATA: XMLNode.Options { get }
static var nodePreserveWhitespace: XMLNode.Options { get }
static var nodePreserveDTD: XMLNode.Options { get }
static var nodePreserveCharacterReferences: XMLNode.Options { get }
static var nodePromoteSignificantWhitespace: XMLNode.Options { get }
static var nodePreserveEmptyElements: XMLNode.Options { get }
static var nodePreserveQuotes: XMLNode.Options { get }
static var nodePreserveAll: XMLNode.Options { get }
}
enum Kind : UInt {
case invalid
case document
case element
case attribute
case namespace
case processingInstruction
case comment
case text
case DTDKind
case entityDeclaration
case attributeDeclaration
case elementDeclaration
case notationDeclaration
}
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 XMLNode {
enum Kind : UInt {
case invalid
case document
case element
case attribute
case namespace
case processingInstruction
case comment
case text
case DTDKind
case entityDeclaration
case attributeDeclaration
case elementDeclaration
case notationDeclaration
}
}
extension XMLNode : CVarArg {
}
extension XMLNode : Equatable, Hashable {
var hashValue: Int { get }
}
extension XMLNode {
struct Options : OptionSet {
init(rawValue rawValue: UInt)
static var nodeOptionsNone: XMLNode.Options { get }
static var nodeIsCDATA: XMLNode.Options { get }
static var nodeExpandEmptyElement: XMLNode.Options { get }
static var nodeCompactEmptyElement: XMLNode.Options { get }
static var nodeUseSingleQuotes: XMLNode.Options { get }
static var nodeUseDoubleQuotes: XMLNode.Options { get }
static var nodeNeverEscapeContents: XMLNode.Options { get }
static var documentTidyHTML: XMLNode.Options { get }
static var documentTidyXML: XMLNode.Options { get }
static var documentValidate: XMLNode.Options { get }
static var nodeLoadExternalEntitiesAlways: XMLNode.Options { get }
static var nodeLoadExternalEntitiesSameOriginOnly: XMLNode.Options { get }
static var nodeLoadExternalEntitiesNever: XMLNode.Options { get }
static var documentXInclude: XMLNode.Options { get }
static var nodePrettyPrint: XMLNode.Options { get }
static var documentIncludeContentTypeDeclaration: XMLNode.Options { get }
static var nodePreserveNamespaceOrder: XMLNode.Options { get }
static var nodePreserveAttributeOrder: XMLNode.Options { get }
static var nodePreserveEntities: XMLNode.Options { get }
static var nodePreservePrefixes: XMLNode.Options { get }
static var nodePreserveCDATA: XMLNode.Options { get }
static var nodePreserveWhitespace: XMLNode.Options { get }
static var nodePreserveDTD: XMLNode.Options { get }
static var nodePreserveCharacterReferences: XMLNode.Options { get }
static var nodePromoteSignificantWhitespace: XMLNode.Options { get }
static var nodePreserveEmptyElements: XMLNode.Options { get }
static var nodePreserveQuotes: XMLNode.Options { get }
static var nodePreserveAll: XMLNode.Options { get }
}
} | CVarArg, Equatable, Hashable, NSCopying |
---|
| Name | Declaration |
From | attributeWithName(_:stringValue:) | class func attributeWithName(_ name: String, stringValue stringValue: String) -> AnyObject |
To | attribute(withName:stringValue:) | class func attribute(withName name: String, stringValue stringValue: String) -> Any |
---|
| Name | Declaration |
From | attributeWithName(_:URI:stringValue:) | class func attributeWithName(_ name: String, URI URI: String, stringValue stringValue: String) -> AnyObject |
To | attribute(withName:uri:stringValue:) | class func attribute(withName name: String, uri URI: String, stringValue stringValue: String) -> Any |
---|
| Name | Declaration |
From | childAtIndex(_:) | func childAtIndex(_ index: Int) -> NSXMLNode? |
To | child(at:) | func child(at index: Int) -> XMLNode? |
---|
| Declaration |
From | var children: [NSXMLNode]? { get } |
To | var children: [XMLNode]? { get } |
---|
| Name | Declaration |
From | commentWithStringValue(_:) | class func commentWithStringValue(_ stringValue: String) -> AnyObject |
To | comment(withStringValue:) | class func comment(withStringValue stringValue: String) -> Any |
---|
| Declaration |
From | class func document() -> AnyObject |
To | class func document() -> Any |
---|
| Name | Declaration |
From | documentWithRootElement(_:) | class func documentWithRootElement(_ element: NSXMLElement) -> AnyObject |
To | document(withRootElement:) | class func document(withRootElement element: XMLElement) -> Any |
---|
| Name | Declaration |
From | DTDNodeWithXMLString(_:) | class func DTDNodeWithXMLString(_ string: String) -> AnyObject? |
To | dtdNode(withXMLString:) | class func dtdNode(withXMLString string: String) -> Any? |
---|
| Name | Declaration |
From | elementWithName(_:) | class func elementWithName(_ name: String) -> AnyObject |
To | element(withName:) | class func element(withName name: String) -> Any |
---|
| Name | Declaration |
From | elementWithName(_:children:attributes:) | class func elementWithName(_ name: String, children children: [NSXMLNode]?, attributes attributes: [NSXMLNode]?) -> AnyObject |
To | element(withName:children:attributes:) | class func element(withName name: String, children children: [XMLNode]?, attributes attributes: [XMLNode]?) -> Any |
---|
| Name | Declaration |
From | elementWithName(_:stringValue:) | class func elementWithName(_ name: String, stringValue string: String) -> AnyObject |
To | element(withName:stringValue:) | class func element(withName name: String, stringValue string: String) -> Any |
---|
| Name | Declaration |
From | elementWithName(_:URI:) | class func elementWithName(_ name: String, URI URI: String) -> AnyObject |
To | element(withName:uri:) | class func element(withName name: String, uri URI: String) -> Any |
---|
| Declaration |
From | convenience init(kind kind: NSXMLNodeKind) |
To | convenience init(kind kind: XMLNode.Kind) |
---|
| Declaration |
From | init(kind kind: NSXMLNodeKind, options options: Int) |
To | init(kind kind: XMLNode.Kind, options options: XMLNode.Options = []) |
---|
| Declaration |
From | var kind: NSXMLNodeKind { get } |
To | var kind: XMLNode.Kind { get } |
---|
| Name | Declaration |
From | localNameForName(_:) | class func localNameForName(_ name: String) -> String |
To | localName(forName:) | class func localName(forName name: String) -> String |
---|
| Name | Declaration |
From | namespaceWithName(_:stringValue:) | class func namespaceWithName(_ name: String, stringValue stringValue: String) -> AnyObject |
To | namespace(withName:stringValue:) | class func namespace(withName name: String, stringValue stringValue: String) -> Any |
---|
| Name | Declaration |
From | nextNode | @NSCopying var nextNode: NSXMLNode? { get } |
To | next | @NSCopying var next: XMLNode? { get } |
---|
| Declaration |
From | @NSCopying var nextSibling: NSXMLNode? { get } |
To | @NSCopying var nextSibling: XMLNode? { get } |
---|
| Name | Declaration |
From | nodesForXPath(_:) | func nodesForXPath(_ xpath: String) throws -> [NSXMLNode] |
To | nodes(forXPath:) | func nodes(forXPath xpath: String) throws -> [XMLNode] |
---|
| Name | Declaration |
From | objectsForXQuery(_:) | func objectsForXQuery(_ xquery: String) throws -> [AnyObject] |
To | objects(forXQuery:) | func objects(forXQuery xquery: String) throws -> [Any] |
---|
| Name | Declaration |
From | objectsForXQuery(_:constants:) | func objectsForXQuery(_ xquery: String, constants constants: [String : AnyObject]?) throws -> [AnyObject] |
To | objects(forXQuery:constants:) | func objects(forXQuery xquery: String, constants constants: [String : Any]?) throws -> [Any] |
---|
| Declaration |
From | var objectValue: AnyObject? |
To | var objectValue: Any? |
---|
| Declaration |
From | @NSCopying var parent: NSXMLNode? { get } |
To | @NSCopying var parent: XMLNode? { get } |
---|
| Name | Declaration |
From | predefinedNamespaceForPrefix(_:) | class func predefinedNamespaceForPrefix(_ name: String) -> NSXMLNode? |
To | predefinedNamespace(forPrefix:) | class func predefinedNamespace(forPrefix name: String) -> XMLNode? |
---|
| Name | Declaration |
From | prefixForName(_:) | class func prefixForName(_ name: String) -> String? |
To | prefix(forName:) | class func prefix(forName name: String) -> String? |
---|
| Name | Declaration |
From | previousNode | @NSCopying var previousNode: NSXMLNode? { get } |
To | previous | @NSCopying var previous: XMLNode? { get } |
---|
| Declaration |
From | @NSCopying var previousSibling: NSXMLNode? { get } |
To | @NSCopying var previousSibling: XMLNode? { get } |
---|
| Name | Declaration |
From | processingInstructionWithName(_:stringValue:) | class func processingInstructionWithName(_ name: String, stringValue stringValue: String) -> AnyObject |
To | processingInstruction(withName:stringValue:) | class func processingInstruction(withName name: String, stringValue stringValue: String) -> Any |
---|
| Declaration |
From | var rootDocument: NSXMLDocument? { get } |
To | var rootDocument: XMLDocument? { get } |
---|
| Name | Declaration |
From | textWithStringValue(_:) | class func textWithStringValue(_ stringValue: String) -> AnyObject |
To | text(withStringValue:) | class func text(withStringValue stringValue: String) -> Any |
---|
| Name | Declaration |
From | URI | var URI: String? |
To | uri | var uri: String? |
---|
| Name | Declaration |
From | XMLString | var XMLString: String { get } |
To | xmlString | var xmlString: String { get } |
---|
| Name | Declaration |
From | XMLStringWithOptions(_:) | func XMLStringWithOptions(_ options: Int) -> String |
To | xmlString(withOptions:) | func xmlString(withOptions options: Int) -> String |
---|
| Name | Declaration |
From | XPath | var XPath: String? { get } |
To | xPath | var xPath: String? { get } |
---|
| Declaration |
From | enum NSXMLNodeKind : UInt {
case InvalidKind
case DocumentKind
case ElementKind
case AttributeKind
case NamespaceKind
case ProcessingInstructionKind
case CommentKind
case TextKind
case DTDKind
case EntityDeclarationKind
case AttributeDeclarationKind
case ElementDeclarationKind
case NotationDeclarationKind
} |
To | enum Kind : UInt {
case invalid
case document
case element
case attribute
case namespace
case processingInstruction
case comment
case text
case DTDKind
case entityDeclaration
case attributeDeclaration
case elementDeclaration
case notationDeclaration
} |
---|
| Name | Declaration |
From | AttributeKind | case AttributeKind |
To | attribute | case attribute |
---|
| Name | Declaration |
From | AttributeDeclarationKind | case AttributeDeclarationKind |
To | attributeDeclaration | case attributeDeclaration |
---|
| Name | Declaration |
From | CommentKind | case CommentKind |
To | comment | case comment |
---|
| Name | Declaration |
From | DocumentKind | case DocumentKind |
To | document | case document |
---|
| Name | Declaration |
From | ElementKind | case ElementKind |
To | element | case element |
---|
| Name | Declaration |
From | ElementDeclarationKind | case ElementDeclarationKind |
To | elementDeclaration | case elementDeclaration |
---|
| Name | Declaration |
From | EntityDeclarationKind | case EntityDeclarationKind |
To | entityDeclaration | case entityDeclaration |
---|
| Name | Declaration |
From | InvalidKind | case InvalidKind |
To | invalid | case invalid |
---|
| Name | Declaration |
From | NamespaceKind | case NamespaceKind |
To | namespace | case namespace |
---|
| Name | Declaration |
From | NotationDeclarationKind | case NotationDeclarationKind |
To | notationDeclaration | case notationDeclaration |
---|
| Name | Declaration |
From | ProcessingInstructionKind | case ProcessingInstructionKind |
To | processingInstruction | case processingInstruction |
---|
| Name | Declaration |
From | TextKind | case TextKind |
To | text | case text |
---|
| Declaration | Protocols |
From | class NSXMLParser : NSObject {
convenience init?(contentsOfURL url: NSURL)
init(data data: NSData)
convenience init(stream stream: NSInputStream)
unowned(unsafe) var delegate: NSXMLParserDelegate?
var shouldProcessNamespaces: Bool
var shouldReportNamespacePrefixes: Bool
var externalEntityResolvingPolicy: NSXMLParserExternalEntityResolvingPolicy
var allowedExternalEntityURLs: Set<NSURL>?
func parse() -> Bool
func abortParsing()
@NSCopying var parserError: NSError? { get }
var shouldResolveExternalEntities: Bool
}
extension NSXMLParser {
var publicID: String? { get }
var systemID: String? { get }
var lineNumber: Int { get }
var columnNumber: Int { get }
} | -- |
To | class XMLParser : NSObject {
convenience init?(contentsOf url: URL)
init(data data: Data)
convenience init(stream stream: InputStream)
unowned(unsafe) var delegate: XMLParserDelegate?
var shouldProcessNamespaces: Bool
var shouldReportNamespacePrefixes: Bool
var externalEntityResolvingPolicy: XMLParser.ExternalEntityResolvingPolicy
var allowedExternalEntityURLs: Set<URL>?
func parse() -> Bool
func abortParsing()
var parserError: Error? { get }
var shouldResolveExternalEntities: Bool
var publicID: String? { get }
var systemID: String? { get }
var lineNumber: Int { get }
var columnNumber: Int { get }
class let errorDomain: String
enum ErrorCode : Int {
case internalError
case outOfMemoryError
case documentStartError
case emptyDocumentError
case prematureDocumentEndError
case invalidHexCharacterRefError
case invalidDecimalCharacterRefError
case invalidCharacterRefError
case invalidCharacterError
case characterRefAtEOFError
case characterRefInPrologError
case characterRefInEpilogError
case characterRefInDTDError
case entityRefAtEOFError
case entityRefInPrologError
case entityRefInEpilogError
case entityRefInDTDError
case parsedEntityRefAtEOFError
case parsedEntityRefInPrologError
case parsedEntityRefInEpilogError
case parsedEntityRefInInternalSubsetError
case entityReferenceWithoutNameError
case entityReferenceMissingSemiError
case parsedEntityRefNoNameError
case parsedEntityRefMissingSemiError
case undeclaredEntityError
case unparsedEntityError
case entityIsExternalError
case entityIsParameterError
case unknownEncodingError
case encodingNotSupportedError
case stringNotStartedError
case stringNotClosedError
case namespaceDeclarationError
case entityNotStartedError
case entityNotFinishedError
case lessThanSymbolInAttributeError
case attributeNotStartedError
case attributeNotFinishedError
case attributeHasNoValueError
case attributeRedefinedError
case literalNotStartedError
case literalNotFinishedError
case commentNotFinishedError
case processingInstructionNotStartedError
case processingInstructionNotFinishedError
case notationNotStartedError
case notationNotFinishedError
case attributeListNotStartedError
case attributeListNotFinishedError
case mixedContentDeclNotStartedError
case mixedContentDeclNotFinishedError
case elementContentDeclNotStartedError
case elementContentDeclNotFinishedError
case xmlDeclNotStartedError
case xmlDeclNotFinishedError
case conditionalSectionNotStartedError
case conditionalSectionNotFinishedError
case externalSubsetNotFinishedError
case doctypeDeclNotFinishedError
case misplacedCDATAEndStringError
case cdataNotFinishedError
case misplacedXMLDeclarationError
case spaceRequiredError
case separatorRequiredError
case nmtokenRequiredError
case nameRequiredError
case pcdataRequiredError
case uriRequiredError
case publicIdentifierRequiredError
case ltRequiredError
case gtRequiredError
case ltSlashRequiredError
case equalExpectedError
case tagNameMismatchError
case unfinishedTagError
case standaloneValueError
case invalidEncodingNameError
case commentContainsDoubleHyphenError
case invalidEncodingError
case externalStandaloneEntityError
case invalidConditionalSectionError
case entityValueRequiredError
case notWellBalancedError
case extraContentError
case invalidCharacterInEntityError
case parsedEntityRefInInternalError
case entityRefLoopError
case entityBoundaryError
case invalidURIError
case uriFragmentError
case noDTDError
case delegateAbortedParseError
}
enum ExternalEntityResolvingPolicy : UInt {
case never
case noNetwork
case sameOriginOnly
case always
}
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 XMLParser : CVarArg {
}
extension XMLParser : Equatable, Hashable {
var hashValue: Int { get }
}
extension XMLParser {
var publicID: String? { get }
var systemID: String? { get }
var lineNumber: Int { get }
var columnNumber: Int { get }
}
extension XMLParser {
class let errorDomain: String
enum ErrorCode : Int {
case internalError
case outOfMemoryError
case documentStartError
case emptyDocumentError
case prematureDocumentEndError
case invalidHexCharacterRefError
case invalidDecimalCharacterRefError
case invalidCharacterRefError
case invalidCharacterError
case characterRefAtEOFError
case characterRefInPrologError
case characterRefInEpilogError
case characterRefInDTDError
case entityRefAtEOFError
case entityRefInPrologError
case entityRefInEpilogError
case entityRefInDTDError
case parsedEntityRefAtEOFError
case parsedEntityRefInPrologError
case parsedEntityRefInEpilogError
case parsedEntityRefInInternalSubsetError
case entityReferenceWithoutNameError
case entityReferenceMissingSemiError
case parsedEntityRefNoNameError
case parsedEntityRefMissingSemiError
case undeclaredEntityError
case unparsedEntityError
case entityIsExternalError
case entityIsParameterError
case unknownEncodingError
case encodingNotSupportedError
case stringNotStartedError
case stringNotClosedError
case namespaceDeclarationError
case entityNotStartedError
case entityNotFinishedError
case lessThanSymbolInAttributeError
case attributeNotStartedError
case attributeNotFinishedError
case attributeHasNoValueError
case attributeRedefinedError
case literalNotStartedError
case literalNotFinishedError
case commentNotFinishedError
case processingInstructionNotStartedError
case processingInstructionNotFinishedError
case notationNotStartedError
case notationNotFinishedError
case attributeListNotStartedError
case attributeListNotFinishedError
case mixedContentDeclNotStartedError
case mixedContentDeclNotFinishedError
case elementContentDeclNotStartedError
case elementContentDeclNotFinishedError
case xmlDeclNotStartedError
case xmlDeclNotFinishedError
case conditionalSectionNotStartedError
case conditionalSectionNotFinishedError
case externalSubsetNotFinishedError
case doctypeDeclNotFinishedError
case misplacedCDATAEndStringError
case cdataNotFinishedError
case misplacedXMLDeclarationError
case spaceRequiredError
case separatorRequiredError
case nmtokenRequiredError
case nameRequiredError
case pcdataRequiredError
case uriRequiredError
case publicIdentifierRequiredError
case ltRequiredError
case gtRequiredError
case ltSlashRequiredError
case equalExpectedError
case tagNameMismatchError
case unfinishedTagError
case standaloneValueError
case invalidEncodingNameError
case commentContainsDoubleHyphenError
case invalidEncodingError
case externalStandaloneEntityError
case invalidConditionalSectionError
case entityValueRequiredError
case notWellBalancedError
case extraContentError
case invalidCharacterInEntityError
case parsedEntityRefInInternalError
case entityRefLoopError
case entityBoundaryError
case invalidURIError
case uriFragmentError
case noDTDError
case delegateAbortedParseError
}
enum ExternalEntityResolvingPolicy : UInt {
case never
case noNetwork
case sameOriginOnly
case always
}
} | CVarArg, Equatable, Hashable |
---|
| Declaration |
From | var allowedExternalEntityURLs: Set<NSURL>? |
To | var allowedExternalEntityURLs: Set<URL>? |
---|
| Declaration |
From | unowned(unsafe) var delegate: NSXMLParserDelegate? |
To | unowned(unsafe) var delegate: XMLParserDelegate? |
---|
| Name | Declaration |
From | NSXMLParserErrorDomain | let NSXMLParserErrorDomain: String |
To | errorDomain | class let errorDomain: String |
---|
| Declaration |
From | var externalEntityResolvingPolicy: NSXMLParserExternalEntityResolvingPolicy |
To | var externalEntityResolvingPolicy: XMLParser.ExternalEntityResolvingPolicy |
---|
| Name | Declaration |
From | init(contentsOfURL:) | convenience init?(contentsOfURL url: NSURL) |
To | init(contentsOf:) | convenience init?(contentsOf url: URL) |
---|
| Declaration |
From | init(data data: NSData) |
To | init(data data: Data) |
---|
| Declaration |
From | convenience init(stream stream: NSInputStream) |
To | convenience init(stream stream: InputStream) |
---|
| Declaration |
From | @NSCopying var parserError: NSError? { get } |
To | var parserError: Error? { get } |
---|
| Declaration |
From | enum NSXMLParserError : Int {
case InternalError
case OutOfMemoryError
case DocumentStartError
case EmptyDocumentError
case PrematureDocumentEndError
case InvalidHexCharacterRefError
case InvalidDecimalCharacterRefError
case InvalidCharacterRefError
case InvalidCharacterError
case CharacterRefAtEOFError
case CharacterRefInPrologError
case CharacterRefInEpilogError
case CharacterRefInDTDError
case EntityRefAtEOFError
case EntityRefInPrologError
case EntityRefInEpilogError
case EntityRefInDTDError
case ParsedEntityRefAtEOFError
case ParsedEntityRefInPrologError
case ParsedEntityRefInEpilogError
case ParsedEntityRefInInternalSubsetError
case EntityReferenceWithoutNameError
case EntityReferenceMissingSemiError
case ParsedEntityRefNoNameError
case ParsedEntityRefMissingSemiError
case UndeclaredEntityError
case UnparsedEntityError
case EntityIsExternalError
case EntityIsParameterError
case UnknownEncodingError
case EncodingNotSupportedError
case StringNotStartedError
case StringNotClosedError
case NamespaceDeclarationError
case EntityNotStartedError
case EntityNotFinishedError
case LessThanSymbolInAttributeError
case AttributeNotStartedError
case AttributeNotFinishedError
case AttributeHasNoValueError
case AttributeRedefinedError
case LiteralNotStartedError
case LiteralNotFinishedError
case CommentNotFinishedError
case ProcessingInstructionNotStartedError
case ProcessingInstructionNotFinishedError
case NotationNotStartedError
case NotationNotFinishedError
case AttributeListNotStartedError
case AttributeListNotFinishedError
case MixedContentDeclNotStartedError
case MixedContentDeclNotFinishedError
case ElementContentDeclNotStartedError
case ElementContentDeclNotFinishedError
case XMLDeclNotStartedError
case XMLDeclNotFinishedError
case ConditionalSectionNotStartedError
case ConditionalSectionNotFinishedError
case ExternalSubsetNotFinishedError
case DOCTYPEDeclNotFinishedError
case MisplacedCDATAEndStringError
case CDATANotFinishedError
case MisplacedXMLDeclarationError
case SpaceRequiredError
case SeparatorRequiredError
case NMTOKENRequiredError
case NAMERequiredError
case PCDATARequiredError
case URIRequiredError
case PublicIdentifierRequiredError
case LTRequiredError
case GTRequiredError
case LTSlashRequiredError
case EqualExpectedError
case TagNameMismatchError
case UnfinishedTagError
case StandaloneValueError
case InvalidEncodingNameError
case CommentContainsDoubleHyphenError
case InvalidEncodingError
case ExternalStandaloneEntityError
case InvalidConditionalSectionError
case EntityValueRequiredError
case NotWellBalancedError
case ExtraContentError
case InvalidCharacterInEntityError
case ParsedEntityRefInInternalError
case EntityRefLoopError
case EntityBoundaryError
case InvalidURIError
case URIFragmentError
case NoDTDError
case DelegateAbortedParseError
} |
To | enum ErrorCode : Int {
case internalError
case outOfMemoryError
case documentStartError
case emptyDocumentError
case prematureDocumentEndError
case invalidHexCharacterRefError
case invalidDecimalCharacterRefError
case invalidCharacterRefError
case invalidCharacterError
case characterRefAtEOFError
case characterRefInPrologError
case characterRefInEpilogError
case characterRefInDTDError
case entityRefAtEOFError
case entityRefInPrologError
case entityRefInEpilogError
case entityRefInDTDError
case parsedEntityRefAtEOFError
case parsedEntityRefInPrologError
case parsedEntityRefInEpilogError
case parsedEntityRefInInternalSubsetError
case entityReferenceWithoutNameError
case entityReferenceMissingSemiError
case parsedEntityRefNoNameError
case parsedEntityRefMissingSemiError
case undeclaredEntityError
case unparsedEntityError
case entityIsExternalError
case entityIsParameterError
case unknownEncodingError
case encodingNotSupportedError
case stringNotStartedError
case stringNotClosedError
case namespaceDeclarationError
case entityNotStartedError
case entityNotFinishedError
case lessThanSymbolInAttributeError
case attributeNotStartedError
case attributeNotFinishedError
case attributeHasNoValueError
case attributeRedefinedError
case literalNotStartedError
case literalNotFinishedError
case commentNotFinishedError
case processingInstructionNotStartedError
case processingInstructionNotFinishedError
case notationNotStartedError
case notationNotFinishedError
case attributeListNotStartedError
case attributeListNotFinishedError
case mixedContentDeclNotStartedError
case mixedContentDeclNotFinishedError
case elementContentDeclNotStartedError
case elementContentDeclNotFinishedError
case xmlDeclNotStartedError
case xmlDeclNotFinishedError
case conditionalSectionNotStartedError
case conditionalSectionNotFinishedError
case externalSubsetNotFinishedError
case doctypeDeclNotFinishedError
case misplacedCDATAEndStringError
case cdataNotFinishedError
case misplacedXMLDeclarationError
case spaceRequiredError
case separatorRequiredError
case nmtokenRequiredError
case nameRequiredError
case pcdataRequiredError
case uriRequiredError
case publicIdentifierRequiredError
case ltRequiredError
case gtRequiredError
case ltSlashRequiredError
case equalExpectedError
case tagNameMismatchError
case unfinishedTagError
case standaloneValueError
case invalidEncodingNameError
case commentContainsDoubleHyphenError
case invalidEncodingError
case externalStandaloneEntityError
case invalidConditionalSectionError
case entityValueRequiredError
case notWellBalancedError
case extraContentError
case invalidCharacterInEntityError
case parsedEntityRefInInternalError
case entityRefLoopError
case entityBoundaryError
case invalidURIError
case uriFragmentError
case noDTDError
case delegateAbortedParseError
} |
---|
| Name | Declaration |
From | AttributeHasNoValueError | case AttributeHasNoValueError |
To | attributeHasNoValueError | case attributeHasNoValueError |
---|
| Name | Declaration |
From | AttributeListNotFinishedError | case AttributeListNotFinishedError |
To | attributeListNotFinishedError | case attributeListNotFinishedError |
---|
| Name | Declaration |
From | AttributeListNotStartedError | case AttributeListNotStartedError |
To | attributeListNotStartedError | case attributeListNotStartedError |
---|
| Name | Declaration |
From | AttributeNotFinishedError | case AttributeNotFinishedError |
To | attributeNotFinishedError | case attributeNotFinishedError |
---|
| Name | Declaration |
From | AttributeNotStartedError | case AttributeNotStartedError |
To | attributeNotStartedError | case attributeNotStartedError |
---|
| Name | Declaration |
From | AttributeRedefinedError | case AttributeRedefinedError |
To | attributeRedefinedError | case attributeRedefinedError |
---|
| Name | Declaration |
From | CDATANotFinishedError | case CDATANotFinishedError |
To | cdataNotFinishedError | case cdataNotFinishedError |
---|
| Name | Declaration |
From | CharacterRefAtEOFError | case CharacterRefAtEOFError |
To | characterRefAtEOFError | case characterRefAtEOFError |
---|
| Name | Declaration |
From | CharacterRefInDTDError | case CharacterRefInDTDError |
To | characterRefInDTDError | case characterRefInDTDError |
---|
| Name | Declaration |
From | CharacterRefInEpilogError | case CharacterRefInEpilogError |
To | characterRefInEpilogError | case characterRefInEpilogError |
---|
| Name | Declaration |
From | CharacterRefInPrologError | case CharacterRefInPrologError |
To | characterRefInPrologError | case characterRefInPrologError |
---|
| Name | Declaration |
From | CommentContainsDoubleHyphenError | case CommentContainsDoubleHyphenError |
To | commentContainsDoubleHyphenError | case commentContainsDoubleHyphenError |
---|
| Name | Declaration |
From | CommentNotFinishedError | case CommentNotFinishedError |
To | commentNotFinishedError | case commentNotFinishedError |
---|
| Name | Declaration |
From | ConditionalSectionNotFinishedError | case ConditionalSectionNotFinishedError |
To | conditionalSectionNotFinishedError | case conditionalSectionNotFinishedError |
---|
| Name | Declaration |
From | ConditionalSectionNotStartedError | case ConditionalSectionNotStartedError |
To | conditionalSectionNotStartedError | case conditionalSectionNotStartedError |
---|
| Name | Declaration |
From | DelegateAbortedParseError | case DelegateAbortedParseError |
To | delegateAbortedParseError | case delegateAbortedParseError |
---|
| Name | Declaration |
From | DOCTYPEDeclNotFinishedError | case DOCTYPEDeclNotFinishedError |
To | doctypeDeclNotFinishedError | case doctypeDeclNotFinishedError |
---|
| Name | Declaration |
From | DocumentStartError | case DocumentStartError |
To | documentStartError | case documentStartError |
---|
| Name | Declaration |
From | ElementContentDeclNotFinishedError | case ElementContentDeclNotFinishedError |
To | elementContentDeclNotFinishedError | case elementContentDeclNotFinishedError |
---|
| Name | Declaration |
From | ElementContentDeclNotStartedError | case ElementContentDeclNotStartedError |
To | elementContentDeclNotStartedError | case elementContentDeclNotStartedError |
---|
| Name | Declaration |
From | EmptyDocumentError | case EmptyDocumentError |
To | emptyDocumentError | case emptyDocumentError |
---|
| Name | Declaration |
From | EncodingNotSupportedError | case EncodingNotSupportedError |
To | encodingNotSupportedError | case encodingNotSupportedError |
---|
| Name | Declaration |
From | EntityBoundaryError | case EntityBoundaryError |
To | entityBoundaryError | case entityBoundaryError |
---|
| Name | Declaration |
From | EntityIsExternalError | case EntityIsExternalError |
To | entityIsExternalError | case entityIsExternalError |
---|
| Name | Declaration |
From | EntityIsParameterError | case EntityIsParameterError |
To | entityIsParameterError | case entityIsParameterError |
---|
| Name | Declaration |
From | EntityNotFinishedError | case EntityNotFinishedError |
To | entityNotFinishedError | case entityNotFinishedError |
---|
| Name | Declaration |
From | EntityNotStartedError | case EntityNotStartedError |
To | entityNotStartedError | case entityNotStartedError |
---|
| Name | Declaration |
From | EntityRefAtEOFError | case EntityRefAtEOFError |
To | entityRefAtEOFError | case entityRefAtEOFError |
---|
| Name | Declaration |
From | EntityReferenceMissingSemiError | case EntityReferenceMissingSemiError |
To | entityReferenceMissingSemiError | case entityReferenceMissingSemiError |
---|
| Name | Declaration |
From | EntityReferenceWithoutNameError | case EntityReferenceWithoutNameError |
To | entityReferenceWithoutNameError | case entityReferenceWithoutNameError |
---|
| Name | Declaration |
From | EntityRefInDTDError | case EntityRefInDTDError |
To | entityRefInDTDError | case entityRefInDTDError |
---|
| Name | Declaration |
From | EntityRefInEpilogError | case EntityRefInEpilogError |
To | entityRefInEpilogError | case entityRefInEpilogError |
---|
| Name | Declaration |
From | EntityRefInPrologError | case EntityRefInPrologError |
To | entityRefInPrologError | case entityRefInPrologError |
---|
| Name | Declaration |
From | EntityRefLoopError | case EntityRefLoopError |
To | entityRefLoopError | case entityRefLoopError |
---|
| Name | Declaration |
From | EntityValueRequiredError | case EntityValueRequiredError |
To | entityValueRequiredError | case entityValueRequiredError |
---|
| Name | Declaration |
From | EqualExpectedError | case EqualExpectedError |
To | equalExpectedError | case equalExpectedError |
---|
| Name | Declaration |
From | ExternalStandaloneEntityError | case ExternalStandaloneEntityError |
To | externalStandaloneEntityError | case externalStandaloneEntityError |
---|
| Name | Declaration |
From | ExternalSubsetNotFinishedError | case ExternalSubsetNotFinishedError |
To | externalSubsetNotFinishedError | case externalSubsetNotFinishedError |
---|
| Name | Declaration |
From | ExtraContentError | case ExtraContentError |
To | extraContentError | case extraContentError |
---|
| Name | Declaration |
From | GTRequiredError | case GTRequiredError |
To | gtRequiredError | case gtRequiredError |
---|
| Name | Declaration |
From | InternalError | case InternalError |
To | internalError | case internalError |
---|
| Name | Declaration |
From | InvalidCharacterError | case InvalidCharacterError |
To | invalidCharacterError | case invalidCharacterError |
---|
| Name | Declaration |
From | InvalidCharacterInEntityError | case InvalidCharacterInEntityError |
To | invalidCharacterInEntityError | case invalidCharacterInEntityError |
---|
| Name | Declaration |
From | InvalidCharacterRefError | case InvalidCharacterRefError |
To | invalidCharacterRefError | case invalidCharacterRefError |
---|
| Name | Declaration |
From | InvalidConditionalSectionError | case InvalidConditionalSectionError |
To | invalidConditionalSectionError | case invalidConditionalSectionError |
---|
| Name | Declaration |
From | InvalidDecimalCharacterRefError | case InvalidDecimalCharacterRefError |
To | invalidDecimalCharacterRefError | case invalidDecimalCharacterRefError |
---|
| Name | Declaration |
From | InvalidEncodingError | case InvalidEncodingError |
To | invalidEncodingError | case invalidEncodingError |
---|
| Name | Declaration |
From | InvalidEncodingNameError | case InvalidEncodingNameError |
To | invalidEncodingNameError | case invalidEncodingNameError |
---|
| Name | Declaration |
From | InvalidHexCharacterRefError | case InvalidHexCharacterRefError |
To | invalidHexCharacterRefError | case invalidHexCharacterRefError |
---|
| Name | Declaration |
From | InvalidURIError | case InvalidURIError |
To | invalidURIError | case invalidURIError |
---|
| Name | Declaration |
From | LessThanSymbolInAttributeError | case LessThanSymbolInAttributeError |
To | lessThanSymbolInAttributeError | case lessThanSymbolInAttributeError |
---|
| Name | Declaration |
From | LiteralNotFinishedError | case LiteralNotFinishedError |
To | literalNotFinishedError | case literalNotFinishedError |
---|
| Name | Declaration |
From | LiteralNotStartedError | case LiteralNotStartedError |
To | literalNotStartedError | case literalNotStartedError |
---|
| Name | Declaration |
From | LTRequiredError | case LTRequiredError |
To | ltRequiredError | case ltRequiredError |
---|
| Name | Declaration |
From | LTSlashRequiredError | case LTSlashRequiredError |
To | ltSlashRequiredError | case ltSlashRequiredError |
---|
| Name | Declaration |
From | MisplacedCDATAEndStringError | case MisplacedCDATAEndStringError |
To | misplacedCDATAEndStringError | case misplacedCDATAEndStringError |
---|
| Name | Declaration |
From | MisplacedXMLDeclarationError | case MisplacedXMLDeclarationError |
To | misplacedXMLDeclarationError | case misplacedXMLDeclarationError |
---|
| Name | Declaration |
From | MixedContentDeclNotFinishedError | case MixedContentDeclNotFinishedError |
To | mixedContentDeclNotFinishedError | case mixedContentDeclNotFinishedError |
---|
| Name | Declaration |
From | MixedContentDeclNotStartedError | case MixedContentDeclNotStartedError |
To | mixedContentDeclNotStartedError | case mixedContentDeclNotStartedError |
---|
| Name | Declaration |
From | NAMERequiredError | case NAMERequiredError |
To | nameRequiredError | case nameRequiredError |
---|
| Name | Declaration |
From | NamespaceDeclarationError | case NamespaceDeclarationError |
To | namespaceDeclarationError | case namespaceDeclarationError |
---|
| Name | Declaration |
From | NMTOKENRequiredError | case NMTOKENRequiredError |
To | nmtokenRequiredError | case nmtokenRequiredError |
---|
| Name | Declaration |
From | NoDTDError | case NoDTDError |
To | noDTDError | case noDTDError |
---|
| Name | Declaration |
From | NotationNotFinishedError | case NotationNotFinishedError |
To | notationNotFinishedError | case notationNotFinishedError |
---|
| Name | Declaration |
From | NotationNotStartedError | case NotationNotStartedError |
To | notationNotStartedError | case notationNotStartedError |
---|
| Name | Declaration |
From | NotWellBalancedError | case NotWellBalancedError |
To | notWellBalancedError | case notWellBalancedError |
---|
| Name | Declaration |
From | OutOfMemoryError | case OutOfMemoryError |
To | outOfMemoryError | case outOfMemoryError |
---|
| Name | Declaration |
From | ParsedEntityRefAtEOFError | case ParsedEntityRefAtEOFError |
To | parsedEntityRefAtEOFError | case parsedEntityRefAtEOFError |
---|
| Name | Declaration |
From | ParsedEntityRefInEpilogError | case ParsedEntityRefInEpilogError |
To | parsedEntityRefInEpilogError | case parsedEntityRefInEpilogError |
---|
| Name | Declaration |
From | ParsedEntityRefInInternalError | case ParsedEntityRefInInternalError |
To | parsedEntityRefInInternalError | case parsedEntityRefInInternalError |
---|
| Name | Declaration |
From | ParsedEntityRefInInternalSubsetError | case ParsedEntityRefInInternalSubsetError |
To | parsedEntityRefInInternalSubsetError | case parsedEntityRefInInternalSubsetError |
---|
| Name | Declaration |
From | ParsedEntityRefInPrologError | case ParsedEntityRefInPrologError |
To | parsedEntityRefInPrologError | case parsedEntityRefInPrologError |
---|
| Name | Declaration |
From | ParsedEntityRefMissingSemiError | case ParsedEntityRefMissingSemiError |
To | parsedEntityRefMissingSemiError | case parsedEntityRefMissingSemiError |
---|
| Name | Declaration |
From | ParsedEntityRefNoNameError | case ParsedEntityRefNoNameError |
To | parsedEntityRefNoNameError | case parsedEntityRefNoNameError |
---|
| Name | Declaration |
From | PCDATARequiredError | case PCDATARequiredError |
To | pcdataRequiredError | case pcdataRequiredError |
---|
| Name | Declaration |
From | PrematureDocumentEndError | case PrematureDocumentEndError |
To | prematureDocumentEndError | case prematureDocumentEndError |
---|
| Name | Declaration |
From | ProcessingInstructionNotFinishedError | case ProcessingInstructionNotFinishedError |
To | processingInstructionNotFinishedError | case processingInstructionNotFinishedError |
---|
| Name | Declaration |
From | ProcessingInstructionNotStartedError | case ProcessingInstructionNotStartedError |
To | processingInstructionNotStartedError | case processingInstructionNotStartedError |
---|
| Name | Declaration |
From | PublicIdentifierRequiredError | case PublicIdentifierRequiredError |
To | publicIdentifierRequiredError | case publicIdentifierRequiredError |
---|
| Name | Declaration |
From | SeparatorRequiredError | case SeparatorRequiredError |
To | separatorRequiredError | case separatorRequiredError |
---|
| Name | Declaration |
From | SpaceRequiredError | case SpaceRequiredError |
To | spaceRequiredError | case spaceRequiredError |
---|
| Name | Declaration |
From | StandaloneValueError | case StandaloneValueError |
To | standaloneValueError | case standaloneValueError |
---|
| Name | Declaration |
From | StringNotClosedError | case StringNotClosedError |
To | stringNotClosedError | case stringNotClosedError |
---|
| Name | Declaration |
From | StringNotStartedError | case StringNotStartedError |
To | stringNotStartedError | case stringNotStartedError |
---|
| Name | Declaration |
From | TagNameMismatchError | case TagNameMismatchError |
To | tagNameMismatchError | case tagNameMismatchError |
---|
| Name | Declaration |
From | UndeclaredEntityError | case UndeclaredEntityError |
To | undeclaredEntityError | case undeclaredEntityError |
---|
| Name | Declaration |
From | UnfinishedTagError | case UnfinishedTagError |
To | unfinishedTagError | case unfinishedTagError |
---|
| Name | Declaration |
From | UnknownEncodingError | case UnknownEncodingError |
To | unknownEncodingError | case unknownEncodingError |
---|
| Name | Declaration |
From | UnparsedEntityError | case UnparsedEntityError |
To | unparsedEntityError | case unparsedEntityError |
---|
| Name | Declaration |
From | URIFragmentError | case URIFragmentError |
To | uriFragmentError | case uriFragmentError |
---|
| Name | Declaration |
From | URIRequiredError | case URIRequiredError |
To | uriRequiredError | case uriRequiredError |
---|
| Name | Declaration |
From | XMLDeclNotFinishedError | case XMLDeclNotFinishedError |
To | xmlDeclNotFinishedError | case xmlDeclNotFinishedError |
---|
| Name | Declaration |
From | XMLDeclNotStartedError | case XMLDeclNotStartedError |
To | xmlDeclNotStartedError | case xmlDeclNotStartedError |
---|
| Declaration |
From | enum NSXMLParserExternalEntityResolvingPolicy : UInt {
case ResolveExternalEntitiesNever
case ResolveExternalEntitiesNoNetwork
case ResolveExternalEntitiesSameOriginOnly
case ResolveExternalEntitiesAlways
} |
To | enum ExternalEntityResolvingPolicy : UInt {
case never
case noNetwork
case sameOriginOnly
case always
} |
---|
| Name | Declaration |
From | ResolveExternalEntitiesAlways | case ResolveExternalEntitiesAlways |
To | always | case always |
---|
| Name | Declaration |
From | ResolveExternalEntitiesNever | case ResolveExternalEntitiesNever |
To | never | case never |
---|
| Name | Declaration |
From | ResolveExternalEntitiesNoNetwork | case ResolveExternalEntitiesNoNetwork |
To | noNetwork | case noNetwork |
---|
| Name | Declaration |
From | ResolveExternalEntitiesSameOriginOnly | case ResolveExternalEntitiesSameOriginOnly |
To | sameOriginOnly | case sameOriginOnly |
---|
| Declaration |
From | protocol NSXMLParserDelegate : NSObjectProtocol {
optional func parserDidStartDocument(_ parser: NSXMLParser)
optional func parserDidEndDocument(_ parser: NSXMLParser)
optional func parser(_ parser: NSXMLParser, foundNotationDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?)
optional func parser(_ parser: NSXMLParser, foundUnparsedEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?, notationName notationName: String?)
optional func parser(_ parser: NSXMLParser, foundAttributeDeclarationWithName attributeName: String, forElement elementName: String, type type: String?, defaultValue defaultValue: String?)
optional func parser(_ parser: NSXMLParser, foundElementDeclarationWithName elementName: String, model model: String)
optional func parser(_ parser: NSXMLParser, foundInternalEntityDeclarationWithName name: String, value value: String?)
optional func parser(_ parser: NSXMLParser, foundExternalEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?)
optional func parser(_ parser: NSXMLParser, didStartElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String])
optional func parser(_ parser: NSXMLParser, didEndElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?)
optional func parser(_ parser: NSXMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String)
optional func parser(_ parser: NSXMLParser, didEndMappingPrefix prefix: String)
optional func parser(_ parser: NSXMLParser, foundCharacters string: String)
optional func parser(_ parser: NSXMLParser, foundIgnorableWhitespace whitespaceString: String)
optional func parser(_ parser: NSXMLParser, foundProcessingInstructionWithTarget target: String, data data: String?)
optional func parser(_ parser: NSXMLParser, foundComment comment: String)
optional func parser(_ parser: NSXMLParser, foundCDATA CDATABlock: NSData)
optional func parser(_ parser: NSXMLParser, resolveExternalEntityName name: String, systemID systemID: String?) -> NSData?
optional func parser(_ parser: NSXMLParser, parseErrorOccurred parseError: NSError)
optional func parser(_ parser: NSXMLParser, validationErrorOccurred validationError: NSError)
} |
To | protocol XMLParserDelegate : NSObjectProtocol {
optional func parserDidStartDocument(_ parser: XMLParser)
optional func parserDidEndDocument(_ parser: XMLParser)
optional func parser(_ parser: XMLParser, foundNotationDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?)
optional func parser(_ parser: XMLParser, foundUnparsedEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?, notationName notationName: String?)
optional func parser(_ parser: XMLParser, foundAttributeDeclarationWithName attributeName: String, forElement elementName: String, type type: String?, defaultValue defaultValue: String?)
optional func parser(_ parser: XMLParser, foundElementDeclarationWithName elementName: String, model model: String)
optional func parser(_ parser: XMLParser, foundInternalEntityDeclarationWithName name: String, value value: String?)
optional func parser(_ parser: XMLParser, foundExternalEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?)
optional func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:])
optional func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?)
optional func parser(_ parser: XMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String)
optional func parser(_ parser: XMLParser, didEndMappingPrefix prefix: String)
optional func parser(_ parser: XMLParser, foundCharacters string: String)
optional func parser(_ parser: XMLParser, foundIgnorableWhitespace whitespaceString: String)
optional func parser(_ parser: XMLParser, foundProcessingInstructionWithTarget target: String, data data: String?)
optional func parser(_ parser: XMLParser, foundComment comment: String)
optional func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data)
optional func parser(_ parser: XMLParser, resolveExternalEntityName name: String, systemID systemID: String?) -> Data?
optional func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error)
optional func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error)
} |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, didEndElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?) |
To | optional func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, didEndMappingPrefix prefix: String) |
To | optional func parser(_ parser: XMLParser, didEndMappingPrefix prefix: String) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, didStartElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) |
To | optional func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String) |
To | optional func parser(_ parser: XMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundAttributeDeclarationWithName attributeName: String, forElement elementName: String, type type: String?, defaultValue defaultValue: String?) |
To | optional func parser(_ parser: XMLParser, foundAttributeDeclarationWithName attributeName: String, forElement elementName: String, type type: String?, defaultValue defaultValue: String?) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundCDATA CDATABlock: NSData) |
To | optional func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundCharacters string: String) |
To | optional func parser(_ parser: XMLParser, foundCharacters string: String) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundComment comment: String) |
To | optional func parser(_ parser: XMLParser, foundComment comment: String) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundElementDeclarationWithName elementName: String, model model: String) |
To | optional func parser(_ parser: XMLParser, foundElementDeclarationWithName elementName: String, model model: String) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundExternalEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?) |
To | optional func parser(_ parser: XMLParser, foundExternalEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundIgnorableWhitespace whitespaceString: String) |
To | optional func parser(_ parser: XMLParser, foundIgnorableWhitespace whitespaceString: String) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundInternalEntityDeclarationWithName name: String, value value: String?) |
To | optional func parser(_ parser: XMLParser, foundInternalEntityDeclarationWithName name: String, value value: String?) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundNotationDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?) |
To | optional func parser(_ parser: XMLParser, foundNotationDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundProcessingInstructionWithTarget target: String, data data: String?) |
To | optional func parser(_ parser: XMLParser, foundProcessingInstructionWithTarget target: String, data data: String?) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, foundUnparsedEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?, notationName notationName: String?) |
To | optional func parser(_ parser: XMLParser, foundUnparsedEntityDeclarationWithName name: String, publicID publicID: String?, systemID systemID: String?, notationName notationName: String?) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, parseErrorOccurred parseError: NSError) |
To | optional func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, resolveExternalEntityName name: String, systemID systemID: String?) -> NSData? |
To | optional func parser(_ parser: XMLParser, resolveExternalEntityName name: String, systemID systemID: String?) -> Data? |
---|
| Declaration |
From | optional func parser(_ parser: NSXMLParser, validationErrorOccurred validationError: NSError) |
To | optional func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) |
---|
| Declaration |
From | optional func parserDidEndDocument(_ parser: NSXMLParser) |
To | optional func parserDidEndDocument(_ parser: XMLParser) |
---|
| Declaration |
From | optional func parserDidStartDocument(_ parser: NSXMLParser) |
To | optional func parserDidStartDocument(_ parser: XMLParser) |
---|
| Declaration |
From | func CFBridgingRetain(_ X: AnyObject?) -> AnyObject? |
To | func CFBridgingRetain(_ X: Any?) -> CFTypeRef? |
---|
| Declaration |
From | typealias NSComparator = (AnyObject, AnyObject) -> NSComparisonResult |
To | typealias Comparator = (Any, Any) -> ComparisonResult |
---|
| Declaration |
From | func NSAllHashTableObjects(_ table: NSHashTable) -> [AnyObject] |
To | func NSAllHashTableObjects(_ table: NSHashTable<AnyObject>) -> [Any] |
---|
| Declaration |
From | func NSAllMapTableKeys(_ table: NSMapTable) -> [AnyObject] |
To | func NSAllMapTableKeys(_ table: NSMapTable<AnyObject, AnyObject>) -> [Any] |
---|
| Declaration |
From | func NSAllMapTableValues(_ table: NSMapTable) -> [AnyObject] |
To | func NSAllMapTableValues(_ table: NSMapTable<AnyObject, AnyObject>) -> [Any] |
---|
| Declaration |
From | func NSAllocateMemoryPages(_ bytes: Int) -> UnsafeMutablePointer<Void> |
To | func NSAllocateMemoryPages(_ bytes: Int) -> UnsafeMutableRawPointer |
---|
| Declaration |
From | typealias NSAppleEventManagerSuspensionID = COpaquePointer |
To | typealias SuspensionID = OpaquePointer |
---|
| Declaration |
From | typealias NSBackgroundActivityCompletionHandler = (NSBackgroundActivityResult) -> Void |
To | typealias CompletionHandler = (NSBackgroundActivityScheduler.Result) -> Swift.Void |
---|
| Declaration |
From | func NSClassFromString(_ aClassName: String) -> AnyClass? |
To | func NSClassFromString(_ aClassName: String) -> Swift.AnyClass? |
---|
| Declaration |
From | func NSCompareHashTables(_ table1: NSHashTable, _ table2: NSHashTable) -> Bool |
To | func NSCompareHashTables(_ table1: NSHashTable<AnyObject>, _ table2: NSHashTable<AnyObject>) -> Bool |
---|
| Declaration |
From | func NSCompareMapTables(_ table1: NSMapTable, _ table2: NSMapTable) -> Bool |
To | func NSCompareMapTables(_ table1: NSMapTable<AnyObject, AnyObject>, _ table2: NSMapTable<AnyObject, AnyObject>) -> Bool |
---|
| Declaration |
From | func NSCopyHashTableWithZone(_ table: NSHashTable, _ zone: NSZone) -> NSHashTable |
To | func NSCopyHashTableWithZone(_ table: NSHashTable<AnyObject>, _ zone: NSZone?) -> NSHashTable<AnyObject> |
---|
| Declaration |
From | func NSCopyMapTableWithZone(_ table: NSMapTable, _ zone: NSZone) -> NSMapTable |
To | func NSCopyMapTableWithZone(_ table: NSMapTable<AnyObject, AnyObject>, _ zone: NSZone?) -> NSMapTable<AnyObject, AnyObject> |
---|
| Declaration |
From | func NSCopyMemoryPages(_ source: UnsafePointer<Void>, _ dest: UnsafeMutablePointer<Void>, _ bytes: Int) |
To | func NSCopyMemoryPages(_ source: UnsafeRawPointer, _ dest: UnsafeMutableRawPointer, _ bytes: Int) |
---|
| Declaration |
From | func NSCountHashTable(_ table: NSHashTable) -> Int |
To | func NSCountHashTable(_ table: NSHashTable<AnyObject>) -> Int |
---|
| Declaration |
From | func NSCountMapTable(_ table: NSMapTable) -> Int |
To | func NSCountMapTable(_ table: NSMapTable<AnyObject, AnyObject>) -> Int |
---|
| Declaration |
From | func NSCreateHashTable(_ callBacks: NSHashTableCallBacks, _ capacity: Int) -> NSHashTable |
To | func NSCreateHashTable(_ callBacks: NSHashTableCallBacks, _ capacity: Int) -> NSHashTable<AnyObject> |
---|
| Declaration |
From | func NSCreateHashTableWithZone(_ callBacks: NSHashTableCallBacks, _ capacity: Int, _ zone: NSZone) -> NSHashTable |
To | func NSCreateHashTableWithZone(_ callBacks: NSHashTableCallBacks, _ capacity: Int, _ zone: NSZone?) -> NSHashTable<AnyObject> |
---|
| Declaration |
From | func NSCreateMapTable(_ keyCallBacks: NSMapTableKeyCallBacks, _ valueCallBacks: NSMapTableValueCallBacks, _ capacity: Int) -> NSMapTable |
To | func NSCreateMapTable(_ keyCallBacks: NSMapTableKeyCallBacks, _ valueCallBacks: NSMapTableValueCallBacks, _ capacity: Int) -> NSMapTable<AnyObject, AnyObject> |
---|
| Declaration |
From | func NSCreateMapTableWithZone(_ keyCallBacks: NSMapTableKeyCallBacks, _ valueCallBacks: NSMapTableValueCallBacks, _ capacity: Int, _ zone: NSZone) -> NSMapTable |
To | func NSCreateMapTableWithZone(_ keyCallBacks: NSMapTableKeyCallBacks, _ valueCallBacks: NSMapTableValueCallBacks, _ capacity: Int, _ zone: NSZone?) -> NSMapTable<AnyObject, AnyObject> |
---|
| Declaration |
From | func NSDeallocateMemoryPages(_ ptr: UnsafeMutablePointer<Void>, _ bytes: Int) |
To | func NSDeallocateMemoryPages(_ ptr: UnsafeMutableRawPointer, _ bytes: Int) |
---|
| Declaration |
From | func NSDecimalAdd(_ result: UnsafeMutablePointer<NSDecimal>, _ leftOperand: UnsafePointer<NSDecimal>, _ rightOperand: UnsafePointer<NSDecimal>, _ roundingMode: NSRoundingMode) -> NSCalculationError |
To | func NSDecimalAdd(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError |
---|
| Declaration |
From | func NSDecimalCompact(_ number: UnsafeMutablePointer<NSDecimal>) |
To | func NSDecimalCompact(_ number: UnsafeMutablePointer<Decimal>) |
---|
| Declaration |
From | func NSDecimalCompare(_ leftOperand: UnsafePointer<NSDecimal>, _ rightOperand: UnsafePointer<NSDecimal>) -> NSComparisonResult |
To | func NSDecimalCompare(_ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>) -> ComparisonResult |
---|
| Declaration |
From | func NSDecimalCopy(_ destination: UnsafeMutablePointer<NSDecimal>, _ source: UnsafePointer<NSDecimal>) |
To | func NSDecimalCopy(_ destination: UnsafeMutablePointer<Decimal>, _ source: UnsafePointer<Decimal>) |
---|
| Declaration |
From | func NSDecimalDivide(_ result: UnsafeMutablePointer<NSDecimal>, _ leftOperand: UnsafePointer<NSDecimal>, _ rightOperand: UnsafePointer<NSDecimal>, _ roundingMode: NSRoundingMode) -> NSCalculationError |
To | func NSDecimalDivide(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError |
---|
| Declaration |
From | func NSDecimalIsNotANumber(_ dcm: UnsafePointer<NSDecimal>) -> Bool |
To | func NSDecimalIsNotANumber(_ dcm: UnsafePointer<Decimal>) -> Bool |
---|
| Declaration |
From | func NSDecimalMultiply(_ result: UnsafeMutablePointer<NSDecimal>, _ leftOperand: UnsafePointer<NSDecimal>, _ rightOperand: UnsafePointer<NSDecimal>, _ roundingMode: NSRoundingMode) -> NSCalculationError |
To | func NSDecimalMultiply(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError |
---|
| Declaration |
From | func NSDecimalMultiplyByPowerOf10(_ result: UnsafeMutablePointer<NSDecimal>, _ number: UnsafePointer<NSDecimal>, _ power: Int16, _ roundingMode: NSRoundingMode) -> NSCalculationError |
To | func NSDecimalMultiplyByPowerOf10(_ result: UnsafeMutablePointer<Decimal>, _ number: UnsafePointer<Decimal>, _ power: Int16, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError |
---|
| Declaration |
From | func NSDecimalNormalize(_ number1: UnsafeMutablePointer<NSDecimal>, _ number2: UnsafeMutablePointer<NSDecimal>, _ roundingMode: NSRoundingMode) -> NSCalculationError |
To | func NSDecimalNormalize(_ number1: UnsafeMutablePointer<Decimal>, _ number2: UnsafeMutablePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError |
---|
| Declaration |
From | func NSDecimalPower(_ result: UnsafeMutablePointer<NSDecimal>, _ number: UnsafePointer<NSDecimal>, _ power: Int, _ roundingMode: NSRoundingMode) -> NSCalculationError |
To | func NSDecimalPower(_ result: UnsafeMutablePointer<Decimal>, _ number: UnsafePointer<Decimal>, _ power: Int, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError |
---|
| Declaration |
From | func NSDecimalRound(_ result: UnsafeMutablePointer<NSDecimal>, _ number: UnsafePointer<NSDecimal>, _ scale: Int, _ roundingMode: NSRoundingMode) |
To | func NSDecimalRound(_ result: UnsafeMutablePointer<Decimal>, _ number: UnsafePointer<Decimal>, _ scale: Int, _ roundingMode: NSDecimalNumber.RoundingMode) |
---|
| Declaration |
From | func NSDecimalString(_ dcm: UnsafePointer<NSDecimal>, _ locale: AnyObject?) -> String |
To | func NSDecimalString(_ dcm: UnsafePointer<Decimal>, _ locale: Any?) -> String |
---|
| Declaration |
From | func NSDecimalSubtract(_ result: UnsafeMutablePointer<NSDecimal>, _ leftOperand: UnsafePointer<NSDecimal>, _ rightOperand: UnsafePointer<NSDecimal>, _ roundingMode: NSRoundingMode) -> NSCalculationError |
To | func NSDecimalSubtract(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError |
---|
| Declaration |
From | func NSEdgeInsetsEqual(_ aInsets: NSEdgeInsets, _ bInsets: NSEdgeInsets) -> Bool |
To | func NSEdgeInsetsEqual(_ aInsets: EdgeInsets, _ bInsets: EdgeInsets) -> Bool |
---|
| Declaration |
From | func NSEdgeInsetsMake(_ top: CGFloat, _ left: CGFloat, _ bottom: CGFloat, _ right: CGFloat) -> NSEdgeInsets |
To | func NSEdgeInsetsMake(_ top: CGFloat, _ left: CGFloat, _ bottom: CGFloat, _ right: CGFloat) -> EdgeInsets |
---|
| Declaration |
From | let NSEdgeInsetsZero: NSEdgeInsets |
To | let NSEdgeInsetsZero: EdgeInsets |
---|
| Declaration |
From | func NSEnumerateHashTable(_ table: NSHashTable) -> NSHashEnumerator |
To | func NSEnumerateHashTable(_ table: NSHashTable<AnyObject>) -> NSHashEnumerator |
---|
| Declaration |
From | func NSEnumerateMapTable(_ table: NSMapTable) -> NSMapEnumerator |
To | func NSEnumerateMapTable(_ table: NSMapTable<AnyObject, AnyObject>) -> NSMapEnumerator |
---|
| Declaration |
From | typealias NSErrorPointer = AutoreleasingUnsafeMutablePointer<NSError?> |
To | typealias NSErrorPointer = AutoreleasingUnsafeMutablePointer<NSError?>? |
---|
| Declaration |
From | func NSFreeHashTable(_ table: NSHashTable) |
To | func NSFreeHashTable(_ table: NSHashTable<AnyObject>) |
---|
| Declaration |
From | func NSFreeMapTable(_ table: NSMapTable) |
To | func NSFreeMapTable(_ table: NSMapTable<AnyObject, AnyObject>) |
---|
| Declaration |
From | func NSGetSizeAndAlignment(_ typePtr: UnsafePointer<Int8>, _ sizep: UnsafeMutablePointer<Int>, _ alignp: UnsafeMutablePointer<Int>) -> UnsafePointer<Int8> |
To | func NSGetSizeAndAlignment(_ typePtr: UnsafePointer<Int8>, _ sizep: UnsafeMutablePointer<Int>?, _ alignp: UnsafeMutablePointer<Int>?) -> UnsafePointer<Int8> |
---|
| Declaration |
From | func NSGetUncaughtExceptionHandler() -> ((NSException) -> Void)? |
To | func NSGetUncaughtExceptionHandler() -> ((NSException) -> Swift.Void)? |
---|
| Declaration |
From | func NSHashGet(_ table: NSHashTable, _ pointer: UnsafePointer<Void>) -> UnsafeMutablePointer<Void> |
To | func NSHashGet(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) -> UnsafeMutableRawPointer |
---|
| Declaration |
From | func NSHashInsert(_ table: NSHashTable, _ pointer: UnsafePointer<Void>) |
To | func NSHashInsert(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) |
---|
| Declaration |
From | func NSHashInsertIfAbsent(_ table: NSHashTable, _ pointer: UnsafePointer<Void>) -> UnsafeMutablePointer<Void> |
To | func NSHashInsertIfAbsent(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) -> UnsafeMutableRawPointer? |
---|
| Declaration |
From | func NSHashInsertKnownAbsent(_ table: NSHashTable, _ pointer: UnsafePointer<Void>) |
To | func NSHashInsertKnownAbsent(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) |
---|
| Declaration |
From | func NSHashRemove(_ table: NSHashTable, _ pointer: UnsafePointer<Void>) |
To | func NSHashRemove(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) |
---|
| Declaration |
From | let NSHashTableCopyIn: NSPointerFunctionsOptions |
To | let NSHashTableCopyIn: NSPointerFunctions.Options |
---|
| Declaration |
From | let NSHashTableObjectPointerPersonality: NSPointerFunctionsOptions |
To | let NSHashTableObjectPointerPersonality: NSPointerFunctions.Options |
---|
| Declaration |
From | let NSHashTableStrongMemory: NSPointerFunctionsOptions |
To | let NSHashTableStrongMemory: NSPointerFunctions.Options |
---|
| Declaration |
From | let NSHashTableWeakMemory: NSPointerFunctionsOptions |
To | let NSHashTableWeakMemory: NSPointerFunctions.Options |
---|
| Declaration |
From | func NSIntegralRectWithOptions(_ aRect: NSRect, _ opts: NSAlignmentOptions) -> NSRect |
To | func NSIntegralRectWithOptions(_ aRect: NSRect, _ opts: AlignmentOptions) -> NSRect |
---|
| Declaration |
From | typealias NSItemProviderCompletionHandler = (NSSecureCoding?, NSError!) -> Void |
To | typealias CompletionHandler = (NSSecureCoding?, Error!) -> Swift.Void |
---|
| Declaration |
From | typealias NSItemProviderLoadHandler = (NSItemProviderCompletionHandler!, AnyClass!, [NSObject : AnyObject]!) -> Void |
To | typealias LoadHandler = (NSItemProvider.CompletionHandler!, Swift.AnyClass!, [AnyHashable : Any]!) -> Swift.Void |
---|
| Declaration |
From | func NSMapGet(_ table: NSMapTable, _ key: UnsafePointer<Void>) -> UnsafeMutablePointer<Void> |
To | func NSMapGet(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?) -> UnsafeMutableRawPointer? |
---|
| Declaration |
From | func NSMapInsert(_ table: NSMapTable, _ key: UnsafePointer<Void>, _ value: UnsafePointer<Void>) |
To | func NSMapInsert(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?, _ value: UnsafeRawPointer?) |
---|
| Declaration |
From | func NSMapInsertIfAbsent(_ table: NSMapTable, _ key: UnsafePointer<Void>, _ value: UnsafePointer<Void>) -> UnsafeMutablePointer<Void> |
To | func NSMapInsertIfAbsent(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?, _ value: UnsafeRawPointer?) -> UnsafeMutableRawPointer? |
---|
| Declaration |
From | func NSMapInsertKnownAbsent(_ table: NSMapTable, _ key: UnsafePointer<Void>, _ value: UnsafePointer<Void>) |
To | func NSMapInsertKnownAbsent(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?, _ value: UnsafeRawPointer?) |
---|
| Declaration |
From | func NSMapMember(_ table: NSMapTable, _ key: UnsafePointer<Void>, _ originalKey: UnsafeMutablePointer<UnsafeMutablePointer<Void>>, _ value: UnsafeMutablePointer<UnsafeMutablePointer<Void>>) -> Bool |
To | func NSMapMember(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer, _ originalKey: UnsafeMutablePointer<UnsafeMutableRawPointer?>?, _ value: UnsafeMutablePointer<UnsafeMutableRawPointer?>?) -> Bool |
---|
| Declaration |
From | func NSMapRemove(_ table: NSMapTable, _ key: UnsafePointer<Void>) |
To | func NSMapRemove(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?) |
---|
| Declaration |
From | let NSMapTableCopyIn: NSPointerFunctionsOptions |
To | let NSMapTableCopyIn: NSPointerFunctions.Options |
---|
| Declaration |
From | let NSMapTableObjectPointerPersonality: NSPointerFunctionsOptions |
To | let NSMapTableObjectPointerPersonality: NSPointerFunctions.Options |
---|
| Declaration |
From | let NSMapTableStrongMemory: NSPointerFunctionsOptions |
To | let NSMapTableStrongMemory: NSPointerFunctions.Options |
---|
| Declaration |
From | let NSMapTableWeakMemory: NSPointerFunctionsOptions |
To | let NSMapTableWeakMemory: NSPointerFunctions.Options |
---|
| Declaration |
From | func NSNextHashEnumeratorItem(_ enumerator: UnsafeMutablePointer<NSHashEnumerator>) -> UnsafeMutablePointer<Void> |
To | func NSNextHashEnumeratorItem(_ enumerator: UnsafeMutablePointer<NSHashEnumerator>) -> UnsafeMutableRawPointer? |
---|
| Declaration |
From | func NSNextMapEnumeratorPair(_ enumerator: UnsafeMutablePointer<NSMapEnumerator>, _ key: UnsafeMutablePointer<UnsafeMutablePointer<Void>>, _ value: UnsafeMutablePointer<UnsafeMutablePointer<Void>>) -> Bool |
To | func NSNextMapEnumeratorPair(_ enumerator: UnsafeMutablePointer<NSMapEnumerator>, _ key: UnsafeMutablePointer<UnsafeMutableRawPointer?>?, _ value: UnsafeMutablePointer<UnsafeMutableRawPointer?>?) -> Bool |
---|
| Declaration |
From | let NSNotificationDeliverImmediately: NSDistributedNotificationOptions |
To | let NSNotificationDeliverImmediately: DistributedNotificationCenter.Options |
---|
| Declaration |
From | let NSNotificationPostToAllSessions: NSDistributedNotificationOptions |
To | let NSNotificationPostToAllSessions: DistributedNotificationCenter.Options |
---|
| Declaration |
From | func NSResetHashTable(_ table: NSHashTable) |
To | func NSResetHashTable(_ table: NSHashTable<AnyObject>) |
---|
| Declaration |
From | func NSResetMapTable(_ table: NSMapTable) |
To | func NSResetMapTable(_ table: NSMapTable<AnyObject, AnyObject>) |
---|
| Declaration |
From | func NSSearchPathForDirectoriesInDomains(_ directory: NSSearchPathDirectory, _ domainMask: NSSearchPathDomainMask, _ expandTilde: Bool) -> [String] |
To | func NSSearchPathForDirectoriesInDomains(_ directory: FileManager.SearchPathDirectory, _ domainMask: FileManager.SearchPathDomainMask, _ expandTilde: Bool) -> [String] |
---|
| Declaration |
From | func NSSetUncaughtExceptionHandler(_ _: ((NSException) -> Void)?) |
To | func NSSetUncaughtExceptionHandler(_ _: (@escaping (NSException) -> Swift.Void)?) |
---|
| Declaration |
From | func NSStringFromClass(_ aClass: AnyClass) -> String |
To | func NSStringFromClass(_ aClass: Swift.AnyClass) -> String |
---|
| Declaration |
From | func NSStringFromHashTable(_ table: NSHashTable) -> String |
To | func NSStringFromHashTable(_ table: NSHashTable<AnyObject>) -> String |
---|
| Declaration |
From | func NSStringFromMapTable(_ table: NSMapTable) -> String |
To | func NSStringFromMapTable(_ table: NSMapTable<AnyObject, AnyObject>) -> String |
---|
| Declaration |
From | typealias NSUncaughtExceptionHandler = (NSException) -> Void |
To | typealias NSUncaughtExceptionHandler = (NSException) -> Swift.Void |
---|
| Declaration |
From | typealias NSURLBookmarkFileCreationOptions = Int |
To | typealias BookmarkFileCreationOptions = Int |
---|
| Declaration |
From | typealias NSUserAppleScriptTaskCompletionHandler = (NSAppleEventDescriptor?, NSError?) -> Void |
To | typealias CompletionHandler = (NSAppleEventDescriptor?, Error?) -> Swift.Void |
---|
| Declaration |
From | typealias NSUserAutomatorTaskCompletionHandler = (AnyObject?, NSError?) -> Void |
To | typealias CompletionHandler = (Any?, Error?) -> Swift.Void |
---|
| Declaration |
From | typealias NSUserScriptTaskCompletionHandler = (NSError?) -> Void |
To | typealias CompletionHandler = (Error?) -> Swift.Void |
---|
| Declaration |
From | typealias NSUserUnixTaskCompletionHandler = (NSError?) -> Void |
To | typealias CompletionHandler = (Error?) -> Swift.Void |
---|
| Declaration |
From | typealias NSProgressPublishingHandler = (NSProgress) -> NSProgressUnpublishingHandler? |
To | typealias PublishingHandler = (Progress) -> Progress.UnpublishingHandler? |
---|
| Declaration |
From | typealias NSProgressUnpublishingHandler = () -> Void |
To | typealias UnpublishingHandler = () -> Swift.Void |
---|
| Declaration |
From | typealias NSPropertyListReadOptions = NSPropertyListMutabilityOptions |
To | typealias ReadOptions = PropertyListSerialization.MutabilityOptions |
---|
| Declaration |
From | typealias NSPropertyListWriteOptions = Int |
To | typealias WriteOptions = Int |
---|
| Declaration |
From | typealias NSSocketNativeHandle = Int32 |
To | typealias SocketNativeHandle = Int32 |
---|
| Declaration |
From | typealias NSTimeInterval = Double |
To | typealias TimeInterval = Double |
---|