Package apple.uikit
Class UITextView
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIView
-
- apple.uikit.UIScrollView
-
- apple.uikit.UITextView
-
- All Implemented Interfaces:
NSCoding,NSObject,CALayerDelegate,UIAccessibilityIdentification,UIAppearance,UIAppearanceContainer,UIContentSizeCategoryAdjusting,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIFocusItemScrollableContainer,UIKeyInput,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UITextDraggable,UITextDroppable,UITextInput,UITextInputTraits,UITextPasteConfigurationSupporting,UITraitEnvironment,UIUserActivityRestoring
public class UITextView extends UIScrollView implements UITextInput, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIView
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUITextView(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.java.lang.Object_appearanceForTraitCollection(UITraitCollection trait)java.lang.Object_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.java.lang.Object_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)java.lang.Object_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.java.lang.Object_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)booleanadjustsFontForContentSizeCategory()Indicates whether the corresponding element should automatically update its font when the device’s UIContentSizeCategory is changed.static UITextViewalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)booleanallowsEditingTextAttributes()defaults to NOstatic voidanimateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)static voidanimateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)static voidanimateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)static java.lang.Objectappearance()static java.lang.ObjectappearanceForTraitCollection(UITraitCollection trait)static java.lang.ObjectappearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static java.lang.ObjectappearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)static java.lang.ObjectappearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static java.lang.ObjectappearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)static booleanareAnimationsEnabled()NSAttributedStringattributedText()longautocapitalizationType()default is UITextAutocapitalizationTypeSentenceslongautocorrectionType()default is UITextAutocorrectionTypeDefaultstatic booleanautomaticallyNotifiesObserversForKey(java.lang.String key)longbaseWritingDirectionForPositionInDirection(UITextPosition position, long direction)Writing directionstatic voidbeginAnimationsContext(java.lang.String animationID, org.moe.natj.general.ptr.VoidPtr context)voidbeginFloatingCursorAtPoint(CGPoint point)The following three optional methods are for clients that wish to display a floating cursor to guide user manipulation of the selected text range via the system-provided keyboard.UITextPositionbeginningOfDocument()The end and beginning of the the text document.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)booleancanPasteItemProviders(NSArray<? extends NSItemProvider> itemProviders)CGRectcaretRectForPosition(UITextPosition position)longcharacterOffsetOfPositionWithinRange(UITextPosition position, UITextRange range)UITextRangecharacterRangeAtPoint(CGPoint point)UITextRangecharacterRangeByExtendingPositionInDirection(UITextPosition position, long direction)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()booleanclearsOnInsertion()defaults to NO. if YES, the selection UI is hidden, and inserting text will replace the contents of the field. changing the selection will automatically set this to NO.static voidclearTextInputContextIdentifier(java.lang.String identifier)UITextPositionclosestPositionToPoint(CGPoint point)Hit testing.UITextPositionclosestPositionToPointWithinRange(CGPoint point, UITextRange range)static voidcommitAnimations()longcomparePositionToPosition(UITextPosition position, UITextPosition other)Simple evaluation of positionslongdataDetectorTypes()static java.lang.StringdebugDescription_static()java.lang.Objectdelegate()default nil. weak referencevoiddeleteBackward()static java.lang.Stringdescription_static()voiddictationRecognitionFailed()voiddictationRecordingDidEnd()These are optional methods for clients that wish to know when there are pending dictation results.booleanenablesReturnKeyAutomatically()default is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)voidendFloatingCursor()UITextPositionendOfDocument()CGRectfirstRectForRange(UITextRange range)Geometry used to provide, for example, a correction rect.UIFontfont()CGRectframeForDictationResultPlaceholder(java.lang.Object placeholder)static longhash_static()booleanhasText()static doubleinheritedAnimationDuration()UITextViewinit()UITextViewinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERUITextViewinitWithFrame(CGRect frame)UITextViewinitWithFrameTextContainer(CGRect frame, NSTextContainer textContainer)Create a new text view with the specified text container (can be nil) - this is the new designated initializer for this classUIViewinputAccessoryView()UITextInputDelegateinputDelegate()A system-provied input delegate is assigned when the system is interested in input changes.UIViewinputView()Presented when object becomes first responder.voidinsertDictationResult(NSArray<? extends UIDictationPhrase> dictationResult)This is an optional method for clients that wish to support dictation phrase alternatives.java.lang.ObjectinsertDictationResultPlaceholder()The following three optional methods are for clients that wish to support a placeholder for pending dictation results.voidinsertText(java.lang.String text)voidinsertTextAlternativesStyle(java.lang.String text, NSArray<java.lang.String> alternatives, long style)This is an optional method for clients that wish to support text phrase alternatives.UITextPlaceholderinsertTextPlaceholderWithSize(CGSize size)Insert a placeholder If `size.height` is <= 0, then the placeholder is inline and line height.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisEditable()booleanisSecureTextEntry()default is NObooleanisSelectable()toggle selectability, which controls the ability of the user to select content and interact with URLs & attachments.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanisTextDragActive()Returns whether this control currently has at least one active drag session.booleanisTextDropActive()Returns whether this control currently has at least one active drag session.longkeyboardAppearance()default is UIKeyboardAppearanceDefaultlongkeyboardType()default is UIKeyboardTypeDefaultstatic NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static org.moe.natj.objc.ClasslayerClass()NSLayoutManagerlayoutManager()Convenience accessors (access through the text container)NSDictionary<java.lang.String,?>linkTextAttributes()Style for linksUITextRangemarkedTextRange()Nil if no marked text.NSDictionary<java.lang.String,?>markedTextStyle()Describes how the marked text should be drawn.static voidmodifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)static java.lang.Objectnew_objc()longoffsetFromPositionToPosition(UITextPosition from, UITextPosition toPosition)UITextInputPasswordRulespasswordRules()default is nilUIPasteConfigurationpasteConfiguration()UITextPasteDelegatepasteDelegate()voidpasteItemProviders(NSArray<? extends NSItemProvider> itemProviders)static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)UITextPositionpositionFromPositionInDirectionOffset(UITextPosition position, long direction, long offset)UITextPositionpositionFromPositionOffset(UITextPosition position, long offset)UITextPositionpositionWithinRangeAtCharacterOffset(UITextRange range, long offset)To be implemented if there is not a one-to-one correspondence between text positions within range and character offsets into the associated string.UITextPositionpositionWithinRangeFarthestInDirection(UITextRange range, long direction)Layout questions.voidremoveDictationResultPlaceholderWillInsertResult(java.lang.Object placeholder, boolean willInsertResult)willInsertResult will be NO if the recognition failed.voidremoveTextPlaceholder(UITextPlaceholder textPlaceholder)Remove the placeholder.voidreplaceRangeWithText(UITextRange range, java.lang.String text)static booleanrequiresConstraintBasedLayout()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)longreturnKeyType()default is UIReturnKeyDefault (See note under UIReturnKeyType enum)voidscrollRangeToVisible(NSRange range)NSRangeselectedRange()UITextRangeselectedTextRange()Text may have a selection, either zero-length (a caret) or ranged.longselectionAffinity()Selection affinity determines whether, for example, the insertion point appears after the last character on a line or before the first character on the following line in cases where text wraps across line boundaries.NSArray<? extends UITextSelectionRect>selectionRectsForRange(UITextRange range)Returns an array of UITextSelectionRectsvoidsetAdjustsFontForContentSizeCategory(boolean value)Indicates whether the corresponding element should automatically update its font when the device’s UIContentSizeCategory is changed.voidsetAllowsEditingTextAttributes(boolean value)defaults to NOstatic voidsetAnimationBeginsFromCurrentState(boolean fromCurrentState)static voidsetAnimationCurve(long curve)static voidsetAnimationDelay(double delay)static voidsetAnimationDelegate(java.lang.Object delegate)static voidsetAnimationDidStopSelector(org.moe.natj.objc.SEL selector)static voidsetAnimationDuration_static(double duration)static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)static voidsetAnimationRepeatCount_static(float repeatCount)static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(NSDate startDate)static voidsetAnimationTransitionForViewCache(long transition, UIView view, boolean cache)static voidsetAnimationWillStartSelector(org.moe.natj.objc.SEL selector)voidsetAttributedMarkedTextSelectedRange(NSAttributedString markedText, NSRange selectedRange)set attributedString as markedText, selectedRange is a range within the markedTextvoidsetAttributedText(NSAttributedString value)voidsetAutocapitalizationType(long value)default is UITextAutocapitalizationTypeSentencesvoidsetAutocorrectionType(long value)default is UITextAutocorrectionTypeDefaultvoidsetBaseWritingDirectionForRange(long writingDirection, UITextRange range)voidsetClearsOnInsertion(boolean value)defaults to NO. if YES, the selection UI is hidden, and inserting text will replace the contents of the field. changing the selection will automatically set this to NO.voidsetDataDetectorTypes(long value)voidsetDelegate(java.lang.Object value)default nil. weak referencevoidsetDelegate_unsafe(java.lang.Object value)default nil. weak referencevoidsetEditable(boolean value)voidsetEnablesReturnKeyAutomatically(boolean value)default is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)voidsetFont(UIFont value)voidsetInputAccessoryView(UIView value)voidsetInputDelegate(UITextInputDelegate value)A system-provied input delegate is assigned when the system is interested in input changes.voidsetInputDelegate_unsafe(UITextInputDelegate value)voidsetInputView(UIView value)Presented when object becomes first responder.voidsetKeyboardAppearance(long value)default is UIKeyboardAppearanceDefaultvoidsetKeyboardType(long value)default is UIKeyboardTypeDefaultvoidsetLinkTextAttributes(NSDictionary<java.lang.String,?> value)Style for linksvoidsetMarkedTextSelectedRange(java.lang.String markedText, NSRange selectedRange)selectedRange is a range within the markedTextvoidsetMarkedTextStyle(NSDictionary<java.lang.String,?> value)Describes how the marked text should be drawn.voidsetPasswordRules(UITextInputPasswordRules value)default is nilvoidsetPasteConfiguration(UIPasteConfiguration value)voidsetPasteDelegate(UITextPasteDelegate value)voidsetPasteDelegate_unsafe(UITextPasteDelegate value)voidsetReturnKeyType(long value)default is UIReturnKeyDefault (See note under UIReturnKeyType enum)voidsetSecureTextEntry(boolean value)default is NOvoidsetSelectable(boolean value)toggle selectability, which controls the ability of the user to select content and interact with URLs & attachments.voidsetSelectedRange(NSRange value)voidsetSelectedTextRange(UITextRange value)Text may have a selection, either zero-length (a caret) or ranged.voidsetSelectionAffinity(long value)Selection affinity determines whether, for example, the insertion point appears after the last character on a line or before the first character on the following line in cases where text wraps across line boundaries.voidsetSmartDashesType(long value)default is UITextSmartDashesTypeDefault;voidsetSmartInsertDeleteType(long value)default is UITextSmartInsertDeleteTypeDefault;voidsetSmartQuotesType(long value)default is UITextSmartQuotesTypeDefault;voidsetSpellCheckingType(long value)default is UITextSpellCheckingTypeDefault;voidsetText(java.lang.String value)voidsetTextAlignment(long value)default is NSLeftTextAlignmentvoidsetTextColor(UIColor value)voidsetTextContainerInset(UIEdgeInsets value)Inset the text container's layout area within the text view's content areavoidsetTextContentType(java.lang.String value)default is nilvoidsetTextDragDelegate(UITextDragDelegate value)voidsetTextDragDelegate_unsafe(UITextDragDelegate value)voidsetTextDragOptions(long value)voidsetTextDropDelegate(UITextDropDelegate value)voidsetTextDropDelegate_unsafe(UITextDropDelegate value)voidsetTypingAttributes(NSDictionary<java.lang.String,?> value)automatically resets when the selection changesvoidsetUsesStandardTextScaling(boolean value)When turned on, this changes the rendering scale of the text to match the standard text scaling and preserves the original font point sizes when the contents of the text view are copied to the pasteboard.static voidsetVersion_static(long aVersion)booleanshouldChangeTextInRangeReplacementText(UITextRange range, java.lang.String text)return NO to not change textlongsmartDashesType()default is UITextSmartDashesTypeDefault;longsmartInsertDeleteType()default is UITextSmartInsertDeleteTypeDefault;longsmartQuotesType()default is UITextSmartQuotesTypeDefault;longspellCheckingType()default is UITextSpellCheckingTypeDefault;static org.moe.natj.objc.Classsuperclass_static()java.lang.Stringtext()longtextAlignment()default is NSLeftTextAlignmentUIColortextColor()NSTextContainertextContainer()Get the text container for the text viewUIEdgeInsetstextContainerInset()Inset the text container's layout area within the text view's content areajava.lang.StringtextContentType()default is nilUITextDragDelegatetextDragDelegate()UIDragInteractiontextDragInteraction()The text drag interaction that UIKit installs on the text control.longtextDragOptions()UITextDropDelegatetextDropDelegate()UIDropInteractiontextDropInteraction()The text drop interaction that UIKit installs on the text control.UIViewtextInputView()An affiliated view that provides a coordinate system for all geometric values in this protocol.java.lang.StringtextInRange(UITextRange range)Methods for manipulating text.UITextRangetextRangeFromPositionToPosition(UITextPosition fromPosition, UITextPosition toPosition)Methods for creating ranges and positions.NSTextStoragetextStorage()NSDictionary<java.lang.String,?>textStylingAtPositionInDirection(UITextPosition position, long direction)Text styling information can affect, for example, the appearance of a correction rect.UITextInputTokenizertokenizer()A tokenizer must be provided to inform the text input system about text units of varying granularity.static voidtransitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)NSDictionary<java.lang.String,?>typingAttributes()automatically resets when the selection changesvoidunmarkText()voidupdateFloatingCursorAtPoint(CGPoint point)static longuserInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)static longuserInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)booleanusesStandardTextScaling()When turned on, this changes the rendering scale of the text to match the standard text scaling and preserves the original font point sizes when the contents of the text view are copied to the pasteboard.static longversion_static()-
Methods inherited from class apple.uikit.UIScrollView
adjustedContentInset, adjustedContentInsetDidChange, alwaysBounceHorizontal, alwaysBounceVertical, automaticallyAdjustsScrollIndicatorInsets, bounces, bouncesZoom, canCancelContentTouches, contentInset, contentInsetAdjustmentBehavior, contentLayoutGuide, contentOffset, contentSize, coordinateSpace, decelerationRate, delaysContentTouches, directionalPressGestureRecognizer, encodeWithCoder, flashScrollIndicators, focusItemsInRect, frameLayoutGuide, horizontalScrollIndicatorInsets, indexDisplayMode, indicatorStyle, isDecelerating, isDirectionalLockEnabled, isDragging, isPagingEnabled, isScrollEnabled, isTracking, isZoomBouncing, isZooming, keyboardDismissMode, maximumZoomScale, minimumZoomScale, panGestureRecognizer, pinchGestureRecognizer, refreshControl, scrollIndicatorInsets, scrollRectToVisibleAnimated, scrollsToTop, setAlwaysBounceHorizontal, setAlwaysBounceVertical, setAutomaticallyAdjustsScrollIndicatorInsets, setBounces, setBouncesZoom, setCanCancelContentTouches, setContentInset, setContentInsetAdjustmentBehavior, setContentOffset, setContentOffsetAnimated, setContentSize, setDecelerationRate, setDelaysContentTouches, setDirectionalLockEnabled, setHorizontalScrollIndicatorInsets, setIndexDisplayMode, setIndicatorStyle, setKeyboardDismissMode, setMaximumZoomScale, setMinimumZoomScale, setPagingEnabled, setRefreshControl, setScrollEnabled, setScrollIndicatorInsets, setScrollsToTop, setShowsHorizontalScrollIndicator, setShowsVerticalScrollIndicator, setVerticalScrollIndicatorInsets, setZoomScale, setZoomScaleAnimated, showsHorizontalScrollIndicator, showsVerticalScrollIndicator, touchesShouldBeginWithEventInContentView, touchesShouldCancelInContentView, verticalScrollIndicatorInsets, visibleSize, zoomScale, zoomToRectAnimated
-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, autoresizesSubviews, autoresizingMask, backgroundColor, bottomAnchor, bounds, bringSubviewToFront, canBecomeFocused, center, centerXAnchor, centerYAnchor, clearsContextBeforeDrawing, clipsToBounds, collisionBoundingPath, collisionBoundsType, constraints, constraintsAffectingLayoutForAxis, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, contentScaleFactor, contentStretch, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusGroupIdentifier, focusItemContainer, frame, frameForAlignmentRect, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isUserInteractionEnabled, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusGroupIdentifier, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplayInRect, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, transform, transform3D, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryViewController, inputAssistantItem, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static UITextView alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
appearance
public static java.lang.Object appearance()
-
appearanceForTraitCollection
public static java.lang.Object appearanceForTraitCollection(UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@Deprecated public static java.lang.Object appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
public static java.lang.Object appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@Deprecated public static java.lang.Object appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
public static java.lang.Object appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
beginAnimationsContext
public static void beginAnimationsContext(java.lang.String animationID, org.moe.natj.general.ptr.VoidPtr context)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(java.lang.String identifier)
-
commitAnimations
public static void commitAnimations()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
inheritedAnimationDuration
public static double inheritedAnimationDuration()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
layerClass
public static org.moe.natj.objc.Class layerClass()
-
new_objc
public static java.lang.Object new_objc()
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)
-
requiresConstraintBasedLayout
public static boolean requiresConstraintBasedLayout()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAnimationBeginsFromCurrentState
public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
-
setAnimationCurve
public static void setAnimationCurve(long curve)
-
setAnimationDelay
public static void setAnimationDelay(double delay)
-
setAnimationDelegate
public static void setAnimationDelegate(java.lang.Object delegate)
-
setAnimationDidStopSelector
public static void setAnimationDidStopSelector(org.moe.natj.objc.SEL selector)
-
setAnimationDuration_static
public static void setAnimationDuration_static(double duration)
-
setAnimationRepeatAutoreverses
public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
-
setAnimationRepeatCount_static
public static void setAnimationRepeatCount_static(float repeatCount)
-
setAnimationStartDate
public static void setAnimationStartDate(NSDate startDate)
-
setAnimationTransitionForViewCache
public static void setAnimationTransitionForViewCache(long transition, UIView view, boolean cache)
-
setAnimationWillStartSelector
public static void setAnimationWillStartSelector(org.moe.natj.objc.SEL selector)
-
setAnimationsEnabled
public static void setAnimationsEnabled(boolean enabled)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
transitionFromViewToViewDurationOptionsCompletion
public static void transitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
-
userInterfaceLayoutDirectionForSemanticContentAttribute
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
-
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)
-
version_static
public static long version_static()
-
adjustsFontForContentSizeCategory
public boolean adjustsFontForContentSizeCategory()
Description copied from interface:UIContentSizeCategoryAdjustingIndicates whether the corresponding element should automatically update its font when the device’s UIContentSizeCategory is changed. For this property to take effect, the element’s font must be one of the following: - a font vended using +preferredFontForTextStyle: or +preferredFontForTextStyle:compatibleWithTraitCollection: with a valid UIFontTextStyle - a font vended using - [UIFontMetrics scaledFontForFont:] or one of its variants- Specified by:
adjustsFontForContentSizeCategoryin interfaceUIContentSizeCategoryAdjusting
-
allowsEditingTextAttributes
public boolean allowsEditingTextAttributes()
defaults to NO
-
_appearance
public java.lang.Object _appearance()
Description copied from interface:UIAppearanceTo customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class. For example, to modify the bar tint color for all UINavigationBar instances: [[UINavigationBar appearance] setBarTintColor:myColor]; Note for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.- Specified by:
_appearancein interfaceUIAppearance- Overrides:
_appearancein classUIScrollView
-
_appearanceForTraitCollection
public java.lang.Object _appearanceForTraitCollection(UITraitCollection trait)
- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIScrollView
-
_appearanceForTraitCollectionWhenContainedIn
@Deprecated public java.lang.Object _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIScrollView
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
public java.lang.Object _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIScrollView
-
_appearanceWhenContainedIn
@Deprecated public java.lang.Object _appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceTo customize the appearances for instances of a class contained within an instance of a container class, or instances in a hierarchy, use +appearanceWhenContainedInInstancesOfClasses: for the appropriate appearance proxy. For example: [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor]; In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker. In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down.- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIScrollView
-
_appearanceWhenContainedInInstancesOfClasses
public java.lang.Object _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIScrollView
-
attributedText
public NSAttributedString attributedText()
-
autocapitalizationType
public long autocapitalizationType()
Description copied from interface:UITextInputTraitsdefault is UITextAutocapitalizationTypeSentences- Specified by:
autocapitalizationTypein interfaceUITextInputTraits
-
autocorrectionType
public long autocorrectionType()
Description copied from interface:UITextInputTraitsdefault is UITextAutocorrectionTypeDefault- Specified by:
autocorrectionTypein interfaceUITextInputTraits
-
baseWritingDirectionForPositionInDirection
public long baseWritingDirectionForPositionInDirection(UITextPosition position, long direction)
Description copied from interface:UITextInputWriting direction- Specified by:
baseWritingDirectionForPositionInDirectionin interfaceUITextInput
-
beginFloatingCursorAtPoint
public void beginFloatingCursorAtPoint(CGPoint point)
Description copied from interface:UITextInputThe following three optional methods are for clients that wish to display a floating cursor to guide user manipulation of the selected text range via the system-provided keyboard. If a client does not implement these methods, user feedback will be limited to the outcome after setting the selected text range using positions resulting from hit testing.- Specified by:
beginFloatingCursorAtPointin interfaceUITextInput
-
beginningOfDocument
public UITextPosition beginningOfDocument()
Description copied from interface:UITextInputThe end and beginning of the the text document.- Specified by:
beginningOfDocumentin interfaceUITextInput
-
caretRectForPosition
public CGRect caretRectForPosition(UITextPosition position)
- Specified by:
caretRectForPositionin interfaceUITextInput
-
characterOffsetOfPositionWithinRange
public long characterOffsetOfPositionWithinRange(UITextPosition position, UITextRange range)
- Specified by:
characterOffsetOfPositionWithinRangein interfaceUITextInput
-
characterRangeAtPoint
public UITextRange characterRangeAtPoint(CGPoint point)
- Specified by:
characterRangeAtPointin interfaceUITextInput
-
characterRangeByExtendingPositionInDirection
public UITextRange characterRangeByExtendingPositionInDirection(UITextPosition position, long direction)
- Specified by:
characterRangeByExtendingPositionInDirectionin interfaceUITextInput
-
clearsOnInsertion
public boolean clearsOnInsertion()
defaults to NO. if YES, the selection UI is hidden, and inserting text will replace the contents of the field. changing the selection will automatically set this to NO.
-
closestPositionToPoint
public UITextPosition closestPositionToPoint(CGPoint point)
Description copied from interface:UITextInputHit testing.- Specified by:
closestPositionToPointin interfaceUITextInput
-
closestPositionToPointWithinRange
public UITextPosition closestPositionToPointWithinRange(CGPoint point, UITextRange range)
- Specified by:
closestPositionToPointWithinRangein interfaceUITextInput
-
comparePositionToPosition
public long comparePositionToPosition(UITextPosition position, UITextPosition other)
Description copied from interface:UITextInputSimple evaluation of positions- Specified by:
comparePositionToPositionin interfaceUITextInput
-
dataDetectorTypes
public long dataDetectorTypes()
-
delegate
public java.lang.Object delegate()
Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
delegatein classUIScrollView
-
deleteBackward
public void deleteBackward()
- Specified by:
deleteBackwardin interfaceUIKeyInput
-
dictationRecognitionFailed
public void dictationRecognitionFailed()
- Specified by:
dictationRecognitionFailedin interfaceUITextInput
-
dictationRecordingDidEnd
public void dictationRecordingDidEnd()
Description copied from interface:UITextInputThese are optional methods for clients that wish to know when there are pending dictation results.- Specified by:
dictationRecordingDidEndin interfaceUITextInput
-
enablesReturnKeyAutomatically
public boolean enablesReturnKeyAutomatically()
Description copied from interface:UITextInputTraitsdefault is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)- Specified by:
enablesReturnKeyAutomaticallyin interfaceUITextInputTraits
-
endFloatingCursor
public void endFloatingCursor()
- Specified by:
endFloatingCursorin interfaceUITextInput
-
endOfDocument
public UITextPosition endOfDocument()
- Specified by:
endOfDocumentin interfaceUITextInput
-
firstRectForRange
public CGRect firstRectForRange(UITextRange range)
Description copied from interface:UITextInputGeometry used to provide, for example, a correction rect.- Specified by:
firstRectForRangein interfaceUITextInput
-
font
public UIFont font()
-
frameForDictationResultPlaceholder
public CGRect frameForDictationResultPlaceholder(java.lang.Object placeholder)
- Specified by:
frameForDictationResultPlaceholderin interfaceUITextInput
-
hasText
public boolean hasText()
- Specified by:
hasTextin interfaceUIKeyInput
-
init
public UITextView init()
- Overrides:
initin classUIScrollView
-
initWithCoder
public UITextView initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIScrollView
-
initWithFrame
public UITextView initWithFrame(CGRect frame)
- Overrides:
initWithFramein classUIScrollView
-
initWithFrameTextContainer
public UITextView initWithFrameTextContainer(CGRect frame, NSTextContainer textContainer)
Create a new text view with the specified text container (can be nil) - this is the new designated initializer for this class
-
inputAccessoryView
public UIView inputAccessoryView()
- Overrides:
inputAccessoryViewin classUIResponder
-
inputDelegate
public UITextInputDelegate inputDelegate()
Description copied from interface:UITextInputA system-provied input delegate is assigned when the system is interested in input changes.- Specified by:
inputDelegatein interfaceUITextInput
-
inputView
public UIView inputView()
Presented when object becomes first responder. If set to nil, reverts to following responder chain. If set while first responder, will not take effect until reloadInputViews is called.- Overrides:
inputViewin classUIResponder
-
insertDictationResult
public void insertDictationResult(NSArray<? extends UIDictationPhrase> dictationResult)
Description copied from interface:UITextInputThis is an optional method for clients that wish to support dictation phrase alternatives. If they do not implement this method, dictation will just insert the most likely interpretation of what was spoken via -insertText:. dictationResult is an array of UIDictationPhrases.- Specified by:
insertDictationResultin interfaceUITextInput
-
insertDictationResultPlaceholder
public java.lang.Object insertDictationResultPlaceholder()
Description copied from interface:UITextInputThe following three optional methods are for clients that wish to support a placeholder for pending dictation results. -insertDictationPlaceholder must return a reference to the placeholder. This reference will be used to identify the placeholder by the other methods (there may be more than one placeholder).- Specified by:
insertDictationResultPlaceholderin interfaceUITextInput
-
insertText
public void insertText(java.lang.String text)
- Specified by:
insertTextin interfaceUIKeyInput
-
isEditable
public boolean isEditable()
-
setEditable
public void setEditable(boolean value)
-
isSecureTextEntry
public boolean isSecureTextEntry()
Description copied from interface:UITextInputTraitsdefault is NO- Specified by:
isSecureTextEntryin interfaceUITextInputTraits
-
setSecureTextEntry
public void setSecureTextEntry(boolean value)
Description copied from interface:UITextInputTraitsdefault is NO- Specified by:
setSecureTextEntryin interfaceUITextInputTraits
-
isSelectable
public boolean isSelectable()
toggle selectability, which controls the ability of the user to select content and interact with URLs & attachments. On tvOS this also makes the text view focusable.
-
setSelectable
public void setSelectable(boolean value)
toggle selectability, which controls the ability of the user to select content and interact with URLs & attachments. On tvOS this also makes the text view focusable.
-
keyboardAppearance
public long keyboardAppearance()
Description copied from interface:UITextInputTraitsdefault is UIKeyboardAppearanceDefault- Specified by:
keyboardAppearancein interfaceUITextInputTraits
-
keyboardType
public long keyboardType()
Description copied from interface:UITextInputTraitsdefault is UIKeyboardTypeDefault- Specified by:
keyboardTypein interfaceUITextInputTraits
-
layoutManager
public NSLayoutManager layoutManager()
Convenience accessors (access through the text container)
-
linkTextAttributes
public NSDictionary<java.lang.String,?> linkTextAttributes()
Style for links
-
markedTextRange
public UITextRange markedTextRange()
Description copied from interface:UITextInputNil if no marked text.- Specified by:
markedTextRangein interfaceUITextInput
-
markedTextStyle
public NSDictionary<java.lang.String,?> markedTextStyle()
Description copied from interface:UITextInputDescribes how the marked text should be drawn.- Specified by:
markedTextStylein interfaceUITextInput
-
offsetFromPositionToPosition
public long offsetFromPositionToPosition(UITextPosition from, UITextPosition toPosition)
- Specified by:
offsetFromPositionToPositionin interfaceUITextInput
-
positionFromPositionInDirectionOffset
public UITextPosition positionFromPositionInDirectionOffset(UITextPosition position, long direction, long offset)
- Specified by:
positionFromPositionInDirectionOffsetin interfaceUITextInput
-
positionFromPositionOffset
public UITextPosition positionFromPositionOffset(UITextPosition position, long offset)
- Specified by:
positionFromPositionOffsetin interfaceUITextInput
-
positionWithinRangeAtCharacterOffset
public UITextPosition positionWithinRangeAtCharacterOffset(UITextRange range, long offset)
Description copied from interface:UITextInputTo be implemented if there is not a one-to-one correspondence between text positions within range and character offsets into the associated string.- Specified by:
positionWithinRangeAtCharacterOffsetin interfaceUITextInput
-
positionWithinRangeFarthestInDirection
public UITextPosition positionWithinRangeFarthestInDirection(UITextRange range, long direction)
Description copied from interface:UITextInputLayout questions.- Specified by:
positionWithinRangeFarthestInDirectionin interfaceUITextInput
-
removeDictationResultPlaceholderWillInsertResult
public void removeDictationResultPlaceholderWillInsertResult(java.lang.Object placeholder, boolean willInsertResult)Description copied from interface:UITextInputwillInsertResult will be NO if the recognition failed.- Specified by:
removeDictationResultPlaceholderWillInsertResultin interfaceUITextInput
-
replaceRangeWithText
public void replaceRangeWithText(UITextRange range, java.lang.String text)
- Specified by:
replaceRangeWithTextin interfaceUITextInput
-
returnKeyType
public long returnKeyType()
Description copied from interface:UITextInputTraitsdefault is UIReturnKeyDefault (See note under UIReturnKeyType enum)- Specified by:
returnKeyTypein interfaceUITextInputTraits
-
scrollRangeToVisible
public void scrollRangeToVisible(NSRange range)
-
selectedRange
public NSRange selectedRange()
-
selectedTextRange
public UITextRange selectedTextRange()
Description copied from interface:UITextInputText may have a selection, either zero-length (a caret) or ranged. Editing operations are always performed on the text from this selection. nil corresponds to no selection.- Specified by:
selectedTextRangein interfaceUITextInput
-
selectionAffinity
public long selectionAffinity()
Description copied from interface:UITextInputSelection affinity determines whether, for example, the insertion point appears after the last character on a line or before the first character on the following line in cases where text wraps across line boundaries.- Specified by:
selectionAffinityin interfaceUITextInput
-
selectionRectsForRange
public NSArray<? extends UITextSelectionRect> selectionRectsForRange(UITextRange range)
Description copied from interface:UITextInputReturns an array of UITextSelectionRects- Specified by:
selectionRectsForRangein interfaceUITextInput
-
setAdjustsFontForContentSizeCategory
public void setAdjustsFontForContentSizeCategory(boolean value)
Description copied from interface:UIContentSizeCategoryAdjustingIndicates whether the corresponding element should automatically update its font when the device’s UIContentSizeCategory is changed. For this property to take effect, the element’s font must be one of the following: - a font vended using +preferredFontForTextStyle: or +preferredFontForTextStyle:compatibleWithTraitCollection: with a valid UIFontTextStyle - a font vended using - [UIFontMetrics scaledFontForFont:] or one of its variants- Specified by:
setAdjustsFontForContentSizeCategoryin interfaceUIContentSizeCategoryAdjusting
-
setAllowsEditingTextAttributes
public void setAllowsEditingTextAttributes(boolean value)
defaults to NO
-
setAttributedText
public void setAttributedText(NSAttributedString value)
-
setAutocapitalizationType
public void setAutocapitalizationType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextAutocapitalizationTypeSentences- Specified by:
setAutocapitalizationTypein interfaceUITextInputTraits
-
setAutocorrectionType
public void setAutocorrectionType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextAutocorrectionTypeDefault- Specified by:
setAutocorrectionTypein interfaceUITextInputTraits
-
setBaseWritingDirectionForRange
public void setBaseWritingDirectionForRange(long writingDirection, UITextRange range)- Specified by:
setBaseWritingDirectionForRangein interfaceUITextInput
-
setClearsOnInsertion
public void setClearsOnInsertion(boolean value)
defaults to NO. if YES, the selection UI is hidden, and inserting text will replace the contents of the field. changing the selection will automatically set this to NO.
-
setDataDetectorTypes
public void setDataDetectorTypes(long value)
-
setDelegate_unsafe
public void setDelegate_unsafe(java.lang.Object value)
Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
setDelegate_unsafein classUIScrollView
-
setDelegate
public void setDelegate(java.lang.Object value)
Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
setDelegatein classUIScrollView
-
setEnablesReturnKeyAutomatically
public void setEnablesReturnKeyAutomatically(boolean value)
Description copied from interface:UITextInputTraitsdefault is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)- Specified by:
setEnablesReturnKeyAutomaticallyin interfaceUITextInputTraits
-
setFont
public void setFont(UIFont value)
-
setInputAccessoryView
public void setInputAccessoryView(UIView value)
-
setInputDelegate_unsafe
public void setInputDelegate_unsafe(UITextInputDelegate value)
-
setInputDelegate
public void setInputDelegate(UITextInputDelegate value)
Description copied from interface:UITextInputA system-provied input delegate is assigned when the system is interested in input changes.- Specified by:
setInputDelegatein interfaceUITextInput
-
setInputView
public void setInputView(UIView value)
Presented when object becomes first responder. If set to nil, reverts to following responder chain. If set while first responder, will not take effect until reloadInputViews is called.
-
setKeyboardAppearance
public void setKeyboardAppearance(long value)
Description copied from interface:UITextInputTraitsdefault is UIKeyboardAppearanceDefault- Specified by:
setKeyboardAppearancein interfaceUITextInputTraits
-
setKeyboardType
public void setKeyboardType(long value)
Description copied from interface:UITextInputTraitsdefault is UIKeyboardTypeDefault- Specified by:
setKeyboardTypein interfaceUITextInputTraits
-
setLinkTextAttributes
public void setLinkTextAttributes(NSDictionary<java.lang.String,?> value)
Style for links
-
setMarkedTextSelectedRange
public void setMarkedTextSelectedRange(java.lang.String markedText, NSRange selectedRange)Description copied from interface:UITextInputselectedRange is a range within the markedText- Specified by:
setMarkedTextSelectedRangein interfaceUITextInput
-
setMarkedTextStyle
public void setMarkedTextStyle(NSDictionary<java.lang.String,?> value)
Description copied from interface:UITextInputDescribes how the marked text should be drawn.- Specified by:
setMarkedTextStylein interfaceUITextInput
-
setReturnKeyType
public void setReturnKeyType(long value)
Description copied from interface:UITextInputTraitsdefault is UIReturnKeyDefault (See note under UIReturnKeyType enum)- Specified by:
setReturnKeyTypein interfaceUITextInputTraits
-
setSelectedRange
public void setSelectedRange(NSRange value)
-
setSelectedTextRange
public void setSelectedTextRange(UITextRange value)
Description copied from interface:UITextInputText may have a selection, either zero-length (a caret) or ranged. Editing operations are always performed on the text from this selection. nil corresponds to no selection.- Specified by:
setSelectedTextRangein interfaceUITextInput
-
setSelectionAffinity
public void setSelectionAffinity(long value)
Description copied from interface:UITextInputSelection affinity determines whether, for example, the insertion point appears after the last character on a line or before the first character on the following line in cases where text wraps across line boundaries.- Specified by:
setSelectionAffinityin interfaceUITextInput
-
setSpellCheckingType
public void setSpellCheckingType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSpellCheckingTypeDefault;- Specified by:
setSpellCheckingTypein interfaceUITextInputTraits
-
setText
public void setText(java.lang.String value)
-
setTextAlignment
public void setTextAlignment(long value)
default is NSLeftTextAlignment
-
setTextColor
public void setTextColor(UIColor value)
-
setTextContainerInset
public void setTextContainerInset(UIEdgeInsets value)
Inset the text container's layout area within the text view's content area
-
setTextContentType
public void setTextContentType(java.lang.String value)
Description copied from interface:UITextInputTraitsdefault is nil- Specified by:
setTextContentTypein interfaceUITextInputTraits
-
setTypingAttributes
public void setTypingAttributes(NSDictionary<java.lang.String,?> value)
automatically resets when the selection changes
-
shouldChangeTextInRangeReplacementText
public boolean shouldChangeTextInRangeReplacementText(UITextRange range, java.lang.String text)
Description copied from interface:UITextInputreturn NO to not change text- Specified by:
shouldChangeTextInRangeReplacementTextin interfaceUITextInput
-
spellCheckingType
public long spellCheckingType()
Description copied from interface:UITextInputTraitsdefault is UITextSpellCheckingTypeDefault;- Specified by:
spellCheckingTypein interfaceUITextInputTraits
-
text
public java.lang.String text()
-
textAlignment
public long textAlignment()
default is NSLeftTextAlignment
-
textColor
public UIColor textColor()
-
textContainer
public NSTextContainer textContainer()
Get the text container for the text view
-
textContainerInset
public UIEdgeInsets textContainerInset()
Inset the text container's layout area within the text view's content area
-
textContentType
public java.lang.String textContentType()
Description copied from interface:UITextInputTraitsdefault is nil- Specified by:
textContentTypein interfaceUITextInputTraits
-
textInRange
public java.lang.String textInRange(UITextRange range)
Description copied from interface:UITextInputMethods for manipulating text.- Specified by:
textInRangein interfaceUITextInput
-
textInputView
public UIView textInputView()
Description copied from interface:UITextInputAn affiliated view that provides a coordinate system for all geometric values in this protocol. If unimplmeented, the first view in the responder chain will be selected.- Specified by:
textInputViewin interfaceUITextInput
-
textRangeFromPositionToPosition
public UITextRange textRangeFromPositionToPosition(UITextPosition fromPosition, UITextPosition toPosition)
Description copied from interface:UITextInputMethods for creating ranges and positions.- Specified by:
textRangeFromPositionToPositionin interfaceUITextInput
-
textStorage
public NSTextStorage textStorage()
-
textStylingAtPositionInDirection
public NSDictionary<java.lang.String,?> textStylingAtPositionInDirection(UITextPosition position, long direction)
Description copied from interface:UITextInputText styling information can affect, for example, the appearance of a correction rect. Returns a dictionary containing NSAttributedString keys.- Specified by:
textStylingAtPositionInDirectionin interfaceUITextInput
-
tokenizer
public UITextInputTokenizer tokenizer()
Description copied from interface:UITextInputA tokenizer must be provided to inform the text input system about text units of varying granularity.- Specified by:
tokenizerin interfaceUITextInput
-
typingAttributes
public NSDictionary<java.lang.String,?> typingAttributes()
automatically resets when the selection changes
-
unmarkText
public void unmarkText()
- Specified by:
unmarkTextin interfaceUITextInput
-
updateFloatingCursorAtPoint
public void updateFloatingCursorAtPoint(CGPoint point)
- Specified by:
updateFloatingCursorAtPointin interfaceUITextInput
-
canPasteItemProviders
public boolean canPasteItemProviders(NSArray<? extends NSItemProvider> itemProviders)
- Specified by:
canPasteItemProvidersin interfaceUIPasteConfigurationSupporting- Overrides:
canPasteItemProvidersin classUIResponder
-
isTextDragActive
public boolean isTextDragActive()
Description copied from interface:UITextDraggableReturns whether this control currently has at least one active drag session.- Specified by:
isTextDragActivein interfaceUITextDraggable
-
isTextDropActive
public boolean isTextDropActive()
Description copied from interface:UITextDroppableReturns whether this control currently has at least one active drag session.- Specified by:
isTextDropActivein interfaceUITextDroppable
-
pasteConfiguration
public UIPasteConfiguration pasteConfiguration()
- Specified by:
pasteConfigurationin interfaceUIPasteConfigurationSupporting- Overrides:
pasteConfigurationin classUIResponder
-
pasteDelegate
public UITextPasteDelegate pasteDelegate()
- Specified by:
pasteDelegatein interfaceUITextPasteConfigurationSupporting
-
pasteItemProviders
public void pasteItemProviders(NSArray<? extends NSItemProvider> itemProviders)
- Specified by:
pasteItemProvidersin interfaceUIPasteConfigurationSupporting- Overrides:
pasteItemProvidersin classUIResponder
-
setPasteConfiguration
public void setPasteConfiguration(UIPasteConfiguration value)
- Specified by:
setPasteConfigurationin interfaceUIPasteConfigurationSupporting- Overrides:
setPasteConfigurationin classUIResponder
-
setPasteDelegate_unsafe
public void setPasteDelegate_unsafe(UITextPasteDelegate value)
-
setPasteDelegate
public void setPasteDelegate(UITextPasteDelegate value)
- Specified by:
setPasteDelegatein interfaceUITextPasteConfigurationSupporting
-
setSmartDashesType
public void setSmartDashesType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSmartDashesTypeDefault;- Specified by:
setSmartDashesTypein interfaceUITextInputTraits
-
setSmartInsertDeleteType
public void setSmartInsertDeleteType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSmartInsertDeleteTypeDefault;- Specified by:
setSmartInsertDeleteTypein interfaceUITextInputTraits
-
setSmartQuotesType
public void setSmartQuotesType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSmartQuotesTypeDefault;- Specified by:
setSmartQuotesTypein interfaceUITextInputTraits
-
setTextDragDelegate_unsafe
public void setTextDragDelegate_unsafe(UITextDragDelegate value)
-
setTextDragDelegate
public void setTextDragDelegate(UITextDragDelegate value)
- Specified by:
setTextDragDelegatein interfaceUITextDraggable
-
setTextDragOptions
public void setTextDragOptions(long value)
- Specified by:
setTextDragOptionsin interfaceUITextDraggable
-
setTextDropDelegate_unsafe
public void setTextDropDelegate_unsafe(UITextDropDelegate value)
-
setTextDropDelegate
public void setTextDropDelegate(UITextDropDelegate value)
- Specified by:
setTextDropDelegatein interfaceUITextDroppable
-
smartDashesType
public long smartDashesType()
Description copied from interface:UITextInputTraitsdefault is UITextSmartDashesTypeDefault;- Specified by:
smartDashesTypein interfaceUITextInputTraits
-
smartInsertDeleteType
public long smartInsertDeleteType()
Description copied from interface:UITextInputTraitsdefault is UITextSmartInsertDeleteTypeDefault;- Specified by:
smartInsertDeleteTypein interfaceUITextInputTraits
-
smartQuotesType
public long smartQuotesType()
Description copied from interface:UITextInputTraitsdefault is UITextSmartQuotesTypeDefault;- Specified by:
smartQuotesTypein interfaceUITextInputTraits
-
textDragDelegate
public UITextDragDelegate textDragDelegate()
- Specified by:
textDragDelegatein interfaceUITextDraggable
-
textDragInteraction
public UIDragInteraction textDragInteraction()
Description copied from interface:UITextDraggableThe text drag interaction that UIKit installs on the text control. Use this to explicitly disable drag interactions on system text controls, if desired.- Specified by:
textDragInteractionin interfaceUITextDraggable
-
textDragOptions
public long textDragOptions()
- Specified by:
textDragOptionsin interfaceUITextDraggable
-
textDropDelegate
public UITextDropDelegate textDropDelegate()
- Specified by:
textDropDelegatein interfaceUITextDroppable
-
textDropInteraction
public UIDropInteraction textDropInteraction()
Description copied from interface:UITextDroppableThe text drop interaction that UIKit installs on the text control. Use this to explicitly disable drop interactions on system text controls, if desired.- Specified by:
textDropInteractionin interfaceUITextDroppable
-
insertTextAlternativesStyle
public void insertTextAlternativesStyle(java.lang.String text, NSArray<java.lang.String> alternatives, long style)Description copied from interface:UITextInputThis is an optional method for clients that wish to support text phrase alternatives. If they do not implement this method, the text will be inserted by -insertText: without the phase alternatives.- Specified by:
insertTextAlternativesStylein interfaceUITextInput
-
insertTextPlaceholderWithSize
public UITextPlaceholder insertTextPlaceholderWithSize(CGSize size)
Description copied from interface:UITextInputInsert a placeholder If `size.height` is <= 0, then the placeholder is inline and line height. If `size.height` is > 0, then the placeholder is treated as a paragraph of height `size.height`.- Specified by:
insertTextPlaceholderWithSizein interfaceUITextInput
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
-
passwordRules
public UITextInputPasswordRules passwordRules()
Description copied from interface:UITextInputTraitsdefault is nil- Specified by:
passwordRulesin interfaceUITextInputTraits
-
removeTextPlaceholder
public void removeTextPlaceholder(UITextPlaceholder textPlaceholder)
Description copied from interface:UITextInputRemove the placeholder.- Specified by:
removeTextPlaceholderin interfaceUITextInput
-
setAttributedMarkedTextSelectedRange
public void setAttributedMarkedTextSelectedRange(NSAttributedString markedText, NSRange selectedRange)
Description copied from interface:UITextInputset attributedString as markedText, selectedRange is a range within the markedText- Specified by:
setAttributedMarkedTextSelectedRangein interfaceUITextInput
-
setPasswordRules
public void setPasswordRules(UITextInputPasswordRules value)
Description copied from interface:UITextInputTraitsdefault is nil- Specified by:
setPasswordRulesin interfaceUITextInputTraits
-
setUsesStandardTextScaling
public void setUsesStandardTextScaling(boolean value)
When turned on, this changes the rendering scale of the text to match the standard text scaling and preserves the original font point sizes when the contents of the text view are copied to the pasteboard. Apps that show a lot of text content, such as a text viewer or editor, should turn this on and use the standard text scaling.
-
usesStandardTextScaling
public boolean usesStandardTextScaling()
When turned on, this changes the rendering scale of the text to match the standard text scaling and preserves the original font point sizes when the contents of the text view are copied to the pasteboard. Apps that show a lot of text content, such as a text viewer or editor, should turn this on and use the standard text scaling.
-
-