Skip to content

Commit adee382

Browse files
author
Florian Rieger
committed
Made InteractorStatusGateway and InteractorStatusInMemoryGateway deprecated.
1 parent c0c09d6 commit adee382

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Sources/ACInteractor/InteractorExecutor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
@available(*, deprecated)
3+
@available(*, deprecated, renamed: "InteractorExecutor")
44
typealias InteractorExecuter = InteractorExecutor
55

66
open class InteractorExecutor {

Sources/ACInteractor/InteractorStatusGateway.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Foundation
22

3+
@available(*, deprecated, message: "InteractorStatusGateway will be removed in upcoming releases.")
34
public protocol InteractorStatusGateway {
45
func isRunning() -> Bool
56
func setRunning(_ running: Bool)

Sources/ACInteractor/InteractorStatusInMemoryGateway.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Foundation
22

3+
@available(*, deprecated, message: "InteractorStatusInMemoryGateway will be removed in upcoming releases.")
34
public class InteractorStatusInMemoryGateway: InteractorStatusGateway {
45

56
private var running = false

Tests/ACInteractorTests/InteractorStatusInMemoryGatewayTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import XCTest
22
@testable import ACInteractor
33

4+
@available(*, deprecated, message: "InteractorStatusInMemoryGateway will be removed in upcoming releases.")
45
class InteractorStatusInMemoryGatewayTests: XCTestCase {
56

67
let gateway = InteractorStatusInMemoryGateway()

0 commit comments

Comments
 (0)