Contacts Changes for Swift
Contacts
Added CNError [struct]
Added CNError.affectedRecords
Added CNError.containmentCycle
Added CNError.containmentScope
Added CNError.dataAccessError
Added CNError.init(_nsError: NSError)
Added CNError.keyPaths
Added CNError.policyViolation
Added CNError.predicateInvalid
Modified CNAuthorizationStatus [enum]
Declaration | |
---|---|
From | enum CNAuthorizationStatus : Int { case NotDetermined case Restricted case Denied case Authorized } |
To | enum CNAuthorizationStatus : Int { case notDetermined case restricted case denied case authorized } |
Modified CNAuthorizationStatus.authorized
Declaration | |
---|---|
From | case Authorized |
To | case authorized |
Modified CNAuthorizationStatus.denied
Declaration | |
---|---|
From | case Denied |
To | case denied |
Modified CNAuthorizationStatus.notDetermined
Declaration | |
---|---|
From | case NotDetermined |
To | case notDetermined |
Modified CNAuthorizationStatus.restricted
Declaration | |
---|---|
From | case Restricted |
To | case restricted |
Modified CNContact
Declaration | Protocols | |
---|---|---|
From | class CNContact : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var identifier: String { get } var contactType: CNContactType { get } var namePrefix: String { get } var givenName: String { get } var middleName: String { get } var familyName: String { get } var previousFamilyName: String { get } var nameSuffix: String { get } var nickname: String { get } var phoneticGivenName: String { get } var phoneticMiddleName: String { get } var phoneticFamilyName: String { get } var organizationName: String { get } var departmentName: String { get } var jobTitle: String { get } var note: String { get } @NSCopying var imageData: NSData? { get } @NSCopying var thumbnailImageData: NSData? { get } var imageDataAvailable: Bool { get } var phoneNumbers: [CNLabeledValue] { get } var emailAddresses: [CNLabeledValue] { get } var postalAddresses: [CNLabeledValue] { get } var urlAddresses: [CNLabeledValue] { get } var contactRelations: [CNLabeledValue] { get } var socialProfiles: [CNLabeledValue] { get } var instantMessageAddresses: [CNLabeledValue] { get } @NSCopying var birthday: NSDateComponents? { get } @NSCopying var nonGregorianBirthday: NSDateComponents? { get } var dates: [CNLabeledValue] { get } func isKeyAvailable(_ key: String) -> Bool func areKeysAvailable(_ keyDescriptors: [CNKeyDescriptor]) -> Bool class func localizedStringForKey(_ key: String) -> String class func comparatorForNameSortOrder(_ sortOrder: CNContactSortOrder) -> NSComparator class func descriptorForAllComparatorKeys() -> CNKeyDescriptor func isUnifiedWithContactWithIdentifier(_ contactIdentifier: String) -> Bool } extension CNContact { class func predicateForContactsMatchingName(_ name: String) -> NSPredicate class func predicateForContactsWithIdentifiers(_ identifiers: [String]) -> NSPredicate class func predicateForContactsInGroupWithIdentifier(_ groupIdentifier: String) -> NSPredicate class func predicateForContactsInContainerWithIdentifier(_ containerIdentifier: String) -> NSPredicate } | NSCopying, NSMutableCopying, NSSecureCoding |
To | class CNContact : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var identifier: String { get } var contactType: CNContactType { get } var namePrefix: String { get } var givenName: String { get } var middleName: String { get } var familyName: String { get } var previousFamilyName: String { get } var nameSuffix: String { get } var nickname: String { get } var organizationName: String { get } var departmentName: String { get } var jobTitle: String { get } var phoneticGivenName: String { get } var phoneticMiddleName: String { get } var phoneticFamilyName: String { get } var phoneticOrganizationName: String { get } var note: String { get } var imageData: Data? { get } var thumbnailImageData: Data? { get } var imageDataAvailable: Bool { get } var phoneNumbers: [CNLabeledValue<CNPhoneNumber>] { get } var emailAddresses: [CNLabeledValue<NSString>] { get } var postalAddresses: [CNLabeledValue<CNPostalAddress>] { get } var urlAddresses: [CNLabeledValue<NSString>] { get } var contactRelations: [CNLabeledValue<CNContactRelation>] { get } var socialProfiles: [CNLabeledValue<CNSocialProfile>] { get } var instantMessageAddresses: [CNLabeledValue<CNInstantMessageAddress>] { get } var birthday: DateComponents? { get } var nonGregorianBirthday: DateComponents? { get } var dates: [CNLabeledValue<NSDateComponents>] { get } func isKeyAvailable(_ key: String) -> Bool func areKeysAvailable(_ keyDescriptors: [CNKeyDescriptor]) -> Bool class func localizedString(forKey key: String) -> String class func comparator(forNameSortOrder sortOrder: CNContactSortOrder) -> Foundation.Comparator class func descriptorForAllComparatorKeys() -> CNKeyDescriptor func isUnifiedWithContact(withIdentifier contactIdentifier: String) -> Bool class func predicateForContacts(matchingName name: String) -> NSPredicate class func predicateForContacts(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForContactsInGroup(withIdentifier groupIdentifier: String) -> NSPredicate class func predicateForContactsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContact : CVarArg { } extension CNContact : Equatable, Hashable { var hashValue: Int { get } } extension CNContact { class func predicateForContacts(matchingName name: String) -> NSPredicate class func predicateForContacts(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForContactsInGroup(withIdentifier groupIdentifier: String) -> NSPredicate class func predicateForContactsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate } | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
Modified CNContact.birthday
Declaration | |
---|---|
From | @NSCopying var birthday: NSDateComponents? { get } |
To | var birthday: DateComponents? { get } |
Modified CNContact.comparator(forNameSortOrder: CNContactSortOrder) -> Foundation.Comparator [class]
Declaration | |
---|---|
From | class func comparatorForNameSortOrder(_ sortOrder: CNContactSortOrder) -> NSComparator |
To | class func comparator(forNameSortOrder sortOrder: CNContactSortOrder) -> Foundation.Comparator |
Modified CNContact.contactRelations
Declaration | |
---|---|
From | var contactRelations: [CNLabeledValue] { get } |
To | var contactRelations: [CNLabeledValue<CNContactRelation>] { get } |
Modified CNContact.dates
Declaration | |
---|---|
From | var dates: [CNLabeledValue] { get } |
To | var dates: [CNLabeledValue<NSDateComponents>] { get } |
Modified CNContact.emailAddresses
Declaration | |
---|---|
From | var emailAddresses: [CNLabeledValue] { get } |
To | var emailAddresses: [CNLabeledValue<NSString>] { get } |
Modified CNContact.imageData
Declaration | |
---|---|
From | @NSCopying var imageData: NSData? { get } |
To | var imageData: Data? { get } |
Modified CNContact.instantMessageAddresses
Declaration | |
---|---|
From | var instantMessageAddresses: [CNLabeledValue] { get } |
To | var instantMessageAddresses: [CNLabeledValue<CNInstantMessageAddress>] { get } |
Declaration | |
---|---|
From | func isUnifiedWithContactWithIdentifier(_ contactIdentifier: String) -> Bool |
To | func isUnifiedWithContact(withIdentifier contactIdentifier: String) -> Bool |
Declaration | |
---|---|
From | class func localizedStringForKey(_ key: String) -> String |
To | class func localizedString(forKey key: String) -> String |
Modified CNContact.nonGregorianBirthday
Declaration | |
---|---|
From | @NSCopying var nonGregorianBirthday: NSDateComponents? { get } |
To | var nonGregorianBirthday: DateComponents? { get } |
Modified CNContact.phoneNumbers
Declaration | |
---|---|
From | var phoneNumbers: [CNLabeledValue] { get } |
To | var phoneNumbers: [CNLabeledValue<CNPhoneNumber>] { get } |
Modified CNContact.postalAddresses
Declaration | |
---|---|
From | var postalAddresses: [CNLabeledValue] { get } |
To | var postalAddresses: [CNLabeledValue<CNPostalAddress>] { get } |
Declaration | |
---|---|
From | class func predicateForContactsMatchingName(_ name: String) -> NSPredicate |
To | class func predicateForContacts(matchingName name: String) -> NSPredicate |
Declaration | |
---|---|
From | class func predicateForContactsWithIdentifiers(_ identifiers: [String]) -> NSPredicate |
To | class func predicateForContacts(withIdentifiers identifiers: [String]) -> NSPredicate |
Declaration | |
---|---|
From | class func predicateForContactsInContainerWithIdentifier(_ containerIdentifier: String) -> NSPredicate |
To | class func predicateForContactsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate |
Declaration | |
---|---|
From | class func predicateForContactsInGroupWithIdentifier(_ groupIdentifier: String) -> NSPredicate |
To | class func predicateForContactsInGroup(withIdentifier groupIdentifier: String) -> NSPredicate |
Modified CNContact.socialProfiles
Declaration | |
---|---|
From | var socialProfiles: [CNLabeledValue] { get } |
To | var socialProfiles: [CNLabeledValue<CNSocialProfile>] { get } |
Modified CNContact.thumbnailImageData
Declaration | |
---|---|
From | @NSCopying var thumbnailImageData: NSData? { get } |
To | var thumbnailImageData: Data? { get } |
Modified CNContact.urlAddresses
Declaration | |
---|---|
From | var urlAddresses: [CNLabeledValue] { get } |
To | var urlAddresses: [CNLabeledValue<NSString>] { get } |
Modified CNContactDisplayNameOrder [enum]
Declaration | |
---|---|
From | enum CNContactDisplayNameOrder : Int { case UserDefault case GivenNameFirst case FamilyNameFirst } |
To | enum CNContactDisplayNameOrder : Int { case userDefault case givenNameFirst case familyNameFirst } |
Declaration | |
---|---|
From | case FamilyNameFirst |
To | case familyNameFirst |
Declaration | |
---|---|
From | case GivenNameFirst |
To | case givenNameFirst |
Declaration | |
---|---|
From | case UserDefault |
To | case userDefault |
Modified CNContactFetchRequest
Declaration | Protocols | |
---|---|---|
From | class CNContactFetchRequest : NSObject { init(keysToFetch keysToFetch: [CNKeyDescriptor]) @NSCopying var predicate: NSPredicate? var keysToFetch: [CNKeyDescriptor] var mutableObjects: Bool var unifyResults: Bool var sortOrder: CNContactSortOrder } | -- |
To | class CNContactFetchRequest : NSObject, NSSecureCoding { init(keysToFetch keysToFetch: [CNKeyDescriptor]) @NSCopying var predicate: NSPredicate? var keysToFetch: [CNKeyDescriptor] var mutableObjects: Bool var unifyResults: Bool var sortOrder: CNContactSortOrder 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContactFetchRequest : CVarArg { } extension CNContactFetchRequest : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSSecureCoding |
Modified CNContactFetchRequest.mutableObjects
Introduction | |
---|---|
From | iOS 9.0 |
To | iOS 10.0 |
Modified CNContactFormatter
Declaration | Protocols | |
---|---|---|
From | class CNContactFormatter : NSFormatter { class func descriptorForRequiredKeysForStyle(_ style: CNContactFormatterStyle) -> CNKeyDescriptor class func stringFromContact(_ contact: CNContact, style style: CNContactFormatterStyle) -> String? class func attributedStringFromContact(_ contact: CNContact, style style: CNContactFormatterStyle, defaultAttributes attributes: [NSObject : AnyObject]?) -> NSAttributedString? class func nameOrderForContact(_ contact: CNContact) -> CNContactDisplayNameOrder class func delimiterForContact(_ contact: CNContact) -> String var style: CNContactFormatterStyle func stringFromContact(_ contact: CNContact) -> String? func attributedStringFromContact(_ contact: CNContact, defaultAttributes attributes: [NSObject : AnyObject]?) -> NSAttributedString? } | -- |
To | class CNContactFormatter : Formatter { class func descriptorForRequiredKeys(for style: CNContactFormatterStyle) -> CNKeyDescriptor class func string(from contact: CNContact, style style: CNContactFormatterStyle) -> String? class func attributedString(from contact: CNContact, style style: CNContactFormatterStyle, defaultAttributes attributes: [AnyHashable : Any]? = nil) -> NSAttributedString? class func nameOrder(for contact: CNContact) -> CNContactDisplayNameOrder class func delimiter(for contact: CNContact) -> String var style: CNContactFormatterStyle func string(from contact: CNContact) -> String? func attributedString(from contact: CNContact, defaultAttributes attributes: [AnyHashable : Any]? = nil) -> NSAttributedString? 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 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContactFormatter : CVarArg { } extension CNContactFormatter : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func attributedStringFromContact(_ contact: CNContact, defaultAttributes attributes: [NSObject : AnyObject]?) -> NSAttributedString? |
To | func attributedString(from contact: CNContact, defaultAttributes attributes: [AnyHashable : Any]? = nil) -> NSAttributedString? |
Declaration | |
---|---|
From | class func attributedStringFromContact(_ contact: CNContact, style style: CNContactFormatterStyle, defaultAttributes attributes: [NSObject : AnyObject]?) -> NSAttributedString? |
To | class func attributedString(from contact: CNContact, style style: CNContactFormatterStyle, defaultAttributes attributes: [AnyHashable : Any]? = nil) -> NSAttributedString? |
Declaration | |
---|---|
From | class func delimiterForContact(_ contact: CNContact) -> String |
To | class func delimiter(for contact: CNContact) -> String |
Declaration | |
---|---|
From | class func descriptorForRequiredKeysForStyle(_ style: CNContactFormatterStyle) -> CNKeyDescriptor |
To | class func descriptorForRequiredKeys(for style: CNContactFormatterStyle) -> CNKeyDescriptor |
Declaration | |
---|---|
From | class func nameOrderForContact(_ contact: CNContact) -> CNContactDisplayNameOrder |
To | class func nameOrder(for contact: CNContact) -> CNContactDisplayNameOrder |
Declaration | |
---|---|
From | func stringFromContact(_ contact: CNContact) -> String? |
To | func string(from contact: CNContact) -> String? |
Modified CNContactFormatter.string(from: CNContact, style: CNContactFormatterStyle) -> String? [class]
Declaration | |
---|---|
From | class func stringFromContact(_ contact: CNContact, style style: CNContactFormatterStyle) -> String? |
To | class func string(from contact: CNContact, style style: CNContactFormatterStyle) -> String? |
Modified CNContactFormatterStyle [enum]
Declaration | |
---|---|
From | enum CNContactFormatterStyle : Int { case FullName case PhoneticFullName } |
To | enum CNContactFormatterStyle : Int { case fullName case phoneticFullName } |
Modified CNContactFormatterStyle.fullName
Declaration | |
---|---|
From | case FullName |
To | case fullName |
Declaration | |
---|---|
From | case PhoneticFullName |
To | case phoneticFullName |
Modified CNContactProperty
Declaration | Protocols | |
---|---|---|
From | class CNContactProperty : NSObject, NSCopying, NSSecureCoding { @NSCopying var contact: CNContact { get } var key: String { get } var value: AnyObject? { get } var identifier: String? { get } var label: String? { get } } | NSCopying, NSSecureCoding |
To | class CNContactProperty : NSObject, NSCopying, NSSecureCoding { @NSCopying var contact: CNContact { get } var key: String { get } var value: Any? { get } var identifier: String? { get } var label: String? { get } 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContactProperty : CVarArg { } extension CNContactProperty : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CNContactProperty.value
Declaration | |
---|---|
From | var value: AnyObject? { get } |
To | var value: Any? { get } |
Modified CNContactRelation
Declaration | Protocols | |
---|---|---|
From | class CNContactRelation : NSObject, NSCopying, NSSecureCoding { convenience init(name name: String) class func contactRelationWithName(_ name: String) -> Self init(name name: String) var name: String { get } } | NSCopying, NSSecureCoding |
To | class CNContactRelation : NSObject, NSCopying, NSSecureCoding { convenience init(name name: String) class func withName(_ name: String) -> Self init(name name: String) var name: String { get } 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContactRelation : CVarArg { } extension CNContactRelation : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CNContactSortOrder [enum]
Declaration | |
---|---|
From | enum CNContactSortOrder : Int { case None case UserDefault case GivenName case FamilyName } |
To | enum CNContactSortOrder : Int { case none case userDefault case givenName case familyName } |
Modified CNContactSortOrder.familyName
Declaration | |
---|---|
From | case FamilyName |
To | case familyName |
Modified CNContactSortOrder.givenName
Declaration | |
---|---|
From | case GivenName |
To | case givenName |
Modified CNContactSortOrder.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified CNContactSortOrder.userDefault
Declaration | |
---|---|
From | case UserDefault |
To | case userDefault |
Modified CNContactStore
Declaration | Protocols | |
---|---|---|
From | class CNContactStore : NSObject { class func authorizationStatusForEntityType(_ entityType: CNEntityType) -> CNAuthorizationStatus func requestAccessForEntityType(_ entityType: CNEntityType, completionHandler completionHandler: (Bool, NSError?) -> Void) func unifiedContactsMatchingPredicate(_ predicate: NSPredicate, keysToFetch keys: [CNKeyDescriptor]) throws -> [CNContact] func unifiedContactWithIdentifier(_ identifier: String, keysToFetch keys: [CNKeyDescriptor]) throws -> CNContact func unifiedMeContactWithKeysToFetch(_ keys: [CNKeyDescriptor]) throws -> CNContact func enumerateContactsWithFetchRequest(_ fetchRequest: CNContactFetchRequest, usingBlock block: (CNContact, UnsafeMutablePointer<ObjCBool>) -> Void) throws func groupsMatchingPredicate(_ predicate: NSPredicate?) throws -> [CNGroup] func containersMatchingPredicate(_ predicate: NSPredicate?) throws -> [CNContainer] func executeSaveRequest(_ saveRequest: CNSaveRequest) throws func defaultContainerIdentifier() -> String } | -- |
To | class CNContactStore : NSObject { class func authorizationStatus(for entityType: CNEntityType) -> CNAuthorizationStatus func requestAccess(for entityType: CNEntityType, completionHandler completionHandler: @escaping (Bool, Error?) -> Swift.Void) func unifiedContacts(matching predicate: NSPredicate, keysToFetch keys: [CNKeyDescriptor]) throws -> [CNContact] func unifiedContact(withIdentifier identifier: String, keysToFetch keys: [CNKeyDescriptor]) throws -> CNContact func unifiedMeContactWithKeys(toFetch keys: [CNKeyDescriptor]) throws -> CNContact func enumerateContacts(with fetchRequest: CNContactFetchRequest, usingBlock block: @escaping (CNContact, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) throws func groups(matching predicate: NSPredicate?) throws -> [CNGroup] func containers(matching predicate: NSPredicate?) throws -> [CNContainer] func execute(_ saveRequest: CNSaveRequest) throws func defaultContainerIdentifier() -> String 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContactStore : CVarArg { } extension CNContactStore : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func authorizationStatusForEntityType(_ entityType: CNEntityType) -> CNAuthorizationStatus |
To | class func authorizationStatus(for entityType: CNEntityType) -> CNAuthorizationStatus |
Declaration | |
---|---|
From | func containersMatchingPredicate(_ predicate: NSPredicate?) throws -> [CNContainer] |
To | func containers(matching predicate: NSPredicate?) throws -> [CNContainer] |
Declaration | |
---|---|
From | func enumerateContactsWithFetchRequest(_ fetchRequest: CNContactFetchRequest, usingBlock block: (CNContact, UnsafeMutablePointer<ObjCBool>) -> Void) throws |
To | func enumerateContacts(with fetchRequest: CNContactFetchRequest, usingBlock block: @escaping (CNContact, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) throws |
Declaration | |
---|---|
From | func executeSaveRequest(_ saveRequest: CNSaveRequest) throws |
To | func execute(_ saveRequest: CNSaveRequest) throws |
Declaration | |
---|---|
From | func groupsMatchingPredicate(_ predicate: NSPredicate?) throws -> [CNGroup] |
To | func groups(matching predicate: NSPredicate?) throws -> [CNGroup] |
Modified CNContactStore.requestAccess(for: CNEntityType, completionHandler: (Bool, Error?) -> Swift.Void)
Declaration | |
---|---|
From | func requestAccessForEntityType(_ entityType: CNEntityType, completionHandler completionHandler: (Bool, NSError?) -> Void) |
To | func requestAccess(for entityType: CNEntityType, completionHandler completionHandler: @escaping (Bool, Error?) -> Swift.Void) |
Declaration | |
---|---|
From | func unifiedContactWithIdentifier(_ identifier: String, keysToFetch keys: [CNKeyDescriptor]) throws -> CNContact |
To | func unifiedContact(withIdentifier identifier: String, keysToFetch keys: [CNKeyDescriptor]) throws -> CNContact |
Declaration | |
---|---|
From | func unifiedContactsMatchingPredicate(_ predicate: NSPredicate, keysToFetch keys: [CNKeyDescriptor]) throws -> [CNContact] |
To | func unifiedContacts(matching predicate: NSPredicate, keysToFetch keys: [CNKeyDescriptor]) throws -> [CNContact] |
Modified CNContactsUserDefaults
Declaration | Protocols | |
---|---|---|
From | class CNContactsUserDefaults : NSObject { class func sharedDefaults() -> Self var sortOrder: CNContactSortOrder { get } var countryCode: String { get } } | -- |
To | class CNContactsUserDefaults : NSObject { class func shared() -> Self var sortOrder: CNContactSortOrder { get } var countryCode: String { get } 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContactsUserDefaults : CVarArg { } extension CNContactsUserDefaults : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func sharedDefaults() -> Self |
To | class func shared() -> Self |
Modified CNContactType [enum]
Declaration | |
---|---|
From | enum CNContactType : Int { case Person case Organization } |
To | enum CNContactType : Int { case person case organization } |
Modified CNContactType.organization
Declaration | |
---|---|
From | case Organization |
To | case organization |
Modified CNContactType.person
Declaration | |
---|---|
From | case Person |
To | case person |
Modified CNContactVCardSerialization
Declaration | Protocols | |
---|---|---|
From | class CNContactVCardSerialization : NSObject { class func descriptorForRequiredKeys() -> CNKeyDescriptor class func dataWithContacts(_ contacts: [AnyObject]) throws -> NSData class func contactsWithData(_ data: NSData) throws -> [AnyObject] } | -- |
To | class CNContactVCardSerialization : NSObject { class func descriptorForRequiredKeys() -> CNKeyDescriptor class func data(with contacts: [CNContact]) throws -> Data class func contacts(with data: Data) throws -> [CNContact] 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContactVCardSerialization : CVarArg { } extension CNContactVCardSerialization : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func contactsWithData(_ data: NSData) throws -> [AnyObject] |
To | class func contacts(with data: Data) throws -> [CNContact] |
Declaration | |
---|---|
From | class func dataWithContacts(_ contacts: [AnyObject]) throws -> NSData |
To | class func data(with contacts: [CNContact]) throws -> Data |
Modified CNContainer
Declaration | Protocols | |
---|---|---|
From | class CNContainer : NSObject, NSCopying, NSSecureCoding { var identifier: String { get } var name: String { get } var type: CNContainerType { get } } extension CNContainer { class func predicateForContainersWithIdentifiers(_ identifiers: [String]) -> NSPredicate class func predicateForContainerOfContactWithIdentifier(_ contactIdentifier: String) -> NSPredicate class func predicateForContainerOfGroupWithIdentifier(_ groupIdentifier: String) -> NSPredicate } | NSCopying, NSSecureCoding |
To | class CNContainer : NSObject, NSCopying, NSSecureCoding { var identifier: String { get } var name: String { get } var type: CNContainerType { get } class func predicateForContainers(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForContainerOfContact(withIdentifier contactIdentifier: String) -> NSPredicate class func predicateForContainerOfGroup(withIdentifier groupIdentifier: String) -> NSPredicate 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNContainer : CVarArg { } extension CNContainer : Equatable, Hashable { var hashValue: Int { get } } extension CNContainer { class func predicateForContainers(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForContainerOfContact(withIdentifier contactIdentifier: String) -> NSPredicate class func predicateForContainerOfGroup(withIdentifier groupIdentifier: String) -> NSPredicate } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | class func predicateForContainerOfContactWithIdentifier(_ contactIdentifier: String) -> NSPredicate |
To | class func predicateForContainerOfContact(withIdentifier contactIdentifier: String) -> NSPredicate |
Declaration | |
---|---|
From | class func predicateForContainerOfGroupWithIdentifier(_ groupIdentifier: String) -> NSPredicate |
To | class func predicateForContainerOfGroup(withIdentifier groupIdentifier: String) -> NSPredicate |
Declaration | |
---|---|
From | class func predicateForContainersWithIdentifiers(_ identifiers: [String]) -> NSPredicate |
To | class func predicateForContainers(withIdentifiers identifiers: [String]) -> NSPredicate |
Modified CNContainerType [enum]
Declaration | |
---|---|
From | enum CNContainerType : Int { case Unassigned case Local case Exchange case CardDAV } |
To | enum CNContainerType : Int { case unassigned case local case exchange case cardDAV } |
Modified CNContainerType.cardDAV
Declaration | |
---|---|
From | case CardDAV |
To | case cardDAV |
Modified CNContainerType.exchange
Declaration | |
---|---|
From | case Exchange |
To | case exchange |
Modified CNContainerType.local
Declaration | |
---|---|
From | case Local |
To | case local |
Modified CNContainerType.unassigned
Declaration | |
---|---|
From | case Unassigned |
To | case unassigned |
Modified CNEntityType [enum]
Declaration | |
---|---|
From | enum CNEntityType : Int { case Contacts } |
To | enum CNEntityType : Int { case contacts } |
Modified CNEntityType.contacts
Declaration | |
---|---|
From | case Contacts |
To | case contacts |
Modified CNError.Code [enum]
Declaration | |
---|---|
From | enum CNErrorCode : Int { case CommunicationError case DataAccessError case AuthorizationDenied case RecordDoesNotExist case InsertedRecordAlreadyExists case ContainmentCycle case ContainmentScope case ParentRecordDoesNotExist case ValidationMultipleErrors case ValidationTypeMismatch case ValidationConfigurationError case PredicateInvalid case PolicyViolation } extension CNErrorCode : _BridgedNSError { } extension CNErrorCode : _BridgedNSError { } |
To | enum Code : Int { typealias _ErrorType = CNError case communicationError case dataAccessError case authorizationDenied case recordDoesNotExist case insertedRecordAlreadyExists case containmentCycle case containmentScope case parentRecordDoesNotExist case validationMultipleErrors case validationTypeMismatch case validationConfigurationError case predicateInvalid case policyViolation } |
Modified CNError.Code.authorizationDenied
Declaration | |
---|---|
From | case AuthorizationDenied |
To | case authorizationDenied |
Modified CNError.Code.communicationError
Declaration | |
---|---|
From | case CommunicationError |
To | case communicationError |
Modified CNError.Code.containmentCycle
Declaration | |
---|---|
From | case ContainmentCycle |
To | case containmentCycle |
Modified CNError.Code.containmentScope
Declaration | |
---|---|
From | case ContainmentScope |
To | case containmentScope |
Modified CNError.Code.dataAccessError
Declaration | |
---|---|
From | case DataAccessError |
To | case dataAccessError |
Declaration | Introduction | |
---|---|---|
From | case InsertedRecordAlreadyExists | iOS 9.0 |
To | case insertedRecordAlreadyExists | iOS 10.0 |
Declaration | |
---|---|
From | case ParentRecordDoesNotExist |
To | case parentRecordDoesNotExist |
Modified CNError.Code.policyViolation
Declaration | |
---|---|
From | case PolicyViolation |
To | case policyViolation |
Modified CNError.Code.predicateInvalid
Declaration | |
---|---|
From | case PredicateInvalid |
To | case predicateInvalid |
Modified CNError.Code.recordDoesNotExist
Declaration | |
---|---|
From | case RecordDoesNotExist |
To | case recordDoesNotExist |
Declaration | |
---|---|
From | case ValidationConfigurationError |
To | case validationConfigurationError |
Declaration | |
---|---|
From | case ValidationMultipleErrors |
To | case validationMultipleErrors |
Modified CNError.Code.validationTypeMismatch
Declaration | Introduction | |
---|---|---|
From | case ValidationTypeMismatch | iOS 9.0 |
To | case validationTypeMismatch | iOS 10.0 |
Modified CNGroup
Declaration | Protocols | |
---|---|---|
From | class CNGroup : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var identifier: String { get } var name: String { get } } extension CNGroup { class func predicateForGroupsWithIdentifiers(_ identifiers: [String]) -> NSPredicate class func predicateForSubgroupsInGroupWithIdentifier(_ parentGroupIdentifier: String) -> NSPredicate class func predicateForGroupsInContainerWithIdentifier(_ containerIdentifier: String) -> NSPredicate } | NSCopying, NSMutableCopying, NSSecureCoding |
To | class CNGroup : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var identifier: String { get } var name: String { get } class func predicateForGroups(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForSubgroupsInGroup(withIdentifier parentGroupIdentifier: String) -> NSPredicate class func predicateForGroupsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNGroup : CVarArg { } extension CNGroup : Equatable, Hashable { var hashValue: Int { get } } extension CNGroup { class func predicateForGroups(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForSubgroupsInGroup(withIdentifier parentGroupIdentifier: String) -> NSPredicate class func predicateForGroupsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate } | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
Declaration | |
---|---|
From | class func predicateForGroupsWithIdentifiers(_ identifiers: [String]) -> NSPredicate |
To | class func predicateForGroups(withIdentifiers identifiers: [String]) -> NSPredicate |
Declaration | |
---|---|
From | class func predicateForGroupsInContainerWithIdentifier(_ containerIdentifier: String) -> NSPredicate |
To | class func predicateForGroupsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate |
Modified CNInstantMessageAddress
Declaration | Protocols | |
---|---|---|
From | class CNInstantMessageAddress : NSObject, NSCopying, NSSecureCoding { var username: String { get } var service: String { get } init(username username: String, service service: String) class func localizedStringForKey(_ key: String) -> String class func localizedStringForService(_ service: String) -> String } | NSCopying, NSSecureCoding |
To | class CNInstantMessageAddress : NSObject, NSCopying, NSSecureCoding { var username: String { get } var service: String { get } init(username username: String, service service: String) class func localizedString(forKey key: String) -> String class func localizedString(forService service: String) -> String 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNInstantMessageAddress : CVarArg { } extension CNInstantMessageAddress : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | class func localizedStringForKey(_ key: String) -> String |
To | class func localizedString(forKey key: String) -> String |
Declaration | |
---|---|
From | class func localizedStringForService(_ service: String) -> String |
To | class func localizedString(forService service: String) -> String |
Modified CNLabeledValue
Declaration | Protocols | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|---|
From | class CNLabeledValue : NSObject, NSCopying, NSSecureCoding { var identifier: String { get } var label: String { get } @NSCopying var value: protocol<NSCopying, NSSecureCoding> { get } convenience init(label label: String?, value value: protocol<NSCopying, NSSecureCoding>) class func labeledValueWithLabel(_ label: String?, value value: protocol<NSCopying, NSSecureCoding>) -> Self init(label label: String?, value value: protocol<NSCopying, NSSecureCoding>) func labeledValueBySettingLabel(_ label: String?) -> Self func labeledValueBySettingValue(_ value: protocol<NSCopying, NSSecureCoding>) -> Self func labeledValueBySettingLabel(_ label: String?, value value: protocol<NSCopying, NSSecureCoding>) -> Self class func localizedStringForLabel(_ label: String) -> String } | NSCopying, NSSecureCoding | -- | |
To | class CNLabeledValue<ValueType : NSCopying, NSSecureCoding> : NSObject, NSCopying, NSSecureCoding { var identifier: String { get } var label: String? { get } @NSCopying var value: ValueType { get } convenience init(label label: String?, value value: ValueType) class func withLabel(_ label: String?, value value: ValueType) -> Self init(label label: String?, value value: ValueType) func settingLabel(_ label: String?) -> Self func settingValue(_ value: ValueType) -> Self func settingLabel(_ label: String?, value value: ValueType) -> Self class func localizedString(forLabel label: String) -> String 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNLabeledValue : CVarArg { } extension CNLabeledValue : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding | ValueType : NSCopying | ValueType |
Declaration | |
---|---|
From | init(label label: String?, value value: protocol<NSCopying, NSSecureCoding>) |
To | init(label label: String?, value value: ValueType) |
Modified CNLabeledValue.label
Declaration | |
---|---|
From | var label: String { get } |
To | var label: String? { get } |
Declaration | |
---|---|
From | class func localizedStringForLabel(_ label: String) -> String |
To | class func localizedString(forLabel label: String) -> String |
Declaration | |
---|---|
From | func labeledValueBySettingLabel(_ label: String?) -> Self |
To | func settingLabel(_ label: String?) -> Self |
Declaration | |
---|---|
From | func labeledValueBySettingLabel(_ label: String?, value value: protocol<NSCopying, NSSecureCoding>) -> Self |
To | func settingLabel(_ label: String?, value value: ValueType) -> Self |
Declaration | |
---|---|
From | func labeledValueBySettingValue(_ value: protocol<NSCopying, NSSecureCoding>) -> Self |
To | func settingValue(_ value: ValueType) -> Self |
Modified CNLabeledValue.value
Declaration | |
---|---|
From | @NSCopying var value: protocol<NSCopying, NSSecureCoding> { get } |
To | @NSCopying var value: ValueType { get } |
Modified CNMutableContact
Declaration | Protocols | |
---|---|---|
From | class CNMutableContact : CNContact { var contactType: CNContactType var namePrefix: String var givenName: String var middleName: String var familyName: String var previousFamilyName: String var nameSuffix: String var nickname: String var phoneticGivenName: String var phoneticMiddleName: String var phoneticFamilyName: String var organizationName: String var departmentName: String var jobTitle: String var note: String @NSCopying var imageData: NSData? var phoneNumbers: [CNLabeledValue] var emailAddresses: [CNLabeledValue] var postalAddresses: [CNLabeledValue] var urlAddresses: [CNLabeledValue] var contactRelations: [CNLabeledValue] var socialProfiles: [CNLabeledValue] var instantMessageAddresses: [CNLabeledValue] @NSCopying var birthday: NSDateComponents? @NSCopying var nonGregorianBirthday: NSDateComponents? var dates: [CNLabeledValue] } | -- |
To | class CNMutableContact : CNContact { var contactType: CNContactType var namePrefix: String var givenName: String var middleName: String var familyName: String var previousFamilyName: String var nameSuffix: String var nickname: String var organizationName: String var departmentName: String var jobTitle: String var phoneticGivenName: String var phoneticMiddleName: String var phoneticFamilyName: String var phoneticOrganizationName: String var note: String var imageData: Data? var phoneNumbers: [CNLabeledValue<CNPhoneNumber>] var emailAddresses: [CNLabeledValue<NSString>] var postalAddresses: [CNLabeledValue<CNPostalAddress>] var urlAddresses: [CNLabeledValue<NSString>] var contactRelations: [CNLabeledValue<CNContactRelation>] var socialProfiles: [CNLabeledValue<CNSocialProfile>] var instantMessageAddresses: [CNLabeledValue<CNInstantMessageAddress>] var birthday: DateComponents? var nonGregorianBirthday: DateComponents? var dates: [CNLabeledValue<NSDateComponents>] class func predicateForContacts(matchingName name: String) -> NSPredicate class func predicateForContacts(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForContactsInGroup(withIdentifier groupIdentifier: String) -> NSPredicate class func predicateForContactsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNMutableContact : CVarArg { } extension CNMutableContact : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CNMutableContact.birthday
Declaration | |
---|---|
From | @NSCopying var birthday: NSDateComponents? |
To | var birthday: DateComponents? |
Modified CNMutableContact.contactRelations
Declaration | |
---|---|
From | var contactRelations: [CNLabeledValue] |
To | var contactRelations: [CNLabeledValue<CNContactRelation>] |
Modified CNMutableContact.dates
Declaration | |
---|---|
From | var dates: [CNLabeledValue] |
To | var dates: [CNLabeledValue<NSDateComponents>] |
Modified CNMutableContact.emailAddresses
Declaration | |
---|---|
From | var emailAddresses: [CNLabeledValue] |
To | var emailAddresses: [CNLabeledValue<NSString>] |
Modified CNMutableContact.imageData
Declaration | |
---|---|
From | @NSCopying var imageData: NSData? |
To | var imageData: Data? |
Declaration | |
---|---|
From | var instantMessageAddresses: [CNLabeledValue] |
To | var instantMessageAddresses: [CNLabeledValue<CNInstantMessageAddress>] |
Declaration | |
---|---|
From | @NSCopying var nonGregorianBirthday: NSDateComponents? |
To | var nonGregorianBirthday: DateComponents? |
Modified CNMutableContact.phoneNumbers
Declaration | |
---|---|
From | var phoneNumbers: [CNLabeledValue] |
To | var phoneNumbers: [CNLabeledValue<CNPhoneNumber>] |
Modified CNMutableContact.postalAddresses
Declaration | |
---|---|
From | var postalAddresses: [CNLabeledValue] |
To | var postalAddresses: [CNLabeledValue<CNPostalAddress>] |
Modified CNMutableContact.socialProfiles
Declaration | |
---|---|
From | var socialProfiles: [CNLabeledValue] |
To | var socialProfiles: [CNLabeledValue<CNSocialProfile>] |
Modified CNMutableContact.urlAddresses
Declaration | |
---|---|
From | var urlAddresses: [CNLabeledValue] |
To | var urlAddresses: [CNLabeledValue<NSString>] |
Modified CNMutableGroup
Declaration | Protocols | |
---|---|---|
From | class CNMutableGroup : CNGroup { var name: String } | -- |
To | class CNMutableGroup : CNGroup { var name: String class func predicateForGroups(withIdentifiers identifiers: [String]) -> NSPredicate class func predicateForSubgroupsInGroup(withIdentifier parentGroupIdentifier: String) -> NSPredicate class func predicateForGroupsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNMutableGroup : CVarArg { } extension CNMutableGroup : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CNMutablePostalAddress
Declaration | |
---|---|
From | class CNMutablePostalAddress : CNPostalAddress { var street: String var city: String var state: String var postalCode: String var country: String var ISOCountryCode: String } |
To | class CNMutablePostalAddress : CNPostalAddress { var street: String var city: String var state: String var postalCode: String var country: String var isoCountryCode: String } |
Declaration | |
---|---|
From | var ISOCountryCode: String |
To | var isoCountryCode: String |
Modified CNPhoneNumber
Declaration | Protocols | |
---|---|---|
From | class CNPhoneNumber : NSObject, NSCopying, NSSecureCoding { convenience init(stringValue stringValue: String) class func phoneNumberWithStringValue(_ stringValue: String) -> Self init(stringValue string: String) var stringValue: String { get } } | NSCopying, NSSecureCoding |
To | class CNPhoneNumber : NSObject, NSCopying, NSSecureCoding { convenience init(stringValue stringValue: String) class func withStringValue(_ stringValue: String) -> Self init(stringValue string: String) var stringValue: String { get } 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNPhoneNumber : CVarArg { } extension CNPhoneNumber : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CNPostalAddress
Declaration | Protocols | |
---|---|---|
From | class CNPostalAddress : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var street: String { get } var city: String { get } var state: String { get } var postalCode: String { get } var country: String { get } var ISOCountryCode: String { get } class func localizedStringForKey(_ key: String) -> String } | NSCopying, NSMutableCopying, NSSecureCoding |
To | class CNPostalAddress : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { var street: String { get } var city: String { get } var state: String { get } var postalCode: String { get } var country: String { get } var isoCountryCode: String { get } class func localizedString(forKey key: String) -> String 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNPostalAddress : CVarArg { } extension CNPostalAddress : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
Modified CNPostalAddress.isoCountryCode
Declaration | |
---|---|
From | var ISOCountryCode: String { get } |
To | var isoCountryCode: String { get } |
Declaration | |
---|---|
From | class func localizedStringForKey(_ key: String) -> String |
To | class func localizedString(forKey key: String) -> String |
Modified CNPostalAddressFormatter
Declaration | Protocols | |
---|---|---|
From | class CNPostalAddressFormatter : NSFormatter { class func stringFromPostalAddress(_ postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle) -> String class func attributedStringFromPostalAddress(_ postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle, withDefaultAttributes attributes: [NSObject : AnyObject]) -> NSAttributedString var style: CNPostalAddressFormatterStyle func stringFromPostalAddress(_ postalAddress: CNPostalAddress) -> String func attributedStringFromPostalAddress(_ postalAddress: CNPostalAddress, withDefaultAttributes attributes: [NSObject : AnyObject]) -> NSAttributedString } | -- |
To | class CNPostalAddressFormatter : Formatter { class func string(from postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle) -> String class func attributedString(from postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString var style: CNPostalAddressFormatterStyle func string(from postalAddress: CNPostalAddress) -> String func attributedString(from postalAddress: CNPostalAddress, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString 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 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNPostalAddressFormatter : CVarArg { } extension CNPostalAddressFormatter : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func attributedStringFromPostalAddress(_ postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle, withDefaultAttributes attributes: [NSObject : AnyObject]) -> NSAttributedString |
To | class func attributedString(from postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString |
Declaration | |
---|---|
From | func attributedStringFromPostalAddress(_ postalAddress: CNPostalAddress, withDefaultAttributes attributes: [NSObject : AnyObject]) -> NSAttributedString |
To | func attributedString(from postalAddress: CNPostalAddress, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString |
Declaration | |
---|---|
From | func stringFromPostalAddress(_ postalAddress: CNPostalAddress) -> String |
To | func string(from postalAddress: CNPostalAddress) -> String |
Declaration | |
---|---|
From | class func stringFromPostalAddress(_ postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle) -> String |
To | class func string(from postalAddress: CNPostalAddress, style style: CNPostalAddressFormatterStyle) -> String |
Modified CNPostalAddressFormatterStyle [enum]
Declaration | |
---|---|
From | enum CNPostalAddressFormatterStyle : Int { case MailingAddress } |
To | enum CNPostalAddressFormatterStyle : Int { case mailingAddress } |
Declaration | |
---|---|
From | case MailingAddress |
To | case mailingAddress |
Modified CNSaveRequest
Declaration | Protocols | |
---|---|---|
From | class CNSaveRequest : NSObject { func addContact(_ contact: CNMutableContact, toContainerWithIdentifier identifier: String?) func updateContact(_ contact: CNMutableContact) func deleteContact(_ contact: CNMutableContact) func addGroup(_ group: CNMutableGroup, toContainerWithIdentifier identifier: String?) func updateGroup(_ group: CNMutableGroup) func deleteGroup(_ group: CNMutableGroup) func addSubgroup(_ subgroup: CNGroup, toGroup group: CNGroup) func removeSubgroup(_ subgroup: CNGroup, fromGroup group: CNGroup) func addMember(_ contact: CNContact, toGroup group: CNGroup) func removeMember(_ contact: CNContact, fromGroup group: CNGroup) } | -- |
To | class CNSaveRequest : NSObject { func add(_ contact: CNMutableContact, toContainerWithIdentifier identifier: String?) func update(_ contact: CNMutableContact) func delete(_ contact: CNMutableContact) func add(_ group: CNMutableGroup, toContainerWithIdentifier identifier: String?) func update(_ group: CNMutableGroup) func delete(_ group: CNMutableGroup) func addSubgroup(_ subgroup: CNGroup, to group: CNGroup) func removeSubgroup(_ subgroup: CNGroup, from group: CNGroup) func addMember(_ contact: CNContact, to group: CNGroup) func removeMember(_ contact: CNContact, from group: CNGroup) 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNSaveRequest : CVarArg { } extension CNSaveRequest : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addGroup(_ group: CNMutableGroup, toContainerWithIdentifier identifier: String?) |
To | func add(_ group: CNMutableGroup, toContainerWithIdentifier identifier: String?) |
Declaration | |
---|---|
From | func addContact(_ contact: CNMutableContact, toContainerWithIdentifier identifier: String?) |
To | func add(_ contact: CNMutableContact, toContainerWithIdentifier identifier: String?) |
Declaration | |
---|---|
From | func addMember(_ contact: CNContact, toGroup group: CNGroup) |
To | func addMember(_ contact: CNContact, to group: CNGroup) |
Declaration | |
---|---|
From | func deleteGroup(_ group: CNMutableGroup) |
To | func delete(_ group: CNMutableGroup) |
Declaration | |
---|---|
From | func deleteContact(_ contact: CNMutableContact) |
To | func delete(_ contact: CNMutableContact) |
Declaration | |
---|---|
From | func removeMember(_ contact: CNContact, fromGroup group: CNGroup) |
To | func removeMember(_ contact: CNContact, from group: CNGroup) |
Declaration | |
---|---|
From | func updateGroup(_ group: CNMutableGroup) |
To | func update(_ group: CNMutableGroup) |
Declaration | |
---|---|
From | func updateContact(_ contact: CNMutableContact) |
To | func update(_ contact: CNMutableContact) |
Modified CNSocialProfile
Declaration | Protocols | |
---|---|---|
From | class CNSocialProfile : NSObject, NSCopying, NSSecureCoding { var urlString: String { get } var username: String { get } var userIdentifier: String { get } var service: String { get } init(urlString urlString: String?, username username: String?, userIdentifier userIdentifier: String?, service service: String?) class func localizedStringForKey(_ key: String) -> String class func localizedStringForService(_ service: String) -> String } | NSCopying, NSSecureCoding |
To | class CNSocialProfile : NSObject, NSCopying, NSSecureCoding { var urlString: String { get } var username: String { get } var userIdentifier: String { get } var service: String { get } init(urlString urlString: String?, username username: String?, userIdentifier userIdentifier: String?, service service: String?) class func localizedString(forKey key: String) -> String class func localizedString(forService service: String) -> String 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 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 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 version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CNSocialProfile : CVarArg { } extension CNSocialProfile : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | class func localizedStringForKey(_ key: String) -> String |
To | class func localizedString(forKey key: String) -> String |
Declaration | |
---|---|
From | class func localizedStringForService(_ service: String) -> String |
To | class func localizedString(forService service: String) -> String |
Name | Declaration | |
---|---|---|
From | CNContactStoreDidChangeNotification | let CNContactStoreDidChangeNotification: String |
To | CNContactStoreDidChange | static let CNContactStoreDidChange: NSNotification.Name |