---
title: "init(name:bundleIdentifier:)"
framework: InputMethodKit
role: symbol
role_heading: Initializer
platforms: [macOS 10.5+]
path: "inputmethodkit/imkserver/init(name:bundleidentifier:)"
---

# init(name:bundleIdentifier:)

Creates and returns a server object from property list information contained in the provided bundle.

## Declaration

```swift
init!(name: String!, bundleIdentifier: String!)
```

## Parameters

- `name`: The name to initialize the server object with.
- `bundleIdentifier`: The bundle identifier.

## Return Value

Return Value An initialized server object.

## Discussion

Discussion This method examines the Info.plist file  for the entries shown in the table below. The class names are loaded, but no classes are instantiated. Additionally, an NSConnection object is allocated and registered using the input method connection name supplied in the Info.plist file.  |   |   |   |   |   |

## See Also

### Initializing a Server Object

- [init(name:controllerClass:delegateClass:)](inputmethodkit/imkserver/init(name:controllerclass:delegateclass:).md)
