Contents

entitlement(_:matches:)

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

Declaration

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

Return Value

A XPCPeerRequirement object representing the requirement

Discussion

  • entitlement: The entitlement to check.

  • value: The string value to match