---
title: shared()
framework: gamekit
role: symbol
role_heading: Type Method
path: gamekit/gkturnbasedeventhandler/shared()
---

# shared()

Returns the shared instance of the event handler.

## Declaration

```swift
class func shared() -> GKTurnBasedEventHandler
```

## Return Value

Return Value An event handler object.

## Discussion

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