Share via


NSTextInputTraits_Extensions Class

Definition

Extension methods to the INSTextInputTraits interface to support all the methods from the NSTextInputTraits protocol.

public static class NSTextInputTraits_Extensions
type NSTextInputTraits_Extensions = class
Inheritance
NSTextInputTraits_Extensions

Remarks

The extension methods for INSTextInputTraits interface allow developers to treat instances of the interface as having all the optional methods of the original NSTextInputTraits protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Name Description
GetAllowedWritingToolsResultOptions(INSTextInputTraits)
GetAutocorrectionType(INSTextInputTraits)
GetDataDetectionType(INSTextInputTraits)
GetGrammarCheckingType(INSTextInputTraits)
GetInlinePredictionType(INSTextInputTraits)
GetLinkDetectionType(INSTextInputTraits)
GetMathExpressionCompletionType(INSTextInputTraits)
GetSmartDashesType(INSTextInputTraits)
GetSmartInsertDeleteType(INSTextInputTraits)
GetSmartQuotesType(INSTextInputTraits)
GetSpellCheckingType(INSTextInputTraits)
GetTextCompletionType(INSTextInputTraits)
GetTextReplacementType(INSTextInputTraits)
GetWritingToolsBehavior(INSTextInputTraits)
SetAllowedWritingToolsResultOptions(INSTextInputTraits, NSWritingToolsResultOptions)
SetAutocorrectionType(INSTextInputTraits, NSTextInputTraitType)
SetDataDetectionType(INSTextInputTraits, NSTextInputTraitType)
SetGrammarCheckingType(INSTextInputTraits, NSTextInputTraitType)
SetInlinePredictionType(INSTextInputTraits, NSTextInputTraitType)
SetLinkDetectionType(INSTextInputTraits, NSTextInputTraitType)
SetMathExpressionCompletionType(INSTextInputTraits, NSTextInputTraitType)
SetSmartDashesType(INSTextInputTraits, NSTextInputTraitType)
SetSmartInsertDeleteType(INSTextInputTraits, NSTextInputTraitType)
SetSmartQuotesType(INSTextInputTraits, NSTextInputTraitType)
SetSpellCheckingType(INSTextInputTraits, NSTextInputTraitType)
SetTextCompletionType(INSTextInputTraits, NSTextInputTraitType)
SetTextReplacementType(INSTextInputTraits, NSTextInputTraitType)
SetWritingToolsBehavior(INSTextInputTraits, NSWritingToolsBehavior)

Applies to