Collaboration Changes for Swift
Collaboration
Modified CBGroupIdentity
Declaration | |
---|---|
From | class CBGroupIdentity : CBIdentity { init?(posixGID gid: gid_t, authority authority: CBIdentityAuthority) class func groupIdentityWithPosixGID(_ gid: gid_t, authority authority: CBIdentityAuthority) -> CBGroupIdentity? var posixGID: gid_t { get } var members: [AnyObject]? { get } var memberIdentities: [CBIdentity] { get } } |
To | class CBGroupIdentity : CBIdentity { init?(posixGID gid: gid_t, authority authority: CBIdentityAuthority) class func withPosixGID(_ gid: gid_t, authority authority: CBIdentityAuthority) -> CBGroupIdentity? var posixGID: gid_t { get } var members: [Any]? { get } var memberIdentities: [CBIdentity] { get } } |
Modified CBIdentity
Declaration | Protocols | |
---|---|---|
From | class CBIdentity : NSObject, NSCoding, NSCopying { init?(name name: String, authority authority: CBIdentityAuthority) class func identityWithName(_ name: String, authority authority: CBIdentityAuthority) -> CBIdentity? init?(uniqueIdentifier uuid: NSUUID, authority authority: CBIdentityAuthority) class func identityWithUniqueIdentifier(_ uuid: NSUUID, authority authority: CBIdentityAuthority) -> CBIdentity? init?(UUIDString uuid: String, authority authority: CBIdentityAuthority) class func identityWithUUIDString(_ uuid: String, authority authority: CBIdentityAuthority) -> CBIdentity? init?(persistentReference data: NSData) class func identityWithPersistentReference(_ data: NSData) -> CBIdentity? init(CSIdentity csIdentity: CSIdentity) class func identityWithCSIdentity(_ csIdentity: CSIdentity) -> CBIdentity var authority: CBIdentityAuthority { get } var uniqueIdentifier: NSUUID { get } var UUIDString: String { get } var fullName: String { get } var posixName: String { get } var aliases: [String] { get } var emailAddress: String? { get } var image: NSImage? { get } var persistentReference: NSData? { get } var hidden: Bool { get } func isMemberOfGroup(_ group: CBGroupIdentity) -> Bool var CSIdentity: CSIdentity { get } } | NSCoding, NSCopying |
To | class CBIdentity : NSObject, NSCoding, NSCopying { init?(name name: String, authority authority: CBIdentityAuthority) class func withName(_ name: String, authority authority: CBIdentityAuthority) -> CBIdentity? init?(uniqueIdentifier uuid: UUID, authority authority: CBIdentityAuthority) class func withUniqueIdentifier(_ uuid: UUID, authority authority: CBIdentityAuthority) -> CBIdentity? init?(uuidString uuid: String, authority authority: CBIdentityAuthority) class func withUUIDString(_ uuid: String, authority authority: CBIdentityAuthority) -> CBIdentity? init?(persistentReference data: Data) class func withPersistentReference(_ data: Data) -> CBIdentity? init(csIdentity csIdentity: CSIdentity) class func withCSIdentity(_ csIdentity: CSIdentity) -> CBIdentity var authority: CBIdentityAuthority { get } var uniqueIdentifier: UUID { get } var uuidString: String { get } var fullName: String { get } var posixName: String { get } var aliases: [String] { get } var emailAddress: String? { get } var image: NSImage? { get } var persistentReference: Data? { get } var isHidden: Bool { get } func isMember(ofGroup group: CBGroupIdentity) -> Bool var csIdentity: CSIdentity { 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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension CBIdentity : CVarArg { } extension CBIdentity : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | init?(persistentReference data: NSData) |
To | init?(persistentReference data: Data) |
Declaration | |
---|---|
From | init?(uniqueIdentifier uuid: NSUUID, authority authority: CBIdentityAuthority) |
To | init?(uniqueIdentifier uuid: UUID, authority authority: CBIdentityAuthority) |
Declaration | |
---|---|
From | init?(UUIDString uuid: String, authority authority: CBIdentityAuthority) |
To | init?(uuidString uuid: String, authority authority: CBIdentityAuthority) |
Modified CBIdentity.isHidden
Declaration | |
---|---|
From | var hidden: Bool { get } |
To | var isHidden: Bool { get } |
Declaration | |
---|---|
From | func isMemberOfGroup(_ group: CBGroupIdentity) -> Bool |
To | func isMember(ofGroup group: CBGroupIdentity) -> Bool |
Modified CBIdentity.persistentReference
Declaration | |
---|---|
From | var persistentReference: NSData? { get } |
To | var persistentReference: Data? { get } |
Modified CBIdentity.uniqueIdentifier
Declaration | |
---|---|
From | var uniqueIdentifier: NSUUID { get } |
To | var uniqueIdentifier: UUID { get } |
Modified CBIdentity.uuidString
Declaration | |
---|---|
From | var UUIDString: String { get } |
To | var uuidString: String { get } |
Modified CBIdentityAuthority
Declaration | Protocols | |
---|---|---|
From | class CBIdentityAuthority : NSObject { class func localIdentityAuthority() -> CBIdentityAuthority class func managedIdentityAuthority() -> CBIdentityAuthority class func defaultIdentityAuthority() -> CBIdentityAuthority init(CSIdentityAuthority CSIdentityAuthority: CSIdentityAuthority) class func identityAuthorityWithCSIdentityAuthority(_ CSIdentityAuthority: CSIdentityAuthority) -> CBIdentityAuthority var CSIdentityAuthority: CSIdentityAuthority { get } var localizedName: String { get } } | -- |
To | class CBIdentityAuthority : NSObject { class func local() -> CBIdentityAuthority class func managed() -> CBIdentityAuthority class func `default`() -> CBIdentityAuthority init(csIdentityAuthority CSIdentityAuthority: CSIdentityAuthority) class func withCSIdentityAuthority(_ CSIdentityAuthority: CSIdentityAuthority) -> CBIdentityAuthority var csIdentityAuthority: CSIdentityAuthority { get } var localizedName: 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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension CBIdentityAuthority : CVarArg { } extension CBIdentityAuthority : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func defaultIdentityAuthority() -> CBIdentityAuthority |
To | class func `default`() -> CBIdentityAuthority |
Declaration | |
---|---|
From | class func localIdentityAuthority() -> CBIdentityAuthority |
To | class func local() -> CBIdentityAuthority |
Declaration | |
---|---|
From | class func managedIdentityAuthority() -> CBIdentityAuthority |
To | class func managed() -> CBIdentityAuthority |
Modified CBIdentityPicker
Declaration | Protocols | |
---|---|---|
From | class CBIdentityPicker : NSObject { var title: String? var allowsMultipleSelection: Bool func runModal() -> Int func runModalForWindow(_ window: NSWindow, modalDelegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) func runModalForWindow(_ window: NSWindow, completionHandler completionHandler: ((NSModalResponse) -> Void)?) var identities: [CBIdentity] { get } } | -- |
To | class CBIdentityPicker : NSObject { var title: String? var allowsMultipleSelection: Bool func runModal() -> Int func runModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModal(for window: NSWindow, completionHandler completionHandler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) var identities: [CBIdentity] { 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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension CBIdentityPicker : CVarArg { } extension CBIdentityPicker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CBIdentityPicker.runModal(for: NSWindow, completionHandler: ( (NSModalResponse) -> Swift.Void)?)
Declaration | |
---|---|
From | func runModalForWindow(_ window: NSWindow, completionHandler completionHandler: ((NSModalResponse) -> Void)?) |
To | func runModal(for window: NSWindow, completionHandler completionHandler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func runModalForWindow(_ window: NSWindow, modalDelegate delegate: AnyObject?, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) |
To | func runModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) |
Modified CBUserIdentity
Declaration | |
---|---|
From | class CBUserIdentity : CBIdentity, NSCoding, NSCopying { init?(posixUID uid: uid_t, authority authority: CBIdentityAuthority) class func userIdentityWithPosixUID(_ uid: uid_t, authority authority: CBIdentityAuthority) -> CBUserIdentity? var posixUID: uid_t { get } var certificate: SecCertificate? { get } var enabled: Bool { get } func authenticateWithPassword(_ password: String) -> Bool } |
To | class CBUserIdentity : CBIdentity, NSCoding, NSCopying { init?(posixUID uid: uid_t, authority authority: CBIdentityAuthority) class func withPosixUID(_ uid: uid_t, authority authority: CBIdentityAuthority) -> CBUserIdentity? var posixUID: uid_t { get } var certificate: SecCertificate? { get } var isEnabled: Bool { get } func authenticate(withPassword password: String) -> Bool } |
Declaration | |
---|---|
From | func authenticateWithPassword(_ password: String) -> Bool |
To | func authenticate(withPassword password: String) -> Bool |
Modified CBUserIdentity.isEnabled
Declaration | |
---|---|
From | var enabled: Bool { get } |
To | var isEnabled: Bool { get } |