---
title: challengeEventHandler
framework: gamekit
role: symbol
role_heading: Type Method
path: gamekit/gkchallengeeventhandler/challengeeventhandler
---

# challengeEventHandler

Returns the shared instance of the event handler

## Declaration

```occ
+ (GKChallengeEventHandler *) challengeEventHandler;
```

## Return Value

Return Value An event handler object.

## Discussion

Discussion Your game never directly creates a GKChallengeEventHandler object. Instead, retrieve the shared instance using this class method.
