We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0126a3 commit a8cd65cCopy full SHA for a8cd65c
Sources/Foundation/RunLoop.swift
@@ -233,6 +233,11 @@ extension RunLoop {
233
public func _add(_ source: _Source, forMode mode: RunLoop.Mode) {
234
CFRunLoopAddSource(_cfRunLoop, source.cfSource, mode._cfStringUniquingKnown)
235
}
236
+
237
+ @available(*, deprecated, message: "For XCTest use only.")
238
+ open func remove(_ source: _Source, for mode: RunLoop.Mode) {
239
+ CFRunLoopRemoveSource(_cfRunLoop, source.cfSource, mode._cfStringUniquingKnown)
240
+ }
241
242
243
extension RunLoop {
0 commit comments