Package apple.uikit
Class UITableViewController
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIViewController
-
- apple.uikit.UITableViewController
-
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObject,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIScrollViewDelegate,UIStateRestoring,UITableViewDataSource,UITableViewDelegate,UITraitEnvironment,UIUserActivityRestoring
- Direct Known Subclasses:
CABTMIDICentralViewController
public class UITableViewController extends UIViewController implements UITableViewDelegate, UITableViewDataSource
Creates a table view with the correct dimensions and autoresizing, setting the datasource and delegate to self. In -viewWillAppear:, it reloads the table's data if it's empty. Otherwise, it deselects all rows (with or without animation) if clearsSelectionOnViewWillAppear is YES. In -viewDidAppear:, it flashes the table's scroll indicators. Implements -setEditing:animated: to toggle the editing state of the table.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIViewController
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUITableViewController(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 UITableViewControlleralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static voidattemptRotationToDeviceOrientation()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()booleanclearsSelectionOnViewWillAppear()defaults to YES.static voidclearTextInputContextIdentifier(java.lang.String identifier)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()NSIndexPathindexPathForPreferredFocusedViewInTableView(UITableView tableView)UITableViewControllerinit()UITableViewControllerinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERUITableViewControllerinitWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)The designated initializer.UITableViewControllerinitWithStyle(long style)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)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.Objectnew_objc()longnumberOfSectionsInTableView(UITableView tableView)Default is 1 if not implementedstatic voidprepareInterstitialAds()UIRefreshControlrefreshControl()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidscrollViewDidChangeAdjustedContentInset(UIScrollView scrollView)Also see -[UIScrollView adjustedContentInsetDidChange]voidscrollViewDidEndDecelerating(UIScrollView scrollView)called when scroll view grinds to a haltvoidscrollViewDidEndDraggingWillDecelerate(UIScrollView scrollView, boolean decelerate)called on finger up if the user dragged. decelerate is true if it will continue moving afterwardsvoidscrollViewDidEndScrollingAnimation(UIScrollView scrollView)called when setContentOffset/scrollRectVisible:animated: finishes. not called if not animatingvoidscrollViewDidEndZoomingWithViewAtScale(UIScrollView scrollView, UIView view, double scale)scale between minimum and maximum. called after any 'bounce' animationsvoidscrollViewDidScroll(UIScrollView scrollView)any offset changesvoidscrollViewDidScrollToTop(UIScrollView scrollView)called when scrolling animation finished. may be called immediately if already at topvoidscrollViewDidZoom(UIScrollView scrollView)any zoom scale changesbooleanscrollViewShouldScrollToTop(UIScrollView scrollView)return a yes if you want to scroll to the top. if not defined, assumes YESvoidscrollViewWillBeginDecelerating(UIScrollView scrollView)called on finger up as we are movingvoidscrollViewWillBeginDragging(UIScrollView scrollView)called on start of dragging (may require some time and or distance to move)voidscrollViewWillBeginZoomingWithView(UIScrollView scrollView, UIView view)called before the scroll view begins zooming its contentvoidscrollViewWillEndDraggingWithVelocityTargetContentOffset(UIScrollView scrollView, CGPoint velocity, CGPoint targetContentOffset)called on finger up if the user dragged. velocity is in points/millisecond. targetContentOffset may be changed to adjust where the scroll view comes to restNSArray<java.lang.String>sectionIndexTitlesForTableView(UITableView tableView)return list of section titles to display in section index view (e.g.voidsetClearsSelectionOnViewWillAppear(boolean value)defaults to YES.voidsetRefreshControl(UIRefreshControl value)voidsetTableView(UITableView value)static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()UITableViewtableView()voidtableViewAccessoryButtonTappedForRowWithIndexPath(UITableView tableView, NSIndexPath indexPath)longtableViewAccessoryTypeForRowWithIndexPath(UITableView tableView, NSIndexPath indexPath)Deprecated.booleantableViewCanEditRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Individual rows can opt out of having the -editing property set for them.booleantableViewCanFocusRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)FocusbooleantableViewCanMoveRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Allows the reorder accessory view to optionally be shown for a particular row.booleantableViewCanPerformActionForRowAtIndexPathWithSender(UITableView tableView, org.moe.natj.objc.SEL action, NSIndexPath indexPath, java.lang.Object sender)UITableViewCelltableViewCellForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Row display.voidtableViewCommitEditingStyleForRowAtIndexPath(UITableView tableView, long editingStyle, 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 insteadUIContextMenuConfigurationtableViewContextMenuConfigurationForRowAtIndexPathPoint(UITableView tableView, NSIndexPath indexPath, CGPoint point)Called when the interaction begins.voidtableViewDidBeginMultipleSelectionInteractionAtIndexPath(UITableView tableView, NSIndexPath indexPath)Called right after the multi-select pan gesture begins and the table view is automatically transitioned into editing mode.voidtableViewDidDeselectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)voidtableViewDidEndDisplayingCellForRowAtIndexPath(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)voidtableViewDidEndDisplayingFooterViewForSection(UITableView tableView, UIView view, long section)voidtableViewDidEndDisplayingHeaderViewForSection(UITableView tableView, UIView view, long section)voidtableViewDidEndEditingRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)voidtableViewDidEndMultipleSelectionInteraction(UITableView tableView)Called when the multi-select interaction ends.voidtableViewDidHighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)voidtableViewDidSelectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Called after the user changes the selection.voidtableViewDidUnhighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)voidtableViewDidUpdateFocusInContextWithAnimationCoordinator(UITableView tableView, UITableViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)NSArray<? extends UITableViewRowAction>tableViewEditActionsForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)This method supersedes -tableView:titleForDeleteConfirmationButtonForRowAtIndexPath: if return value is non-nillongtableViewEditingStyleForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Allows customization of the editingStyle for a particular cell located at 'indexPath'.doubletableViewEstimatedHeightForFooterInSection(UITableView tableView, long section)doubletableViewEstimatedHeightForHeaderInSection(UITableView tableView, long section)doubletableViewEstimatedHeightForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Use the estimatedHeight methods to quickly calcuate guessed values which will allow for fast load times of the table.doubletableViewHeightForFooterInSection(UITableView tableView, long section)doubletableViewHeightForHeaderInSection(UITableView tableView, long section)doubletableViewHeightForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Variable height supportlongtableViewIndentationLevelForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)return 'depth' of row for hierarchiesUISwipeActionsConfigurationtableViewLeadingSwipeActionsConfigurationForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Swipe actions These methods supersede -editActionsForRowAtIndexPath: if implemented return nil to get the default swipe actionsvoidtableViewMoveRowAtIndexPathToIndexPath(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)Data manipulation - reorder / moving supportlongtableViewNumberOfRowsInSection(UITableView tableView, long section)voidtableViewPerformActionForRowAtIndexPathWithSender(UITableView tableView, org.moe.natj.objc.SEL action, NSIndexPath indexPath, java.lang.Object sender)UITargetedPreviewtableViewPreviewForDismissingContextMenuWithConfiguration(UITableView tableView, UIContextMenuConfiguration configuration)Called when the interaction is about to dismiss.UITargetedPreviewtableViewPreviewForHighlightingContextMenuWithConfiguration(UITableView tableView, UIContextMenuConfiguration configuration)Called when the interaction begins.longtableViewSectionForSectionIndexTitleAtIndex(UITableView tableView, java.lang.String title, long index)tell table which section corresponds to section title/index (e.g.booleantableViewShouldBeginMultipleSelectionInteractionAtIndexPath(UITableView tableView, NSIndexPath indexPath)Allows a two-finger pan gesture to automatically transition the table view into editing mode and start selecting cells.booleantableViewShouldHighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)-tableView:shouldHighlightRowAtIndexPath: is called when a touch comes down on a row.booleantableViewShouldIndentWhileEditingRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Controls whether the background is indented while editing.booleantableViewShouldShowMenuForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Copy/Paste.booleantableViewShouldSpringLoadRowAtIndexPathWithContext(UITableView tableView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)Allows opting-out of spring loading for an particular row.booleantableViewShouldUpdateFocusInContext(UITableView tableView, UITableViewFocusUpdateContext context)NSIndexPathtableViewTargetIndexPathForMoveFromRowAtIndexPathToProposedIndexPath(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath proposedDestinationIndexPath)Allows customization of the target row for a particular row as it is being moved/reorderedjava.lang.StringtableViewTitleForDeleteConfirmationButtonForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)java.lang.StringtableViewTitleForFooterInSection(UITableView tableView, long section)java.lang.StringtableViewTitleForHeaderInSection(UITableView tableView, long section)fixed font style. use custom view (UILabel) if you want something differentUISwipeActionsConfigurationtableViewTrailingSwipeActionsConfigurationForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)UIViewtableViewViewForFooterInSection(UITableView tableView, long section)custom view for footer. will be adjusted to default or specified footer heightUIViewtableViewViewForHeaderInSection(UITableView tableView, long section)custom view for header. will be adjusted to default or specified header heightvoidtableViewWillBeginEditingRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)The willBegin/didEnd methods are called whenever the 'editing' property is automatically changed by the table (allowing insert/delete/move).NSIndexPathtableViewWillDeselectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)voidtableViewWillDisplayCellForRowAtIndexPath(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)Display customizationvoidtableViewWillDisplayContextMenuWithConfigurationAnimator(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)Called when the table view is about to display a menu.voidtableViewWillDisplayFooterViewForSection(UITableView tableView, UIView view, long section)voidtableViewWillDisplayHeaderViewForSection(UITableView tableView, UIView view, long section)voidtableViewWillEndContextMenuInteractionWithConfigurationAnimator(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)Called when the table view's context menu interaction is about to end.voidtableViewWillPerformPreviewActionForMenuWithConfigurationAnimator(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)Called when the interaction is about to "commit" in response to the user tapping the preview.NSIndexPathtableViewWillSelectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)Called before the user changes the selection.static longversion_static()UIViewviewForZoomingInScrollView(UIScrollView scrollView)return a view that will be scaled. if delegate returns nil, nothing happens-
Methods inherited from class apple.uikit.UIViewController
addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canDisplayBannerAds, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentSizeForViewInPopover, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, encodeWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interfaceOrientation, interstitialPresentationPolicy, isBeingDismissed, isBeingPresented, isDisplayingBannerAd, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, originalContentView, overrideTraitCollectionForChildViewController, overrideUserInterfaceStyle, parentFocusEnvironment, parentViewController, performsActionsWhilePresentingModally, performSegueWithIdentifierSender, popoverPresentationController, preferredContentSize, preferredContentSizeDidChangeForChildContentContainer, preferredFocusedView, preferredFocusEnvironments, preferredInterfaceOrientationForPresentation, preferredScreenEdgesDeferringSystemGestures, preferredStatusBarStyle, preferredStatusBarUpdateAnimation, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegueSender, presentationController, presentedViewController, presentingViewController, presentModalViewControllerAnimated, presentMoviePlayerViewControllerAnimated, presentViewControllerAnimatedCompletion, previewActionItems, providesPresentationContextTransitionStyle, registerForPreviewingWithDelegateSourceView, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationClass_unsafe, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate, setTransitioningDelegate_unsafe, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, shouldPresentInterstitialAd, shouldUpdateFocusInContext, showDetailViewControllerSender, showViewControllerSender, sizeForChildContentContainerWithParentContainerSize, splitViewController, storyboard, supportedInterfaceOrientations, systemLayoutFittingSizeDidChangeForChildContentContainer, systemMinimumLayoutMargins, tabBarController, tabBarItem, targetViewControllerForActionSender, title, toolbarItems, topLayoutGuide, traitCollection, traitCollectionDidChange, transitionCoordinator, transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion, transitioningDelegate, unregisterForPreviewingWithContext, unwindForSegueTowardsViewController, updateFocusIfNeeded, updateViewConstraints, view, viewControllerForUnwindSegueActionFromViewControllerWithSender, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewLayoutMarginsDidChange, viewRespectsSystemMinimumLayoutMargins, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSizeWithTransitionCoordinator, viewWillUnload, wantsFullScreenLayout, willAnimateFirstHalfOfRotationToInterfaceOrientationDuration, willAnimateRotationToInterfaceOrientationDuration, willAnimateSecondHalfOfRotationFromInterfaceOrientationDuration, willMoveToParentViewController, willRotateToInterfaceOrientationDuration, willTransitionToTraitCollectionWithTransitionCoordinator
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static UITableViewController alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
attemptRotationToDeviceOrientation
public static void attemptRotationToDeviceOrientation()
-
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()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(java.lang.String identifier)
-
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()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
prepareInterstitialAds
public static void prepareInterstitialAds()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
clearsSelectionOnViewWillAppear
public boolean clearsSelectionOnViewWillAppear()
defaults to YES. If YES, any selection is cleared in viewWillAppear:
-
indexPathForPreferredFocusedViewInTableView
public NSIndexPath indexPathForPreferredFocusedViewInTableView(UITableView tableView)
- Specified by:
indexPathForPreferredFocusedViewInTableViewin interfaceUITableViewDelegate
-
init
public UITableViewController init()
- Overrides:
initin classUIViewController
-
initWithCoder
public UITableViewController initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIViewController
-
initWithNibNameBundle
public UITableViewController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
Description copied from class:UIViewControllerThe designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.- Overrides:
initWithNibNameBundlein classUIViewController
-
initWithStyle
public UITableViewController initWithStyle(long style)
-
numberOfSectionsInTableView
public long numberOfSectionsInTableView(UITableView tableView)
Description copied from interface:UITableViewDataSourceDefault is 1 if not implemented- Specified by:
numberOfSectionsInTableViewin interfaceUITableViewDataSource
-
refreshControl
public UIRefreshControl refreshControl()
-
scrollViewDidEndDecelerating
public void scrollViewDidEndDecelerating(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegatecalled when scroll view grinds to a halt- Specified by:
scrollViewDidEndDeceleratingin interfaceUIScrollViewDelegate
-
scrollViewDidEndDraggingWillDecelerate
public void scrollViewDidEndDraggingWillDecelerate(UIScrollView scrollView, boolean decelerate)
Description copied from interface:UIScrollViewDelegatecalled on finger up if the user dragged. decelerate is true if it will continue moving afterwards- Specified by:
scrollViewDidEndDraggingWillDeceleratein interfaceUIScrollViewDelegate
-
scrollViewDidEndScrollingAnimation
public void scrollViewDidEndScrollingAnimation(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegatecalled when setContentOffset/scrollRectVisible:animated: finishes. not called if not animating- Specified by:
scrollViewDidEndScrollingAnimationin interfaceUIScrollViewDelegate
-
scrollViewDidEndZoomingWithViewAtScale
public void scrollViewDidEndZoomingWithViewAtScale(UIScrollView scrollView, UIView view, double scale)
Description copied from interface:UIScrollViewDelegatescale between minimum and maximum. called after any 'bounce' animations- Specified by:
scrollViewDidEndZoomingWithViewAtScalein interfaceUIScrollViewDelegate
-
scrollViewDidScroll
public void scrollViewDidScroll(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegateany offset changes- Specified by:
scrollViewDidScrollin interfaceUIScrollViewDelegate
-
scrollViewDidScrollToTop
public void scrollViewDidScrollToTop(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegatecalled when scrolling animation finished. may be called immediately if already at top- Specified by:
scrollViewDidScrollToTopin interfaceUIScrollViewDelegate
-
scrollViewDidZoom
public void scrollViewDidZoom(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegateany zoom scale changes- Specified by:
scrollViewDidZoomin interfaceUIScrollViewDelegate
-
scrollViewShouldScrollToTop
public boolean scrollViewShouldScrollToTop(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegatereturn a yes if you want to scroll to the top. if not defined, assumes YES- Specified by:
scrollViewShouldScrollToTopin interfaceUIScrollViewDelegate
-
scrollViewWillBeginDecelerating
public void scrollViewWillBeginDecelerating(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegatecalled on finger up as we are moving- Specified by:
scrollViewWillBeginDeceleratingin interfaceUIScrollViewDelegate
-
scrollViewWillBeginDragging
public void scrollViewWillBeginDragging(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegatecalled on start of dragging (may require some time and or distance to move)- Specified by:
scrollViewWillBeginDraggingin interfaceUIScrollViewDelegate
-
scrollViewWillBeginZoomingWithView
public void scrollViewWillBeginZoomingWithView(UIScrollView scrollView, UIView view)
Description copied from interface:UIScrollViewDelegatecalled before the scroll view begins zooming its content- Specified by:
scrollViewWillBeginZoomingWithViewin interfaceUIScrollViewDelegate
-
scrollViewWillEndDraggingWithVelocityTargetContentOffset
public void scrollViewWillEndDraggingWithVelocityTargetContentOffset(UIScrollView scrollView, CGPoint velocity, CGPoint targetContentOffset)
Description copied from interface:UIScrollViewDelegatecalled on finger up if the user dragged. velocity is in points/millisecond. targetContentOffset may be changed to adjust where the scroll view comes to rest- Specified by:
scrollViewWillEndDraggingWithVelocityTargetContentOffsetin interfaceUIScrollViewDelegate
-
sectionIndexTitlesForTableView
public NSArray<java.lang.String> sectionIndexTitlesForTableView(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
-
setClearsSelectionOnViewWillAppear
public void setClearsSelectionOnViewWillAppear(boolean value)
defaults to YES. If YES, any selection is cleared in viewWillAppear:
-
setRefreshControl
public void setRefreshControl(UIRefreshControl value)
-
setTableView
public void setTableView(UITableView value)
-
tableView
public UITableView tableView()
-
tableViewAccessoryButtonTappedForRowWithIndexPath
public void tableViewAccessoryButtonTappedForRowWithIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewAccessoryButtonTappedForRowWithIndexPathin interfaceUITableViewDelegate
-
tableViewAccessoryTypeForRowWithIndexPath
@Deprecated public long tableViewAccessoryTypeForRowWithIndexPath(UITableView tableView, NSIndexPath indexPath)
Deprecated.Description copied from interface:UITableViewDelegateAccessories (disclosures).- Specified by:
tableViewAccessoryTypeForRowWithIndexPathin interfaceUITableViewDelegate
-
tableViewCanEditRowAtIndexPath
public boolean tableViewCanEditRowAtIndexPath(UITableView tableView, 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
-
tableViewCanFocusRowAtIndexPath
public boolean tableViewCanFocusRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateFocus- Specified by:
tableViewCanFocusRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewCanMoveRowAtIndexPath
public boolean tableViewCanMoveRowAtIndexPath(UITableView tableView, 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
-
tableViewCanPerformActionForRowAtIndexPathWithSender
public boolean tableViewCanPerformActionForRowAtIndexPathWithSender(UITableView tableView, org.moe.natj.objc.SEL action, NSIndexPath indexPath, java.lang.Object sender)
- Specified by:
tableViewCanPerformActionForRowAtIndexPathWithSenderin interfaceUITableViewDelegate
-
tableViewCellForRowAtIndexPath
public UITableViewCell tableViewCellForRowAtIndexPath(UITableView tableView, 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(UITableView tableView, long editingStyle, 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
-
tableViewDidDeselectRowAtIndexPath
public void tableViewDidDeselectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewDidDeselectRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewDidEndDisplayingCellForRowAtIndexPath
public void tableViewDidEndDisplayingCellForRowAtIndexPath(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)
- Specified by:
tableViewDidEndDisplayingCellForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewDidEndDisplayingFooterViewForSection
public void tableViewDidEndDisplayingFooterViewForSection(UITableView tableView, UIView view, long section)
- Specified by:
tableViewDidEndDisplayingFooterViewForSectionin interfaceUITableViewDelegate
-
tableViewDidEndDisplayingHeaderViewForSection
public void tableViewDidEndDisplayingHeaderViewForSection(UITableView tableView, UIView view, long section)
- Specified by:
tableViewDidEndDisplayingHeaderViewForSectionin interfaceUITableViewDelegate
-
tableViewDidEndEditingRowAtIndexPath
public void tableViewDidEndEditingRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewDidEndEditingRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewDidHighlightRowAtIndexPath
public void tableViewDidHighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewDidHighlightRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewDidSelectRowAtIndexPath
public void tableViewDidSelectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateCalled after the user changes the selection.- Specified by:
tableViewDidSelectRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewDidUnhighlightRowAtIndexPath
public void tableViewDidUnhighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewDidUnhighlightRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewDidUpdateFocusInContextWithAnimationCoordinator
public void tableViewDidUpdateFocusInContextWithAnimationCoordinator(UITableView tableView, UITableViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)
- Specified by:
tableViewDidUpdateFocusInContextWithAnimationCoordinatorin interfaceUITableViewDelegate
-
tableViewEditActionsForRowAtIndexPath
public NSArray<? extends UITableViewRowAction> tableViewEditActionsForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateThis method supersedes -tableView:titleForDeleteConfirmationButtonForRowAtIndexPath: if return value is non-nil- Specified by:
tableViewEditActionsForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewEditingStyleForRowAtIndexPath
public long tableViewEditingStyleForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateAllows customization of the editingStyle for a particular cell located at 'indexPath'. If not implemented, all editable cells will have UITableViewCellEditingStyleDelete set for them when the table has editing property set to YES.- Specified by:
tableViewEditingStyleForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewEstimatedHeightForFooterInSection
public double tableViewEstimatedHeightForFooterInSection(UITableView tableView, long section)
- Specified by:
tableViewEstimatedHeightForFooterInSectionin interfaceUITableViewDelegate
-
tableViewEstimatedHeightForHeaderInSection
public double tableViewEstimatedHeightForHeaderInSection(UITableView tableView, long section)
- Specified by:
tableViewEstimatedHeightForHeaderInSectionin interfaceUITableViewDelegate
-
tableViewEstimatedHeightForRowAtIndexPath
public double tableViewEstimatedHeightForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateUse the estimatedHeight methods to quickly calcuate guessed values which will allow for fast load times of the table. If these methods are implemented, the above -tableView:heightForXXX calls will be deferred until views are ready to be displayed, so more expensive logic can be placed there.- Specified by:
tableViewEstimatedHeightForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewHeightForFooterInSection
public double tableViewHeightForFooterInSection(UITableView tableView, long section)
- Specified by:
tableViewHeightForFooterInSectionin interfaceUITableViewDelegate
-
tableViewHeightForHeaderInSection
public double tableViewHeightForHeaderInSection(UITableView tableView, long section)
- Specified by:
tableViewHeightForHeaderInSectionin interfaceUITableViewDelegate
-
tableViewHeightForRowAtIndexPath
public double tableViewHeightForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateVariable height support- Specified by:
tableViewHeightForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewIndentationLevelForRowAtIndexPath
public long tableViewIndentationLevelForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegatereturn 'depth' of row for hierarchies- Specified by:
tableViewIndentationLevelForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewMoveRowAtIndexPathToIndexPath
public void tableViewMoveRowAtIndexPathToIndexPath(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)
Description copied from interface:UITableViewDataSourceData manipulation - reorder / moving support- Specified by:
tableViewMoveRowAtIndexPathToIndexPathin interfaceUITableViewDataSource
-
tableViewNumberOfRowsInSection
public long tableViewNumberOfRowsInSection(UITableView tableView, long section)
- Specified by:
tableViewNumberOfRowsInSectionin interfaceUITableViewDataSource
-
tableViewPerformActionForRowAtIndexPathWithSender
public void tableViewPerformActionForRowAtIndexPathWithSender(UITableView tableView, org.moe.natj.objc.SEL action, NSIndexPath indexPath, java.lang.Object sender)
- Specified by:
tableViewPerformActionForRowAtIndexPathWithSenderin interfaceUITableViewDelegate
-
tableViewSectionForSectionIndexTitleAtIndex
public long tableViewSectionForSectionIndexTitleAtIndex(UITableView tableView, 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
-
tableViewShouldHighlightRowAtIndexPath
public boolean tableViewShouldHighlightRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegate-tableView:shouldHighlightRowAtIndexPath: is called when a touch comes down on a row. Returning NO to that message halts the selection process and does not cause the currently selected row to lose its selected look while the touch is down.- Specified by:
tableViewShouldHighlightRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewShouldIndentWhileEditingRowAtIndexPath
public boolean tableViewShouldIndentWhileEditingRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateControls whether the background is indented while editing. If not implemented, the default is YES. This is unrelated to the indentation level below. This method only applies to grouped style table views.- Specified by:
tableViewShouldIndentWhileEditingRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewShouldShowMenuForRowAtIndexPath
public boolean tableViewShouldShowMenuForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateCopy/Paste. All three methods must be implemented by the delegate.- Specified by:
tableViewShouldShowMenuForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewShouldUpdateFocusInContext
public boolean tableViewShouldUpdateFocusInContext(UITableView tableView, UITableViewFocusUpdateContext context)
- Specified by:
tableViewShouldUpdateFocusInContextin interfaceUITableViewDelegate
-
tableViewTargetIndexPathForMoveFromRowAtIndexPathToProposedIndexPath
public NSIndexPath tableViewTargetIndexPathForMoveFromRowAtIndexPathToProposedIndexPath(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath proposedDestinationIndexPath)
Description copied from interface:UITableViewDelegateAllows customization of the target row for a particular row as it is being moved/reordered- Specified by:
tableViewTargetIndexPathForMoveFromRowAtIndexPathToProposedIndexPathin interfaceUITableViewDelegate
-
tableViewTitleForDeleteConfirmationButtonForRowAtIndexPath
public java.lang.String tableViewTitleForDeleteConfirmationButtonForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewTitleForDeleteConfirmationButtonForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewTitleForFooterInSection
public java.lang.String tableViewTitleForFooterInSection(UITableView tableView, long section)
- Specified by:
tableViewTitleForFooterInSectionin interfaceUITableViewDataSource
-
tableViewTitleForHeaderInSection
public java.lang.String tableViewTitleForHeaderInSection(UITableView tableView, long section)
Description copied from interface:UITableViewDataSourcefixed font style. use custom view (UILabel) if you want something different- Specified by:
tableViewTitleForHeaderInSectionin interfaceUITableViewDataSource
-
tableViewViewForFooterInSection
public UIView tableViewViewForFooterInSection(UITableView tableView, long section)
Description copied from interface:UITableViewDelegatecustom view for footer. will be adjusted to default or specified footer height- Specified by:
tableViewViewForFooterInSectionin interfaceUITableViewDelegate
-
tableViewViewForHeaderInSection
public UIView tableViewViewForHeaderInSection(UITableView tableView, long section)
Description copied from interface:UITableViewDelegatecustom view for header. will be adjusted to default or specified header height- Specified by:
tableViewViewForHeaderInSectionin interfaceUITableViewDelegate
-
tableViewWillBeginEditingRowAtIndexPath
public void tableViewWillBeginEditingRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateThe willBegin/didEnd methods are called whenever the 'editing' property is automatically changed by the table (allowing insert/delete/move). This is done by a swipe activating a single row- Specified by:
tableViewWillBeginEditingRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewWillDeselectRowAtIndexPath
public NSIndexPath tableViewWillDeselectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewWillDeselectRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewWillDisplayCellForRowAtIndexPath
public void tableViewWillDisplayCellForRowAtIndexPath(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateDisplay customization- Specified by:
tableViewWillDisplayCellForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewWillDisplayFooterViewForSection
public void tableViewWillDisplayFooterViewForSection(UITableView tableView, UIView view, long section)
- Specified by:
tableViewWillDisplayFooterViewForSectionin interfaceUITableViewDelegate
-
tableViewWillDisplayHeaderViewForSection
public void tableViewWillDisplayHeaderViewForSection(UITableView tableView, UIView view, long section)
- Specified by:
tableViewWillDisplayHeaderViewForSectionin interfaceUITableViewDelegate
-
tableViewWillSelectRowAtIndexPath
public NSIndexPath tableViewWillSelectRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateCalled before the user changes the selection. Return a new indexPath, or nil, to change the proposed selection.- Specified by:
tableViewWillSelectRowAtIndexPathin interfaceUITableViewDelegate
-
viewForZoomingInScrollView
public UIView viewForZoomingInScrollView(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegatereturn a view that will be scaled. if delegate returns nil, nothing happens- Specified by:
viewForZoomingInScrollViewin interfaceUIScrollViewDelegate
-
scrollViewDidChangeAdjustedContentInset
public void scrollViewDidChangeAdjustedContentInset(UIScrollView scrollView)
Description copied from interface:UIScrollViewDelegateAlso see -[UIScrollView adjustedContentInsetDidChange]- Specified by:
scrollViewDidChangeAdjustedContentInsetin interfaceUIScrollViewDelegate
-
tableViewLeadingSwipeActionsConfigurationForRowAtIndexPath
public UISwipeActionsConfiguration tableViewLeadingSwipeActionsConfigurationForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateSwipe actions These methods supersede -editActionsForRowAtIndexPath: if implemented return nil to get the default swipe actions- Specified by:
tableViewLeadingSwipeActionsConfigurationForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewShouldSpringLoadRowAtIndexPathWithContext
public boolean tableViewShouldSpringLoadRowAtIndexPathWithContext(UITableView tableView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)
Description copied from interface:UITableViewDelegateAllows opting-out of spring loading for an particular row. If you want the interaction effect on a different subview of the spring loaded cell, modify the context.targetView property. The default is the cell. If this method is not implemented, the default is YES except when the row is part of a drag session.- Specified by:
tableViewShouldSpringLoadRowAtIndexPathWithContextin interfaceUITableViewDelegate
-
tableViewTrailingSwipeActionsConfigurationForRowAtIndexPath
public UISwipeActionsConfiguration tableViewTrailingSwipeActionsConfigurationForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
- Specified by:
tableViewTrailingSwipeActionsConfigurationForRowAtIndexPathin interfaceUITableViewDelegate
-
tableViewContextMenuConfigurationForRowAtIndexPathPoint
public UIContextMenuConfiguration tableViewContextMenuConfigurationForRowAtIndexPathPoint(UITableView tableView, NSIndexPath indexPath, CGPoint point)
Description copied from interface:UITableViewDelegateCalled when the interaction begins.- Specified by:
tableViewContextMenuConfigurationForRowAtIndexPathPointin interfaceUITableViewDelegate- Parameters:
tableView- This UITableView.indexPath- IndexPath of the row for which a configuration is being requested.point- Location of the interaction in the table view's coordinate space- Returns:
- A UIContextMenuConfiguration describing the menu to be presented. Return nil to prevent the interaction from beginning. Returning an empty configuration causes the interaction to begin then fail with a cancellation effect. You might use this to indicate to users that it's possible for a menu to be presented from this element, but that there are no actions to present at this particular time.
-
tableViewDidBeginMultipleSelectionInteractionAtIndexPath
public void tableViewDidBeginMultipleSelectionInteractionAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateCalled right after the multi-select pan gesture begins and the table view is automatically transitioned into editing mode. In your app, this would be a good opportunity to update the state of your UI to reflect the fact that the user is now selecting multiple items at once; such as updating buttons to say "Done" instead of "Select"/"Edit", for instance.- Specified by:
tableViewDidBeginMultipleSelectionInteractionAtIndexPathin interfaceUITableViewDelegate
-
tableViewPreviewForDismissingContextMenuWithConfiguration
public UITargetedPreview tableViewPreviewForDismissingContextMenuWithConfiguration(UITableView tableView, UIContextMenuConfiguration configuration)
Description copied from interface:UITableViewDelegateCalled when the interaction is about to dismiss. Return a UITargetedPreview describing the desired dismissal target. The interaction will animate the presented menu to the target. Use this to customize the dismissal animation.- Specified by:
tableViewPreviewForDismissingContextMenuWithConfigurationin interfaceUITableViewDelegate- Parameters:
tableView- This UITableView.configuration- The configuration of the menu displayed by this interaction.
-
tableViewPreviewForHighlightingContextMenuWithConfiguration
public UITargetedPreview tableViewPreviewForHighlightingContextMenuWithConfiguration(UITableView tableView, UIContextMenuConfiguration configuration)
Description copied from interface:UITableViewDelegateCalled when the interaction begins. Return a UITargetedPreview to override the default preview created by the table view.- Specified by:
tableViewPreviewForHighlightingContextMenuWithConfigurationin interfaceUITableViewDelegate- Parameters:
tableView- This UITableView.configuration- The configuration of the menu about to be displayed by this interaction.
-
tableViewShouldBeginMultipleSelectionInteractionAtIndexPath
public boolean tableViewShouldBeginMultipleSelectionInteractionAtIndexPath(UITableView tableView, NSIndexPath indexPath)
Description copied from interface:UITableViewDelegateAllows a two-finger pan gesture to automatically transition the table view into editing mode and start selecting cells. If this method returns YES, allow the user to start selecting multiple contiguous cells via a two-finger pan gesture. If the table view is already in editing mode, the user can also select multiple cells via a one-finger pan gesture along the edge of the table that contains editing controls (checkboxes). In order to support this behavior, you must also set allowsMultipleSelectionDuringEditing to YES. If this method is not implemented, the default is NO.- Specified by:
tableViewShouldBeginMultipleSelectionInteractionAtIndexPathin interfaceUITableViewDelegate
-
tableViewWillPerformPreviewActionForMenuWithConfigurationAnimator
public void tableViewWillPerformPreviewActionForMenuWithConfigurationAnimator(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)
Description copied from interface:UITableViewDelegateCalled when the interaction is about to "commit" in response to the user tapping the preview.- Specified by:
tableViewWillPerformPreviewActionForMenuWithConfigurationAnimatorin interfaceUITableViewDelegate- Parameters:
tableView- This UITableView.configuration- Configuration of the currently displayed menu.animator- Commit animator. Add animations to this object to run them alongside the commit transition.
-
tableViewDidEndMultipleSelectionInteraction
public void tableViewDidEndMultipleSelectionInteraction(UITableView tableView)
Description copied from interface:UITableViewDelegateCalled when the multi-select interaction ends. At this point, the table view will remain in multi-select mode, but this delegate method is called to indicate that the multiple selection gesture or hardware keyboard interaction has ended.- Specified by:
tableViewDidEndMultipleSelectionInteractionin interfaceUITableViewDelegate
-
tableViewWillDisplayContextMenuWithConfigurationAnimator
public void tableViewWillDisplayContextMenuWithConfigurationAnimator(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
Description copied from interface:UITableViewDelegateCalled when the table view is about to display a menu.- Specified by:
tableViewWillDisplayContextMenuWithConfigurationAnimatorin interfaceUITableViewDelegate- Parameters:
tableView- This UITableView.configuration- The configuration of the menu about to be displayed.animator- Appearance animator. Add animations to run them alongside the appearance transition.
-
tableViewWillEndContextMenuInteractionWithConfigurationAnimator
public void tableViewWillEndContextMenuInteractionWithConfigurationAnimator(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
Description copied from interface:UITableViewDelegateCalled when the table view's context menu interaction is about to end.- Specified by:
tableViewWillEndContextMenuInteractionWithConfigurationAnimatorin interfaceUITableViewDelegate- Parameters:
tableView- This UITableView.configuration- Ending configuration.animator- Disappearance animator. Add animations to run them alongside the disappearance transition.
-
-