init(term:)
Initializes a newly created reference-library view controller to display the definition of the given term.
Declaration
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:) class method to determine whether a definition is available before creating instances of this class.