Package apple.uikit

Class UITableViewDiffableDataSource<_SectionIdentifierType,​_ItemIdentifierType>

    • Constructor Detail

      • UITableViewDiffableDataSource

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • applySnapshotAnimatingDifferences

        public void applySnapshotAnimatingDifferences​(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: commit to the new table view state from the snapshot. The changes will not be animated. If the (optional) completion block is specified, it will be called on the main queue when the 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)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

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

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

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

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

        public _ItemIdentifierType itemIdentifierForIndexPath​(NSIndexPath indexPath)
        convert IndexPath <-> ItemIdentifierType
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • 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)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • tableViewCanMoveRowAtIndexPath

        public boolean tableViewCanMoveRowAtIndexPath​(UITableView tableView,
                                                      NSIndexPath indexPath)
        Description copied from interface: UITableViewDataSource
        Allows 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:
        tableViewCanMoveRowAtIndexPath in interface UITableViewDataSource
      • tableViewCellForRowAtIndexPath

        public UITableViewCell tableViewCellForRowAtIndexPath​(UITableView tableView,
                                                              NSIndexPath indexPath)
        Description copied from interface: UITableViewDataSource
        Row 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:
        tableViewCellForRowAtIndexPath in interface UITableViewDataSource
      • tableViewCommitEditingStyleForRowAtIndexPath

        public void tableViewCommitEditingStyleForRowAtIndexPath​(UITableView tableView,
                                                                 long editingStyle,
                                                                 NSIndexPath indexPath)
        Description copied from interface: UITableViewDataSource
        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 instead
        Specified by:
        tableViewCommitEditingStyleForRowAtIndexPath in interface UITableViewDataSource
      • version_static

        public static long version_static()