net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSTextInput", WrapperType = typeof(NSTextInputWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "UnmarkText", Selector = "unmarkText")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "InsertText", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSObject) }, Selector = "insertText:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetMarkedText", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSObject), typeof(NSRange) }, Selector = "setMarkedText:selectedRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetAttributedSubstring", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, ReturnType = typeof(NSAttributedString), Selector = "attributedSubstringFromRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetFirstRectForCharacterRange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSRange) }, ReturnType = typeof(CGRect), Selector = "firstRectForCharacterRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetCharacterIndex", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(CGPoint) }, ReturnType = typeof(UIntPtr), Selector = "characterIndexForPoint:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "hasMarkedText", IsProperty = true, IsRequired = true, IsStatic = false, Name = "HasMarkedText", PropertyType = typeof(bool), Selector = "hasMarkedText")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "conversationIdentifier", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ConversationIdentifier", PropertyType = typeof(IntPtr), Selector = "conversationIdentifier")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "markedRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "MarkedRange", PropertyType = typeof(NSRange), Selector = "markedRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "selectedRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "SelectedRange", PropertyType = typeof(NSRange), Selector = "selectedRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "validAttributesForMarkedText", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ValidAttributesForMarkedText", PropertyType = typeof(NSString[]), Selector = "validAttributesForMarkedText")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSTextInput : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Mac Catalyst
  • macOS
  • Built-in API
  • Package-provided API

11/04/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙