public class UICollectionViewController extends UIViewController implements UICollectionViewDelegate, UICollectionViewDataSource
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
UICollectionViewController(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static UICollectionViewController |
alloc() |
static UICollectionViewController |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static void |
attemptRotationToDeviceOrientation() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(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.Class |
classForKeyedUnarchiver() |
boolean |
clearsSelectionOnViewWillAppear()
Defaults to YES, and if YES, any selection is cleared in viewWillAppear:
This property has no effect if the useLayoutToLayoutNavigationTransitions property is set to YES
|
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
UICollectionView |
collectionView() |
boolean |
collectionViewCanEditItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
Editing
Asks the delegate to verify that the given item is editable.
|
boolean |
collectionViewCanFocusItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
Focus
|
boolean |
collectionViewCanMoveItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath) |
boolean |
collectionViewCanPerformActionForItemAtIndexPathWithSender(UICollectionView collectionView,
org.moe.natj.objc.SEL action,
NSIndexPath indexPath,
java.lang.Object sender) |
UICollectionViewCell |
collectionViewCellForItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
The cell that is returned must be retrieved from a call to -dequeueReusableCellWithReuseIdentifier:forIndexPath:
|
UIContextMenuConfiguration |
collectionViewContextMenuConfigurationForItemAtIndexPathPoint(UICollectionView collectionView,
NSIndexPath indexPath,
CGPoint point)
Called when the interaction begins.
|
void |
collectionViewDidBeginMultipleSelectionInteractionAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
Called right after allowsMultipleSelection is set to YES if -collectionView:shouldBeginMultipleSelectionInteractionAtIndexPath:
returned YES.
|
void |
collectionViewDidDeselectItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath) |
void |
collectionViewDidEndDisplayingCellForItemAtIndexPath(UICollectionView collectionView,
UICollectionViewCell cell,
NSIndexPath indexPath) |
void |
collectionViewDidEndDisplayingSupplementaryViewForElementOfKindAtIndexPath(UICollectionView collectionView,
UICollectionReusableView view,
java.lang.String elementKind,
NSIndexPath indexPath) |
void |
collectionViewDidEndMultipleSelectionInteraction(UICollectionView collectionView)
Called when the multi-select interaction ends.
|
void |
collectionViewDidHighlightItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath) |
void |
collectionViewDidSelectItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath) |
void |
collectionViewDidUnhighlightItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath) |
void |
collectionViewDidUpdateFocusInContextWithAnimationCoordinator(UICollectionView collectionView,
UICollectionViewFocusUpdateContext context,
UIFocusAnimationCoordinator coordinator) |
NSIndexPath |
collectionViewIndexPathForIndexTitleAtIndex(UICollectionView collectionView,
java.lang.String title,
long index)
Returns the index path that corresponds to the given title / index.
|
UICollectionViewLayout |
collectionViewLayout()
The layout object is needed when defining interactive layout to layout transitions.
|
void |
collectionViewMoveItemAtIndexPathToIndexPath(UICollectionView collectionView,
NSIndexPath sourceIndexPath,
NSIndexPath destinationIndexPath) |
long |
collectionViewNumberOfItemsInSection(UICollectionView collectionView,
long section) |
void |
collectionViewPerformActionForItemAtIndexPathWithSender(UICollectionView collectionView,
org.moe.natj.objc.SEL action,
NSIndexPath indexPath,
java.lang.Object sender) |
UITargetedPreview |
collectionViewPreviewForDismissingContextMenuWithConfiguration(UICollectionView collectionView,
UIContextMenuConfiguration configuration)
Called when the interaction is about to dismiss.
|
UITargetedPreview |
collectionViewPreviewForHighlightingContextMenuWithConfiguration(UICollectionView collectionView,
UIContextMenuConfiguration configuration)
Called when the interaction begins.
|
UIWindowSceneActivationConfiguration |
collectionViewSceneActivationConfigurationForItemAtIndexPathPoint(UICollectionView collectionView,
NSIndexPath indexPath,
CGPoint point)
Return a valid @c UIWindowSceneActivationConfiguration to allow for the cell to be expanded into a new scene.
|
boolean |
collectionViewSelectionFollowsFocusForItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
Determines if the item at the specified index path should also become selected when focus moves to it.
|
boolean |
collectionViewShouldBeginMultipleSelectionInteractionAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
Allows a two-finger pan gesture to automatically enable allowsMultipleSelection and start selecting multiple cells.
|
boolean |
collectionViewShouldDeselectItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
called when the user taps on an already-selected item in multi-select mode
|
boolean |
collectionViewShouldHighlightItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
Methods for notification of selection/deselection and highlight/unhighlight events.
|
boolean |
collectionViewShouldSelectItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath) |
boolean |
collectionViewShouldShowMenuForItemAtIndexPath(UICollectionView collectionView,
NSIndexPath indexPath)
These methods provide support for copy/paste actions on cells.
|
boolean |
collectionViewShouldSpringLoadItemAtIndexPathWithContext(UICollectionView collectionView,
NSIndexPath indexPath,
UISpringLoadedInteractionContext context)
Allows opting-out of spring loading for an particular item.
|
boolean |
collectionViewShouldUpdateFocusInContext(UICollectionView collectionView,
UICollectionViewFocusUpdateContext context) |
CGPoint |
collectionViewTargetContentOffsetForProposedContentOffset(UICollectionView collectionView,
CGPoint proposedContentOffset)
customize the content offset to be applied during transition or update animations
|
NSIndexPath |
collectionViewTargetIndexPathForMoveFromItemAtIndexPathToProposedIndexPath(UICollectionView collectionView,
NSIndexPath currentIndexPath,
NSIndexPath proposedIndexPath) |
NSIndexPath |
collectionViewTargetIndexPathForMoveOfItemFromOriginalIndexPathAtCurrentIndexPathToProposedIndexPath(UICollectionView collectionView,
NSIndexPath originalIndexPath,
NSIndexPath currentIndexPath,
NSIndexPath proposedIndexPath) |
UICollectionViewTransitionLayout |
collectionViewTransitionLayoutForOldLayoutNewLayout(UICollectionView collectionView,
UICollectionViewLayout fromLayout,
UICollectionViewLayout toLayout)
support for custom transition layout
|
UICollectionReusableView |
collectionViewViewForSupplementaryElementOfKindAtIndexPath(UICollectionView collectionView,
java.lang.String kind,
NSIndexPath indexPath)
The view that is returned must be retrieved from a call to -dequeueReusableSupplementaryViewOfKind:withReuseIdentifier:forIndexPath:
|
void |
collectionViewWillDisplayCellForItemAtIndexPath(UICollectionView collectionView,
UICollectionViewCell cell,
NSIndexPath indexPath) |
void |
collectionViewWillDisplayContextMenuWithConfigurationAnimator(UICollectionView collectionView,
UIContextMenuConfiguration configuration,
UIContextMenuInteractionAnimating animator)
Called when the collection view is about to display a menu.
|
void |
collectionViewWillDisplaySupplementaryViewForElementKindAtIndexPath(UICollectionView collectionView,
UICollectionReusableView view,
java.lang.String elementKind,
NSIndexPath indexPath) |
void |
collectionViewWillEndContextMenuInteractionWithConfigurationAnimator(UICollectionView collectionView,
UIContextMenuConfiguration configuration,
UIContextMenuInteractionAnimating animator)
Called when the collection view's context menu interaction is about to end.
|
void |
collectionViewWillPerformPreviewActionForMenuWithConfigurationAnimator(UICollectionView collectionView,
UIContextMenuConfiguration configuration,
UIContextMenuInteractionCommitAnimating animator)
Called when the interaction is about to "commit" in response to the user tapping the preview.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
NSIndexPath |
indexPathForPreferredFocusedViewInCollectionView(UICollectionView collectionView) |
NSArray<java.lang.String> |
indexTitlesForCollectionView(UICollectionView collectionView)
Returns a list of index titles to display in the index view (e.g.
|
UICollectionViewController |
init() |
UICollectionViewController |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UICollectionViewController |
initWithCollectionViewLayout(UICollectionViewLayout layout) |
UICollectionViewController |
initWithNibNameBundle(java.lang.String nibNameOrNil,
NSBundle nibBundleOrNil)
The designated initializer.
|
boolean |
installsStandardGestureForInteractiveMovement()
Defaults to YES, and if YES, a system standard reordering gesture is used to drive collection view reordering
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static UICollectionViewController |
new_objc() |
long |
numberOfSectionsInCollectionView(UICollectionView collectionView) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
scrollViewDidChangeAdjustedContentInset(UIScrollView scrollView)
Also see -[UIScrollView adjustedContentInsetDidChange]
|
void |
scrollViewDidEndDecelerating(UIScrollView scrollView)
called when scroll view grinds to a halt
|
void |
scrollViewDidEndDraggingWillDecelerate(UIScrollView scrollView,
boolean decelerate)
called on finger up if the user dragged.
|
void |
scrollViewDidEndScrollingAnimation(UIScrollView scrollView)
called when setContentOffset/scrollRectVisible:animated: finishes.
|
void |
scrollViewDidEndZoomingWithViewAtScale(UIScrollView scrollView,
UIView view,
double scale)
scale between minimum and maximum.
|
void |
scrollViewDidScroll(UIScrollView scrollView)
any offset changes
|
void |
scrollViewDidScrollToTop(UIScrollView scrollView)
called when scrolling animation finished.
|
void |
scrollViewDidZoom(UIScrollView scrollView)
any zoom scale changes
|
boolean |
scrollViewShouldScrollToTop(UIScrollView scrollView)
return a yes if you want to scroll to the top.
|
void |
scrollViewWillBeginDecelerating(UIScrollView scrollView)
called on finger up as we are moving
|
void |
scrollViewWillBeginDragging(UIScrollView scrollView)
called on start of dragging (may require some time and or distance to move)
|
void |
scrollViewWillBeginZoomingWithView(UIScrollView scrollView,
UIView view)
called before the scroll view begins zooming its content
|
void |
scrollViewWillEndDraggingWithVelocityTargetContentOffset(UIScrollView scrollView,
CGPoint velocity,
CGPoint targetContentOffset)
called on finger up if the user dragged.
|
void |
setClearsSelectionOnViewWillAppear(boolean value)
Defaults to YES, and if YES, any selection is cleared in viewWillAppear:
This property has no effect if the useLayoutToLayoutNavigationTransitions property is set to YES
|
void |
setCollectionView(UICollectionView value) |
void |
setInstallsStandardGestureForInteractiveMovement(boolean value)
Defaults to YES, and if YES, a system standard reordering gesture is used to drive collection view reordering
|
void |
setUseLayoutToLayoutNavigationTransitions(boolean value)
Set to YES before pushing a a UICollectionViewController onto a
UINavigationController.
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
boolean |
useLayoutToLayoutNavigationTransitions()
Set to YES before pushing a a UICollectionViewController onto a
UINavigationController.
|
static long |
version_static() |
UIView |
viewForZoomingInScrollView(UIScrollView scrollView)
return a view that will be scaled.
|
addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentScrollViewForEdge, contentSizeForViewInPopover, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, encodeWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interfaceOrientation, isBeingDismissed, isBeingPresented, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, 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, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setContentScrollViewForEdge, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setFocusGroupIdentifier, setHidesBottomBarWhenPushed, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass_unsafe, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate_unsafe, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, sheetPresentationController, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, 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, willTransitionToTraitCollectionWithTransitionCoordinatoractivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, 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, willChangeValuesAtIndexesForKeyprotected UICollectionViewController(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static UICollectionViewController alloc()
public static UICollectionViewController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static void attemptRotationToDeviceOrientation()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static void clearTextInputContextIdentifier(java.lang.String identifier)
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UICollectionViewController new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public boolean clearsSelectionOnViewWillAppear()
public UICollectionView collectionView()
public boolean collectionViewCanFocusItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegatecollectionViewCanFocusItemAtIndexPath in interface UICollectionViewDelegatepublic boolean collectionViewCanMoveItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
collectionViewCanMoveItemAtIndexPath in interface UICollectionViewDataSourcepublic boolean collectionViewCanPerformActionForItemAtIndexPathWithSender(UICollectionView collectionView, org.moe.natj.objc.SEL action, NSIndexPath indexPath, java.lang.Object sender)
collectionViewCanPerformActionForItemAtIndexPathWithSender in interface UICollectionViewDelegatepublic UICollectionViewCell collectionViewCellForItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDataSourcecollectionViewCellForItemAtIndexPath in interface UICollectionViewDataSourcepublic void collectionViewDidDeselectItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
collectionViewDidDeselectItemAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewDidEndDisplayingCellForItemAtIndexPath(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath)
collectionViewDidEndDisplayingCellForItemAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewDidEndDisplayingSupplementaryViewForElementOfKindAtIndexPath(UICollectionView collectionView, UICollectionReusableView view, java.lang.String elementKind, NSIndexPath indexPath)
collectionViewDidEndDisplayingSupplementaryViewForElementOfKindAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewDidHighlightItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
collectionViewDidHighlightItemAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewDidSelectItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
collectionViewDidSelectItemAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewDidUnhighlightItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
collectionViewDidUnhighlightItemAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewDidUpdateFocusInContextWithAnimationCoordinator(UICollectionView collectionView, UICollectionViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)
collectionViewDidUpdateFocusInContextWithAnimationCoordinator in interface UICollectionViewDelegatepublic void collectionViewMoveItemAtIndexPathToIndexPath(UICollectionView collectionView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)
collectionViewMoveItemAtIndexPathToIndexPath in interface UICollectionViewDataSourcepublic long collectionViewNumberOfItemsInSection(UICollectionView collectionView, long section)
collectionViewNumberOfItemsInSection in interface UICollectionViewDataSourcepublic void collectionViewPerformActionForItemAtIndexPathWithSender(UICollectionView collectionView, org.moe.natj.objc.SEL action, NSIndexPath indexPath, java.lang.Object sender)
collectionViewPerformActionForItemAtIndexPathWithSender in interface UICollectionViewDelegatepublic boolean collectionViewShouldDeselectItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegatecollectionViewShouldDeselectItemAtIndexPath in interface UICollectionViewDelegatepublic boolean collectionViewShouldHighlightItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegate(when the touch begins) 1. -collectionView:shouldHighlightItemAtIndexPath: 2. -collectionView:didHighlightItemAtIndexPath:
(when the touch lifts) 3. -collectionView:shouldSelectItemAtIndexPath: or -collectionView:shouldDeselectItemAtIndexPath: 4. -collectionView:didSelectItemAtIndexPath: or -collectionView:didDeselectItemAtIndexPath: 5. -collectionView:didUnhighlightItemAtIndexPath:
collectionViewShouldHighlightItemAtIndexPath in interface UICollectionViewDelegatepublic boolean collectionViewShouldSelectItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
collectionViewShouldSelectItemAtIndexPath in interface UICollectionViewDelegatepublic boolean collectionViewShouldShowMenuForItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegatecollectionViewShouldShowMenuForItemAtIndexPath in interface UICollectionViewDelegatepublic boolean collectionViewShouldUpdateFocusInContext(UICollectionView collectionView, UICollectionViewFocusUpdateContext context)
collectionViewShouldUpdateFocusInContext in interface UICollectionViewDelegatepublic CGPoint collectionViewTargetContentOffsetForProposedContentOffset(UICollectionView collectionView, CGPoint proposedContentOffset)
UICollectionViewDelegatecollectionViewTargetContentOffsetForProposedContentOffset in interface UICollectionViewDelegatepublic NSIndexPath collectionViewTargetIndexPathForMoveFromItemAtIndexPathToProposedIndexPath(UICollectionView collectionView, NSIndexPath currentIndexPath, NSIndexPath proposedIndexPath)
collectionViewTargetIndexPathForMoveFromItemAtIndexPathToProposedIndexPath in interface UICollectionViewDelegatepublic UICollectionViewTransitionLayout collectionViewTransitionLayoutForOldLayoutNewLayout(UICollectionView collectionView, UICollectionViewLayout fromLayout, UICollectionViewLayout toLayout)
UICollectionViewDelegatecollectionViewTransitionLayoutForOldLayoutNewLayout in interface UICollectionViewDelegatepublic UICollectionReusableView collectionViewViewForSupplementaryElementOfKindAtIndexPath(UICollectionView collectionView, java.lang.String kind, NSIndexPath indexPath)
UICollectionViewDataSourcecollectionViewViewForSupplementaryElementOfKindAtIndexPath in interface UICollectionViewDataSourcepublic void collectionViewWillDisplayCellForItemAtIndexPath(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath)
collectionViewWillDisplayCellForItemAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewWillDisplaySupplementaryViewForElementKindAtIndexPath(UICollectionView collectionView, UICollectionReusableView view, java.lang.String elementKind, NSIndexPath indexPath)
collectionViewWillDisplaySupplementaryViewForElementKindAtIndexPath in interface UICollectionViewDelegatepublic UICollectionViewLayout collectionViewLayout()
public NSIndexPath indexPathForPreferredFocusedViewInCollectionView(UICollectionView collectionView)
indexPathForPreferredFocusedViewInCollectionView in interface UICollectionViewDelegatepublic UICollectionViewController init()
init in class UIViewControllerpublic UICollectionViewController initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIViewControllerpublic UICollectionViewController initWithCollectionViewLayout(UICollectionViewLayout layout)
public UICollectionViewController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
UIViewControllerinitWithNibNameBundle in class UIViewControllerpublic boolean installsStandardGestureForInteractiveMovement()
public long numberOfSectionsInCollectionView(UICollectionView collectionView)
numberOfSectionsInCollectionView in interface UICollectionViewDataSourcepublic void scrollViewDidEndDecelerating(UIScrollView scrollView)
UIScrollViewDelegatescrollViewDidEndDecelerating in interface UIScrollViewDelegatepublic void scrollViewDidEndDraggingWillDecelerate(UIScrollView scrollView, boolean decelerate)
UIScrollViewDelegatescrollViewDidEndDraggingWillDecelerate in interface UIScrollViewDelegatepublic void scrollViewDidEndScrollingAnimation(UIScrollView scrollView)
UIScrollViewDelegatescrollViewDidEndScrollingAnimation in interface UIScrollViewDelegatepublic void scrollViewDidEndZoomingWithViewAtScale(UIScrollView scrollView, UIView view, double scale)
UIScrollViewDelegatescrollViewDidEndZoomingWithViewAtScale in interface UIScrollViewDelegatepublic void scrollViewDidScroll(UIScrollView scrollView)
UIScrollViewDelegatescrollViewDidScroll in interface UIScrollViewDelegatepublic void scrollViewDidScrollToTop(UIScrollView scrollView)
UIScrollViewDelegatescrollViewDidScrollToTop in interface UIScrollViewDelegatepublic void scrollViewDidZoom(UIScrollView scrollView)
UIScrollViewDelegatescrollViewDidZoom in interface UIScrollViewDelegatepublic boolean scrollViewShouldScrollToTop(UIScrollView scrollView)
UIScrollViewDelegatescrollViewShouldScrollToTop in interface UIScrollViewDelegatepublic void scrollViewWillBeginDecelerating(UIScrollView scrollView)
UIScrollViewDelegatescrollViewWillBeginDecelerating in interface UIScrollViewDelegatepublic void scrollViewWillBeginDragging(UIScrollView scrollView)
UIScrollViewDelegatescrollViewWillBeginDragging in interface UIScrollViewDelegatepublic void scrollViewWillBeginZoomingWithView(UIScrollView scrollView, UIView view)
UIScrollViewDelegatescrollViewWillBeginZoomingWithView in interface UIScrollViewDelegatepublic void scrollViewWillEndDraggingWithVelocityTargetContentOffset(UIScrollView scrollView, CGPoint velocity, CGPoint targetContentOffset)
UIScrollViewDelegatescrollViewWillEndDraggingWithVelocityTargetContentOffset in interface UIScrollViewDelegatepublic void setClearsSelectionOnViewWillAppear(boolean value)
public void setCollectionView(UICollectionView value)
public void setInstallsStandardGestureForInteractiveMovement(boolean value)
public void setUseLayoutToLayoutNavigationTransitions(boolean value)
public boolean useLayoutToLayoutNavigationTransitions()
public UIView viewForZoomingInScrollView(UIScrollView scrollView)
UIScrollViewDelegateviewForZoomingInScrollView in interface UIScrollViewDelegatepublic NSIndexPath collectionViewIndexPathForIndexTitleAtIndex(UICollectionView collectionView, java.lang.String title, long index)
UICollectionViewDataSourcecollectionViewIndexPathForIndexTitleAtIndex in interface UICollectionViewDataSourcepublic boolean collectionViewShouldSpringLoadItemAtIndexPathWithContext(UICollectionView collectionView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)
UICollectionViewDelegateIf 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.
collectionViewShouldSpringLoadItemAtIndexPathWithContext in interface UICollectionViewDelegatepublic NSArray<java.lang.String> indexTitlesForCollectionView(UICollectionView collectionView)
UICollectionViewDataSourceindexTitlesForCollectionView in interface UICollectionViewDataSourcepublic void scrollViewDidChangeAdjustedContentInset(UIScrollView scrollView)
UIScrollViewDelegatescrollViewDidChangeAdjustedContentInset in interface UIScrollViewDelegatepublic UIContextMenuConfiguration collectionViewContextMenuConfigurationForItemAtIndexPathPoint(UICollectionView collectionView, NSIndexPath indexPath, CGPoint point)
UICollectionViewDelegatecollectionViewContextMenuConfigurationForItemAtIndexPathPoint in interface UICollectionViewDelegatecollectionView - This UICollectionView.indexPath - IndexPath of the item for which a configuration is being requested.point - Location in the collection view's coordinate spacepublic void collectionViewDidBeginMultipleSelectionInteractionAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegateIn 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.
collectionViewDidBeginMultipleSelectionInteractionAtIndexPath in interface UICollectionViewDelegatepublic UITargetedPreview collectionViewPreviewForDismissingContextMenuWithConfiguration(UICollectionView collectionView, UIContextMenuConfiguration configuration)
UICollectionViewDelegatecollectionViewPreviewForDismissingContextMenuWithConfiguration in interface UICollectionViewDelegatecollectionView - This UICollectionView.configuration - The configuration of the menu displayed by this interaction.public UITargetedPreview collectionViewPreviewForHighlightingContextMenuWithConfiguration(UICollectionView collectionView, UIContextMenuConfiguration configuration)
UICollectionViewDelegatecollectionViewPreviewForHighlightingContextMenuWithConfiguration in interface UICollectionViewDelegatecollectionView - This UICollectionView.configuration - The configuration of the menu about to be displayed by this interaction.public boolean collectionViewShouldBeginMultipleSelectionInteractionAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegateAfter a multi-select gesture is recognized, this method will be called before allowsMultipleSelection is automatically set to YES to allow the user to select multiple contiguous items using a two-finger pan gesture across the constrained scroll direction.
If the collection view has no constrained scroll direction (i.e., the collection view scrolls both horizontally and vertically), then this method will not be called and the multi-select gesture will be disabled.
If this method is not implemented, the default is NO.
collectionViewShouldBeginMultipleSelectionInteractionAtIndexPath in interface UICollectionViewDelegatepublic void collectionViewWillPerformPreviewActionForMenuWithConfigurationAnimator(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)
UICollectionViewDelegatecollectionViewWillPerformPreviewActionForMenuWithConfigurationAnimator in interface UICollectionViewDelegatecollectionView - This UICollectionView.configuration - Configuration of the currently displayed menu.animator - Commit animator. Add animations to this object to run them alongside the commit transition.public void collectionViewDidEndMultipleSelectionInteraction(UICollectionView collectionView)
UICollectionViewDelegateAt this point, the collection 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.
collectionViewDidEndMultipleSelectionInteraction in interface UICollectionViewDelegatepublic boolean collectionViewCanEditItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegatecollectionViewCanEditItemAtIndexPath in interface UICollectionViewDelegatecollectionView - The collection view object requesting this information.indexPath - An index path locating an item in `collectionView`.public void collectionViewWillDisplayContextMenuWithConfigurationAnimator(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
UICollectionViewDelegatecollectionViewWillDisplayContextMenuWithConfigurationAnimator in interface UICollectionViewDelegatecollectionView - This UICollectionView.configuration - The configuration of the menu about to be displayed.animator - Appearance animator. Add animations to run them alongside the appearance transition.public void collectionViewWillEndContextMenuInteractionWithConfigurationAnimator(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
UICollectionViewDelegatecollectionViewWillEndContextMenuInteractionWithConfigurationAnimator in interface UICollectionViewDelegatecollectionView - This UICollectionView.configuration - Ending configuration.animator - Disappearance animator. Add animations to run them alongside the disappearance transition.public UIWindowSceneActivationConfiguration collectionViewSceneActivationConfigurationForItemAtIndexPathPoint(UICollectionView collectionView, NSIndexPath indexPath, CGPoint point)
UICollectionViewDelegatecollectionViewSceneActivationConfigurationForItemAtIndexPathPoint in interface UICollectionViewDelegatecollectionView - The collection viewindexPath - The index path of the cell being interacted withpoint - The centroid of the interaction in the collection view's coordinate space.public boolean collectionViewSelectionFollowsFocusForItemAtIndexPath(UICollectionView collectionView, NSIndexPath indexPath)
UICollectionViewDelegatecollectionViewSelectionFollowsFocusForItemAtIndexPath in interface UICollectionViewDelegatepublic NSIndexPath collectionViewTargetIndexPathForMoveOfItemFromOriginalIndexPathAtCurrentIndexPathToProposedIndexPath(UICollectionView collectionView, NSIndexPath originalIndexPath, NSIndexPath currentIndexPath, NSIndexPath proposedIndexPath)