---
title: GKChallengeComposeCompletionBlock
framework: gamekit
role: symbol
role_heading: Type Alias
path: gamekit/gkchallengecomposecompletionblock
---

# GKChallengeComposeCompletionBlock

A completion block that provides information about the player who issues a challenge and the players who receive it.

## Declaration

```swift
typealias GKChallengeComposeCompletionBlock = (UIViewController, Bool, [String]?) -> Void
```

```swift
typealias GKChallengeComposeCompletionBlock = (NSViewController, Bool, [String]?) -> Void
```

## Parameters

- `composeController`: View controller for the challenge.
- `didIssueChallenge`: A Boolean value that indicates whether the player issues the challenge.
- `sentPlayerIDs`: The identifiers for the players that receive the challenge.

## See Also

### Deprecated symbols

- [issuingPlayerID](gamekit/gkchallenge/issuingplayerid.md)
- [receivingPlayerID](gamekit/gkchallenge/receivingplayerid.md)
