diff --git a/Sources/Action.swift b/Sources/Action.swift index 70d6c1220..753a8d4d3 100644 --- a/Sources/Action.swift +++ b/Sources/Action.swift @@ -207,6 +207,7 @@ private struct ActionState { } /// A protocol used to constraint `Action` initializers. +@available(swift, deprecated: 3.1, message: "This protocol is no longer necessary and will be removed in a future version of ReactiveSwift. Use Action directly instead.") public protocol ActionProtocol: BindingTargetProtocol { /// The type of argument to apply the action to. associatedtype Input diff --git a/Sources/Atomic.swift b/Sources/Atomic.swift index a2578264a..85d640f14 100644 --- a/Sources/Atomic.swift +++ b/Sources/Atomic.swift @@ -33,7 +33,7 @@ internal protocol AtomicStateProtocol { internal struct UnsafeAtomicState: AtomicStateProtocol where State.RawValue == Int32 { internal typealias Transition = (expected: State, next: State) #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - private let value: UnsafeMutablePointer + internal let value: UnsafeMutablePointer /// Create a finite state machine with the specified initial state. ///