---
title: bundle()
framework: InputMethodKit
role: symbol
role_heading: Instance Method
platforms: [macOS 10.5+]
path: inputmethodkit/imkserver/bundle()
---

# bundle()

Returns an NSBundle object for the input method.

## Declaration

```swift
func bundle() -> Bundle!
```

## Return Value

Return Value An NSBundle object that is either created from the bundle identifier contained in the server object, or from the main bundle.
