<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIReferenceLibraryViewController/init(term:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIReferenceLibraryViewController(im)initWithTerm:"
  },
  "title" : "init(term:)"
}
-->

# init(term:)

Initializes a newly created reference-library view controller to display the definition of the given term.

```
init(term: String)
```

## Parameters

`term`

The term to define.

## Return Value

The newly initialized reference library view controller.

## Discussion

If a definition for the term is not available, a localized message is displayed instead. Use the [`dictionaryHasDefinition(forTerm:)`](/documentation/UIKit/UIReferenceLibraryViewController/dictionaryHasDefinition(forTerm:)) class method to determine whether a definition is available before creating instances of this class.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)