XCTest Changes for Swift
XCTest
Removed XCTest.run() -> XCTestRun
Removed XCUIKeyModifierFlags.None
Removed XCT_GENERICS_AVAILABLE
Removed XCT_NULLABLE_AVAILABLE
Removed XCT_UI_TESTING_AVAILABLE
Added XCT_UI_TESTING_AVAILABLE
Modified XCTest
| Declaration | Protocols | |
|---|---|---|
| From | class XCTest : NSObject {
var testCaseCount: UInt { get }
var name: String? { get }
var testRunClass: AnyClass? { get }
var testRun: XCTestRun? { get }
func performTest(_ run: XCTestRun)
func run() -> XCTestRun
func runTest()
func setUp()
func tearDown()
} | -- |
| To | class XCTest : NSObject {
var testCaseCount: UInt { get }
var name: String? { get }
var testRunClass: Swift.AnyClass? { get }
var testRun: XCTestRun? { get }
func perform(_ run: XCTestRun)
func run()
func setUp()
func tearDown()
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 XCTest : CVarArg {
}
extension XCTest : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified XCTest.perform(_: XCTestRun)
| Declaration | |
|---|---|
| From | func performTest(_ run: XCTestRun) |
| To | func perform(_ run: XCTestRun) |
Modified XCTest.run()
| Declaration | |
|---|---|
| From | func runTest() |
| To | func run() |
Modified XCTest.testRunClass
| Declaration | |
|---|---|
| From | var testRunClass: AnyClass? { get } |
| To | var testRunClass: Swift.AnyClass? { get } |
Modified XCTestCase
| Declaration | |
|---|---|
| From | class XCTestCase : XCTest {
convenience init(invocation invocation: NSInvocation?)
class func testCaseWithInvocation(_ invocation: NSInvocation?) -> Self
init(invocation invocation: NSInvocation?)
convenience init(selector selector: Selector)
class func testCaseWithSelector(_ selector: Selector) -> Self
init(selector selector: Selector)
var invocation: NSInvocation?
func invokeTest()
var continueAfterFailure: Bool
func recordFailureWithDescription(_ description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool)
class func testInvocations() -> [NSInvocation]
class func defaultPerformanceMetrics() -> [String]
func measureBlock(_ block: () -> Void)
func measureMetrics(_ metrics: [String], automaticallyStartMeasuring automaticallyStartMeasuring: Bool, forBlock block: () -> Void)
func startMeasuring()
func stopMeasuring()
func addUIInterruptionMonitorWithDescription(_ handlerDescription: String, handler handler: (XCUIElement) -> Bool) -> NSObjectProtocol
func removeUIInterruptionMonitor(_ monitor: NSObjectProtocol)
}
extension XCTestCase {
class func defaultTestSuite() -> XCTestSuite
class func setUp()
class func tearDown()
}
extension XCTestCase {
func expectationWithDescription(_ description: String) -> XCTestExpectation
func waitForExpectationsWithTimeout(_ timeout: NSTimeInterval, handler handler: XCWaitCompletionHandler?)
func keyValueObservingExpectationForObject(_ objectToObserve: AnyObject, keyPath keyPath: String, expectedValue expectedValue: AnyObject?) -> XCTestExpectation
func keyValueObservingExpectationForObject(_ objectToObserve: AnyObject, keyPath keyPath: String, handler handler: XCKeyValueObservingExpectationHandler?) -> XCTestExpectation
func expectationForNotification(_ notificationName: String, object objectToObserve: AnyObject?, handler handler: XCNotificationExpectationHandler?) -> XCTestExpectation
func expectationForPredicate(_ predicate: NSPredicate, evaluatedWithObject object: AnyObject, handler handler: XCPredicateExpectationHandler?) -> XCTestExpectation
} |
| To | class XCTestCase : XCTest {
convenience init(invocation invocation: NSInvocation?)
class func withInvocation(_ invocation: NSInvocation?) -> Self
init(invocation invocation: NSInvocation?)
convenience init?(selector selector: Selector)
class func withSelector(_ selector: Selector) -> Self?
init(selector selector: Selector)
var invocation: NSInvocation?
func invokeTest()
var continueAfterFailure: Bool
func recordFailure(withDescription description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool)
class func testInvocations() -> [NSInvocation]
class func defaultPerformanceMetrics() -> [String]
func measure(_ block: @escaping () -> Swift.Void)
func measureMetrics(_ metrics: [String], automaticallyStartMeasuring automaticallyStartMeasuring: Bool, for block: @escaping () -> Swift.Void)
func startMeasuring()
func stopMeasuring()
func addUIInterruptionMonitor(withDescription handlerDescription: String, handler handler: @escaping (XCUIElement) -> Bool) -> NSObjectProtocol
func removeUIInterruptionMonitor(_ monitor: NSObjectProtocol)
func expectation(description description: String) -> XCTestExpectation
func waitForExpectations(timeout timeout: TimeInterval, handler handler: XCTest.XCWaitCompletionHandler? = nil)
func keyValueObservingExpectation(for objectToObserve: Any, keyPath keyPath: String, expectedValue expectedValue: Any?) -> XCTestExpectation
func keyValueObservingExpectation(for objectToObserve: Any, keyPath keyPath: String, handler handler: XCTest.XCKeyValueObservingExpectationHandler? = nil) -> XCTestExpectation
func expectation(forNotification notificationName: String, object objectToObserve: Any?, handler handler: XCTest.XCNotificationExpectationHandler? = nil) -> XCTestExpectation
func expectation(for predicate: NSPredicate, evaluatedWith object: Any, handler handler: XCTest.XCPredicateExpectationHandler? = nil) -> XCTestExpectation
class func defaultTestSuite() -> XCTestSuite
class func setUp()
class func tearDown()
}
extension XCTestCase {
class func defaultTestSuite() -> XCTestSuite
class func setUp()
class func tearDown()
}
extension XCTestCase {
func expectation(description description: String) -> XCTestExpectation
func waitForExpectations(timeout timeout: TimeInterval, handler handler: XCTest.XCWaitCompletionHandler? = nil)
func keyValueObservingExpectation(for objectToObserve: Any, keyPath keyPath: String, expectedValue expectedValue: Any?) -> XCTestExpectation
func keyValueObservingExpectation(for objectToObserve: Any, keyPath keyPath: String, handler handler: XCTest.XCKeyValueObservingExpectationHandler? = nil) -> XCTestExpectation
func expectation(forNotification notificationName: String, object objectToObserve: Any?, handler handler: XCTest.XCNotificationExpectationHandler? = nil) -> XCTestExpectation
func expectation(for predicate: NSPredicate, evaluatedWith object: Any, handler handler: XCTest.XCPredicateExpectationHandler? = nil) -> XCTestExpectation
} |
| Declaration | |
|---|---|
| From | func addUIInterruptionMonitorWithDescription(_ handlerDescription: String, handler handler: (XCUIElement) -> Bool) -> NSObjectProtocol |
| To | func addUIInterruptionMonitor(withDescription handlerDescription: String, handler handler: @escaping (XCUIElement) -> Bool) -> NSObjectProtocol |
| Declaration | |
|---|---|
| From | func expectationWithDescription(_ description: String) -> XCTestExpectation |
| To | func expectation(description description: String) -> XCTestExpectation |
| Declaration | |
|---|---|
| From | func expectationForPredicate(_ predicate: NSPredicate, evaluatedWithObject object: AnyObject, handler handler: XCPredicateExpectationHandler?) -> XCTestExpectation |
| To | func expectation(for predicate: NSPredicate, evaluatedWith object: Any, handler handler: XCTest.XCPredicateExpectationHandler? = nil) -> XCTestExpectation |
| Declaration | |
|---|---|
| From | func expectationForNotification(_ notificationName: String, object objectToObserve: AnyObject?, handler handler: XCNotificationExpectationHandler?) -> XCTestExpectation |
| To | func expectation(forNotification notificationName: String, object objectToObserve: Any?, handler handler: XCTest.XCNotificationExpectationHandler? = nil) -> XCTestExpectation |
| Declaration | |
|---|---|
| From | func keyValueObservingExpectationForObject(_ objectToObserve: AnyObject, keyPath keyPath: String, expectedValue expectedValue: AnyObject?) -> XCTestExpectation |
| To | func keyValueObservingExpectation(for objectToObserve: Any, keyPath keyPath: String, expectedValue expectedValue: Any?) -> XCTestExpectation |
| Declaration | |
|---|---|
| From | func keyValueObservingExpectationForObject(_ objectToObserve: AnyObject, keyPath keyPath: String, handler handler: XCKeyValueObservingExpectationHandler?) -> XCTestExpectation |
| To | func keyValueObservingExpectation(for objectToObserve: Any, keyPath keyPath: String, handler handler: XCTest.XCKeyValueObservingExpectationHandler? = nil) -> XCTestExpectation |
| Declaration | |
|---|---|
| From | func measureBlock(_ block: () -> Void) |
| To | func measure(_ block: @escaping () -> Swift.Void) |
Modified XCTestCase.measureMetrics(_: [String], automaticallyStartMeasuring: Bool, for: () -> Swift.Void)
| Declaration | |
|---|---|
| From | func measureMetrics(_ metrics: [String], automaticallyStartMeasuring automaticallyStartMeasuring: Bool, forBlock block: () -> Void) |
| To | func measureMetrics(_ metrics: [String], automaticallyStartMeasuring automaticallyStartMeasuring: Bool, for block: @escaping () -> Swift.Void) |
Modified XCTestCase.recordFailure(withDescription: String, inFile: String, atLine: UInt, expected: Bool)
| Declaration | |
|---|---|
| From | func recordFailureWithDescription(_ description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool) |
| To | func recordFailure(withDescription description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool) |
Modified XCTestCase.waitForExpectations(timeout: TimeInterval, handler: XCTest.XCWaitCompletionHandler?)
| Declaration | |
|---|---|
| From | func waitForExpectationsWithTimeout(_ timeout: NSTimeInterval, handler handler: XCWaitCompletionHandler?) |
| To | func waitForExpectations(timeout timeout: TimeInterval, handler handler: XCTest.XCWaitCompletionHandler? = nil) |
Modified XCTestCaseRun
| Declaration | |
|---|---|
| From | class XCTestCaseRun : XCTestRun {
func recordFailureInTest(_ testCase: XCTestCase, withDescription description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool)
} |
| To | class XCTestCaseRun : XCTestRun {
func recordFailure(inTest testCase: XCTestCase, withDescription description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool)
} |
| Declaration | |
|---|---|
| From | func recordFailureInTest(_ testCase: XCTestCase, withDescription description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool) |
| To | func recordFailure(inTest testCase: XCTestCase, withDescription description: String, inFile filePath: String, atLine lineNumber: UInt, expected expected: Bool) |
Modified XCTestErrorCode [enum]
| Declaration | |
|---|---|
| From | enum XCTestErrorCode : Int {
case TimeoutWhileWaiting
case FailureWhileWaiting
} |
| To | enum XCTestErrorCode : Int {
case timeoutWhileWaiting
case failureWhileWaiting
} |
Modified XCTestErrorCode.failureWhileWaiting
| Declaration | |
|---|---|
| From | case FailureWhileWaiting |
| To | case failureWhileWaiting |
Modified XCTestErrorCode.timeoutWhileWaiting
| Declaration | |
|---|---|
| From | case TimeoutWhileWaiting |
| To | case timeoutWhileWaiting |
Modified XCTestExpectation
| Declaration | Protocols | |
|---|---|---|
| From | class XCTestExpectation : NSObject {
func fulfill()
} | -- |
| To | class XCTestExpectation : NSObject {
func fulfill()
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 XCTestExpectation : CVarArg {
}
extension XCTestExpectation : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified XCTestLog
| Declaration | |
|---|---|
| From | class XCTestLog : XCTestObserver {
var logFileHandle: NSFileHandle! { get }
func testLogWithFormat(_ format: String!, arguments arguments: CVaListPointer)
} |
| To | class XCTestLog : XCTestObserver {
var logFileHandle: FileHandle! { get }
func testLog(withFormat format: String!, arguments arguments: CVaListPointer)
} |
Modified XCTestLog.logFileHandle
| Declaration | |
|---|---|
| From | var logFileHandle: NSFileHandle! { get } |
| To | var logFileHandle: FileHandle! { get } |
| Declaration | |
|---|---|
| From | func testLogWithFormat(_ format: String!, arguments arguments: CVaListPointer) |
| To | func testLog(withFormat format: String!, arguments arguments: CVaListPointer) |
Modified XCTestObservation
| Declaration | |
|---|---|
| From | protocol XCTestObservation : NSObjectProtocol {
optional func testBundleWillStart(_ testBundle: NSBundle)
optional func testBundleDidFinish(_ testBundle: NSBundle)
optional func testSuiteWillStart(_ testSuite: XCTestSuite)
optional func testSuite(_ testSuite: XCTestSuite, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: UInt)
optional func testSuiteDidFinish(_ testSuite: XCTestSuite)
optional func testCaseWillStart(_ testCase: XCTestCase)
optional func testCase(_ testCase: XCTestCase, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: UInt)
optional func testCaseDidFinish(_ testCase: XCTestCase)
} |
| To | protocol XCTestObservation : NSObjectProtocol {
optional func testBundleWillStart(_ testBundle: Bundle)
optional func testBundleDidFinish(_ testBundle: Bundle)
optional func testSuiteWillStart(_ testSuite: XCTestSuite)
optional func testSuite(_ testSuite: XCTestSuite, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: UInt)
optional func testSuiteDidFinish(_ testSuite: XCTestSuite)
optional func testCaseWillStart(_ testCase: XCTestCase)
optional func testCase(_ testCase: XCTestCase, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: UInt)
optional func testCaseDidFinish(_ testCase: XCTestCase)
} |
| Declaration | |
|---|---|
| From | optional func testBundleDidFinish(_ testBundle: NSBundle) |
| To | optional func testBundleDidFinish(_ testBundle: Bundle) |
| Declaration | |
|---|---|
| From | optional func testBundleWillStart(_ testBundle: NSBundle) |
| To | optional func testBundleWillStart(_ testBundle: Bundle) |
Modified XCTestObservationCenter
| Declaration | Protocols | |
|---|---|---|
| From | class XCTestObservationCenter : NSObject {
class func sharedTestObservationCenter() -> XCTestObservationCenter
func addTestObserver(_ testObserver: XCTestObservation)
func removeTestObserver(_ testObserver: XCTestObservation)
} | -- |
| To | class XCTestObservationCenter : NSObject {
class func shared() -> XCTestObservationCenter
func addTestObserver(_ testObserver: XCTestObservation)
func removeTestObserver(_ testObserver: XCTestObservation)
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 XCTestObservationCenter : CVarArg {
}
extension XCTestObservationCenter : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | class func sharedTestObservationCenter() -> XCTestObservationCenter |
| To | class func shared() -> XCTestObservationCenter |
Modified XCTestObserver
| Declaration | Protocols | |
|---|---|---|
| From | class XCTestObserver : NSObject {
func startObserving()
func stopObserving()
func testSuiteDidStart(_ testRun: XCTestRun!)
func testSuiteDidStop(_ testRun: XCTestRun!)
func testCaseDidStart(_ testRun: XCTestRun!)
func testCaseDidStop(_ testRun: XCTestRun!)
func testCaseDidFail(_ testRun: XCTestRun!, withDescription description: String!, inFile filePath: String!, atLine lineNumber: UInt)
} | -- |
| To | class XCTestObserver : NSObject {
func startObserving()
func stopObserving()
func testSuiteDidStart(_ testRun: XCTestRun!)
func testSuiteDidStop(_ testRun: XCTestRun!)
func testCaseDidStart(_ testRun: XCTestRun!)
func testCaseDidStop(_ testRun: XCTestRun!)
func testCaseDidFail(_ testRun: XCTestRun!, withDescription description: String!, inFile filePath: String!, atLine lineNumber: UInt)
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 XCTestObserver : CVarArg {
}
extension XCTestObserver : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified XCTestProbe
| Declaration | Protocols | |
|---|---|---|
| From | class XCTestProbe : NSObject {
class func isTesting() -> Bool
} | -- |
| To | class XCTestProbe : NSObject {
class func isTesting() -> 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 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 XCTestProbe : CVarArg {
}
extension XCTestProbe : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified XCTestRun
| Declaration | Protocols | |
|---|---|---|
| From | class XCTestRun : NSObject {
convenience init(test test: XCTest)
class func testRunWithTest(_ test: XCTest) -> Self
init(test test: XCTest)
var test: XCTest { get }
func start()
func stop()
@NSCopying var startDate: NSDate? { get }
@NSCopying var stopDate: NSDate? { get }
var totalDuration: NSTimeInterval { get }
var testDuration: NSTimeInterval { get }
var testCaseCount: UInt { get }
var executionCount: UInt { get }
var failureCount: UInt { get }
var unexpectedExceptionCount: UInt { get }
var totalFailureCount: UInt { get }
var hasSucceeded: Bool { get }
func recordFailureWithDescription(_ description: String, inFile filePath: String?, atLine lineNumber: UInt, expected expected: Bool)
} | -- |
| To | class XCTestRun : NSObject {
convenience init(test test: XCTest)
class func withTest(_ test: XCTest) -> Self
init(test test: XCTest)
var test: XCTest { get }
func start()
func stop()
var startDate: Date? { get }
var stopDate: Date? { get }
var totalDuration: TimeInterval { get }
var testDuration: TimeInterval { get }
var testCaseCount: UInt { get }
var executionCount: UInt { get }
var failureCount: UInt { get }
var unexpectedExceptionCount: UInt { get }
var totalFailureCount: UInt { get }
var hasSucceeded: Bool { get }
func recordFailure(withDescription description: String, inFile filePath: String?, atLine lineNumber: UInt, expected expected: 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 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 XCTestRun : CVarArg {
}
extension XCTestRun : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified XCTestRun.recordFailure(withDescription: String, inFile: String?, atLine: UInt, expected: Bool)
| Declaration | |
|---|---|
| From | func recordFailureWithDescription(_ description: String, inFile filePath: String?, atLine lineNumber: UInt, expected expected: Bool) |
| To | func recordFailure(withDescription description: String, inFile filePath: String?, atLine lineNumber: UInt, expected expected: Bool) |
Modified XCTestRun.startDate
| Declaration | |
|---|---|
| From | @NSCopying var startDate: NSDate? { get } |
| To | var startDate: Date? { get } |
Modified XCTestRun.stopDate
| Declaration | |
|---|---|
| From | @NSCopying var stopDate: NSDate? { get } |
| To | var stopDate: Date? { get } |
Modified XCTestRun.testDuration
| Declaration | |
|---|---|
| From | var testDuration: NSTimeInterval { get } |
| To | var testDuration: TimeInterval { get } |
Modified XCTestRun.totalDuration
| Declaration | |
|---|---|
| From | var totalDuration: NSTimeInterval { get } |
| To | var totalDuration: TimeInterval { get } |
Modified XCTestSuite
| Declaration | |
|---|---|
| From | class XCTestSuite : XCTest {
class func defaultTestSuite() -> Self
convenience init(forBundlePath bundlePath: String)
class func testSuiteForBundlePath(_ bundlePath: String) -> Self
convenience init(forTestCaseWithName name: String)
class func testSuiteForTestCaseWithName(_ name: String) -> Self
convenience init(forTestCaseClass testCaseClass: AnyClass)
class func testSuiteForTestCaseClass(_ testCaseClass: AnyClass) -> Self
convenience init(name name: String)
class func testSuiteWithName(_ name: String) -> Self
init(name name: String)
func addTest(_ test: XCTest)
var tests: [XCTest] { get }
} |
| To | class XCTestSuite : XCTest {
class func `default`() -> Self
convenience init(forBundlePath bundlePath: String)
class func forBundlePath(_ bundlePath: String) -> Self
convenience init(forTestCaseWithName name: String)
class func forTestCase(withName name: String) -> Self
convenience init(forTestCaseClass testCaseClass: Swift.AnyClass)
class func forTestCaseClass(_ testCaseClass: Swift.AnyClass) -> Self
convenience init(name name: String)
class func withName(_ name: String) -> Self
init(name name: String)
func addTest(_ test: XCTest)
var tests: [XCTest] { get }
} |
Modified XCTestSuite.default() [class]
| Declaration | |
|---|---|
| From | class func defaultTestSuite() -> Self |
| To | class func `default`() -> Self |
| Declaration | |
|---|---|
| From | convenience init(forTestCaseClass testCaseClass: AnyClass) |
| To | convenience init(forTestCaseClass testCaseClass: Swift.AnyClass) |
Modified XCUIApplication
| Declaration | Protocols | |
|---|---|---|
| From | class XCUIApplication : XCUIElement {
func launch()
func terminate()
var launchArguments: [String]
var launchEnvironment: [String : String]
} | -- |
| To | class XCUIApplication : XCUIElement {
func launch()
func terminate()
var launchArguments: [String]
var launchEnvironment: [String : String]
func adjust(toNormalizedSliderPosition normalizedSliderPosition: CGFloat)
var normalizedSliderPosition: CGFloat { get }
func typeText(_ text: String)
func hover()
func click()
func doubleClick()
func rightClick()
func click(forDuration duration: TimeInterval, thenDragTo otherElement: XCUIElement)
class func perform(withKeyModifiers flags: XCUIKeyModifierFlags, block block: @escaping () -> Void)
func typeKey(_ key: String, modifierFlags flags: XCUIKeyModifierFlags)
func scroll(byDeltaX deltaX: CGFloat, deltaY deltaY: CGFloat)
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 XCUIApplication : CVarArg {
}
extension XCUIApplication : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified XCUICoordinate
| Declaration | Protocols | |
|---|---|---|
| From | class XCUICoordinate : NSObject, NSCopying {
init()
var referencedElement: XCUIElement { get }
var screenPoint: CGPoint { get }
func coordinateWithOffset(_ offsetVector: CGVector) -> XCUICoordinate
func hover()
func click()
func doubleClick()
func rightClick()
func clickForDuration(_ duration: NSTimeInterval, thenDragToCoordinate otherCoordinate: XCUICoordinate)
func scrollByDeltaX(_ deltaX: CGFloat, deltaY deltaY: CGFloat)
} | NSCopying |
| To | class XCUICoordinate : NSObject, NSCopying {
init()
var referencedElement: XCUIElement { get }
var screenPoint: CGPoint { get }
func withOffset(_ offsetVector: CGVector) -> XCUICoordinate
func hover()
func click()
func doubleClick()
func rightClick()
func click(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)
func scroll(byDeltaX deltaX: CGFloat, deltaY deltaY: CGFloat)
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 XCUICoordinate : CVarArg {
}
extension XCUICoordinate : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
| Declaration | |
|---|---|
| From | func clickForDuration(_ duration: NSTimeInterval, thenDragToCoordinate otherCoordinate: XCUICoordinate) |
| To | func click(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate) |
| Declaration | |
|---|---|
| From | func scrollByDeltaX(_ deltaX: CGFloat, deltaY deltaY: CGFloat) |
| To | func scroll(byDeltaX deltaX: CGFloat, deltaY deltaY: CGFloat) |
| Declaration | |
|---|---|
| From | func coordinateWithOffset(_ offsetVector: CGVector) -> XCUICoordinate |
| To | func withOffset(_ offsetVector: CGVector) -> XCUICoordinate |
Modified XCUIElement
| Declaration | Protocols | |
|---|---|---|
| From | class XCUIElement : NSObject, XCUIElementAttributes, XCUIElementTypeQueryProvider {
var exists: Bool { get }
var hittable: Bool { get }
func descendantsMatchingType(_ type: XCUIElementType) -> XCUIElementQuery
func childrenMatchingType(_ type: XCUIElementType) -> XCUIElementQuery
func coordinateWithNormalizedOffset(_ normalizedOffset: CGVector) -> XCUICoordinate
var debugDescription: String { get }
}
extension XCUIElement {
func typeText(_ text: String)
func hover()
func click()
func doubleClick()
func rightClick()
func clickForDuration(_ duration: NSTimeInterval, thenDragToElement otherElement: XCUIElement)
class func performWithKeyModifiers(_ flags: XCUIKeyModifierFlags, block block: () -> Void)
func typeKey(_ key: String, modifierFlags flags: XCUIKeyModifierFlags)
func scrollByDeltaX(_ deltaX: CGFloat, deltaY deltaY: CGFloat)
}
extension XCUIElement {
func adjustToNormalizedSliderPosition(_ normalizedSliderPosition: CGFloat)
var normalizedSliderPosition: CGFloat { get }
} | XCUIElementAttributes, XCUIElementTypeQueryProvider |
| To | class XCUIElement : NSObject, XCUIElementAttributes, XCUIElementTypeQueryProvider {
var exists: Bool { get }
var isHittable: Bool { get }
func descendants(matching type: XCUIElementType) -> XCUIElementQuery
func children(matching type: XCUIElementType) -> XCUIElementQuery
func coordinate(withNormalizedOffset normalizedOffset: CGVector) -> XCUICoordinate
var debugDescription: String { get }
func typeText(_ text: String)
func hover()
func click()
func doubleClick()
func rightClick()
func click(forDuration duration: TimeInterval, thenDragTo otherElement: XCUIElement)
class func perform(withKeyModifiers flags: XCUIKeyModifierFlags, block block: @escaping () -> Swift.Void)
func typeKey(_ key: String, modifierFlags flags: XCUIKeyModifierFlags)
func scroll(byDeltaX deltaX: CGFloat, deltaY deltaY: CGFloat)
func adjust(toNormalizedSliderPosition normalizedSliderPosition: CGFloat)
var normalizedSliderPosition: CGFloat { get }
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 discardEditing()
func commitEditing() -> Bool
func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func commitEditingAndReturnError() throws
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?)
func objectDidBeginEditing(_ editor: Any)
func objectDidEndEditing(_ editor: Any)
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?
}
extension XCUIElement : CVarArg {
}
extension XCUIElement : Equatable, Hashable {
var hashValue: Int { get }
}
extension XCUIElement {
func typeText(_ text: String)
func hover()
func click()
func doubleClick()
func rightClick()
func click(forDuration duration: TimeInterval, thenDragTo otherElement: XCUIElement)
class func perform(withKeyModifiers flags: XCUIKeyModifierFlags, block block: @escaping () -> Swift.Void)
func typeKey(_ key: String, modifierFlags flags: XCUIKeyModifierFlags)
func scroll(byDeltaX deltaX: CGFloat, deltaY deltaY: CGFloat)
}
extension XCUIElement {
func adjust(toNormalizedSliderPosition normalizedSliderPosition: CGFloat)
var normalizedSliderPosition: CGFloat { get }
} | CVarArg, Equatable, Hashable, XCUIElementAttributes, XCUIElementTypeQueryProvider |
| Declaration | |
|---|---|
| From | func adjustToNormalizedSliderPosition(_ normalizedSliderPosition: CGFloat) |
| To | func adjust(toNormalizedSliderPosition normalizedSliderPosition: CGFloat) |
| Declaration | |
|---|---|
| From | func childrenMatchingType(_ type: XCUIElementType) -> XCUIElementQuery |
| To | func children(matching type: XCUIElementType) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | func clickForDuration(_ duration: NSTimeInterval, thenDragToElement otherElement: XCUIElement) |
| To | func click(forDuration duration: TimeInterval, thenDragTo otherElement: XCUIElement) |
| Declaration | |
|---|---|
| From | func coordinateWithNormalizedOffset(_ normalizedOffset: CGVector) -> XCUICoordinate |
| To | func coordinate(withNormalizedOffset normalizedOffset: CGVector) -> XCUICoordinate |
| Declaration | |
|---|---|
| From | func descendantsMatchingType(_ type: XCUIElementType) -> XCUIElementQuery |
| To | func descendants(matching type: XCUIElementType) -> XCUIElementQuery |
Modified XCUIElement.isHittable
| Declaration | |
|---|---|
| From | var hittable: Bool { get } |
| To | var isHittable: Bool { get } |
Modified XCUIElement.perform(withKeyModifiers: XCUIKeyModifierFlags, block: () -> Swift.Void) [class]
| Declaration | |
|---|---|
| From | class func performWithKeyModifiers(_ flags: XCUIKeyModifierFlags, block block: () -> Void) |
| To | class func perform(withKeyModifiers flags: XCUIKeyModifierFlags, block block: @escaping () -> Swift.Void) |
| Declaration | |
|---|---|
| From | func scrollByDeltaX(_ deltaX: CGFloat, deltaY deltaY: CGFloat) |
| To | func scroll(byDeltaX deltaX: CGFloat, deltaY deltaY: CGFloat) |
Modified XCUIElementAttributes
| Declaration | |
|---|---|
| From | protocol XCUIElementAttributes {
var identifier: String { get }
var frame: CGRect { get }
var value: AnyObject? { get }
var title: String { get }
var label: String { get }
var elementType: XCUIElementType { get }
var enabled: Bool { get }
var horizontalSizeClass: XCUIUserInterfaceSizeClass { get }
var verticalSizeClass: XCUIUserInterfaceSizeClass { get }
var placeholderValue: String? { get }
var selected: Bool { get }
} |
| To | protocol XCUIElementAttributes {
var identifier: String { get }
var frame: CGRect { get }
var value: Any? { get }
var title: String { get }
var label: String { get }
var elementType: XCUIElementType { get }
var isEnabled: Bool { get }
var horizontalSizeClass: XCUIUserInterfaceSizeClass { get }
var verticalSizeClass: XCUIUserInterfaceSizeClass { get }
var placeholderValue: String? { get }
var isSelected: Bool { get }
} |
Modified XCUIElementAttributes.isEnabled
| Declaration | |
|---|---|
| From | var enabled: Bool { get } |
| To | var isEnabled: Bool { get } |
Modified XCUIElementAttributes.isSelected
| Declaration | |
|---|---|
| From | var selected: Bool { get } |
| To | var isSelected: Bool { get } |
Modified XCUIElementAttributes.value
| Declaration | |
|---|---|
| From | var value: AnyObject? { get } |
| To | var value: Any? { get } |
Modified XCUIElementQuery
| Declaration | Protocols | |
|---|---|---|
| From | class XCUIElementQuery : NSObject, XCUIElementTypeQueryProvider {
var element: XCUIElement { get }
var count: UInt { get }
func elementAtIndex(_ index: UInt) -> XCUIElement
func elementBoundByIndex(_ index: UInt) -> XCUIElement
func elementMatchingPredicate(_ predicate: NSPredicate) -> XCUIElement
func elementMatchingType(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElement
subscript (_ key: String) -> XCUIElement { get }
func objectForKeyedSubscript(_ key: String) -> XCUIElement
var allElementsBoundByAccessibilityElement: [XCUIElement] { get }
var allElementsBoundByIndex: [XCUIElement] { get }
func descendantsMatchingType(_ type: XCUIElementType) -> XCUIElementQuery
func childrenMatchingType(_ type: XCUIElementType) -> XCUIElementQuery
func matchingPredicate(_ predicate: NSPredicate) -> XCUIElementQuery
func matchingType(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery
func matchingIdentifier(_ identifier: String) -> XCUIElementQuery
func containingPredicate(_ predicate: NSPredicate) -> XCUIElementQuery
func containingType(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery
var debugDescription: String { get }
} | XCUIElementTypeQueryProvider |
| To | class XCUIElementQuery : NSObject, XCUIElementTypeQueryProvider {
var element: XCUIElement { get }
var count: UInt { get }
func element(at index: UInt) -> XCUIElement
func element(boundBy index: UInt) -> XCUIElement
func element(matching predicate: NSPredicate) -> XCUIElement
func element(matching elementType: XCUIElementType, identifier identifier: String?) -> XCUIElement
subscript(_ key: String) -> XCUIElement { get }
func objectForKeyedSubscript(_ key: String) -> XCUIElement
var allElementsBoundByAccessibilityElement: [XCUIElement] { get }
var allElementsBoundByIndex: [XCUIElement] { get }
func descendants(matching type: XCUIElementType) -> XCUIElementQuery
func children(matching type: XCUIElementType) -> XCUIElementQuery
func matching(_ predicate: NSPredicate) -> XCUIElementQuery
func matching(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery
func matching(identifier identifier: String) -> XCUIElementQuery
func containing(_ predicate: NSPredicate) -> XCUIElementQuery
func containing(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery
var debugDescription: 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 XCUIElementQuery : CVarArg {
}
extension XCUIElementQuery : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, XCUIElementTypeQueryProvider |
| Declaration | |
|---|---|
| From | func childrenMatchingType(_ type: XCUIElementType) -> XCUIElementQuery |
| To | func children(matching type: XCUIElementType) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | func containingPredicate(_ predicate: NSPredicate) -> XCUIElementQuery |
| To | func containing(_ predicate: NSPredicate) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | func containingType(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery |
| To | func containing(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | func descendantsMatchingType(_ type: XCUIElementType) -> XCUIElementQuery |
| To | func descendants(matching type: XCUIElementType) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | func elementAtIndex(_ index: UInt) -> XCUIElement |
| To | func element(at index: UInt) -> XCUIElement |
| Declaration | |
|---|---|
| From | func elementBoundByIndex(_ index: UInt) -> XCUIElement |
| To | func element(boundBy index: UInt) -> XCUIElement |
| Declaration | |
|---|---|
| From | func elementMatchingPredicate(_ predicate: NSPredicate) -> XCUIElement |
| To | func element(matching predicate: NSPredicate) -> XCUIElement |
| Declaration | |
|---|---|
| From | func elementMatchingType(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElement |
| To | func element(matching elementType: XCUIElementType, identifier identifier: String?) -> XCUIElement |
| Declaration | |
|---|---|
| From | func matchingPredicate(_ predicate: NSPredicate) -> XCUIElementQuery |
| To | func matching(_ predicate: NSPredicate) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | func matchingType(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery |
| To | func matching(_ elementType: XCUIElementType, identifier identifier: String?) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | func matchingIdentifier(_ identifier: String) -> XCUIElementQuery |
| To | func matching(identifier identifier: String) -> XCUIElementQuery |
| Declaration | |
|---|---|
| From | subscript (_ key: String) -> XCUIElement { get } |
| To | subscript(_ key: String) -> XCUIElement { get } |
Modified XCUIElementType [enum]
| Declaration | |
|---|---|
| From | enum XCUIElementType : UInt {
case Any
case Other
case Application
case Group
case Window
case Sheet
case Drawer
case Alert
case Dialog
case Button
case RadioButton
case RadioGroup
case CheckBox
case DisclosureTriangle
case PopUpButton
case ComboBox
case MenuButton
case ToolbarButton
case Popover
case Keyboard
case Key
case NavigationBar
case TabBar
case TabGroup
case Toolbar
case StatusBar
case Table
case TableRow
case TableColumn
case Outline
case OutlineRow
case Browser
case CollectionView
case Slider
case PageIndicator
case ProgressIndicator
case ActivityIndicator
case SegmentedControl
case Picker
case PickerWheel
case Switch
case Toggle
case Link
case Image
case Icon
case SearchField
case ScrollView
case ScrollBar
case StaticText
case TextField
case SecureTextField
case DatePicker
case TextView
case Menu
case MenuItem
case MenuBar
case MenuBarItem
case Map
case WebView
case IncrementArrow
case DecrementArrow
case Timeline
case RatingIndicator
case ValueIndicator
case SplitGroup
case Splitter
case RelevanceIndicator
case ColorWell
case HelpTag
case Matte
case DockItem
case Ruler
case RulerMarker
case Grid
case LevelIndicator
case Cell
case LayoutArea
case LayoutItem
case Handle
case Stepper
case Tab
} |
| To | enum XCUIElementType : UInt {
case any
case other
case application
case group
case window
case sheet
case drawer
case alert
case dialog
case button
case radioButton
case radioGroup
case checkBox
case disclosureTriangle
case popUpButton
case comboBox
case menuButton
case toolbarButton
case popover
case keyboard
case key
case navigationBar
case tabBar
case tabGroup
case toolbar
case statusBar
case table
case tableRow
case tableColumn
case outline
case outlineRow
case browser
case collectionView
case slider
case pageIndicator
case progressIndicator
case activityIndicator
case segmentedControl
case picker
case pickerWheel
case `switch`
case toggle
case link
case image
case icon
case searchField
case scrollView
case scrollBar
case staticText
case textField
case secureTextField
case datePicker
case textView
case menu
case menuItem
case menuBar
case menuBarItem
case map
case webView
case incrementArrow
case decrementArrow
case timeline
case ratingIndicator
case valueIndicator
case splitGroup
case splitter
case relevanceIndicator
case colorWell
case helpTag
case matte
case dockItem
case ruler
case rulerMarker
case grid
case levelIndicator
case cell
case layoutArea
case layoutItem
case handle
case stepper
case tab
} |
Modified XCUIElementType.activityIndicator
| Declaration | |
|---|---|
| From | case ActivityIndicator |
| To | case activityIndicator |
Modified XCUIElementType.alert
| Declaration | |
|---|---|
| From | case Alert |
| To | case alert |
Modified XCUIElementType.any
| Declaration | |
|---|---|
| From | case Any |
| To | case any |
Modified XCUIElementType.application
| Declaration | |
|---|---|
| From | case Application |
| To | case application |
Modified XCUIElementType.browser
| Declaration | |
|---|---|
| From | case Browser |
| To | case browser |
Modified XCUIElementType.button
| Declaration | |
|---|---|
| From | case Button |
| To | case button |
Modified XCUIElementType.cell
| Declaration | |
|---|---|
| From | case Cell |
| To | case cell |
Modified XCUIElementType.checkBox
| Declaration | |
|---|---|
| From | case CheckBox |
| To | case checkBox |
Modified XCUIElementType.collectionView
| Declaration | |
|---|---|
| From | case CollectionView |
| To | case collectionView |
Modified XCUIElementType.colorWell
| Declaration | |
|---|---|
| From | case ColorWell |
| To | case colorWell |
Modified XCUIElementType.comboBox
| Declaration | |
|---|---|
| From | case ComboBox |
| To | case comboBox |
Modified XCUIElementType.datePicker
| Declaration | |
|---|---|
| From | case DatePicker |
| To | case datePicker |
Modified XCUIElementType.decrementArrow
| Declaration | |
|---|---|
| From | case DecrementArrow |
| To | case decrementArrow |
Modified XCUIElementType.dialog
| Declaration | |
|---|---|
| From | case Dialog |
| To | case dialog |
Modified XCUIElementType.disclosureTriangle
| Declaration | |
|---|---|
| From | case DisclosureTriangle |
| To | case disclosureTriangle |
Modified XCUIElementType.dockItem
| Declaration | |
|---|---|
| From | case DockItem |
| To | case dockItem |
Modified XCUIElementType.drawer
| Declaration | |
|---|---|
| From | case Drawer |
| To | case drawer |
Modified XCUIElementType.grid
| Declaration | |
|---|---|
| From | case Grid |
| To | case grid |
Modified XCUIElementType.group
| Declaration | |
|---|---|
| From | case Group |
| To | case group |
Modified XCUIElementType.handle
| Declaration | |
|---|---|
| From | case Handle |
| To | case handle |
Modified XCUIElementType.helpTag
| Declaration | |
|---|---|
| From | case HelpTag |
| To | case helpTag |
Modified XCUIElementType.icon
| Declaration | |
|---|---|
| From | case Icon |
| To | case icon |
Modified XCUIElementType.image
| Declaration | |
|---|---|
| From | case Image |
| To | case image |
Modified XCUIElementType.incrementArrow
| Declaration | |
|---|---|
| From | case IncrementArrow |
| To | case incrementArrow |
Modified XCUIElementType.key
| Declaration | |
|---|---|
| From | case Key |
| To | case key |
Modified XCUIElementType.keyboard
| Declaration | |
|---|---|
| From | case Keyboard |
| To | case keyboard |
Modified XCUIElementType.layoutArea
| Declaration | |
|---|---|
| From | case LayoutArea |
| To | case layoutArea |
Modified XCUIElementType.layoutItem
| Declaration | |
|---|---|
| From | case LayoutItem |
| To | case layoutItem |
Modified XCUIElementType.levelIndicator
| Declaration | |
|---|---|
| From | case LevelIndicator |
| To | case levelIndicator |
Modified XCUIElementType.link
| Declaration | |
|---|---|
| From | case Link |
| To | case link |
Modified XCUIElementType.map
| Declaration | |
|---|---|
| From | case Map |
| To | case map |
Modified XCUIElementType.matte
| Declaration | |
|---|---|
| From | case Matte |
| To | case matte |
Modified XCUIElementType.menu
| Declaration | |
|---|---|
| From | case Menu |
| To | case menu |
Modified XCUIElementType.menuBar
| Declaration | |
|---|---|
| From | case MenuBar |
| To | case menuBar |
Modified XCUIElementType.menuBarItem
| Declaration | |
|---|---|
| From | case MenuBarItem |
| To | case menuBarItem |
Modified XCUIElementType.menuButton
| Declaration | |
|---|---|
| From | case MenuButton |
| To | case menuButton |
Modified XCUIElementType.menuItem
| Declaration | |
|---|---|
| From | case MenuItem |
| To | case menuItem |
Modified XCUIElementType.navigationBar
| Declaration | |
|---|---|
| From | case NavigationBar |
| To | case navigationBar |
Modified XCUIElementType.other
| Declaration | |
|---|---|
| From | case Other |
| To | case other |
Modified XCUIElementType.outline
| Declaration | |
|---|---|
| From | case Outline |
| To | case outline |
Modified XCUIElementType.outlineRow
| Declaration | |
|---|---|
| From | case OutlineRow |
| To | case outlineRow |
Modified XCUIElementType.pageIndicator
| Declaration | |
|---|---|
| From | case PageIndicator |
| To | case pageIndicator |
Modified XCUIElementType.picker
| Declaration | |
|---|---|
| From | case Picker |
| To | case picker |
Modified XCUIElementType.pickerWheel
| Declaration | |
|---|---|
| From | case PickerWheel |
| To | case pickerWheel |
Modified XCUIElementType.popover
| Declaration | |
|---|---|
| From | case Popover |
| To | case popover |
Modified XCUIElementType.popUpButton
| Declaration | |
|---|---|
| From | case PopUpButton |
| To | case popUpButton |
Modified XCUIElementType.progressIndicator
| Declaration | |
|---|---|
| From | case ProgressIndicator |
| To | case progressIndicator |
Modified XCUIElementType.radioButton
| Declaration | |
|---|---|
| From | case RadioButton |
| To | case radioButton |
Modified XCUIElementType.radioGroup
| Declaration | |
|---|---|
| From | case RadioGroup |
| To | case radioGroup |
Modified XCUIElementType.ratingIndicator
| Declaration | |
|---|---|
| From | case RatingIndicator |
| To | case ratingIndicator |
Modified XCUIElementType.relevanceIndicator
| Declaration | |
|---|---|
| From | case RelevanceIndicator |
| To | case relevanceIndicator |
Modified XCUIElementType.ruler
| Declaration | |
|---|---|
| From | case Ruler |
| To | case ruler |
Modified XCUIElementType.rulerMarker
| Declaration | |
|---|---|
| From | case RulerMarker |
| To | case rulerMarker |
Modified XCUIElementType.scrollBar
| Declaration | |
|---|---|
| From | case ScrollBar |
| To | case scrollBar |
Modified XCUIElementType.scrollView
| Declaration | |
|---|---|
| From | case ScrollView |
| To | case scrollView |
Modified XCUIElementType.searchField
| Declaration | |
|---|---|
| From | case SearchField |
| To | case searchField |
Modified XCUIElementType.secureTextField
| Declaration | |
|---|---|
| From | case SecureTextField |
| To | case secureTextField |
Modified XCUIElementType.segmentedControl
| Declaration | |
|---|---|
| From | case SegmentedControl |
| To | case segmentedControl |
Modified XCUIElementType.sheet
| Declaration | |
|---|---|
| From | case Sheet |
| To | case sheet |
Modified XCUIElementType.slider
| Declaration | |
|---|---|
| From | case Slider |
| To | case slider |
Modified XCUIElementType.splitGroup
| Declaration | |
|---|---|
| From | case SplitGroup |
| To | case splitGroup |
Modified XCUIElementType.splitter
| Declaration | |
|---|---|
| From | case Splitter |
| To | case splitter |
Modified XCUIElementType.staticText
| Declaration | |
|---|---|
| From | case StaticText |
| To | case staticText |
Modified XCUIElementType.statusBar
| Declaration | |
|---|---|
| From | case StatusBar |
| To | case statusBar |
Modified XCUIElementType.stepper
| Declaration | |
|---|---|
| From | case Stepper |
| To | case stepper |
Modified XCUIElementType.switch
| Declaration | |
|---|---|
| From | case Switch |
| To | case `switch` |
Modified XCUIElementType.tab
| Declaration | |
|---|---|
| From | case Tab |
| To | case tab |
Modified XCUIElementType.tabBar
| Declaration | |
|---|---|
| From | case TabBar |
| To | case tabBar |
Modified XCUIElementType.tabGroup
| Declaration | |
|---|---|
| From | case TabGroup |
| To | case tabGroup |
Modified XCUIElementType.table
| Declaration | |
|---|---|
| From | case Table |
| To | case table |
Modified XCUIElementType.tableColumn
| Declaration | |
|---|---|
| From | case TableColumn |
| To | case tableColumn |
Modified XCUIElementType.tableRow
| Declaration | |
|---|---|
| From | case TableRow |
| To | case tableRow |
Modified XCUIElementType.textField
| Declaration | |
|---|---|
| From | case TextField |
| To | case textField |
Modified XCUIElementType.textView
| Declaration | |
|---|---|
| From | case TextView |
| To | case textView |
Modified XCUIElementType.timeline
| Declaration | |
|---|---|
| From | case Timeline |
| To | case timeline |
Modified XCUIElementType.toggle
| Declaration | |
|---|---|
| From | case Toggle |
| To | case toggle |
Modified XCUIElementType.toolbar
| Declaration | |
|---|---|
| From | case Toolbar |
| To | case toolbar |
Modified XCUIElementType.toolbarButton
| Declaration | |
|---|---|
| From | case ToolbarButton |
| To | case toolbarButton |
Modified XCUIElementType.valueIndicator
| Declaration | |
|---|---|
| From | case ValueIndicator |
| To | case valueIndicator |
Modified XCUIElementType.webView
| Declaration | |
|---|---|
| From | case WebView |
| To | case webView |
Modified XCUIElementType.window
| Declaration | |
|---|---|
| From | case Window |
| To | case window |
Modified XCUIKeyModifierFlags [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct XCUIKeyModifierFlags : OptionSetType {
init(rawValue rawValue: UInt)
static var None: XCUIKeyModifierFlags { get }
static var AlphaShift: XCUIKeyModifierFlags { get }
static var Shift: XCUIKeyModifierFlags { get }
static var Control: XCUIKeyModifierFlags { get }
static var Alternate: XCUIKeyModifierFlags { get }
static var Option: XCUIKeyModifierFlags { get }
static var Command: XCUIKeyModifierFlags { get }
} | OptionSetType |
| To | struct XCUIKeyModifierFlags : OptionSet {
init(rawValue rawValue: UInt)
static var none: XCUIKeyModifierFlags { get }
static var alphaShift: XCUIKeyModifierFlags { get }
static var shift: XCUIKeyModifierFlags { get }
static var control: XCUIKeyModifierFlags { get }
static var alternate: XCUIKeyModifierFlags { get }
static var option: XCUIKeyModifierFlags { get }
static var command: XCUIKeyModifierFlags { get }
func intersect(_ other: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags
func exclusiveOr(_ other: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags
mutating func unionInPlace(_ other: XCUIKeyModifierFlags)
mutating func intersectInPlace(_ other: XCUIKeyModifierFlags)
mutating func exclusiveOrInPlace(_ other: XCUIKeyModifierFlags)
func isSubsetOf(_ other: XCUIKeyModifierFlags) -> Bool
func isDisjointWith(_ other: XCUIKeyModifierFlags) -> Bool
func isSupersetOf(_ other: XCUIKeyModifierFlags) -> Bool
mutating func subtractInPlace(_ other: XCUIKeyModifierFlags)
func isStrictSupersetOf(_ other: XCUIKeyModifierFlags) -> Bool
func isStrictSubsetOf(_ other: XCUIKeyModifierFlags) -> Bool
}
extension XCUIKeyModifierFlags {
func union(_ other: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags
func intersection(_ other: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags
func symmetricDifference(_ other: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags
}
extension XCUIKeyModifierFlags {
func contains(_ member: XCUIKeyModifierFlags) -> Bool
mutating func insert(_ newMember: XCUIKeyModifierFlags) -> (inserted: Bool, memberAfterInsert: XCUIKeyModifierFlags)
mutating func remove(_ member: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags?
mutating func update(with newMember: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags?
}
extension XCUIKeyModifierFlags {
convenience init()
mutating func formUnion(_ other: XCUIKeyModifierFlags)
mutating func formIntersection(_ other: XCUIKeyModifierFlags)
mutating func formSymmetricDifference(_ other: XCUIKeyModifierFlags)
}
extension XCUIKeyModifierFlags {
convenience init<S : Sequence where S.Iterator.Element == XCUIKeyModifierFlags>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: XCUIKeyModifierFlags...)
mutating func subtract(_ other: XCUIKeyModifierFlags)
func isSubset(of other: XCUIKeyModifierFlags) -> Bool
func isSuperset(of other: XCUIKeyModifierFlags) -> Bool
func isDisjoint(with other: XCUIKeyModifierFlags) -> Bool
func subtracting(_ other: XCUIKeyModifierFlags) -> XCUIKeyModifierFlags
var isEmpty: Bool { get }
func isStrictSuperset(of other: XCUIKeyModifierFlags) -> Bool
func isStrictSubset(of other: XCUIKeyModifierFlags) -> Bool
} | OptionSet |
Modified XCUIKeyModifierFlags.alphaShift
| Declaration | |
|---|---|
| From | static var AlphaShift: XCUIKeyModifierFlags { get } |
| To | static var alphaShift: XCUIKeyModifierFlags { get } |
Modified XCUIKeyModifierFlags.alternate
| Declaration | |
|---|---|
| From | static var Alternate: XCUIKeyModifierFlags { get } |
| To | static var alternate: XCUIKeyModifierFlags { get } |
Modified XCUIKeyModifierFlags.command
| Declaration | |
|---|---|
| From | static var Command: XCUIKeyModifierFlags { get } |
| To | static var command: XCUIKeyModifierFlags { get } |
Modified XCUIKeyModifierFlags.control
| Declaration | |
|---|---|
| From | static var Control: XCUIKeyModifierFlags { get } |
| To | static var control: XCUIKeyModifierFlags { get } |
Modified XCUIKeyModifierFlags.option
| Declaration | |
|---|---|
| From | static var Option: XCUIKeyModifierFlags { get } |
| To | static var option: XCUIKeyModifierFlags { get } |
Modified XCUIKeyModifierFlags.shift
| Declaration | |
|---|---|
| From | static var Shift: XCUIKeyModifierFlags { get } |
| To | static var shift: XCUIKeyModifierFlags { get } |
Modified XCUIRemoteButton [enum]
| Declaration | |
|---|---|
| From | enum XCUIRemoteButton : UInt {
case Up
case Down
case Left
case Right
case Select
case Menu
case PlayPause
} |
| To | enum XCUIRemoteButton : UInt {
case up
case down
case left
case right
case select
case menu
case playPause
} |
Modified XCUIRemoteButton.down
| Declaration | |
|---|---|
| From | case Down |
| To | case down |
Modified XCUIRemoteButton.left
| Declaration | |
|---|---|
| From | case Left |
| To | case left |
Modified XCUIRemoteButton.menu
| Declaration | |
|---|---|
| From | case Menu |
| To | case menu |
Modified XCUIRemoteButton.playPause
| Declaration | |
|---|---|
| From | case PlayPause |
| To | case playPause |
Modified XCUIRemoteButton.right
| Declaration | |
|---|---|
| From | case Right |
| To | case right |
Modified XCUIRemoteButton.select
| Declaration | |
|---|---|
| From | case Select |
| To | case select |
Modified XCUIRemoteButton.up
| Declaration | |
|---|---|
| From | case Up |
| To | case up |
Modified XCUIUserInterfaceSizeClass [enum]
| Declaration | |
|---|---|
| From | enum XCUIUserInterfaceSizeClass : Int {
case Unspecified
} |
| To | enum XCUIUserInterfaceSizeClass : Int {
case unspecified
} |
| Declaration | |
|---|---|
| From | case Unspecified |
| To | case unspecified |
| Declaration | |
|---|---|
| From | typealias XCKeyValueObservingExpectationHandler = (AnyObject, [NSObject : AnyObject]) -> Bool |
| To | typealias XCKeyValueObservingExpectationHandler = (Any, [AnyHashable : Any]) -> Bool |
Modified XCNotificationExpectationHandler
| Declaration | |
|---|---|
| From | typealias XCNotificationExpectationHandler = (NSNotification) -> Bool |
| To | typealias XCNotificationExpectationHandler = (Notification) -> Bool |
Modified XCTAssertEqual<T : Equatable>(_: () throws -> ArraySlice<T>, _: () throws -> ArraySlice<T>, _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertEqual<T : Equatable>(@autoclosure _ expression1: () throws -> ArraySlice<T>, @autoclosure _ expression2: () throws -> ArraySlice<T>, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertEqual<T : Equatable>(_ expression1: @autoclosure () throws -> ArraySlice<T>, _ expression2: @autoclosure () throws -> ArraySlice<T>, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertEqual<T : Equatable>(_: () throws -> [T], _: () throws -> [T], _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertEqual<T : Equatable>(@autoclosure _ expression1: () throws -> [T], @autoclosure _ expression2: () throws -> [T], @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertEqual<T : Equatable>(_ expression1: @autoclosure () throws -> [T], _ expression2: @autoclosure () throws -> [T], _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertEqual<T, U : Equatable>(_: () throws -> [T : U], _: () throws -> [T : U], _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertEqual<T, U : Equatable>(@autoclosure _ expression1: () throws -> [T : U], @autoclosure _ expression2: () throws -> [T : U], @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertEqual<T, U : Equatable>(_ expression1: @autoclosure () throws -> [T : U], _ expression2: @autoclosure () throws -> [T : U], _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertEqual<T : Equatable>(_: () throws -> ContiguousArray<T>, _: () throws -> ContiguousArray<T>, _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertEqual<T : Equatable>(@autoclosure _ expression1: () throws -> ContiguousArray<T>, @autoclosure _ expression2: () throws -> ContiguousArray<T>, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertEqual<T : Equatable>(_ expression1: @autoclosure () throws -> ContiguousArray<T>, _ expression2: @autoclosure () throws -> ContiguousArray<T>, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertEqual<T : Equatable>(_: () throws -> T?, _: () throws -> T?, _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertEqual<T : Equatable>(@autoclosure _ expression1: () throws -> T?, @autoclosure _ expression2: () throws -> T?, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertEqual<T : Equatable>(_ expression1: @autoclosure () throws -> T?, _ expression2: @autoclosure () throws -> T?, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| Declaration | |
|---|---|
| From | func XCTAssertGreaterThan<T : Comparable>(@autoclosure _ expression1: () throws -> T, @autoclosure _ expression2: () throws -> T, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertGreaterThan<T : Comparable>(_ expression1: @autoclosure () throws -> T, _ expression2: @autoclosure () throws -> T, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| Declaration | |
|---|---|
| From | func XCTAssertGreaterThanOrEqual<T : Comparable>(@autoclosure _ expression1: () throws -> T, @autoclosure _ expression2: () throws -> T, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertGreaterThanOrEqual<T : Comparable>(_ expression1: @autoclosure () throws -> T, _ expression2: @autoclosure () throws -> T, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| Declaration | |
|---|---|
| From | func XCTAssertLessThan<T : Comparable>(@autoclosure _ expression1: () throws -> T, @autoclosure _ expression2: () throws -> T, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertLessThan<T : Comparable>(_ expression1: @autoclosure () throws -> T, _ expression2: @autoclosure () throws -> T, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| Declaration | |
|---|---|
| From | func XCTAssertLessThanOrEqual<T : Comparable>(@autoclosure _ expression1: () throws -> T, @autoclosure _ expression2: () throws -> T, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertLessThanOrEqual<T : Comparable>(_ expression1: @autoclosure () throws -> T, _ expression2: @autoclosure () throws -> T, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| Declaration | |
|---|---|
| From | func XCTAssertNil(@autoclosure _ expression: () throws -> Any?, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertNil(_ expression: @autoclosure () throws -> Any?, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertNotEqual<T : Equatable>(_: () throws -> T?, _: () throws -> T?, _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertNotEqual<T : Equatable>(@autoclosure _ expression1: () throws -> T?, @autoclosure _ expression2: () throws -> T?, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertNotEqual<T : Equatable>(_ expression1: @autoclosure () throws -> T?, _ expression2: @autoclosure () throws -> T?, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertNotEqual<T, U : Equatable>(_: () throws -> [T : U], _: () throws -> [T : U], _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertNotEqual<T, U : Equatable>(@autoclosure _ expression1: () throws -> [T : U], @autoclosure _ expression2: () throws -> [T : U], @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertNotEqual<T, U : Equatable>(_ expression1: @autoclosure () throws -> [T : U], _ expression2: @autoclosure () throws -> [T : U], _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertNotEqual<T : Equatable>(_: () throws -> [T], _: () throws -> [T], _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertNotEqual<T : Equatable>(@autoclosure _ expression1: () throws -> [T], @autoclosure _ expression2: () throws -> [T], @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertNotEqual<T : Equatable>(_ expression1: @autoclosure () throws -> [T], _ expression2: @autoclosure () throws -> [T], _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertNotEqual<T : Equatable>(_: () throws -> ArraySlice<T>, _: () throws -> ArraySlice<T>, _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertNotEqual<T : Equatable>(@autoclosure _ expression1: () throws -> ArraySlice<T>, @autoclosure _ expression2: () throws -> ArraySlice<T>, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertNotEqual<T : Equatable>(_ expression1: @autoclosure () throws -> ArraySlice<T>, _ expression2: @autoclosure () throws -> ArraySlice<T>, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCTAssertNotEqual<T : Equatable>(_: () throws -> ContiguousArray<T>, _: () throws -> ContiguousArray<T>, _: () -> String, file: StaticString, line: UInt)
| Declaration | |
|---|---|
| From | func XCTAssertNotEqual<T : Equatable>(@autoclosure _ expression1: () throws -> ContiguousArray<T>, @autoclosure _ expression2: () throws -> ContiguousArray<T>, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertNotEqual<T : Equatable>(_ expression1: @autoclosure () throws -> ContiguousArray<T>, _ expression2: @autoclosure () throws -> ContiguousArray<T>, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| Declaration | |
|---|---|
| From | func XCTAssertNotNil(@autoclosure _ expression: () throws -> Any?, @autoclosure _ message: () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
| To | func XCTAssertNotNil(_ expression: @autoclosure () throws -> Any?, _ message: @autoclosure () -> String = default, file file: StaticString = #file, line line: UInt = #line) |
Modified XCWaitCompletionHandler
| Declaration | |
|---|---|
| From | typealias XCWaitCompletionHandler = (NSError?) -> Void |
| To | typealias XCWaitCompletionHandler = (Error?) -> Swift.Void |