Contents

hasEntitlement(_:)

Create a requirement that the peer has the specified entitlement

Declaration

static func hasEntitlement(_ entitlement: String) -> XPCPeerRequirement

Return Value

A XPCPeerRequirement object representing the requirement

Discussion

  • entitlement: The entitlement to check.