Package apple.uikit

Class UITableView

    • Constructor Detail

      • UITableView

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        @NotNull
        public static @NotNull UITableView appearance()
      • appearanceForTraitCollection

        @NotNull
        public static @NotNull UITableView appearanceForTraitCollection​(@NotNull
                                                                        @NotNull UITraitCollection trait)
      • appearanceForTraitCollectionWhenContainedIn

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

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

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

        @NotNull
        public static @NotNull UITableView 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()
      • allowsMultipleSelection

        public boolean allowsMultipleSelection()
        default is NO. Controls whether multiple rows can be selected simultaneously API-Since: 5.0
      • allowsMultipleSelectionDuringEditing

        public boolean allowsMultipleSelectionDuringEditing()
        default is NO. Controls whether multiple rows can be selected simultaneously in editing mode API-Since: 5.0
      • allowsSelection

        public boolean allowsSelection()
        default is YES. Controls whether rows can be selected when not in editing mode API-Since: 3.0
      • allowsSelectionDuringEditing

        public boolean allowsSelectionDuringEditing()
        default is NO. Controls whether rows can be selected when in editing mode
      • _appearance

        @NotNull
        public @NotNull UITableView _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 UIScrollView
      • _appearanceWhenContainedIn

        @NotNull
        @Deprecated
        public @NotNull UITableView _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 UIScrollView
      • backgroundView

        @Nullable
        public @Nullable UIView backgroundView()
        the background view will be automatically resized to track the size of the table view. this will be placed as a subview of the table view behind all cells and headers/footers. default may be non-nil for some devices. API-Since: 3.2
      • beginUpdates

        public void beginUpdates()
        Use -performBatchUpdates:completion: instead of these methods, which will be deprecated in a future release.
      • cellForRowAtIndexPath

        @Nullable
        public @Nullable UITableViewCell cellForRowAtIndexPath​(@NotNull
                                                               @NotNull NSIndexPath indexPath)
        Returns any existing visible or prepared cell for the index path. Returns nil when no cell exists, or if index path is out of range.
      • cellLayoutMarginsFollowReadableWidth

        public boolean cellLayoutMarginsFollowReadableWidth()
        if cell layout margins are derived from the width of the readableContentGuide. default is NO. API-Since: 9.0
      • delegate

        @Nullable
        public @Nullable java.lang.Object delegate()
        Description copied from class: UIScrollView
        default nil. weak reference
        Overrides:
        delegate in class UIScrollView
      • deleteRowsAtIndexPathsWithRowAnimation

        public void deleteRowsAtIndexPathsWithRowAnimation​(@NotNull
                                                           @NotNull NSArray<? extends NSIndexPath> indexPaths,
                                                           long animation)
      • deleteSectionsWithRowAnimation

        public void deleteSectionsWithRowAnimation​(@NotNull
                                                   @NotNull NSIndexSet sections,
                                                   long animation)
      • dequeueReusableCellWithIdentifier

        @Nullable
        public @Nullable UITableViewCell dequeueReusableCellWithIdentifier​(@NotNull
                                                                           @NotNull java.lang.String identifier)
        Used by the delegate to acquire an already allocated cell, in lieu of allocating a new one.
      • dequeueReusableCellWithIdentifierForIndexPath

        @NotNull
        public @NotNull UITableViewCell dequeueReusableCellWithIdentifierForIndexPath​(@NotNull
                                                                                      @NotNull java.lang.String identifier,
                                                                                      @NotNull
                                                                                      @NotNull NSIndexPath indexPath)
        newer dequeue method guarantees a cell is returned and resized properly, assuming identifier is registered API-Since: 6.0
      • dequeueReusableHeaderFooterViewWithIdentifier

        @Nullable
        public @Nullable UITableViewHeaderFooterView dequeueReusableHeaderFooterViewWithIdentifier​(@NotNull
                                                                                                   @NotNull java.lang.String identifier)
        like dequeueReusableCellWithIdentifier:, but for headers/footers API-Since: 6.0
      • deselectRowAtIndexPathAnimated

        public void deselectRowAtIndexPathAnimated​(@NotNull
                                                   @NotNull NSIndexPath indexPath,
                                                   boolean animated)
      • endUpdates

        public void endUpdates()
      • estimatedRowHeight

        public double estimatedRowHeight()
        default is UITableViewAutomaticDimension, set to 0 to disable API-Since: 7.0
      • estimatedSectionFooterHeight

        public double estimatedSectionFooterHeight()
        default is UITableViewAutomaticDimension, set to 0 to disable API-Since: 7.0
      • estimatedSectionHeaderHeight

        public double estimatedSectionHeaderHeight()
        default is UITableViewAutomaticDimension, set to 0 to disable API-Since: 7.0
      • indexPathForCell

        @Nullable
        public @Nullable NSIndexPath indexPathForCell​(@NotNull
                                                      @NotNull UITableViewCell cell)
        returns nil if cell is not visible
      • indexPathForRowAtPoint

        @Nullable
        public @Nullable NSIndexPath indexPathForRowAtPoint​(CGPoint point)
        returns nil if point is outside of any row in the table
      • indexPathForSelectedRow

        @Nullable
        public @Nullable NSIndexPath indexPathForSelectedRow()
        returns nil or index path representing section and row of selection.
      • indexPathsForRowsInRect

        @Nullable
        public @Nullable NSArray<? extends NSIndexPath> indexPathsForRowsInRect​(CGRect rect)
        returns nil if rect not valid
      • indexPathsForSelectedRows

        @Nullable
        public @Nullable NSArray<? extends NSIndexPath> indexPathsForSelectedRows()
        returns nil or a set of index paths representing the sections and rows of the selection. API-Since: 5.0
      • indexPathsForVisibleRows

        @Nullable
        public @Nullable NSArray<? extends NSIndexPath> indexPathsForVisibleRows()
      • initWithFrameStyle

        public UITableView initWithFrameStyle​(CGRect frame,
                                              long style)
        must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
      • insertRowsAtIndexPathsWithRowAnimation

        public void insertRowsAtIndexPathsWithRowAnimation​(@NotNull
                                                           @NotNull NSArray<? extends NSIndexPath> indexPaths,
                                                           long animation)
      • insertSectionsWithRowAnimation

        public void insertSectionsWithRowAnimation​(@NotNull
                                                   @NotNull NSIndexSet sections,
                                                   long animation)
      • isEditing

        public boolean isEditing()
        default is NO. setting is not animated.
      • setEditing

        public void setEditing​(boolean value)
        default is NO. setting is not animated.
      • moveRowAtIndexPathToIndexPath

        public void moveRowAtIndexPathToIndexPath​(@NotNull
                                                  @NotNull NSIndexPath indexPath,
                                                  @NotNull
                                                  @NotNull NSIndexPath newIndexPath)
        API-Since: 5.0
      • moveSectionToSection

        public void moveSectionToSection​(long section,
                                         long newSection)
        API-Since: 5.0
      • numberOfRowsInSection

        public long numberOfRowsInSection​(long section)
      • numberOfSections

        public long numberOfSections()
        Info
      • rectForFooterInSection

        public CGRect rectForFooterInSection​(long section)
      • rectForHeaderInSection

        public CGRect rectForHeaderInSection​(long section)
      • rectForRowAtIndexPath

        public CGRect rectForRowAtIndexPath​(@NotNull
                                            @NotNull NSIndexPath indexPath)
      • rectForSection

        public CGRect rectForSection​(long section)
        includes header, footer and all rows
      • registerClassForCellReuseIdentifier

        public void registerClassForCellReuseIdentifier​(@Nullable
                                                        @Nullable org.moe.natj.objc.Class cellClass,
                                                        @NotNull
                                                        @NotNull java.lang.String identifier)
        API-Since: 6.0
      • registerClassForHeaderFooterViewReuseIdentifier

        public void registerClassForHeaderFooterViewReuseIdentifier​(@Nullable
                                                                    @Nullable org.moe.natj.objc.Class aClass,
                                                                    @NotNull
                                                                    @NotNull java.lang.String identifier)
        API-Since: 6.0
      • registerNibForCellReuseIdentifier

        public void registerNibForCellReuseIdentifier​(@Nullable
                                                      @Nullable UINib nib,
                                                      @NotNull
                                                      @NotNull java.lang.String identifier)
        Beginning in iOS 6, clients can register a nib or class for each cell. If all reuse identifiers are registered, use the newer -dequeueReusableCellWithIdentifier:forIndexPath: to guarantee that a cell instance is returned. Instances returned from the new dequeue method will also be properly sized when they are returned. API-Since: 5.0
      • registerNibForHeaderFooterViewReuseIdentifier

        public void registerNibForHeaderFooterViewReuseIdentifier​(@Nullable
                                                                  @Nullable UINib nib,
                                                                  @NotNull
                                                                  @NotNull java.lang.String identifier)
        API-Since: 6.0
      • reloadData

        public void reloadData()
        Reloads everything from scratch. Redisplays visible rows. Note that this will cause any existing drop placeholder rows to be removed.
      • reloadRowsAtIndexPathsWithRowAnimation

        public void reloadRowsAtIndexPathsWithRowAnimation​(@NotNull
                                                           @NotNull NSArray<? extends NSIndexPath> indexPaths,
                                                           long animation)
        API-Since: 3.0
      • reloadSectionIndexTitles

        public void reloadSectionIndexTitles()
        Reloads the section index bar. API-Since: 3.0
      • reloadSectionsWithRowAnimation

        public void reloadSectionsWithRowAnimation​(@NotNull
                                                   @NotNull NSIndexSet sections,
                                                   long animation)
        API-Since: 3.0
      • remembersLastFocusedIndexPath

        public boolean remembersLastFocusedIndexPath()
        defaults to NO. If YES, when focusing on a table view the last focused index path is focused automatically. If the table view has never been focused, then the preferred focused index path is used. API-Since: 9.0
      • rowHeight

        public double rowHeight()
        default is UITableViewAutomaticDimension
      • scrollToNearestSelectedRowAtScrollPositionAnimated

        public void scrollToNearestSelectedRowAtScrollPositionAnimated​(long scrollPosition,
                                                                       boolean animated)
      • scrollToRowAtIndexPathAtScrollPositionAnimated

        public void scrollToRowAtIndexPathAtScrollPositionAnimated​(@NotNull
                                                                   @NotNull NSIndexPath indexPath,
                                                                   long scrollPosition,
                                                                   boolean animated)
      • sectionFooterHeight

        public double sectionFooterHeight()
        default is UITableViewAutomaticDimension
      • sectionHeaderHeight

        public double sectionHeaderHeight()
        default is UITableViewAutomaticDimension
      • sectionIndexBackgroundColor

        @Nullable
        public @Nullable UIColor sectionIndexBackgroundColor()
        the background color of the section index while not being touched API-Since: 7.0
      • sectionIndexColor

        @Nullable
        public @Nullable UIColor sectionIndexColor()
        color used for text of the section index API-Since: 6.0
      • sectionIndexMinimumDisplayRowCount

        public long sectionIndexMinimumDisplayRowCount()
        show special section index list on right when row count reaches this value. default is 0
      • sectionIndexTrackingBackgroundColor

        @Nullable
        public @Nullable UIColor sectionIndexTrackingBackgroundColor()
        the background color of the section index while it is being touched API-Since: 6.0
      • selectRowAtIndexPathAnimatedScrollPosition

        public void selectRowAtIndexPathAnimatedScrollPosition​(@Nullable
                                                               @Nullable NSIndexPath indexPath,
                                                               boolean animated,
                                                               long scrollPosition)
        Selects and deselects rows. These methods will not call the delegate methods (-tableView:willSelectRowAtIndexPath: or tableView:didSelectRowAtIndexPath:), nor will it send out a notification.
      • separatorColor

        @Nullable
        public @Nullable UIColor separatorColor()
        default is the standard separator gray
      • separatorEffect

        @Nullable
        public @Nullable UIVisualEffect separatorEffect()
        effect to apply to table separators API-Since: 8.0
      • separatorInset

        public UIEdgeInsets separatorInset()
        allows customization of the frame of cell separators; see also the separatorInsetReference property. Use UITableViewAutomaticDimension for the automatic inset for that edge. API-Since: 7.0
      • separatorStyle

        public long separatorStyle()
        default is UITableViewCellSeparatorStyleSingleLine
      • setAllowsMultipleSelection

        public void setAllowsMultipleSelection​(boolean value)
        default is NO. Controls whether multiple rows can be selected simultaneously API-Since: 5.0
      • setAllowsMultipleSelectionDuringEditing

        public void setAllowsMultipleSelectionDuringEditing​(boolean value)
        default is NO. Controls whether multiple rows can be selected simultaneously in editing mode API-Since: 5.0
      • setAllowsSelection

        public void setAllowsSelection​(boolean value)
        default is YES. Controls whether rows can be selected when not in editing mode API-Since: 3.0
      • setAllowsSelectionDuringEditing

        public void setAllowsSelectionDuringEditing​(boolean value)
        default is NO. Controls whether rows can be selected when in editing mode
      • setBackgroundView

        public void setBackgroundView​(@Nullable
                                      @Nullable UIView value)
        the background view will be automatically resized to track the size of the table view. this will be placed as a subview of the table view behind all cells and headers/footers. default may be non-nil for some devices. API-Since: 3.2
      • setCellLayoutMarginsFollowReadableWidth

        public void setCellLayoutMarginsFollowReadableWidth​(boolean value)
        if cell layout margins are derived from the width of the readableContentGuide. default is NO. API-Since: 9.0
      • setDataSource_unsafe

        public void setDataSource_unsafe​(@Nullable
                                         @Nullable UITableViewDataSource value)
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable java.lang.Object value)
        Description copied from class: UIScrollView
        default nil. weak reference
        Overrides:
        setDelegate_unsafe in class UIScrollView
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable java.lang.Object value)
        Description copied from class: UIScrollView
        default nil. weak reference
        Overrides:
        setDelegate in class UIScrollView
      • setEditingAnimated

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

        public void setEstimatedRowHeight​(double value)
        default is UITableViewAutomaticDimension, set to 0 to disable API-Since: 7.0
      • setEstimatedSectionFooterHeight

        public void setEstimatedSectionFooterHeight​(double value)
        default is UITableViewAutomaticDimension, set to 0 to disable API-Since: 7.0
      • setEstimatedSectionHeaderHeight

        public void setEstimatedSectionHeaderHeight​(double value)
        default is UITableViewAutomaticDimension, set to 0 to disable API-Since: 7.0
      • setRemembersLastFocusedIndexPath

        public void setRemembersLastFocusedIndexPath​(boolean value)
        defaults to NO. If YES, when focusing on a table view the last focused index path is focused automatically. If the table view has never been focused, then the preferred focused index path is used. API-Since: 9.0
      • setRowHeight

        public void setRowHeight​(double value)
        default is UITableViewAutomaticDimension
      • setSectionFooterHeight

        public void setSectionFooterHeight​(double value)
        default is UITableViewAutomaticDimension
      • setSectionHeaderHeight

        public void setSectionHeaderHeight​(double value)
        default is UITableViewAutomaticDimension
      • setSectionIndexBackgroundColor

        public void setSectionIndexBackgroundColor​(@Nullable
                                                   @Nullable UIColor value)
        the background color of the section index while not being touched API-Since: 7.0
      • setSectionIndexColor

        public void setSectionIndexColor​(@Nullable
                                         @Nullable UIColor value)
        color used for text of the section index API-Since: 6.0
      • setSectionIndexMinimumDisplayRowCount

        public void setSectionIndexMinimumDisplayRowCount​(long value)
        show special section index list on right when row count reaches this value. default is 0
      • setSectionIndexTrackingBackgroundColor

        public void setSectionIndexTrackingBackgroundColor​(@Nullable
                                                           @Nullable UIColor value)
        the background color of the section index while it is being touched API-Since: 6.0
      • setSeparatorColor

        public void setSeparatorColor​(@Nullable
                                      @Nullable UIColor value)
        default is the standard separator gray
      • setSeparatorEffect

        public void setSeparatorEffect​(@Nullable
                                       @Nullable UIVisualEffect value)
        effect to apply to table separators API-Since: 8.0
      • setSeparatorInset

        public void setSeparatorInset​(UIEdgeInsets value)
        allows customization of the frame of cell separators; see also the separatorInsetReference property. Use UITableViewAutomaticDimension for the automatic inset for that edge. API-Since: 7.0
      • setSeparatorStyle

        public void setSeparatorStyle​(long value)
        default is UITableViewCellSeparatorStyleSingleLine
      • setTableFooterView

        public void setTableFooterView​(@Nullable
                                       @Nullable UIView value)
        accessory view below content. default is nil. not to be confused with section footer
      • setTableHeaderView

        public void setTableHeaderView​(@Nullable
                                       @Nullable UIView value)
        accessory view for above row content. default is nil. not to be confused with section header
      • style

        public long style()
      • tableFooterView

        @Nullable
        public @Nullable UIView tableFooterView()
        accessory view below content. default is nil. not to be confused with section footer
      • tableHeaderView

        @Nullable
        public @Nullable UIView tableHeaderView()
        accessory view for above row content. default is nil. not to be confused with section header
      • dataSourceSectionIndexForPresentationSectionIndex

        public long dataSourceSectionIndexForPresentationSectionIndex​(long presentationSectionIndex)
        Description copied from interface: UIDataSourceTranslating
        Translate (if needed) a Presentation section index to its Data Source section index value. If section was inserted and not known the Data Source, this will return NSNotFound. If no effective change took place, will return passed value.
        Specified by:
        dataSourceSectionIndexForPresentationSectionIndex in interface UIDataSourceTranslating
      • dragInteractionEnabled

        public boolean dragInteractionEnabled()
        You can force drags to be disabled for this table view by setting this to NO. As of iOS 15, this is true for both iPhone and iPad by default. Prior to iOS 15, it defaulted to false on iPhone. API-Since: 11.0
      • hasActiveDrag

        public boolean hasActiveDrag()
        YES if a drag session is currently active. A drag session begins after rows are "lifted" from the table view. API-Since: 11.0
      • hasActiveDrop

        public boolean hasActiveDrop()
        YES if table view is currently tracking a drop session. API-Since: 11.0
      • hasUncommittedUpdates

        public boolean hasUncommittedUpdates()
        Returns YES if the table view is in the middle of reordering, is displaying a drop target gap, or has drop placeholders. If possible, avoid calling -reloadData while there are uncommitted updates to avoid interfering with user-initiated interactions that have not yet completed. API-Since: 11.0
      • insetsContentViewsToSafeArea

        public boolean insetsContentViewsToSafeArea()
        default value is YES API-Since: 11.0
      • presentationSectionIndexForDataSourceSectionIndex

        public long presentationSectionIndexForDataSourceSectionIndex​(long dataSourceSectionIndex)
        Description copied from interface: UIDataSourceTranslating
        Translate (if needed) a Data Source section index to its Presentation section index value. If section was deleted during a transaction, this will return NSNotFound. If no effective change took place, will return passed value.
        Specified by:
        presentationSectionIndexForDataSourceSectionIndex in interface UIDataSourceTranslating
      • separatorInsetReference

        public long separatorInsetReference()
        Changes how custom separatorInset values are interpreted. The default value is UITableViewSeparatorInsetFromCellEdges API-Since: 11.0
      • setDragDelegate_unsafe

        public void setDragDelegate_unsafe​(@Nullable
                                           @Nullable UITableViewDragDelegate value)
        API-Since: 11.0
      • setDragDelegate

        public void setDragDelegate​(@Nullable
                                    @Nullable UITableViewDragDelegate value)
        API-Since: 11.0
      • setDragInteractionEnabled

        public void setDragInteractionEnabled​(boolean value)
        You can force drags to be disabled for this table view by setting this to NO. As of iOS 15, this is true for both iPhone and iPad by default. Prior to iOS 15, it defaulted to false on iPhone. API-Since: 11.0
      • setDropDelegate_unsafe

        public void setDropDelegate_unsafe​(@Nullable
                                           @Nullable UITableViewDropDelegate value)
        API-Since: 11.0
      • setDropDelegate

        public void setDropDelegate​(@Nullable
                                    @Nullable UITableViewDropDelegate value)
        API-Since: 11.0
      • setInsetsContentViewsToSafeArea

        public void setInsetsContentViewsToSafeArea​(boolean value)
        default value is YES API-Since: 11.0
      • setSeparatorInsetReference

        public void setSeparatorInsetReference​(long value)
        Changes how custom separatorInset values are interpreted. The default value is UITableViewSeparatorInsetFromCellEdges API-Since: 11.0
      • selectionFollowsFocus

        public boolean selectionFollowsFocus()
        When enabled, the table view ensures that selection is automatically triggered when focus moves to a cell. Defaults to a system derived value based on platform and other properties of the table view. API-Since: 14.0
      • setSelectionFollowsFocus

        public void setSelectionFollowsFocus​(boolean value)
        When enabled, the table view ensures that selection is automatically triggered when focus moves to a cell. Defaults to a system derived value based on platform and other properties of the table view. API-Since: 14.0
      • allowsFocus

        public boolean allowsFocus()
        Determines if the table view allows its cells to become focused. When tableView:canFocusRowAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the table view. API-Since: 15.0
      • allowsFocusDuringEditing

        public boolean allowsFocusDuringEditing()
        Determines if the table view allows its cells to become focused while editing. When tableView:canFocusRowAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the table view. API-Since: 15.0
      • fillerRowHeight

        public double fillerRowHeight()
        The height for filler rows added below the last row when there aren't enough rows to fill a plain style table view. Set 0 to disable filler rows entirely, use `UITableViewAutomaticDimension` for the default height. API-Since: 15.0
      • isPrefetchingEnabled

        public boolean isPrefetchingEnabled()
        API-Since: 15.0
      • reconfigureRowsAtIndexPaths

        public void reconfigureRowsAtIndexPaths​(@NotNull
                                                @NotNull NSArray<? extends NSIndexPath> indexPaths)
        Reconfigures any existing cells for the rows. Reconfiguring is more efficient than reloading a row, as it does not replace the existing cell with a new cell. Prefer reconfiguring over reloading unless you actually need an entirely new cell for the row. API-Since: 15.0
      • sectionHeaderTopPadding

        public double sectionHeaderTopPadding()
        Padding above each section header. The default value is `UITableViewAutomaticDimension`. API-Since: 15.0
      • setAllowsFocus

        public void setAllowsFocus​(boolean value)
        Determines if the table view allows its cells to become focused. When tableView:canFocusRowAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the table view. API-Since: 15.0
      • setAllowsFocusDuringEditing

        public void setAllowsFocusDuringEditing​(boolean value)
        Determines if the table view allows its cells to become focused while editing. When tableView:canFocusRowAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the table view. API-Since: 15.0
      • setFillerRowHeight

        public void setFillerRowHeight​(double value)
        The height for filler rows added below the last row when there aren't enough rows to fill a plain style table view. Set 0 to disable filler rows entirely, use `UITableViewAutomaticDimension` for the default height. API-Since: 15.0
      • setPrefetchingEnabled

        public void setPrefetchingEnabled​(boolean value)
        API-Since: 15.0
      • setSectionHeaderTopPadding

        public void setSectionHeaderTopPadding​(double value)
        Padding above each section header. The default value is `UITableViewAutomaticDimension`. API-Since: 15.0
      • selfSizingInvalidation

        public long selfSizingInvalidation()
        API-Since: 16.0
      • setSelfSizingInvalidation

        public void setSelfSizingInvalidation​(long value)
        API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.