Package apple.uikit
Class UITableViewDiffableDataSource<_SectionIdentifierType,_ItemIdentifierType>
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UITableViewDiffableDataSource<_SectionIdentifierType,_ItemIdentifierType>
-
- All Implemented Interfaces:
NSObject,UITableViewDataSource
public class UITableViewDiffableDataSource<_SectionIdentifierType,_ItemIdentifierType> extends NSObject implements UITableViewDataSource
API-Since: 13.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUITableViewDiffableDataSource.Block_applySnapshotAnimatingDifferencesCompletionstatic interfaceUITableViewDiffableDataSource.Block_applySnapshotUsingReloadDataCompletionstatic interfaceUITableViewDiffableDataSource.Block_initWithTableViewCellProvider-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUITableViewDiffableDataSource(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static UITableViewDiffableDataSource<?,?>alloc()static UITableViewDiffableDataSource<?,?>allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)voidapplySnapshotAnimatingDifferences(@NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot, boolean animatingDifferences)Apply a snapshot to the table view committing to the new data source state.voidapplySnapshotAnimatingDifferencesCompletion(@NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot, boolean animatingDifferences, @Nullable UITableViewDiffableDataSource.Block_applySnapshotAnimatingDifferencesCompletion completion)voidapplySnapshotUsingReloadData(@NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot)Apply a snapshot to the table view using reloadData.voidapplySnapshotUsingReloadDataCompletion(@NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot, @Nullable UITableViewDiffableDataSource.Block_applySnapshotUsingReloadDataCompletion completion)API-Since: 15.0static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()longdefaultRowAnimation()Default value is UITableViewRowAnimationAutomatic.static java.lang.Stringdescription_static()static longhash_static()longindexForSectionIdentifier(_SectionIdentifierType identifier)API-Since: 15.0@Nullable NSIndexPathindexPathForItemIdentifier(_ItemIdentifierType identifier)UITableViewDiffableDataSource<?,?>init()UITableViewDiffableDataSource<?,?>initWithTableViewCellProvider(@NotNull UITableView tableView, @NotNull UITableViewDiffableDataSource.Block_initWithTableViewCellProvider cellProvider)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)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)_ItemIdentifierTypeitemIdentifierForIndexPath(@NotNull NSIndexPath indexPath)convert item NSIndexPath <-> ItemIdentifierTypestatic @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static UITableViewDiffableDataSource<?,?>new_objc()longnumberOfSectionsInTableView(@NotNull UITableView tableView)Default is 1 if not implementedstatic booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)_SectionIdentifierTypesectionIdentifierForIndex(long index)convert section index <-> SectionIdentifierType API-Since: 15.0@Nullable NSArray<java.lang.String>sectionIndexTitlesForTableView(@NotNull UITableView tableView)return list of section titles to display in section index view (e.g.voidsetDefaultRowAnimation(long value)Default value is UITableViewRowAnimationAutomatic.static voidsetVersion_static(long aVersion)@NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType>snapshot()Create a snapshot of the current UITableView data source state.static org.moe.natj.objc.Classsuperclass_static()booleantableViewCanEditRowAtIndexPath(@NotNull UITableView tableView, @NotNull NSIndexPath indexPath)Individual rows can opt out of having the -editing property set for them.booleantableViewCanMoveRowAtIndexPath(@NotNull UITableView tableView, @NotNull NSIndexPath indexPath)Allows the reorder accessory view to optionally be shown for a particular row.@NotNull UITableViewCelltableViewCellForRowAtIndexPath(@NotNull UITableView tableView, @NotNull NSIndexPath indexPath)Row display.voidtableViewCommitEditingStyleForRowAtIndexPath(@NotNull UITableView tableView, long editingStyle, @NotNull NSIndexPath indexPath)After a row has the minus or plus button invoked (based on the UITableViewCellEditingStyle for the cell), the dataSource must commit the change Not called for edit actions using UITableViewRowAction - the action's handler will be invoked insteadvoidtableViewMoveRowAtIndexPathToIndexPath(@NotNull UITableView tableView, @NotNull NSIndexPath sourceIndexPath, @NotNull NSIndexPath destinationIndexPath)Data manipulation - reorder / moving supportlongtableViewNumberOfRowsInSection(@NotNull UITableView tableView, long section)longtableViewSectionForSectionIndexTitleAtIndex(@NotNull UITableView tableView, @NotNull java.lang.String title, long index)tell table which section corresponds to section title/index (e.g.@Nullable java.lang.StringtableViewTitleForFooterInSection(@NotNull UITableView tableView, long section)@Nullable java.lang.StringtableViewTitleForHeaderInSection(@NotNull UITableView tableView, long section)fixed font style.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static UITableViewDiffableDataSource<?,?> alloc()
-
allocWithZone
public static UITableViewDiffableDataSource<?,?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
applySnapshotAnimatingDifferences
public void applySnapshotAnimatingDifferences(@NotNull @NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot, boolean animatingDifferences)Apply a snapshot to the table view committing to the new data source state. animatingDifferences == YES: perform a diff between the current UITableView state and the snapshot, and animate the update. animatingDifferences == NO: perform a diff between the current UITableView state and the snapshot, but don't animate the update. If the (optional) completion block is specified, it will be called on the main queue when any animations are completed. Note: you may call this from a background queue which will cause the diff (if needed) to be generated on the calling queue and the final UI update to be applied back on the main queue. However, all applySnapshot invocations must be confined to the same queue. (if you violate this restriction and mix calls between the main queue and some background queue, the framework will log and/or assert to avoid deadlocks)
-
applySnapshotAnimatingDifferencesCompletion
public void applySnapshotAnimatingDifferencesCompletion(@NotNull @NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot, boolean animatingDifferences, @Nullable @Nullable UITableViewDiffableDataSource.Block_applySnapshotAnimatingDifferencesCompletion completion)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
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()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
defaultRowAnimation
public long defaultRowAnimation()
Default value is UITableViewRowAnimationAutomatic. Change takes effect on the next update.
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
indexPathForItemIdentifier
@Nullable public @Nullable NSIndexPath indexPathForItemIdentifier(@NotNull _ItemIdentifierType identifier)
-
init
public UITableViewDiffableDataSource<?,?> init()
-
initWithTableViewCellProvider
public UITableViewDiffableDataSource<?,?> initWithTableViewCellProvider(@NotNull @NotNull UITableView tableView, @NotNull @NotNull UITableViewDiffableDataSource.Block_initWithTableViewCellProvider cellProvider)
-
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)
-
itemIdentifierForIndexPath
@Nullable public _ItemIdentifierType itemIdentifierForIndexPath(@NotNull @NotNull NSIndexPath indexPath)
convert item NSIndexPath <-> ItemIdentifierType
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static UITableViewDiffableDataSource<?,?> new_objc()
-
numberOfSectionsInTableView
public long numberOfSectionsInTableView(@NotNull @NotNull UITableView tableView)Description copied from interface:UITableViewDataSourceDefault is 1 if not implemented- Specified by:
numberOfSectionsInTableViewin interfaceUITableViewDataSource
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
sectionIndexTitlesForTableView
@Nullable public @Nullable NSArray<java.lang.String> sectionIndexTitlesForTableView(@NotNull @NotNull UITableView tableView)
Description copied from interface:UITableViewDataSourcereturn list of section titles to display in section index view (e.g. "ABCD...Z#")- Specified by:
sectionIndexTitlesForTableViewin interfaceUITableViewDataSource
-
setDefaultRowAnimation
public void setDefaultRowAnimation(long value)
Default value is UITableViewRowAnimationAutomatic. Change takes effect on the next update.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
snapshot
@NotNull public @NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot()
Create a snapshot of the current UITableView data source state. This snapshot can be mutated and later applied via -applySnapshot:animatingDifferences:
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
tableViewCanEditRowAtIndexPath
public boolean tableViewCanEditRowAtIndexPath(@NotNull @NotNull UITableView tableView, @NotNull @NotNull NSIndexPath indexPath)Description copied from interface:UITableViewDataSourceIndividual rows can opt out of having the -editing property set for them. If not implemented, all rows are assumed to be editable.- Specified by:
tableViewCanEditRowAtIndexPathin interfaceUITableViewDataSource
-
tableViewCanMoveRowAtIndexPath
public boolean tableViewCanMoveRowAtIndexPath(@NotNull @NotNull UITableView tableView, @NotNull @NotNull NSIndexPath indexPath)Description copied from interface:UITableViewDataSourceAllows the reorder accessory view to optionally be shown for a particular row. By default, the reorder control will be shown only if the datasource implements -tableView:moveRowAtIndexPath:toIndexPath:- Specified by:
tableViewCanMoveRowAtIndexPathin interfaceUITableViewDataSource
-
tableViewCellForRowAtIndexPath
@NotNull public @NotNull UITableViewCell tableViewCellForRowAtIndexPath(@NotNull @NotNull UITableView tableView, @NotNull @NotNull NSIndexPath indexPath)
Description copied from interface:UITableViewDataSourceRow display. Implementers should *always* try to reuse cells by setting each cell's reuseIdentifier and querying for available reusable cells with dequeueReusableCellWithIdentifier: Cell gets various attributes set automatically based on table (separators) and data source (accessory views, editing controls)- Specified by:
tableViewCellForRowAtIndexPathin interfaceUITableViewDataSource
-
tableViewCommitEditingStyleForRowAtIndexPath
public void tableViewCommitEditingStyleForRowAtIndexPath(@NotNull @NotNull UITableView tableView, long editingStyle, @NotNull @NotNull NSIndexPath indexPath)Description copied from interface:UITableViewDataSourceAfter a row has the minus or plus button invoked (based on the UITableViewCellEditingStyle for the cell), the dataSource must commit the change Not called for edit actions using UITableViewRowAction - the action's handler will be invoked instead- Specified by:
tableViewCommitEditingStyleForRowAtIndexPathin interfaceUITableViewDataSource
-
tableViewMoveRowAtIndexPathToIndexPath
public void tableViewMoveRowAtIndexPathToIndexPath(@NotNull @NotNull UITableView tableView, @NotNull @NotNull NSIndexPath sourceIndexPath, @NotNull @NotNull NSIndexPath destinationIndexPath)Description copied from interface:UITableViewDataSourceData manipulation - reorder / moving support- Specified by:
tableViewMoveRowAtIndexPathToIndexPathin interfaceUITableViewDataSource
-
tableViewNumberOfRowsInSection
public long tableViewNumberOfRowsInSection(@NotNull @NotNull UITableView tableView, long section)- Specified by:
tableViewNumberOfRowsInSectionin interfaceUITableViewDataSource
-
tableViewSectionForSectionIndexTitleAtIndex
public long tableViewSectionForSectionIndexTitleAtIndex(@NotNull @NotNull UITableView tableView, @NotNull @NotNull java.lang.String title, long index)Description copied from interface:UITableViewDataSourcetell table which section corresponds to section title/index (e.g. "B",1))- Specified by:
tableViewSectionForSectionIndexTitleAtIndexin interfaceUITableViewDataSource
-
tableViewTitleForFooterInSection
@Nullable public @Nullable java.lang.String tableViewTitleForFooterInSection(@NotNull @NotNull UITableView tableView, long section)- Specified by:
tableViewTitleForFooterInSectionin interfaceUITableViewDataSource
-
tableViewTitleForHeaderInSection
@Nullable public @Nullable java.lang.String tableViewTitleForHeaderInSection(@NotNull @NotNull UITableView tableView, long section)Description copied from interface:UITableViewDataSourcefixed font style. use custom view (UILabel) if you want something different- Specified by:
tableViewTitleForHeaderInSectionin interfaceUITableViewDataSource
-
version_static
public static long version_static()
-
applySnapshotUsingReloadData
public void applySnapshotUsingReloadData(@NotNull @NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot)Apply a snapshot to the table view using reloadData. This always skips diffing, and immediately resets the UITableView to the new data source state without animation. Generally this should only be used for specific cases where you need to fully reset the table view's data to the new state immediately (e.g. recycling the table view for use with a completely different data set), or when you specifically want to skip diffing (e.g. applying an exceptionally large changeset). API-Since: 15.0
-
applySnapshotUsingReloadDataCompletion
public void applySnapshotUsingReloadDataCompletion(@NotNull @NotNull NSDiffableDataSourceSnapshot<_SectionIdentifierType,_ItemIdentifierType> snapshot, @Nullable @Nullable UITableViewDiffableDataSource.Block_applySnapshotUsingReloadDataCompletion completion)API-Since: 15.0
-
indexForSectionIdentifier
public long indexForSectionIdentifier(@NotNull _SectionIdentifierType identifier)API-Since: 15.0
-
sectionIdentifierForIndex
@Nullable public _SectionIdentifierType sectionIdentifierForIndex(long index)
convert section index <-> SectionIdentifierType API-Since: 15.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-