Contents

entitlement(_:matches:)

Create a requirement that the peer has the specified entitlement with the matching integer value

Declaration

static func entitlement(_ entitlement: String, matches value: Int) -> XPCPeerRequirement

Return Value

A XPCPeerRequirement object representing the requirement

Discussion

  • entitlement: The entitlement to check.

  • value: The int value to match