[][src]Trait uikit_sys::PUITextInput

pub trait PUITextInput: Sized + Deref {
    unsafe fn textInRange_(self, range: UITextRange) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn replaceRange_withText_(self, range: UITextRange, text: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setMarkedText_selectedRange_(
        self,
        markedText: NSString,
        selectedRange: NSRange
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unmarkText(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn textRangeFromPosition_toPosition_(
        self,
        fromPosition: UITextPosition,
        toPosition: UITextPosition
    ) -> UITextRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn positionFromPosition_offset_(
        self,
        position: UITextPosition,
        offset: NSInteger
    ) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn positionFromPosition_inDirection_offset_(
        self,
        position: UITextPosition,
        direction: UITextLayoutDirection,
        offset: NSInteger
    ) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn comparePosition_toPosition_(
        self,
        position: UITextPosition,
        other: UITextPosition
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn offsetFromPosition_toPosition_(
        self,
        from: UITextPosition,
        toPosition: UITextPosition
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn positionWithinRange_farthestInDirection_(
        self,
        range: UITextRange,
        direction: UITextLayoutDirection
    ) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn characterRangeByExtendingPosition_inDirection_(
        self,
        position: UITextPosition,
        direction: UITextLayoutDirection
    ) -> UITextRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn baseWritingDirectionForPosition_inDirection_(
        self,
        position: UITextPosition,
        direction: UITextStorageDirection
    ) -> NSWritingDirection
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBaseWritingDirection_forRange_(
        self,
        writingDirection: NSWritingDirection,
        range: UITextRange
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn firstRectForRange_(self, range: UITextRange) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn caretRectForPosition_(self, position: UITextPosition) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn selectionRectsForRange_(self, range: UITextRange) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn closestPositionToPoint_(self, point: CGPoint) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn closestPositionToPoint_withinRange_(
        self,
        point: CGPoint,
        range: UITextRange
    ) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn characterRangeAtPoint_(self, point: CGPoint) -> UITextRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shouldChangeTextInRange_replacementText_(
        self,
        range: UITextRange,
        text: NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn textStylingAtPosition_inDirection_(
        self,
        position: UITextPosition,
        direction: UITextStorageDirection
    ) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn positionWithinRange_atCharacterOffset_(
        self,
        range: UITextRange,
        offset: NSInteger
    ) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn characterOffsetOfPosition_withinRange_(
        self,
        position: UITextPosition,
        range: UITextRange
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn insertDictationResult_(self, dictationResult: NSArray)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dictationRecordingDidEnd(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dictationRecognitionFailed(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn frameForDictationResultPlaceholder_(
        self,
        placeholder: id
    ) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeDictationResultPlaceholder_willInsertResult_(
        self,
        placeholder: id,
        willInsertResult: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn insertText_alternatives_style_(
        self,
        text: NSString,
        alternatives: NSArray,
        style: UITextAlternativeStyle
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAttributedMarkedText_selectedRange_(
        self,
        markedText: NSAttributedString,
        selectedRange: NSRange
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn insertTextPlaceholderWithSize_(
        self,
        size: CGSize
    ) -> UITextPlaceholder
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeTextPlaceholder_(self, textPlaceholder: UITextPlaceholder)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn beginFloatingCursorAtPoint_(self, point: CGPoint)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn updateFloatingCursorAtPoint_(self, point: CGPoint)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn endFloatingCursor(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn selectedTextRange(self) -> UITextRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSelectedTextRange_(self, selectedTextRange: UITextRange)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn markedTextRange(self) -> UITextRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn markedTextStyle(self) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setMarkedTextStyle_(self, markedTextStyle: NSDictionary)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn beginningOfDocument(self) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn endOfDocument(self) -> UITextPosition
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn inputDelegate(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setInputDelegate_(self, inputDelegate: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tokenizer(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn textInputView(self) -> UIView
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn selectionAffinity(self) -> UITextStorageDirection
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSelectionAffinity_(
        self,
        selectionAffinity: UITextStorageDirection
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn insertDictationResultPlaceholder(self) -> id
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn textInRange_(self, range: UITextRange) -> NSString where
    Self::Target: Message + Sized

unsafe fn replaceRange_withText_(self, range: UITextRange, text: NSString) where
    Self::Target: Message + Sized

unsafe fn setMarkedText_selectedRange_(
    self,
    markedText: NSString,
    selectedRange: NSRange
) where
    Self::Target: Message + Sized

unsafe fn unmarkText(self) where
    Self::Target: Message + Sized

unsafe fn textRangeFromPosition_toPosition_(
    self,
    fromPosition: UITextPosition,
    toPosition: UITextPosition
) -> UITextRange where
    Self::Target: Message + Sized

unsafe fn positionFromPosition_offset_(
    self,
    position: UITextPosition,
    offset: NSInteger
) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn positionFromPosition_inDirection_offset_(
    self,
    position: UITextPosition,
    direction: UITextLayoutDirection,
    offset: NSInteger
) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn comparePosition_toPosition_(
    self,
    position: UITextPosition,
    other: UITextPosition
) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn offsetFromPosition_toPosition_(
    self,
    from: UITextPosition,
    toPosition: UITextPosition
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn positionWithinRange_farthestInDirection_(
    self,
    range: UITextRange,
    direction: UITextLayoutDirection
) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn characterRangeByExtendingPosition_inDirection_(
    self,
    position: UITextPosition,
    direction: UITextLayoutDirection
) -> UITextRange where
    Self::Target: Message + Sized

unsafe fn baseWritingDirectionForPosition_inDirection_(
    self,
    position: UITextPosition,
    direction: UITextStorageDirection
) -> NSWritingDirection where
    Self::Target: Message + Sized

unsafe fn setBaseWritingDirection_forRange_(
    self,
    writingDirection: NSWritingDirection,
    range: UITextRange
) where
    Self::Target: Message + Sized

unsafe fn firstRectForRange_(self, range: UITextRange) -> CGRect where
    Self::Target: Message + Sized

unsafe fn caretRectForPosition_(self, position: UITextPosition) -> CGRect where
    Self::Target: Message + Sized

unsafe fn selectionRectsForRange_(self, range: UITextRange) -> NSArray where
    Self::Target: Message + Sized

unsafe fn closestPositionToPoint_(self, point: CGPoint) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn closestPositionToPoint_withinRange_(
    self,
    point: CGPoint,
    range: UITextRange
) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn characterRangeAtPoint_(self, point: CGPoint) -> UITextRange where
    Self::Target: Message + Sized

unsafe fn shouldChangeTextInRange_replacementText_(
    self,
    range: UITextRange,
    text: NSString
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn textStylingAtPosition_inDirection_(
    self,
    position: UITextPosition,
    direction: UITextStorageDirection
) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn positionWithinRange_atCharacterOffset_(
    self,
    range: UITextRange,
    offset: NSInteger
) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn characterOffsetOfPosition_withinRange_(
    self,
    position: UITextPosition,
    range: UITextRange
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn insertDictationResult_(self, dictationResult: NSArray) where
    Self::Target: Message + Sized

unsafe fn dictationRecordingDidEnd(self) where
    Self::Target: Message + Sized

unsafe fn dictationRecognitionFailed(self) where
    Self::Target: Message + Sized

unsafe fn frameForDictationResultPlaceholder_(self, placeholder: id) -> CGRect where
    Self::Target: Message + Sized

unsafe fn removeDictationResultPlaceholder_willInsertResult_(
    self,
    placeholder: id,
    willInsertResult: BOOL
) where
    Self::Target: Message + Sized

unsafe fn insertText_alternatives_style_(
    self,
    text: NSString,
    alternatives: NSArray,
    style: UITextAlternativeStyle
) where
    Self::Target: Message + Sized

unsafe fn setAttributedMarkedText_selectedRange_(
    self,
    markedText: NSAttributedString,
    selectedRange: NSRange
) where
    Self::Target: Message + Sized

unsafe fn insertTextPlaceholderWithSize_(
    self,
    size: CGSize
) -> UITextPlaceholder where
    Self::Target: Message + Sized

unsafe fn removeTextPlaceholder_(self, textPlaceholder: UITextPlaceholder) where
    Self::Target: Message + Sized

unsafe fn beginFloatingCursorAtPoint_(self, point: CGPoint) where
    Self::Target: Message + Sized

unsafe fn updateFloatingCursorAtPoint_(self, point: CGPoint) where
    Self::Target: Message + Sized

unsafe fn endFloatingCursor(self) where
    Self::Target: Message + Sized

unsafe fn selectedTextRange(self) -> UITextRange where
    Self::Target: Message + Sized

unsafe fn setSelectedTextRange_(self, selectedTextRange: UITextRange) where
    Self::Target: Message + Sized

unsafe fn markedTextRange(self) -> UITextRange where
    Self::Target: Message + Sized

unsafe fn markedTextStyle(self) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn setMarkedTextStyle_(self, markedTextStyle: NSDictionary) where
    Self::Target: Message + Sized

unsafe fn beginningOfDocument(self) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn endOfDocument(self) -> UITextPosition where
    Self::Target: Message + Sized

unsafe fn inputDelegate(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setInputDelegate_(self, inputDelegate: *mut u64) where
    Self::Target: Message + Sized

unsafe fn tokenizer(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn textInputView(self) -> UIView where
    Self::Target: Message + Sized

unsafe fn selectionAffinity(self) -> UITextStorageDirection where
    Self::Target: Message + Sized

unsafe fn setSelectionAffinity_(self, selectionAffinity: UITextStorageDirection) where
    Self::Target: Message + Sized

unsafe fn insertDictationResultPlaceholder(self) -> id where
    Self::Target: Message + Sized

Loading content...

Implementors

impl PUITextInput for UITextField[src]

impl PUITextInput for UITextView[src]

Loading content...