From 7ea1311a0031f5409b67979a7d8de5850a59f62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Rupe=CC=81rez?= Date: Wed, 9 May 2018 18:30:02 +0200 Subject: [PATCH] Renamed [Operation].execute(in:) to [Operation].execute(by:) --- Source/Dispatcher.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Dispatcher.swift b/Source/Dispatcher.swift index c2bdbda..d9d68be 100755 --- a/Source/Dispatcher.swift +++ b/Source/Dispatcher.swift @@ -97,12 +97,12 @@ open class Dispatcher { public extension Array where Element: Operation { /// Execute [Operation] instance collection in OperationQueue - public func execute(in operationQueue: OperationQueue, waitUntilFinished: Bool = false) { + public func execute(by operationQueue: OperationQueue, waitUntilFinished: Bool = false) { operationQueue.addOperations(self, waitUntilFinished: waitUntilFinished) } /// Execute [Operation] instance collection in Dispatcher - public func execute(in dispatcher: Dispatcher, waitUntilFinished: Bool = false) { + public func execute(by dispatcher: Dispatcher, waitUntilFinished: Bool = false) { dispatcher.execute(self, waitUntilFinished: waitUntilFinished) } }