AddressBook Changes for Swift
AddressBook
Modified ABAddressBook
Declaration | Protocols | |
---|---|---|
From | class ABAddressBook : NSObject { class func sharedAddressBook() -> ABAddressBook! init!() class func addressBook() -> ABAddressBook! func recordsMatchingSearchElement(_ search: ABSearchElement!) -> [AnyObject]! func save() -> Bool func saveAndReturnError() throws func hasUnsavedChanges() -> Bool func me() -> ABPerson! func setMe(_ moi: ABPerson!) func recordForUniqueId(_ uniqueId: String!) -> ABRecord! func addRecord(_ record: ABRecord!, error error: ()) throws func addRecord(_ record: ABRecord!) -> Bool func removeRecord(_ record: ABRecord!, error error: ()) throws func removeRecord(_ record: ABRecord!) -> Bool func people() -> [AnyObject]! func groups() -> [AnyObject]! func recordClassFromUniqueId(_ uniqueId: String!) -> String! func formattedAddressFromDictionary(_ address: [NSObject : AnyObject]!) -> NSAttributedString! func defaultCountryCode() -> String! func defaultNameOrdering() -> Int } | -- |
To | class ABAddressBook : NSObject { class func shared() -> ABAddressBook! init!() class func addressBook() -> ABAddressBook! func records(matching search: ABSearchElement!) -> [Any]! func save() -> Bool func saveAndReturnError() throws func hasUnsavedChanges() -> Bool func me() -> ABPerson! func setMe(_ moi: ABPerson!) func record(forUniqueId uniqueId: String!) -> ABRecord! func add(_ record: ABRecord!, error error: ()) throws func add(_ record: ABRecord!) -> Bool func remove(_ record: ABRecord!, error error: ()) throws func remove(_ record: ABRecord!) -> Bool func people() -> [Any]! func groups() -> [Any]! func recordClass(fromUniqueId uniqueId: String!) -> String! func formattedAddress(from address: [AnyHashable : Any]!) -> NSAttributedString! func defaultCountryCode() -> String! func defaultNameOrdering() -> Int func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension ABAddressBook : CVarArg { } extension ABAddressBook : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addRecord(_ record: ABRecord!) -> Bool |
To | func add(_ record: ABRecord!) -> Bool |
Declaration | |
---|---|
From | func addRecord(_ record: ABRecord!, error error: ()) throws |
To | func add(_ record: ABRecord!, error error: ()) throws |
Declaration | |
---|---|
From | func formattedAddressFromDictionary(_ address: [NSObject : AnyObject]!) -> NSAttributedString! |
To | func formattedAddress(from address: [AnyHashable : Any]!) -> NSAttributedString! |
Modified ABAddressBook.groups() -> [Any]!
Declaration | |
---|---|
From | func groups() -> [AnyObject]! |
To | func groups() -> [Any]! |
Modified ABAddressBook.people() -> [Any]!
Declaration | |
---|---|
From | func people() -> [AnyObject]! |
To | func people() -> [Any]! |
Declaration | |
---|---|
From | func recordForUniqueId(_ uniqueId: String!) -> ABRecord! |
To | func record(forUniqueId uniqueId: String!) -> ABRecord! |
Declaration | |
---|---|
From | func recordClassFromUniqueId(_ uniqueId: String!) -> String! |
To | func recordClass(fromUniqueId uniqueId: String!) -> String! |
Declaration | |
---|---|
From | func recordsMatchingSearchElement(_ search: ABSearchElement!) -> [AnyObject]! |
To | func records(matching search: ABSearchElement!) -> [Any]! |
Declaration | |
---|---|
From | func removeRecord(_ record: ABRecord!) -> Bool |
To | func remove(_ record: ABRecord!) -> Bool |
Declaration | |
---|---|
From | func removeRecord(_ record: ABRecord!, error error: ()) throws |
To | func remove(_ record: ABRecord!, error error: ()) throws |
Declaration | |
---|---|
From | class func sharedAddressBook() -> ABAddressBook! |
To | class func shared() -> ABAddressBook! |
Modified ABGroup
Declaration | Protocols | |
---|---|---|
From | class ABGroup : ABRecord { func members() -> [AnyObject]! func addMember(_ person: ABPerson!) -> Bool func removeMember(_ person: ABPerson!) -> Bool func subgroups() -> [AnyObject]! func addSubgroup(_ group: ABGroup!) -> Bool func removeSubgroup(_ group: ABGroup!) -> Bool func parentGroups() -> [AnyObject]! func setDistributionIdentifier(_ identifier: String!, forProperty property: String!, person person: ABPerson!) -> Bool func distributionIdentifierForProperty(_ property: String!, person person: ABPerson!) -> String! } extension ABGroup { class func addPropertiesAndTypes(_ properties: [NSObject : AnyObject]!) -> Int class func removeProperties(_ properties: [AnyObject]!) -> Int class func properties() -> [AnyObject]! class func typeOfProperty(_ property: String!) -> ABPropertyType } extension ABGroup { class func searchElementForProperty(_ property: String!, label label: String!, key key: String!, value value: AnyObject!, comparison comparison: ABSearchComparison) -> ABSearchElement! } | -- |
To | class ABGroup : ABRecord { func members() -> [Any]! func addMember(_ person: ABPerson!) -> Bool func removeMember(_ person: ABPerson!) -> Bool func subgroups() -> [Any]! func addSubgroup(_ group: ABGroup!) -> Bool func removeSubgroup(_ group: ABGroup!) -> Bool func parentGroups() -> [Any]! func setDistributionIdentifier(_ identifier: String!, forProperty property: String!, person person: ABPerson!) -> Bool func distributionIdentifier(forProperty property: String!, person person: ABPerson!) -> String! class func addPropertiesAndTypes(_ properties: [AnyHashable : Any]!) -> Int class func removeProperties(_ properties: [Any]!) -> Int class func properties() -> [Any]! class func type(ofProperty property: String!) -> ABPropertyType class func searchElement(forProperty property: String!, label label: String!, key key: String!, value value: Any!, comparison comparison: ABSearchComparison) -> ABSearchElement! func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) var uniqueId: String! { get } var displayName: String! { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension ABGroup : CVarArg { } extension ABGroup : Equatable, Hashable { var hashValue: Int { get } } extension ABGroup { class func addPropertiesAndTypes(_ properties: [AnyHashable : Any]!) -> Int class func removeProperties(_ properties: [Any]!) -> Int class func properties() -> [Any]! class func type(ofProperty property: String!) -> ABPropertyType } extension ABGroup { class func searchElement(forProperty property: String!, label label: String!, key key: String!, value value: Any!, comparison comparison: ABSearchComparison) -> ABSearchElement! } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func addPropertiesAndTypes(_ properties: [NSObject : AnyObject]!) -> Int |
To | class func addPropertiesAndTypes(_ properties: [AnyHashable : Any]!) -> Int |
Declaration | |
---|---|
From | func distributionIdentifierForProperty(_ property: String!, person person: ABPerson!) -> String! |
To | func distributionIdentifier(forProperty property: String!, person person: ABPerson!) -> String! |
Modified ABGroup.members() -> [Any]!
Declaration | |
---|---|
From | func members() -> [AnyObject]! |
To | func members() -> [Any]! |
Modified ABGroup.parentGroups() -> [Any]!
Declaration | |
---|---|
From | func parentGroups() -> [AnyObject]! |
To | func parentGroups() -> [Any]! |
Declaration | |
---|---|
From | class func properties() -> [AnyObject]! |
To | class func properties() -> [Any]! |
Declaration | |
---|---|
From | class func removeProperties(_ properties: [AnyObject]!) -> Int |
To | class func removeProperties(_ properties: [Any]!) -> Int |
Declaration | |
---|---|
From | class func searchElementForProperty(_ property: String!, label label: String!, key key: String!, value value: AnyObject!, comparison comparison: ABSearchComparison) -> ABSearchElement! |
To | class func searchElement(forProperty property: String!, label label: String!, key key: String!, value value: Any!, comparison comparison: ABSearchComparison) -> ABSearchElement! |
Modified ABGroup.subgroups() -> [Any]!
Declaration | |
---|---|
From | func subgroups() -> [AnyObject]! |
To | func subgroups() -> [Any]! |
Declaration | |
---|---|
From | class func typeOfProperty(_ property: String!) -> ABPropertyType |
To | class func type(ofProperty property: String!) -> ABPropertyType |
Modified ABImageClient
Declaration | |
---|---|
From | protocol ABImageClient : NSObjectProtocol { func consumeImageData(_ data: NSData!, forTag tag: Int) } |
To | protocol ABImageClient : NSObjectProtocol { func consumeImageData(_ data: Data!, forTag tag: Int) } |
Declaration | |
---|---|
From | func consumeImageData(_ data: NSData!, forTag tag: Int) |
To | func consumeImageData(_ data: Data!, forTag tag: Int) |
Modified ABMultiValue
Declaration | Protocols | |
---|---|---|
From | class ABMultiValue : NSObject, NSCopying, NSMutableCopying, NSFastEnumeration { func count() -> Int func valueAtIndex(_ index: Int) -> AnyObject! func labelAtIndex(_ index: Int) -> String! func identifierAtIndex(_ index: Int) -> String! func indexForIdentifier(_ identifier: String!) -> Int func primaryIdentifier() -> String! func propertyType() -> ABPropertyType func valueForIdentifier(_ identifier: String!) -> AnyObject! func labelForIdentifier(_ identifier: String!) -> AnyObject! } | NSCopying, NSFastEnumeration, NSMutableCopying |
To | class ABMultiValue : NSObject, NSCopying, NSMutableCopying, NSFastEnumeration { func count() -> Int func value(at index: Int) -> Any! func label(at index: Int) -> String! func identifier(at index: Int) -> String! func index(forIdentifier identifier: String!) -> Int func primaryIdentifier() -> String! func propertyType() -> ABPropertyType func value(forIdentifier identifier: String!) -> Any! func label(forIdentifier identifier: String!) -> Any! func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension ABMultiValue : CVarArg { } extension ABMultiValue : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSFastEnumeration, NSMutableCopying |
Declaration | |
---|---|
From | func identifierAtIndex(_ index: Int) -> String! |
To | func identifier(at index: Int) -> String! |
Declaration | |
---|---|
From | func indexForIdentifier(_ identifier: String!) -> Int |
To | func index(forIdentifier identifier: String!) -> Int |
Declaration | |
---|---|
From | func labelAtIndex(_ index: Int) -> String! |
To | func label(at index: Int) -> String! |
Declaration | |
---|---|
From | func labelForIdentifier(_ identifier: String!) -> AnyObject! |
To | func label(forIdentifier identifier: String!) -> Any! |
Modified ABMultiValue.value(at: Int) -> Any!
Declaration | |
---|---|
From | func valueAtIndex(_ index: Int) -> AnyObject! |
To | func value(at index: Int) -> Any! |
Declaration | |
---|---|
From | func valueForIdentifier(_ identifier: String!) -> AnyObject! |
To | func value(forIdentifier identifier: String!) -> Any! |
Modified ABMutableMultiValue
Declaration | |
---|---|
From | class ABMutableMultiValue : ABMultiValue { func addValue(_ value: AnyObject!, withLabel label: String!) -> String! func insertValue(_ value: AnyObject!, withLabel label: String!, atIndex index: Int) -> String! func removeValueAndLabelAtIndex(_ index: Int) -> Bool func replaceValueAtIndex(_ index: Int, withValue value: AnyObject!) -> Bool func replaceLabelAtIndex(_ index: Int, withLabel label: String!) -> Bool func setPrimaryIdentifier(_ identifier: String!) -> Bool } |
To | class ABMutableMultiValue : ABMultiValue { func add(_ value: Any!, withLabel label: String!) -> String! func insert(_ value: Any!, withLabel label: String!, at index: Int) -> String! func removeAndLabel(at index: Int) -> Bool func replace(at index: Int, withValue value: Any!) -> Bool func replaceLabel(at index: Int, withLabel label: String!) -> Bool func setPrimaryIdentifier(_ identifier: String!) -> Bool } |
Declaration | |
---|---|
From | func addValue(_ value: AnyObject!, withLabel label: String!) -> String! |
To | func add(_ value: Any!, withLabel label: String!) -> String! |
Declaration | |
---|---|
From | func insertValue(_ value: AnyObject!, withLabel label: String!, atIndex index: Int) -> String! |
To | func insert(_ value: Any!, withLabel label: String!, at index: Int) -> String! |
Declaration | |
---|---|
From | func removeValueAndLabelAtIndex(_ index: Int) -> Bool |
To | func removeAndLabel(at index: Int) -> Bool |
Declaration | |
---|---|
From | func replaceValueAtIndex(_ index: Int, withValue value: AnyObject!) -> Bool |
To | func replace(at index: Int, withValue value: Any!) -> Bool |
Declaration | |
---|---|
From | func replaceLabelAtIndex(_ index: Int, withLabel label: String!) -> Bool |
To | func replaceLabel(at index: Int, withLabel label: String!) -> Bool |
Modified ABPeoplePickerView
Declaration | Protocols | |
---|---|---|
From | class ABPeoplePickerView : NSView { var accessoryView: NSView! var valueSelectionBehavior: ABPeoplePickerSelectionBehavior var allowsGroupSelection: Bool var allowsMultipleSelection: Bool func addProperty(_ property: String!) func removeProperty(_ property: String!) func properties() -> [AnyObject]! func setColumnTitle(_ title: String!, forProperty property: String!) func columnTitleForProperty(_ property: String!) -> String! var displayedProperty: String! var autosaveName: String! var selectedGroups: [AnyObject]! { get } var selectedRecords: [AnyObject]! { get } func selectedIdentifiersForPerson(_ person: ABPerson!) -> [AnyObject]! func selectGroup(_ group: ABGroup!, byExtendingSelection extend: Bool) func selectRecord(_ record: ABRecord!, byExtendingSelection extend: Bool) func selectIdentifier(_ identifier: String!, forPerson person: ABPerson!, byExtendingSelection extend: Bool) func deselectGroup(_ group: ABGroup!) func deselectRecord(_ record: ABRecord!) func deselectIdentifier(_ identifier: String!, forPerson person: ABPerson!) func deselectAll(_ sender: AnyObject!) func clearSearchField(_ sender: AnyObject!) unowned(unsafe) var target: AnyObject! var groupDoubleAction: Selector var nameDoubleAction: Selector } extension ABPeoplePickerView { func selectedValues() -> [AnyObject]! func editInAddressBook(_ sender: AnyObject!) func selectInAddressBook(_ sender: AnyObject!) } | -- |
To | class ABPeoplePickerView : NSView { var accessoryView: NSView! var valueSelectionBehavior: ABPeoplePickerSelectionBehavior var allowsGroupSelection: Bool var allowsMultipleSelection: Bool func addProperty(_ property: String!) func removeProperty(_ property: String!) func properties() -> [Any]! func setColumnTitle(_ title: String!, forProperty property: String!) func columnTitle(forProperty property: String!) -> String! var displayedProperty: String! var autosaveName: String! var selectedGroups: [Any]! { get } var selectedRecords: [Any]! { get } func selectedIdentifiers(for person: ABPerson!) -> [Any]! func select(_ group: ABGroup!, byExtendingSelection extend: Bool) func select(_ record: ABRecord!, byExtendingSelection extend: Bool) func selectIdentifier(_ identifier: String!, for person: ABPerson!, byExtendingSelection extend: Bool) func deselect(_ group: ABGroup!) func deselect(_ record: ABRecord!) func deselectIdentifier(_ identifier: String!, for person: ABPerson!) func deselectAll(_ sender: Any!) func clearSearchField(_ sender: Any!) unowned(unsafe) var target: AnyObject! var groupDoubleAction: Selector! var nameDoubleAction: Selector! func selectedValues() -> [Any]! func editInAddressBook(_ sender: Any!) func selectInAddressBook(_ sender: Any!) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? } extension ABPeoplePickerView : CVarArg { } extension ABPeoplePickerView : Equatable, Hashable { var hashValue: Int { get } } extension ABPeoplePickerView { func selectedValues() -> [Any]! func editInAddressBook(_ sender: Any!) func selectInAddressBook(_ sender: Any!) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func clearSearchField(_ sender: AnyObject!) |
To | func clearSearchField(_ sender: Any!) |
Declaration | |
---|---|
From | func columnTitleForProperty(_ property: String!) -> String! |
To | func columnTitle(forProperty property: String!) -> String! |
Declaration | |
---|---|
From | func deselectRecord(_ record: ABRecord!) |
To | func deselect(_ record: ABRecord!) |
Declaration | |
---|---|
From | func deselectGroup(_ group: ABGroup!) |
To | func deselect(_ group: ABGroup!) |
Declaration | |
---|---|
From | func deselectAll(_ sender: AnyObject!) |
To | func deselectAll(_ sender: Any!) |
Declaration | |
---|---|
From | func deselectIdentifier(_ identifier: String!, forPerson person: ABPerson!) |
To | func deselectIdentifier(_ identifier: String!, for person: ABPerson!) |
Declaration | |
---|---|
From | func editInAddressBook(_ sender: AnyObject!) |
To | func editInAddressBook(_ sender: Any!) |
Modified ABPeoplePickerView.groupDoubleAction
Declaration | |
---|---|
From | var groupDoubleAction: Selector |
To | var groupDoubleAction: Selector! |
Modified ABPeoplePickerView.nameDoubleAction
Declaration | |
---|---|
From | var nameDoubleAction: Selector |
To | var nameDoubleAction: Selector! |
Declaration | |
---|---|
From | func properties() -> [AnyObject]! |
To | func properties() -> [Any]! |
Declaration | |
---|---|
From | func selectRecord(_ record: ABRecord!, byExtendingSelection extend: Bool) |
To | func select(_ record: ABRecord!, byExtendingSelection extend: Bool) |
Declaration | |
---|---|
From | func selectGroup(_ group: ABGroup!, byExtendingSelection extend: Bool) |
To | func select(_ group: ABGroup!, byExtendingSelection extend: Bool) |
Modified ABPeoplePickerView.selectedGroups
Declaration | |
---|---|
From | var selectedGroups: [AnyObject]! { get } |
To | var selectedGroups: [Any]! { get } |
Declaration | |
---|---|
From | func selectedIdentifiersForPerson(_ person: ABPerson!) -> [AnyObject]! |
To | func selectedIdentifiers(for person: ABPerson!) -> [Any]! |
Modified ABPeoplePickerView.selectedRecords
Declaration | |
---|---|
From | var selectedRecords: [AnyObject]! { get } |
To | var selectedRecords: [Any]! { get } |
Declaration | |
---|---|
From | func selectedValues() -> [AnyObject]! |
To | func selectedValues() -> [Any]! |
Modified ABPeoplePickerView.selectIdentifier(_: String!, for: ABPerson!, byExtendingSelection: Bool)
Declaration | |
---|---|
From | func selectIdentifier(_ identifier: String!, forPerson person: ABPerson!, byExtendingSelection extend: Bool) |
To | func selectIdentifier(_ identifier: String!, for person: ABPerson!, byExtendingSelection extend: Bool) |
Declaration | |
---|---|
From | func selectInAddressBook(_ sender: AnyObject!) |
To | func selectInAddressBook(_ sender: Any!) |
Modified ABPerson
Declaration | Protocols | |
---|---|---|
From | class ABPerson : ABRecord { func parentGroups() -> [AnyObject]! func linkedPeople() -> [AnyObject]! } extension ABPerson { func setImageData(_ data: NSData!) -> Bool func imageData() -> NSData! func beginLoadingImageDataForClient(_ client: ABImageClient!) -> Int class func cancelLoadingImageDataForTag(_ tag: Int) } extension ABPerson { class func addPropertiesAndTypes(_ properties: [NSObject : AnyObject]!) -> Int class func removeProperties(_ properties: [AnyObject]!) -> Int class func properties() -> [AnyObject]! class func typeOfProperty(_ property: String!) -> ABPropertyType } extension ABPerson { class func searchElementForProperty(_ property: String!, label label: String!, key key: String!, value value: AnyObject!, comparison comparison: ABSearchComparison) -> ABSearchElement! } extension ABPerson { init!(VCardRepresentation vCardData: NSData!) func vCardRepresentation() -> NSData! } | -- |
To | class ABPerson : ABRecord { func parentGroups() -> [Any]! func linkedPeople() -> [Any]! class func addPropertiesAndTypes(_ properties: [AnyHashable : Any]!) -> Int class func removeProperties(_ properties: [Any]!) -> Int class func properties() -> [Any]! class func type(ofProperty property: String!) -> ABPropertyType class func searchElement(forProperty property: String!, label label: String!, key key: String!, value value: Any!, comparison comparison: ABSearchComparison) -> ABSearchElement! init!(vCardRepresentation vCardData: Data!) func vCardRepresentation() -> Data! func setImageData(_ data: Data!) -> Bool func imageData() -> Data! func beginLoadingImageData(for client: ABImageClient!) -> Int class func cancelLoadingImageData(forTag tag: Int) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? var uniqueId: String! { get } var displayName: String! { get } func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws } extension ABPerson { func setImageData(_ data: Data!) -> Bool func imageData() -> Data! func beginLoadingImageData(for client: ABImageClient!) -> Int class func cancelLoadingImageData(forTag tag: Int) } extension ABPerson : CVarArg { } extension ABPerson : Equatable, Hashable { var hashValue: Int { get } } extension ABPerson { class func addPropertiesAndTypes(_ properties: [AnyHashable : Any]!) -> Int class func removeProperties(_ properties: [Any]!) -> Int class func properties() -> [Any]! class func type(ofProperty property: String!) -> ABPropertyType } extension ABPerson { class func searchElement(forProperty property: String!, label label: String!, key key: String!, value value: Any!, comparison comparison: ABSearchComparison) -> ABSearchElement! } extension ABPerson { init!(vCardRepresentation vCardData: Data!) func vCardRepresentation() -> Data! } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func addPropertiesAndTypes(_ properties: [NSObject : AnyObject]!) -> Int |
To | class func addPropertiesAndTypes(_ properties: [AnyHashable : Any]!) -> Int |
Declaration | |
---|---|
From | func beginLoadingImageDataForClient(_ client: ABImageClient!) -> Int |
To | func beginLoadingImageData(for client: ABImageClient!) -> Int |
Declaration | |
---|---|
From | class func cancelLoadingImageDataForTag(_ tag: Int) |
To | class func cancelLoadingImageData(forTag tag: Int) |
Modified ABPerson.imageData() -> Data!
Declaration | |
---|---|
From | func imageData() -> NSData! |
To | func imageData() -> Data! |
Declaration | |
---|---|
From | init!(VCardRepresentation vCardData: NSData!) |
To | init!(vCardRepresentation vCardData: Data!) |
Modified ABPerson.linkedPeople() -> [Any]!
Declaration | |
---|---|
From | func linkedPeople() -> [AnyObject]! |
To | func linkedPeople() -> [Any]! |
Modified ABPerson.parentGroups() -> [Any]!
Declaration | |
---|---|
From | func parentGroups() -> [AnyObject]! |
To | func parentGroups() -> [Any]! |
Declaration | |
---|---|
From | class func properties() -> [AnyObject]! |
To | class func properties() -> [Any]! |
Declaration | |
---|---|
From | class func removeProperties(_ properties: [AnyObject]!) -> Int |
To | class func removeProperties(_ properties: [Any]!) -> Int |
Declaration | |
---|---|
From | class func searchElementForProperty(_ property: String!, label label: String!, key key: String!, value value: AnyObject!, comparison comparison: ABSearchComparison) -> ABSearchElement! |
To | class func searchElement(forProperty property: String!, label label: String!, key key: String!, value value: Any!, comparison comparison: ABSearchComparison) -> ABSearchElement! |
Declaration | |
---|---|
From | func setImageData(_ data: NSData!) -> Bool |
To | func setImageData(_ data: Data!) -> Bool |
Declaration | |
---|---|
From | class func typeOfProperty(_ property: String!) -> ABPropertyType |
To | class func type(ofProperty property: String!) -> ABPropertyType |
Declaration | |
---|---|
From | func vCardRepresentation() -> NSData! |
To | func vCardRepresentation() -> Data! |
Modified ABPersonView
Declaration | Protocols | |
---|---|---|
From | class ABPersonView : NSView { var editing: Bool var person: ABPerson! var shouldShowLinkedPeople: Bool } | -- |
To | class ABPersonView : NSView { var editing: Bool var person: ABPerson! var shouldShowLinkedPeople: Bool var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension ABPersonView : CVarArg { } extension ABPersonView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified ABRecord
Declaration | Protocols | |
---|---|---|
From | class ABRecord : NSObject { init!() init!(addressBook addressBook: ABAddressBook!) func valueForProperty(_ property: String!) -> AnyObject! func setValue(_ value: AnyObject!, forProperty property: String!, error error: ()) throws func setValue(_ value: AnyObject!, forProperty property: String!) -> Bool func removeValueForProperty(_ property: String!) -> Bool func isReadOnly() -> Bool } extension ABRecord { var uniqueId: String! { get } var displayName: String! { get } } | -- |
To | class ABRecord : NSObject { init!() init!(addressBook addressBook: ABAddressBook!) func value(forProperty property: String!) -> Any! func setValue(_ value: Any!, forProperty property: String!, error error: ()) throws func setValue(_ value: Any!, forProperty property: String!) -> Bool func removeValue(forProperty property: String!) -> Bool func isReadOnly() -> Bool var uniqueId: String! { get } var displayName: String! { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension ABRecord : CVarArg { } extension ABRecord : Equatable, Hashable { var hashValue: Int { get } } extension ABRecord { var uniqueId: String! { get } var displayName: String! { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func removeValueForProperty(_ property: String!) -> Bool |
To | func removeValue(forProperty property: String!) -> Bool |
Declaration | |
---|---|
From | func setValue(_ value: AnyObject!, forProperty property: String!) -> Bool |
To | func setValue(_ value: Any!, forProperty property: String!) -> Bool |
Declaration | |
---|---|
From | func setValue(_ value: AnyObject!, forProperty property: String!, error error: ()) throws |
To | func setValue(_ value: Any!, forProperty property: String!, error error: ()) throws |
Declaration | |
---|---|
From | func valueForProperty(_ property: String!) -> AnyObject! |
To | func value(forProperty property: String!) -> Any! |
Modified ABSearchElement
Declaration | Protocols | |
---|---|---|
From | class ABSearchElement : NSObject { init!(forConjunction conjuction: ABSearchConjunction, children children: [AnyObject]!) class func searchElementForConjunction(_ conjuction: ABSearchConjunction, children children: [AnyObject]!) -> ABSearchElement! func matchesRecord(_ record: ABRecord!) -> Bool } | -- |
To | class ABSearchElement : NSObject { init!(forConjunction conjuction: ABSearchConjunction, children children: [Any]!) class func forConjunction(_ conjuction: ABSearchConjunction, children children: [Any]!) -> ABSearchElement! func matchesRecord(_ record: ABRecord!) -> Bool func actionProperty() -> String! func title(for person: ABPerson!, identifier identifier: String!) -> String! func performAction(for person: ABPerson!, identifier identifier: String!) func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension ABSearchElement : CVarArg { } extension ABSearchElement : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | init!(forConjunction conjuction: ABSearchConjunction, children children: [AnyObject]!) |
To | init!(forConjunction conjuction: ABSearchConjunction, children children: [Any]!) |
Name | Declaration | |
---|---|---|
From | kABDatabaseChangedNotification | let kABDatabaseChangedNotification: String |
To | abDatabaseChanged | static let abDatabaseChanged: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | kABDatabaseChangedExternallyNotification | let kABDatabaseChangedExternallyNotification: String |
To | abDatabaseChangedExternally | static let abDatabaseChangedExternally: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | ABPeoplePickerDisplayedPropertyDidChangeNotification | let ABPeoplePickerDisplayedPropertyDidChangeNotification: String |
To | ABPeoplePickerDisplayedPropertyDidChange | static let ABPeoplePickerDisplayedPropertyDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | ABPeoplePickerGroupSelectionDidChangeNotification | let ABPeoplePickerGroupSelectionDidChangeNotification: String |
To | ABPeoplePickerGroupSelectionDidChange | static let ABPeoplePickerGroupSelectionDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | ABPeoplePickerNameSelectionDidChangeNotification | let ABPeoplePickerNameSelectionDidChangeNotification: String |
To | ABPeoplePickerNameSelectionDidChange | static let ABPeoplePickerNameSelectionDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | ABPeoplePickerValueSelectionDidChangeNotification | let ABPeoplePickerValueSelectionDidChangeNotification: String |
To | ABPeoplePickerValueSelectionDidChange | static let ABPeoplePickerValueSelectionDidChange: NSNotification.Name |
Declaration | |
---|---|
From | func performActionForPerson(_ person: ABPerson!, identifier identifier: String!) |
To | func performAction(for person: ABPerson!, identifier identifier: String!) |
Declaration | |
---|---|
From | func shouldEnableActionForPerson(_ person: ABPerson!, identifier identifier: String!) -> Bool |
To | func shouldEnableAction(for person: ABPerson!, identifier identifier: String!) -> Bool |
Declaration | |
---|---|
From | func titleForPerson(_ person: ABPerson!, identifier identifier: String!) -> String! |
To | func title(for person: ABPerson!, identifier identifier: String!) -> String! |
Declaration | |
---|---|
From | func ABAddRecord(_ addressBook: ABAddressBookRef!, _ record: ABRecordRef) -> Bool |
To | func ABAddRecord(_ addressBook: ABAddressBookRef!, _ record: ABRecordRef!) -> Bool |
Declaration | |
---|---|
From | func ABBeginLoadingImageDataForClient(_ person: ABPersonRef!, _ callback: ABImageClientCallback!, _ refcon: UnsafeMutablePointer<Void>) -> CFIndex |
To | func ABBeginLoadingImageDataForClient(_ person: ABPersonRef!, _ callback: AddressBook.ABImageClientCallback!, _ refcon: UnsafeMutableRawPointer!) -> CFIndex |
Declaration | |
---|---|
From | func ABCopyRecordForUniqueId(_ addressBook: ABAddressBookRef!, _ uniqueId: CFString!) -> ABRecordRef |
To | func ABCopyRecordForUniqueId(_ addressBook: ABAddressBookRef!, _ uniqueId: CFString!) -> Unmanaged<ABRecordRef>! |
Declaration | |
---|---|
From | func ABGroupCreateSearchElement(_ property: CFString!, _ label: CFString!, _ key: CFString!, _ value: AnyObject!, _ comparison: ABSearchComparison) -> Unmanaged<ABSearchElementRef>! |
To | func ABGroupCreateSearchElement(_ property: CFString!, _ label: CFString!, _ key: CFString!, _ value: CFTypeRef!, _ comparison: ABSearchComparison) -> Unmanaged<ABSearchElementRef>! |
Modified ABImageClientCallback
Declaration | |
---|---|
From | typealias ABImageClientCallback = (CFData!, CFIndex, UnsafeMutablePointer<Void>) -> Void |
To | typealias ABImageClientCallback = (CFData?, CFIndex, UnsafeMutableRawPointer?) -> Swift.Void |
Declaration | |
---|---|
From | func ABMultiValueAdd(_ multiValue: ABMutableMultiValueRef!, _ value: AnyObject!, _ label: CFString!, _ outIdentifier: UnsafeMutablePointer<Unmanaged<CFString>?>) -> Bool |
To | func ABMultiValueAdd(_ multiValue: ABMutableMultiValueRef!, _ value: CFTypeRef!, _ label: CFString!, _ outIdentifier: UnsafeMutablePointer<Unmanaged<CFString>?>!) -> Bool |
Declaration | |
---|---|
From | func ABMultiValueCopyValueAtIndex(_ multiValue: ABMultiValueRef!, _ index: CFIndex) -> Unmanaged<AnyObject>! |
To | func ABMultiValueCopyValueAtIndex(_ multiValue: ABMultiValueRef!, _ index: CFIndex) -> Unmanaged<CFTypeRef>! |
Declaration | |
---|---|
From | func ABMultiValueInsert(_ multiValue: ABMutableMultiValueRef!, _ value: AnyObject!, _ label: CFString!, _ index: CFIndex, _ outIdentifier: UnsafeMutablePointer<Unmanaged<CFString>?>) -> Bool |
To | func ABMultiValueInsert(_ multiValue: ABMutableMultiValueRef!, _ value: CFTypeRef!, _ label: CFString!, _ index: CFIndex, _ outIdentifier: UnsafeMutablePointer<Unmanaged<CFString>?>!) -> Bool |
Declaration | |
---|---|
From | func ABMultiValueReplaceValue(_ multiValue: ABMutableMultiValueRef!, _ value: AnyObject!, _ index: CFIndex) -> Bool |
To | func ABMultiValueReplaceValue(_ multiValue: ABMutableMultiValueRef!, _ value: CFTypeRef!, _ index: CFIndex) -> Bool |
Declaration | |
---|---|
From | func ABPersonCreateSearchElement(_ property: CFString!, _ label: CFString!, _ key: CFString!, _ value: AnyObject!, _ comparison: ABSearchComparison) -> Unmanaged<ABSearchElementRef>! |
To | func ABPersonCreateSearchElement(_ property: CFString!, _ label: CFString!, _ key: CFString!, _ value: CFTypeRef!, _ comparison: ABSearchComparison) -> Unmanaged<ABSearchElementRef>! |
Declaration | |
---|---|
From | func ABRecordCopyRecordType(_ record: ABRecordRef) -> Unmanaged<CFString>! |
To | func ABRecordCopyRecordType(_ record: ABRecordRef!) -> Unmanaged<CFString>! |
Declaration | |
---|---|
From | func ABRecordCopyUniqueId(_ record: ABRecordRef) -> Unmanaged<CFString>! |
To | func ABRecordCopyUniqueId(_ record: ABRecordRef!) -> Unmanaged<CFString>! |
Declaration | |
---|---|
From | func ABRecordCopyValue(_ record: ABRecordRef, _ property: CFString!) -> Unmanaged<AnyObject>! |
To | func ABRecordCopyValue(_ record: ABRecordRef!, _ property: CFString!) -> Unmanaged<CFTypeRef>! |
Declaration | |
---|---|
From | func ABRecordCreateCopy(_ record: ABRecordRef) -> ABRecordRef |
To | func ABRecordCreateCopy(_ record: ABRecordRef!) -> Unmanaged<ABRecordRef>! |
Declaration | |
---|---|
From | func ABRecordIsReadOnly(_ record: ABRecordRef) -> Bool |
To | func ABRecordIsReadOnly(_ record: ABRecordRef!) -> Bool |
Modified ABRecordRef
Declaration | |
---|---|
From | typealias ABRecordRef = UnsafeMutablePointer<Void> |
To | typealias ABRecordRef = AnyObject |
Declaration | |
---|---|
From | func ABRecordRemoveValue(_ record: ABRecordRef, _ property: CFString!) -> Bool |
To | func ABRecordRemoveValue(_ record: ABRecordRef!, _ property: CFString!) -> Bool |
Declaration | |
---|---|
From | func ABRecordSetValue(_ record: ABRecordRef, _ property: CFString!, _ value: AnyObject!) -> Bool |
To | func ABRecordSetValue(_ record: ABRecordRef!, _ property: CFString!, _ value: CFTypeRef!) -> Bool |
Declaration | |
---|---|
From | func ABRemoveRecord(_ addressBook: ABAddressBookRef!, _ record: ABRecordRef) -> Bool |
To | func ABRemoveRecord(_ addressBook: ABAddressBookRef!, _ record: ABRecordRef!) -> Bool |
Declaration | |
---|---|
From | func ABSearchElementMatchesRecord(_ searchElement: ABSearchElementRef!, _ record: ABRecordRef) -> Bool |
To | func ABSearchElementMatchesRecord(_ searchElement: ABSearchElementRef!, _ record: ABRecordRef!) -> Bool |