iOS Guides | Samples

MonoTouch.UIKit.IUITextInputTokenizer

Interface representing the required methods (if any) of the protocol UITextInputTokenizer.

See Also: IUITextInputTokenizer

Syntax

[MonoTouch.Foundation.Protocol(Name="UITextInputTokenizer", WrapperType=typeof(MonoTouch.UIKit.UITextInputTokenizerWrapper))]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetRangeEnclosingPosition", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.UIKit.UITextRange), Selector="rangeEnclosingPosition:withGranularity:inDirection:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirection", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(System.Boolean), Selector="isPosition:atBoundary:inDirection:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPosition", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.UIKit.UITextPosition), Selector="positionFromPosition:toBoundary:inDirection:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirectionWithinTextUnit", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(System.Boolean), Selector="isPosition:withinTextUnit:inDirection:")]
public interface IUITextInputTokenizer : INativeObject, IDisposable

Remarks

This interface contains the required methods (if any) from the protocol defined by UITextInputTokenizer.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UITextInputTokenizer protocol.

Optional methods (if any) are provided by the UITextInputTokenizer_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.IUITextInputTokenizer are listed below.

Public Methods

GetPosition(UITextPosition, UITextGranularity, UITextDirection) : UITextPosition
Returns the next toBoundary type of boundary in the inDirection direction from fromPosition.
GetRangeEnclosingPosition(UITextPosition, UITextGranularity, UITextDirection) : UITextRange
The range for the text enclosing a text position in a text unit of the specified granularity in the specified direction.
ProbeDirection(UITextPosition, UITextGranularity, UITextDirection) : Boolean
Returns whether the probePosition position is at a toBoundary type of boundary taken from the inDirection direction.
ProbeDirectionWithinTextUnit(UITextPosition, UITextGranularity, UITextDirection) : Boolean
Returns whether the probePosition position is within a withinTextUnit type of text unit taken from the inDirection direction.