Package apple.uikit

Class UITableViewCell

    • Constructor Detail

      • UITableViewCell

        protected UITableViewCell​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UITableViewCell allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • appearance

        @NotNull
        public static @NotNull UITableViewCell appearance()
      • appearanceForTraitCollectionWhenContainedIn

        @NotNull
        @Deprecated
        public static @NotNull UITableViewCell appearanceForTraitCollectionWhenContainedIn​(@NotNull
                                                                                           @NotNull UITraitCollection trait,
                                                                                           @Nullable
                                                                                           @Nullable UIAppearanceContainer ContainerClass,
                                                                                           java.lang.Object... varargs)
        Deprecated.
      • appearanceForTraitCollectionWhenContainedInInstancesOfClasses

        @NotNull
        public static @NotNull UITableViewCell appearanceForTraitCollectionWhenContainedInInstancesOfClasses​(@NotNull
                                                                                                             @NotNull UITraitCollection trait,
                                                                                                             @NotNull
                                                                                                             @NotNull NSArray<?> containerTypes)
      • appearanceWhenContainedIn

        @NotNull
        @Deprecated
        public static @NotNull UITableViewCell appearanceWhenContainedIn​(@Nullable
                                                                         @Nullable UIAppearanceContainer ContainerClass,
                                                                         java.lang.Object... varargs)
        Deprecated.
      • appearanceWhenContainedInInstancesOfClasses

        @NotNull
        public static @NotNull UITableViewCell appearanceWhenContainedInInstancesOfClasses​(@NotNull
                                                                                           @NotNull NSArray<?> containerTypes)
      • areAnimationsEnabled

        public static boolean areAnimationsEnabled()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • beginAnimationsContext

        @Deprecated
        public static void beginAnimationsContext​(@Nullable
                                                  @Nullable java.lang.String animationID,
                                                  @Nullable
                                                  @Nullable org.moe.natj.general.ptr.VoidPtr context)
        Deprecated.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(@NotNull
                                                           @NotNull java.lang.String identifier)
      • commitAnimations

        @Deprecated
        public static void commitAnimations()
        Deprecated.
      • 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()
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • layerClass

        @NotNull
        public static @NotNull org.moe.natj.objc.Class layerClass()
      • 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

        @Deprecated
        public static void setAnimationBeginsFromCurrentState​(boolean fromCurrentState)
        Deprecated.
      • setAnimationCurve

        @Deprecated
        public static void setAnimationCurve​(long curve)
        Deprecated.
      • setAnimationDelay

        @Deprecated
        public static void setAnimationDelay​(double delay)
        Deprecated.
      • setAnimationDelegate

        @Deprecated
        public static void setAnimationDelegate​(@Nullable
                                                @Nullable java.lang.Object delegate)
        Deprecated.
      • setAnimationDidStopSelector

        @Deprecated
        public static void setAnimationDidStopSelector​(@Nullable
                                                       @Nullable org.moe.natj.objc.SEL selector)
        Deprecated.
      • setAnimationDuration_static

        @Deprecated
        public static void setAnimationDuration_static​(double duration)
        Deprecated.
      • setAnimationRepeatAutoreverses

        @Deprecated
        public static void setAnimationRepeatAutoreverses​(boolean repeatAutoreverses)
        Deprecated.
      • setAnimationRepeatCount_static

        @Deprecated
        public static void setAnimationRepeatCount_static​(float repeatCount)
        Deprecated.
      • setAnimationStartDate

        @Deprecated
        public static void setAnimationStartDate​(@NotNull
                                                 @NotNull NSDate startDate)
        Deprecated.
      • setAnimationTransitionForViewCache

        @Deprecated
        public static void setAnimationTransitionForViewCache​(long transition,
                                                              @NotNull
                                                              @NotNull UIView view,
                                                              boolean cache)
        Deprecated.
      • setAnimationWillStartSelector

        @Deprecated
        public static void setAnimationWillStartSelector​(@Nullable
                                                         @Nullable org.moe.natj.objc.SEL selector)
        Deprecated.
      • 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()
      • userInterfaceLayoutDirectionForSemanticContentAttribute

        public static long userInterfaceLayoutDirectionForSemanticContentAttribute​(long attribute)
      • userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection

        public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection​(long semanticContentAttribute,
                                                                                                            long layoutDirection)
      • version_static

        public static long version_static()
      • accessoryAction

        @Nullable
        @Deprecated
        public @Nullable org.moe.natj.objc.SEL accessoryAction()
        Deprecated.
        action to call on accessory view clicked. set by UITableView API-Since: 2.0 Deprecated-Since: 3.0
      • accessoryType

        public long accessoryType()
        default is UITableViewCellAccessoryNone. use to set standard type
      • accessoryView

        @Nullable
        public @Nullable UIView accessoryView()
        if set, use custom view. ignore accessoryType. tracks if enabled can calls accessory action
      • _appearance

        @NotNull
        public @NotNull UITableViewCell _appearance()
        Description copied from interface: UIAppearance
        To 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:
        _appearance in interface UIAppearance
        Overrides:
        _appearance in class UIView
      • _appearanceWhenContainedIn

        @NotNull
        @Deprecated
        public @NotNull UITableViewCell _appearanceWhenContainedIn​(@Nullable
                                                                   @Nullable UIAppearanceContainer ContainerClass,
                                                                   java.lang.Object... varargs)
        Deprecated.
        Description copied from interface: UIAppearance
        To 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. API-Since: 5.0 Deprecated-Since: 9.0
        Specified by:
        _appearanceWhenContainedIn in interface UIAppearance
        Overrides:
        _appearanceWhenContainedIn in class UIView
      • backgroundView

        @Nullable
        public @Nullable UIView backgroundView()
        Always nil when a non-nil `backgroundConfiguration` is set. The 'backgroundView' will be added as a subview behind all other views.
      • contentView

        @NotNull
        public @NotNull UIView contentView()
        Custom subviews should be added to the content view.
      • detailTextLabel

        @Nullable
        @Deprecated
        public @Nullable UILabel detailTextLabel()
        Deprecated.
        default is nil. label will be created if necessary (and the current style supports a detail label). API-Since: 3.0 Deprecated-Since: 100000.0 Deprecated-Message: Use UIListContentConfiguration instead, this property will be deprecated in a future release.
      • didTransitionToState

        public void didTransitionToState​(long state)
        API-Since: 3.0
      • editAction

        @Nullable
        @Deprecated
        public @Nullable org.moe.natj.objc.SEL editAction()
        Deprecated.
        action to call on insert/delete call. set by UITableView API-Since: 2.0 Deprecated-Since: 3.0
      • editingAccessoryType

        public long editingAccessoryType()
        default is UITableViewCellAccessoryNone. use to set standard type
      • editingAccessoryView

        @Nullable
        public @Nullable UIView editingAccessoryView()
        if set, use custom view. ignore editingAccessoryType. tracks if enabled can calls accessory action
      • editingStyle

        public long editingStyle()
        default is UITableViewCellEditingStyleNone. This is set by UITableView using the delegate's value for cells who customize their appearance accordingly.
      • focusStyle

        public long focusStyle()
        API-Since: 9.0
      • font

        @Nullable
        @Deprecated
        public @Nullable UIFont font()
        Deprecated.
        default is nil (Use default font) API-Since: 2.0 Deprecated-Since: 3.0
      • gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer

        public boolean gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer​(@NotNull
                                                                                           @NotNull UIGestureRecognizer gestureRecognizer,
                                                                                           @NotNull
                                                                                           @NotNull UIGestureRecognizer otherGestureRecognizer)
        Description copied from interface: UIGestureRecognizerDelegate
        called when the recognition of one of gestureRecognizer or otherGestureRecognizer would be blocked by the other return YES to allow both to recognize simultaneously. the default implementation returns NO (by default no two gestures can be recognized simultaneously) note: returning YES is guaranteed to allow simultaneous recognition. returning NO is not guaranteed to prevent simultaneous recognition, as the other gesture's delegate may return YES
        Specified by:
        gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer in interface UIGestureRecognizerDelegate
      • gestureRecognizerShouldRequireFailureOfGestureRecognizer

        public boolean gestureRecognizerShouldRequireFailureOfGestureRecognizer​(@NotNull
                                                                                @NotNull UIGestureRecognizer gestureRecognizer,
                                                                                @NotNull
                                                                                @NotNull UIGestureRecognizer otherGestureRecognizer)
        Description copied from interface: UIGestureRecognizerDelegate
        called once per attempt to recognize, so failure requirements can be determined lazily and may be set up between recognizers across view hierarchies return YES to set up a dynamic failure requirement between gestureRecognizer and otherGestureRecognizer note: returning YES is guaranteed to set up the failure requirement. returning NO does not guarantee that there will not be a failure requirement as the other gesture's counterpart delegate or subclass methods may return YES API-Since: 7.0
        Specified by:
        gestureRecognizerShouldRequireFailureOfGestureRecognizer in interface UIGestureRecognizerDelegate
      • gestureRecognizerShouldBegin

        public boolean gestureRecognizerShouldBegin​(@NotNull
                                                    @NotNull UIGestureRecognizer gestureRecognizer)
        Description copied from class: UIView
        called when the recognizer attempts to transition out of UIGestureRecognizerStatePossible if a touch hit-tested to this view will be cancelled as a result of gesture recognition returns YES by default. return NO to cause the gesture recognizer to transition to UIGestureRecognizerStateFailed subclasses may override to prevent recognition of particular gestures. for example, UISlider prevents swipes parallel to the slider that start in the thumb API-Since: 6.0
        Specified by:
        gestureRecognizerShouldBegin in interface UIGestureRecognizerDelegate
        Overrides:
        gestureRecognizerShouldBegin in class UIView
      • hidesAccessoryWhenEditing

        @Deprecated
        public boolean hidesAccessoryWhenEditing()
        Deprecated.
        default is YES API-Since: 2.0 Deprecated-Since: 3.0
      • image

        @Nullable
        @Deprecated
        public @Nullable UIImage image()
        Deprecated.
        default is nil. appears on left next to title. API-Since: 2.0 Deprecated-Since: 3.0
      • imageView

        @Nullable
        @Deprecated
        public @Nullable UIImageView imageView()
        Deprecated.
        default is nil. image view will be created if necessary. API-Since: 3.0 Deprecated-Since: 100000.0 Deprecated-Message: Use UIListContentConfiguration instead, this property will be deprecated in a future release.
      • indentationLevel

        public long indentationLevel()
        adjust content indent. default is 0
      • indentationWidth

        public double indentationWidth()
        width for each level. default is 10.0
      • initWithFrameReuseIdentifier

        @Deprecated
        public UITableViewCell initWithFrameReuseIdentifier​(CGRect frame,
                                                            @Nullable
                                                            @Nullable java.lang.String reuseIdentifier)
        Deprecated.
        Frame is ignored. The size will be specified by the table view width and row height. API-Since: 2.0 Deprecated-Since: 3.0
      • initWithStyleReuseIdentifier

        public UITableViewCell initWithStyleReuseIdentifier​(long style,
                                                            @Nullable
                                                            @Nullable java.lang.String reuseIdentifier)
        Designated initializer. If the cell can be reused, you must pass in a reuse identifier. You should use the same reuse identifier for all cells of the same form. API-Since: 3.0
      • isEditing

        public boolean isEditing()
        show appropriate edit controls (+/- & reorder). By default -setEditing: calls setEditing:animated: with NO for animated.
      • setEditing

        public void setEditing​(boolean value)
        show appropriate edit controls (+/- & reorder). By default -setEditing: calls setEditing:animated: with NO for animated.
      • isHighlighted

        public boolean isHighlighted()
        set highlighted state (title, image, background). default is NO. animated is NO
      • setHighlighted

        public void setHighlighted​(boolean value)
        set highlighted state (title, image, background). default is NO. animated is NO
      • isSelected

        public boolean isSelected()
        set selected state (title, image, background). default is NO. animated is NO
      • setSelected

        public void setSelected​(boolean value)
        set selected state (title, image, background). default is NO. animated is NO
      • lineBreakMode

        @Deprecated
        public long lineBreakMode()
        Deprecated.
        default is UILineBreakModeTailTruncation API-Since: 2.0 Deprecated-Since: 3.0
      • multipleSelectionBackgroundView

        @Nullable
        public @Nullable UIView multipleSelectionBackgroundView()
        Always nil when a non-nil `backgroundConfiguration` is set. If not nil, takes the place of the selectedBackgroundView when using multiple selection. API-Since: 5.0
      • prepareForReuse

        public void prepareForReuse()
        if the cell is reusable (has a reuse identifier), this is called just before the cell is returned from the table view method dequeueReusableCellWithIdentifier:. If you override, you MUST call super.
      • reuseIdentifier

        @Nullable
        public @Nullable java.lang.String reuseIdentifier()
      • selectedBackgroundView

        @Nullable
        public @Nullable UIView selectedBackgroundView()
        Always nil when a non-nil `backgroundConfiguration` is set. The 'selectedBackgroundView' will be added as a subview directly above the backgroundView if not nil, or behind all other views. It is added as a subview only when the cell is selected. Calling -setSelected:animated: will cause the 'selectedBackgroundView' to animate in and out with an alpha fade.
      • selectedImage

        @Nullable
        @Deprecated
        public @Nullable UIImage selectedImage()
        Deprecated.
        default is nil API-Since: 2.0 Deprecated-Since: 3.0
      • selectedTextColor

        @Nullable
        @Deprecated
        public @Nullable UIColor selectedTextColor()
        Deprecated.
        default is nil (text draws white) API-Since: 2.0 Deprecated-Since: 3.0
      • selectionStyle

        public long selectionStyle()
        default is UITableViewCellSelectionStyleDefault.
      • separatorInset

        public UIEdgeInsets separatorInset()
        allows customization of the separator frame API-Since: 7.0
      • setAccessoryAction

        @Deprecated
        public void setAccessoryAction​(@Nullable
                                       @Nullable org.moe.natj.objc.SEL value)
        Deprecated.
        action to call on accessory view clicked. set by UITableView API-Since: 2.0 Deprecated-Since: 3.0
      • setAccessoryType

        public void setAccessoryType​(long value)
        default is UITableViewCellAccessoryNone. use to set standard type
      • setAccessoryView

        public void setAccessoryView​(@Nullable
                                     @Nullable UIView value)
        if set, use custom view. ignore accessoryType. tracks if enabled can calls accessory action
      • setBackgroundView

        public void setBackgroundView​(@Nullable
                                      @Nullable UIView value)
        Always nil when a non-nil `backgroundConfiguration` is set. The 'backgroundView' will be added as a subview behind all other views.
      • setEditAction

        @Deprecated
        public void setEditAction​(@Nullable
                                  @Nullable org.moe.natj.objc.SEL value)
        Deprecated.
        action to call on insert/delete call. set by UITableView API-Since: 2.0 Deprecated-Since: 3.0
      • setEditingAnimated

        public void setEditingAnimated​(boolean editing,
                                       boolean animated)
      • setEditingAccessoryType

        public void setEditingAccessoryType​(long value)
        default is UITableViewCellAccessoryNone. use to set standard type
      • setEditingAccessoryView

        public void setEditingAccessoryView​(@Nullable
                                            @Nullable UIView value)
        if set, use custom view. ignore editingAccessoryType. tracks if enabled can calls accessory action
      • setFocusStyle

        public void setFocusStyle​(long value)
        API-Since: 9.0
      • setFont

        @Deprecated
        public void setFont​(@Nullable
                            @Nullable UIFont value)
        Deprecated.
        default is nil (Use default font) API-Since: 2.0 Deprecated-Since: 3.0
      • setHidesAccessoryWhenEditing

        @Deprecated
        public void setHidesAccessoryWhenEditing​(boolean value)
        Deprecated.
        default is YES API-Since: 2.0 Deprecated-Since: 3.0
      • setHighlightedAnimated

        public void setHighlightedAnimated​(boolean highlighted,
                                           boolean animated)
        animate between regular and highlighted state
      • setImage

        @Deprecated
        public void setImage​(@Nullable
                             @Nullable UIImage value)
        Deprecated.
        default is nil. appears on left next to title. API-Since: 2.0 Deprecated-Since: 3.0
      • setIndentationLevel

        public void setIndentationLevel​(long value)
        adjust content indent. default is 0
      • setIndentationWidth

        public void setIndentationWidth​(double value)
        width for each level. default is 10.0
      • setLineBreakMode

        @Deprecated
        public void setLineBreakMode​(long value)
        Deprecated.
        default is UILineBreakModeTailTruncation API-Since: 2.0 Deprecated-Since: 3.0
      • setMultipleSelectionBackgroundView

        public void setMultipleSelectionBackgroundView​(@Nullable
                                                       @Nullable UIView value)
        Always nil when a non-nil `backgroundConfiguration` is set. If not nil, takes the place of the selectedBackgroundView when using multiple selection. API-Since: 5.0
      • setSelectedAnimated

        public void setSelectedAnimated​(boolean selected,
                                        boolean animated)
        animate between regular and selected state
      • setSelectedBackgroundView

        public void setSelectedBackgroundView​(@Nullable
                                              @Nullable UIView value)
        Always nil when a non-nil `backgroundConfiguration` is set. The 'selectedBackgroundView' will be added as a subview directly above the backgroundView if not nil, or behind all other views. It is added as a subview only when the cell is selected. Calling -setSelected:animated: will cause the 'selectedBackgroundView' to animate in and out with an alpha fade.
      • setSelectedImage

        @Deprecated
        public void setSelectedImage​(@Nullable
                                     @Nullable UIImage value)
        Deprecated.
        default is nil API-Since: 2.0 Deprecated-Since: 3.0
      • setSelectedTextColor

        @Deprecated
        public void setSelectedTextColor​(@Nullable
                                         @Nullable UIColor value)
        Deprecated.
        default is nil (text draws white) API-Since: 2.0 Deprecated-Since: 3.0
      • setSelectionStyle

        public void setSelectionStyle​(long value)
        default is UITableViewCellSelectionStyleDefault.
      • setSeparatorInset

        public void setSeparatorInset​(UIEdgeInsets value)
        allows customization of the separator frame API-Since: 7.0
      • setShouldIndentWhileEditing

        public void setShouldIndentWhileEditing​(boolean value)
        default is YES. This is unrelated to the indentation level below.
      • setShowsReorderControl

        public void setShowsReorderControl​(boolean value)
        default is NO
      • setTarget_unsafe

        @Deprecated
        public void setTarget_unsafe​(@Nullable
                                     @Nullable java.lang.Object value)
        Deprecated.
        target for insert/delete/accessory clicks. default is nil (i.e. go up responder chain). weak reference API-Since: 2.0 Deprecated-Since: 3.0
      • setTarget

        @Deprecated
        public void setTarget​(@Nullable
                              @Nullable java.lang.Object value)
        Deprecated.
        target for insert/delete/accessory clicks. default is nil (i.e. go up responder chain). weak reference API-Since: 2.0 Deprecated-Since: 3.0
      • setText

        @Deprecated
        public void setText​(@Nullable
                            @Nullable java.lang.String value)
        Deprecated.
        default is nil API-Since: 2.0 Deprecated-Since: 3.0
      • setTextAlignment

        @Deprecated
        public void setTextAlignment​(long value)
        Deprecated.
        default is UITextAlignmentLeft API-Since: 2.0 Deprecated-Since: 3.0
      • setTextColor

        @Deprecated
        public void setTextColor​(@Nullable
                                 @Nullable UIColor value)
        Deprecated.
        default is nil (text draws black) API-Since: 2.0 Deprecated-Since: 3.0
      • shouldIndentWhileEditing

        public boolean shouldIndentWhileEditing()
        default is YES. This is unrelated to the indentation level below.
      • showingDeleteConfirmation

        public boolean showingDeleteConfirmation()
        currently showing "Delete" button
      • showsReorderControl

        public boolean showsReorderControl()
        default is NO
      • target

        @Nullable
        @Deprecated
        public @Nullable java.lang.Object target()
        Deprecated.
        target for insert/delete/accessory clicks. default is nil (i.e. go up responder chain). weak reference API-Since: 2.0 Deprecated-Since: 3.0
      • text

        @Nullable
        @Deprecated
        public @Nullable java.lang.String text()
        Deprecated.
        default is nil API-Since: 2.0 Deprecated-Since: 3.0
      • textAlignment

        @Deprecated
        public long textAlignment()
        Deprecated.
        default is UITextAlignmentLeft API-Since: 2.0 Deprecated-Since: 3.0
      • textColor

        @Nullable
        @Deprecated
        public @Nullable UIColor textColor()
        Deprecated.
        default is nil (text draws black) API-Since: 2.0 Deprecated-Since: 3.0
      • textLabel

        @Nullable
        @Deprecated
        public @Nullable UILabel textLabel()
        Deprecated.
        default is nil. label will be created if necessary. API-Since: 3.0 Deprecated-Since: 100000.0 Deprecated-Message: Use UIListContentConfiguration instead, this property will be deprecated in a future release.
      • willTransitionToState

        public void willTransitionToState​(long state)
        These methods can be used by subclasses to animate additional changes to the cell when the cell is changing state Note that when the cell is swiped, the cell will be transitioned into the UITableViewCellStateShowingDeleteConfirmationMask state, but the UITableViewCellStateShowingEditControlMask will not be set. API-Since: 3.0
      • dragStateDidChange

        public void dragStateDidChange​(long dragState)
        Override this method to receive notifications that the cell's drag state has changed. Call super if you want to apply the default appearance. API-Since: 11.0
      • setUserInteractionEnabledWhileDragging

        public void setUserInteractionEnabledWhileDragging​(boolean value)
        Controls whether the cell in the table view allows user interaction once it is part of a drag (UITableViewCellDragStateDragging). Default is NO. API-Since: 11.0
      • userInteractionEnabledWhileDragging

        public boolean userInteractionEnabledWhileDragging()
        Controls whether the cell in the table view allows user interaction once it is part of a drag (UITableViewCellDragStateDragging). Default is NO. API-Since: 11.0
      • automaticallyUpdatesBackgroundConfiguration

        public boolean automaticallyUpdatesBackgroundConfiguration()
        When YES, the cell will automatically call -updatedConfigurationForState: on its `backgroundConfiguration` when the cell's configuration state changes, and apply the updated configuration back to the cell. The default value is YES. API-Since: 14.0
      • automaticallyUpdatesContentConfiguration

        public boolean automaticallyUpdatesContentConfiguration()
        When YES, the cell will automatically call -updatedConfigurationForState: on its `contentConfiguration` when the cell's configuration state changes, and apply the updated configuration back to the cell. The default value is YES. API-Since: 14.0
      • backgroundConfiguration

        @Nullable
        public @Nullable UIBackgroundConfiguration backgroundConfiguration()
        Setting a background configuration supersedes the cell's backgroundView, selectedBackgroundView, and multipleSelectionBackgroundView. The default value is nil. API-Since: 14.0
      • configurationState

        @NotNull
        public @NotNull UICellConfigurationState configurationState()
        Returns the current configuration state for the cell. To add your own custom state(s), override the getter and call super to obtain an instance with the system properties set, then set your own custom states as desired. API-Since: 14.0
      • contentConfiguration

        @Nullable
        public @Nullable UIContentConfiguration contentConfiguration()
        Setting a content configuration replaces the existing contentView of the cell with a new content view instance from the configuration, or directly applies the configuration to the existing content view if the configuration is compatible with the existing content view type. The default value is nil. After a configuration has been set, setting this property to nil will replace the current content view with a new content view. API-Since: 14.0
      • defaultContentConfiguration

        @NotNull
        public @NotNull UIListContentConfiguration defaultContentConfiguration()
        Returns a default list content configuration for the cell's style. API-Since: 14.0
      • setAutomaticallyUpdatesBackgroundConfiguration

        public void setAutomaticallyUpdatesBackgroundConfiguration​(boolean value)
        When YES, the cell will automatically call -updatedConfigurationForState: on its `backgroundConfiguration` when the cell's configuration state changes, and apply the updated configuration back to the cell. The default value is YES. API-Since: 14.0
      • setAutomaticallyUpdatesContentConfiguration

        public void setAutomaticallyUpdatesContentConfiguration​(boolean value)
        When YES, the cell will automatically call -updatedConfigurationForState: on its `contentConfiguration` when the cell's configuration state changes, and apply the updated configuration back to the cell. The default value is YES. API-Since: 14.0
      • setBackgroundConfiguration

        public void setBackgroundConfiguration​(@Nullable
                                               @Nullable UIBackgroundConfiguration value)
        Setting a background configuration supersedes the cell's backgroundView, selectedBackgroundView, and multipleSelectionBackgroundView. The default value is nil. API-Since: 14.0
      • setContentConfiguration

        public void setContentConfiguration​(@Nullable
                                            @Nullable UIContentConfiguration value)
        Setting a content configuration replaces the existing contentView of the cell with a new content view instance from the configuration, or directly applies the configuration to the existing content view if the configuration is compatible with the existing content view type. The default value is nil. After a configuration has been set, setting this property to nil will replace the current content view with a new content view. API-Since: 14.0
      • setNeedsUpdateConfiguration

        public void setNeedsUpdateConfiguration()
        Requests the cell update its configuration for its current state. This method is called automatically when the cell's `configurationState` may have changed, as well as in other circumstances where an update may be required. Multiple requests may be coalesced into a single update at the appropriate time. API-Since: 14.0
      • updateConfigurationUsingState

        public void updateConfigurationUsingState​(@NotNull
                                                  @NotNull UICellConfigurationState state)
        Subclasses should override this method and update the cell's configuration using the state provided. This method should not be called directly, use `setNeedsUpdateConfiguration` to request an update. API-Since: 14.0
      • configurationUpdateHandler

        @Nullable
        public @Nullable UITableViewCell.Block_configurationUpdateHandler_ret configurationUpdateHandler()
        Optional block-based alternative to overriding `-updateConfigurationUsingState:` in a subclass. This handler is called after `-updateConfigurationUsingState:`. Setting a new handler triggers `setNeedsUpdateConfiguration`. API-Since: 15.0
      • setConfigurationUpdateHandler

        public void setConfigurationUpdateHandler​(@Nullable
                                                  @Nullable UITableViewCell.Block_setConfigurationUpdateHandler value)
        Optional block-based alternative to overriding `-updateConfigurationUsingState:` in a subclass. This handler is called after `-updateConfigurationUsingState:`. Setting a new handler triggers `setNeedsUpdateConfiguration`. API-Since: 15.0
      • defaultBackgroundConfiguration

        @NotNull
        public @NotNull UIBackgroundConfiguration defaultBackgroundConfiguration()
        Returns a default background configuration for the cell's style. This background configuration represents the default appearance that the cell will use. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.