Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 16c0b71

Browse files
committed
Merge pull request #29 from Abizern/access_modifier
Make the OperationConditionKey public
2 parents a382307 + 283f4ef commit 16c0b71

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

PSOperations/OperationCondition.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This file contains the fundamental logic relating to Operation conditions.
88

99
import Foundation
1010

11-
let OperationConditionKey = "OperationCondition"
11+
public let OperationConditionKey = "OperationCondition"
1212

1313
/**
1414
A protocol for defining conditions that must be satisfied in order for an

PSOperations/OperationErrors.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This file defines the error codes and convenience functions for interacting with
88

99
import Foundation
1010

11-
let OperationErrorDomain = "OperationErrors"
11+
public let OperationErrorDomain = "OperationErrors"
1212

1313
public enum OperationErrorCode: Int {
1414
case ConditionFailed = 1

PSOperations/ReachabilityCondition.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import SystemConfiguration
1717
Reachability is evaluated once when the operation to which this is attached is asked about its readiness.
1818
*/
1919
public struct ReachabilityCondition: OperationCondition {
20-
static let hostKey = "Host"
20+
public static let hostKey = "Host"
2121
public static let name = "Reachability"
2222
public static let isMutuallyExclusive = false
2323

0 commit comments

Comments
 (0)