Package apple.uikit
Class UICollectionView
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIView
-
- apple.uikit.UIScrollView
-
- apple.uikit.UICollectionView
-
- All Implemented Interfaces:
NSCoding,NSObject,CALayerDelegate,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearance,UIAppearanceContainer,UICoordinateSpace,UIDataSourceTranslating,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIFocusItemScrollableContainer,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIPopoverPresentationControllerSourceItem,UIResponderStandardEditActions,UISpringLoadedInteractionSupporting,UITraitChangeObservable,UITraitEnvironment,UIUserActivityRestoring
public class UICollectionView extends UIScrollView implements UIDataSourceTranslating, UISpringLoadedInteractionSupporting
API-Since: 6.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUICollectionView.Block_performBatchUpdatesCompletion_0static interfaceUICollectionView.Block_performBatchUpdatesCompletion_1static interfaceUICollectionView.Block_setCollectionViewLayoutAnimatedCompletionstatic interfaceUICollectionView.Block_startInteractiveTransitionToCollectionViewLayoutCompletion-
Nested classes/interfaces inherited from class apple.uikit.UIView
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIDataSourceTranslating
UIDataSourceTranslating.Block_performUsingPresentationValues
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UITraitChangeObservable
UITraitChangeObservable.Block_registerForTraitChangesWithHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUICollectionView(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull UICollectionView_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.@NotNull UICollectionView_appearanceForTraitCollection(@NotNull UITraitCollection trait)API-Since: 8.0@NotNull UICollectionView_appearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UICollectionView_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)API-Since: 9.0@NotNull UICollectionView_appearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UICollectionView_appearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)API-Since: 9.0static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)static UICollectionViewalloc()static UICollectionViewallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)booleanallowsFocus()Determines if the collection view allows its cells to become focused.booleanallowsFocusDuringEditing()Determines if the collection view allows its cells to become focused while editing.booleanallowsMultipleSelection()default is NObooleanallowsMultipleSelectionDuringEditing()Controls whether multiple item selection can occur when the receiver is editing.booleanallowsSelection()default is YESbooleanallowsSelectionDuringEditing()Controls whether an item can be selected when the receiver is editing.static voidanimateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)static voidanimateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)static voidanimateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)static voidanimateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)static @NotNull UICollectionViewappearance()static @NotNull UICollectionViewappearanceForTraitCollection(@NotNull UITraitCollection trait)static @NotNull UICollectionViewappearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UICollectionViewappearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)static @NotNull UICollectionViewappearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UICollectionViewappearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)static booleanareAnimationsEnabled()static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@Nullable UIViewbackgroundView()will be automatically resized to track the size of the collection view and placed behind all cells and supplementary views.static voidbeginAnimationsContext(@Nullable java.lang.String animationID, @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.booleanbeginInteractiveMovementForItemAtIndexPath(@NotNull NSIndexPath indexPath)returns NO if reordering was prevented from beginning - otherwise YES API-Since: 9.0voidcancelInteractiveMovement()API-Since: 9.0voidcancelInteractiveTransition()API-Since: 7.0static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)@Nullable UICollectionViewCellcellForItemAtIndexPath(@NotNull NSIndexPath indexPath)Returns any existing visible or prepared cell for the index path.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)@NotNull UICollectionViewLayoutcollectionViewLayout()static voidcommitAnimations()Deprecated.@Nullable UIContextMenuInteractioncontextMenuInteraction()API-Since: 13.2@Nullable UICollectionViewDataSourcedataSource()@Nullable NSIndexPathdataSourceIndexPathForPresentationIndexPath(@Nullable NSIndexPath presentationIndexPath)Translate (if needed) a Presentation index path to the Data Source index path.longdataSourceSectionIndexForPresentationSectionIndex(long presentationSectionIndex)Translate (if needed) a Presentation section index to its Data Source section index value.static java.lang.StringdebugDescription_static()@Nullable java.lang.Objectdelegate()default nil.voiddeleteItemsAtIndexPaths(@NotNull NSArray<? extends NSIndexPath> indexPaths)voiddeleteSections(@NotNull NSIndexSet sections)@NotNull UICollectionViewCelldequeueConfiguredReusableCellWithRegistrationForIndexPathItem(@NotNull UICollectionViewCellRegistration registration, @NotNull NSIndexPath indexPath, @NotNull java.lang.Object item)API-Since: 14.0@NotNull UICollectionReusableViewdequeueConfiguredReusableSupplementaryViewWithRegistrationForIndexPath(@NotNull UICollectionViewSupplementaryRegistration registration, @NotNull NSIndexPath indexPath)API-Since: 14.0@NotNull UICollectionViewCelldequeueReusableCellWithReuseIdentifierForIndexPath(@NotNull java.lang.String identifier, @NotNull NSIndexPath indexPath)@NotNull UICollectionReusableViewdequeueReusableSupplementaryViewOfKindWithReuseIdentifierForIndexPath(@NotNull java.lang.String elementKind, @NotNull java.lang.String identifier, @NotNull NSIndexPath indexPath)static java.lang.Stringdescription_static()voiddeselectItemAtIndexPathAnimated(@NotNull NSIndexPath indexPath, boolean animated)@Nullable UICollectionViewDragDelegatedragDelegate()API-Since: 11.0booleandragInteractionEnabled()You can force drags to be disabled for this collection view by setting this to NO.@Nullable UICollectionViewDropDelegatedropDelegate()API-Since: 11.0voidendInteractiveMovement()API-Since: 9.0voidfinishInteractiveTransition()API-Since: 7.0booleanhasActiveDrag()YES if a drag session is currently active.booleanhasActiveDrop()YES if collection view is currently tracking a drop session.static longhash_static()booleanhasUncommittedUpdates()Returns YES if the collection view is reordering or has drop placeholders.@Nullable NSIndexPathindexPathForCell(@NotNull UICollectionViewCell cell)@Nullable NSIndexPathindexPathForItemAtPoint(CGPoint point)@Nullable NSArray<? extends NSIndexPath>indexPathsForSelectedItems()returns nil or an array of selected index paths@NotNull NSArray<? extends NSIndexPath>indexPathsForVisibleItems()@NotNull NSArray<? extends NSIndexPath>indexPathsForVisibleSupplementaryElementsOfKind(@NotNull java.lang.String elementKind)API-Since: 9.0static doubleinheritedAnimationDuration()UICollectionViewinit()UICollectionViewinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERUICollectionViewinitWithFrame(CGRect frame)UICollectionViewinitWithFrameCollectionViewLayout(CGRect frame, @NotNull UICollectionViewLayout layout)voidinsertItemsAtIndexPaths(@NotNull NSArray<? extends NSIndexPath> indexPaths)voidinsertSections(@NotNull NSIndexSet sections)These methods allow dynamic modification of the current set of items in the collection viewstatic 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)booleanisEditing()Controls the editing state for the receiver.booleanisPrefetchingEnabled()API-Since: 10.0booleanisSpringLoaded()API-Since: 11.0static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @NotNull org.moe.natj.objc.ClasslayerClass()@Nullable UICollectionViewLayoutAttributeslayoutAttributesForItemAtIndexPath(@NotNull NSIndexPath indexPath)@Nullable UICollectionViewLayoutAttributeslayoutAttributesForSupplementaryElementOfKindAtIndexPath(@NotNull java.lang.String kind, @NotNull NSIndexPath indexPath)static voidmodifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)voidmoveItemAtIndexPathToIndexPath(@NotNull NSIndexPath indexPath, @NotNull NSIndexPath newIndexPath)voidmoveSectionToSection(long section, long newSection)static UICollectionViewnew_objc()longnumberOfItemsInSection(long section)longnumberOfSections()Information about the current state of the collection view.voidperformBatchUpdatesCompletion(@Nullable UICollectionView.Block_performBatchUpdatesCompletion_0 updates, @Nullable UICollectionView.Block_performBatchUpdatesCompletion_1 completion)allows multiple insert/delete/reload/move calls to be animated simultaneously.static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)voidperformUsingPresentationValues(UIDataSourceTranslating.Block_performUsingPresentationValues actionsToTranslate)Arguments passed to actions performed inside the scope of this block will be interpreted as values in the presentation state, and the values returned from these actions will also be in the presentation state.static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)@Nullable UICollectionViewDataSourcePrefetchingprefetchDataSource()API-Since: 10.0@Nullable NSIndexPathpresentationIndexPathForDataSourceIndexPath(@Nullable NSIndexPath dataSourceIndexPath)Translate (if needed) a Data Source index path to the Presentation index path.longpresentationSectionIndexForDataSourceSectionIndex(long dataSourceSectionIndex)Translate (if needed) a Data Source section index to its Presentation section index value.voidreconfigureItemsAtIndexPaths(@NotNull NSArray<? extends NSIndexPath> indexPaths)Reconfigures any existing cells for the items.voidregisterClassForCellWithReuseIdentifier(@Nullable org.moe.natj.objc.Class cellClass, @NotNull java.lang.String identifier)For each reuse identifier that the collection view will use, register either a class or a nib from which to instantiate a cell.voidregisterClassForSupplementaryViewOfKindWithReuseIdentifier(@Nullable org.moe.natj.objc.Class viewClass, @NotNull java.lang.String elementKind, @NotNull java.lang.String identifier)voidregisterNibForCellWithReuseIdentifier(@Nullable UINib nib, @NotNull java.lang.String identifier)voidregisterNibForSupplementaryViewOfKindWithReuseIdentifier(@Nullable UINib nib, @NotNull java.lang.String kind, @NotNull java.lang.String identifier)voidreloadData()discard the dataSource and delegate data and requery as necessaryvoidreloadItemsAtIndexPaths(@NotNull NSArray<? extends NSIndexPath> indexPaths)voidreloadSections(@NotNull NSIndexSet sections)booleanremembersLastFocusedIndexPath()defaults to NO.longreorderingCadence()Reordering cadence affects how easily reordering occurs while dragging around a reorder-capable drop destination.static booleanrequiresConstraintBasedLayout()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidscrollToItemAtIndexPathAtScrollPositionAnimated(@NotNull NSIndexPath indexPath, long scrollPosition, boolean animated)Interacting with the collection view.booleanselectionFollowsFocus()When enabled, the collection view ensures that selection is automatically triggered when focus moves to a cell.voidselectItemAtIndexPathAnimatedScrollPosition(@Nullable NSIndexPath indexPath, boolean animated, long scrollPosition)longselfSizingInvalidation()API-Since: 16.0voidsetAllowsFocus(boolean value)Determines if the collection view allows its cells to become focused.voidsetAllowsFocusDuringEditing(boolean value)Determines if the collection view allows its cells to become focused while editing.voidsetAllowsMultipleSelection(boolean value)default is NOvoidsetAllowsMultipleSelectionDuringEditing(boolean value)Controls whether multiple item selection can occur when the receiver is editing.voidsetAllowsSelection(boolean value)default is YESvoidsetAllowsSelectionDuringEditing(boolean value)Controls whether an item can be selected when the receiver is editing.static voidsetAnimationBeginsFromCurrentState(boolean fromCurrentState)Deprecated.static voidsetAnimationCurve(long curve)Deprecated.static voidsetAnimationDelay(double delay)Deprecated.static voidsetAnimationDelegate(@Nullable java.lang.Object delegate)Deprecated.static voidsetAnimationDidStopSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.static voidsetAnimationDuration_static(double duration)Deprecated.static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)Deprecated.static voidsetAnimationRepeatCount_static(float repeatCount)Deprecated.static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(@NotNull NSDate startDate)Deprecated.static voidsetAnimationTransitionForViewCache(long transition, @NotNull UIView view, boolean cache)Deprecated.static voidsetAnimationWillStartSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.voidsetBackgroundView(@Nullable UIView value)will be automatically resized to track the size of the collection view and placed behind all cells and supplementary views.voidsetCollectionViewLayout(@NotNull UICollectionViewLayout value)voidsetCollectionViewLayoutAnimated(@NotNull UICollectionViewLayout layout, boolean animated)transition from one layout to anothervoidsetCollectionViewLayoutAnimatedCompletion(@NotNull UICollectionViewLayout layout, boolean animated, @Nullable UICollectionView.Block_setCollectionViewLayoutAnimatedCompletion completion)API-Since: 7.0voidsetDataSource(@Nullable UICollectionViewDataSource value)voidsetDataSource_unsafe(@Nullable UICollectionViewDataSource value)voidsetDelegate(@Nullable java.lang.Object value)default nil.voidsetDelegate_unsafe(@Nullable java.lang.Object value)default nil.voidsetDragDelegate(@Nullable UICollectionViewDragDelegate value)API-Since: 11.0voidsetDragDelegate_unsafe(@Nullable UICollectionViewDragDelegate value)API-Since: 11.0voidsetDragInteractionEnabled(boolean value)You can force drags to be disabled for this collection view by setting this to NO.voidsetDropDelegate(@Nullable UICollectionViewDropDelegate value)API-Since: 11.0voidsetDropDelegate_unsafe(@Nullable UICollectionViewDropDelegate value)API-Since: 11.0voidsetEditing(boolean value)Controls the editing state for the receiver.voidsetPrefetchDataSource(@Nullable UICollectionViewDataSourcePrefetching value)API-Since: 10.0voidsetPrefetchDataSource_unsafe(@Nullable UICollectionViewDataSourcePrefetching value)API-Since: 10.0voidsetPrefetchingEnabled(boolean value)API-Since: 10.0voidsetRemembersLastFocusedIndexPath(boolean value)defaults to NO.voidsetReorderingCadence(long value)Reordering cadence affects how easily reordering occurs while dragging around a reorder-capable drop destination.voidsetSelectionFollowsFocus(boolean value)When enabled, the collection view ensures that selection is automatically triggered when focus moves to a cell.voidsetSelfSizingInvalidation(long value)API-Since: 16.0voidsetSpringLoaded(boolean value)API-Since: 11.0static voidsetVersion_static(long aVersion)@NotNull UICollectionViewTransitionLayoutstartInteractiveTransitionToCollectionViewLayoutCompletion(@NotNull UICollectionViewLayout layout, @Nullable UICollectionView.Block_startInteractiveTransitionToCollectionViewLayoutCompletion completion)API-Since: 7.0static org.moe.natj.objc.Classsuperclass_static()@Nullable UICollectionReusableViewsupplementaryViewForElementKindAtIndexPath(@NotNull java.lang.String elementKind, @NotNull NSIndexPath indexPath)API-Since: 9.0static voidtransitionFromViewToViewDurationOptionsCompletion(@NotNull UIView fromView, @NotNull UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(@NotNull UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)voidupdateInteractiveMovementTargetPosition(CGPoint targetPosition)API-Since: 9.0static longuserInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)static longuserInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)static booleanuseStoredAccessor()Deprecated.static longversion_static()@NotNull NSArray<? extends UICollectionViewCell>visibleCells()@NotNull NSArray<? extends UICollectionReusableView>visibleSupplementaryViewsOfKind(@NotNull java.lang.String elementKind)API-Since: 9.0-
Methods inherited from class apple.uikit.UIScrollView
adjustedContentInset, adjustedContentInsetDidChange, allowsKeyboardScrolling, alwaysBounceHorizontal, alwaysBounceVertical, automaticallyAdjustsScrollIndicatorInsets, bounces, bouncesZoom, canCancelContentTouches, contentInset, contentInsetAdjustmentBehavior, contentLayoutGuide, contentOffset, contentSize, coordinateSpace, decelerationRate, delaysContentTouches, directionalPressGestureRecognizer, encodeWithCoder, flashScrollIndicators, focusItemsInRect, frameLayoutGuide, horizontalScrollIndicatorInsets, indexDisplayMode, indicatorStyle, isDecelerating, isDirectionalLockEnabled, isDragging, isPagingEnabled, isScrollEnabled, isTracking, isZoomBouncing, isZooming, keyboardDismissMode, maximumZoomScale, minimumZoomScale, panGestureRecognizer, pinchGestureRecognizer, refreshControl, scrollIndicatorInsets, scrollRectToVisibleAnimated, scrollsToTop, setAllowsKeyboardScrolling, setAlwaysBounceHorizontal, setAlwaysBounceVertical, setAutomaticallyAdjustsScrollIndicatorInsets, setBounces, setBouncesZoom, setCanCancelContentTouches, setContentInset, setContentInsetAdjustmentBehavior, setContentOffset, setContentOffsetAnimated, setContentSize, setDecelerationRate, setDelaysContentTouches, setDirectionalLockEnabled, setHorizontalScrollIndicatorInsets, setIndexDisplayMode, setIndicatorStyle, setKeyboardDismissMode, setMaximumZoomScale, setMinimumZoomScale, setPagingEnabled, setRefreshControl, setScrollEnabled, setScrollIndicatorInsets, setScrollsToTop, setShowsHorizontalScrollIndicator, setShowsVerticalScrollIndicator, setVerticalScrollIndicatorInsets, setZoomScale, setZoomScaleAnimated, showsHorizontalScrollIndicator, showsVerticalScrollIndicator, touchesShouldBeginWithEventInContentView, touchesShouldCancelInContentView, verticalScrollIndicatorInsets, visibleSize, zoomScale, zoomToRectAnimated
-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, anchorPoint, appliedContentSizeCategoryLimitsDescription, autoresizesSubviews, autoresizingMask, backgroundColor, bottomAnchor, bounds, bringSubviewToFront, canBecomeFocused, center, centerXAnchor, centerYAnchor, clearsContextBeforeDrawing, clipsToBounds, collisionBoundingPath, collisionBoundsType, constraints, constraintsAffectingLayoutForAxis, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, contentScaleFactor, contentStretch, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, frame, frameForAlignmentRect, frameInView, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, hoverStyle, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isTransparentFocusItem, isUserInteractionEnabled, keyboardLayoutGuide, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, maximumContentSizeCategory, minimumContentSizeCategory, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, registerForTraitChangesWithAction, registerForTraitChangesWithHandler, registerForTraitChangesWithTargetAction, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnchorPoint, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setHoverStyle, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplayInRect, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, traitOverrides, transform, transform3D, translatesAutoresizingMaskIntoConstraints, unregisterForTraitChanges, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, updateTraitsIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, duplicate, editingInteractionConfiguration, export, find, findAndReplace, findNext, findPrevious, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, move, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, rename, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, useSelectionForFind, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, @NotNull UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static UICollectionView alloc()
-
allocWithZone
public static UICollectionView allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, @NotNull UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, @NotNull UIView.Block_animateWithDurationAnimationsCompletion_1 animations, @Nullable UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, @NotNull UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
appearance
@NotNull public static @NotNull UICollectionView appearance()
-
appearanceForTraitCollection
@NotNull public static @NotNull UICollectionView appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public static @NotNull UICollectionView appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UICollectionView appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@NotNull @Deprecated public static @NotNull UICollectionView appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UICollectionView appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
beginAnimationsContext
@Deprecated public static void beginAnimationsContext(@Nullable @Nullable java.lang.String animationID, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)
-
commitAnimations
@Deprecated public static void commitAnimations()
Deprecated.
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
inheritedAnimationDuration
public static double inheritedAnimationDuration()
-
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
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
layerClass
@NotNull public static @NotNull org.moe.natj.objc.Class layerClass()
-
new_objc
public static UICollectionView new_objc()
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull @NotNull NSArray<? extends UIView> views, long options, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(@NotNull UIView.Block_performWithoutAnimation actionsWithoutAnimation)
-
requiresConstraintBasedLayout
public static boolean requiresConstraintBasedLayout()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAnimationBeginsFromCurrentState
@Deprecated public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
Deprecated.
-
setAnimationCurve
@Deprecated public static void setAnimationCurve(long curve)
Deprecated.
-
setAnimationDelay
@Deprecated public static void setAnimationDelay(double delay)
Deprecated.
-
setAnimationDelegate
@Deprecated public static void setAnimationDelegate(@Nullable @Nullable java.lang.Object delegate)Deprecated.
-
setAnimationDidStopSelector
@Deprecated public static void setAnimationDidStopSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationDuration_static
@Deprecated public static void setAnimationDuration_static(double duration)
Deprecated.
-
setAnimationRepeatAutoreverses
@Deprecated public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
Deprecated.
-
setAnimationRepeatCount_static
@Deprecated public static void setAnimationRepeatCount_static(float repeatCount)
Deprecated.
-
setAnimationStartDate
@Deprecated public static void setAnimationStartDate(@NotNull @NotNull NSDate startDate)Deprecated.
-
setAnimationTransitionForViewCache
@Deprecated public static void setAnimationTransitionForViewCache(long transition, @NotNull @NotNull UIView view, boolean cache)Deprecated.
-
setAnimationWillStartSelector
@Deprecated public static void setAnimationWillStartSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationsEnabled
public static void setAnimationsEnabled(boolean enabled)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
transitionFromViewToViewDurationOptionsCompletion
public static void transitionFromViewToViewDurationOptionsCompletion(@NotNull @NotNull UIView fromView, @NotNull @NotNull UIView toView, double duration, long options, @Nullable UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(@NotNull @NotNull UIView view, double duration, long options, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
-
userInterfaceLayoutDirectionForSemanticContentAttribute
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
-
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)
-
version_static
public static long version_static()
-
allowsMultipleSelection
public boolean allowsMultipleSelection()
default is NO
-
allowsSelection
public boolean allowsSelection()
default is YES
-
_appearance
@NotNull public @NotNull UICollectionView _appearance()
Description copied from interface:UIAppearanceTo customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class. For example, to modify the bar tint color for all UINavigationBar instances: [[UINavigationBar appearance] setBarTintColor:myColor]; Note for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.- Specified by:
_appearancein interfaceUIAppearance- Overrides:
_appearancein classUIScrollView
-
_appearanceForTraitCollection
@NotNull public @NotNull UICollectionView _appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
Description copied from interface:UIAppearanceAPI-Since: 8.0- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIScrollView
-
_appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public @NotNull UICollectionView _appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceAPI-Since: 8.0 Deprecated-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIScrollView
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public @NotNull UICollectionView _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIScrollView
-
_appearanceWhenContainedIn
@NotNull @Deprecated public @NotNull UICollectionView _appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceTo customize the appearances for instances of a class contained within an instance of a container class, or instances in a hierarchy, use +appearanceWhenContainedInInstancesOfClasses: for the appropriate appearance proxy. For example: [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor]; In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker. In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down. API-Since: 5.0 Deprecated-Since: 9.0- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIScrollView
-
_appearanceWhenContainedInInstancesOfClasses
@NotNull public @NotNull UICollectionView _appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIScrollView
-
backgroundView
@Nullable public @Nullable UIView backgroundView()
will be automatically resized to track the size of the collection view and placed behind all cells and supplementary views.
-
beginInteractiveMovementForItemAtIndexPath
public boolean beginInteractiveMovementForItemAtIndexPath(@NotNull @NotNull NSIndexPath indexPath)returns NO if reordering was prevented from beginning - otherwise YES API-Since: 9.0
-
cancelInteractiveMovement
public void cancelInteractiveMovement()
API-Since: 9.0
-
cancelInteractiveTransition
public void cancelInteractiveTransition()
API-Since: 7.0
-
cellForItemAtIndexPath
@Nullable public @Nullable UICollectionViewCell cellForItemAtIndexPath(@NotNull @NotNull NSIndexPath indexPath)
Returns any existing visible or prepared cell for the index path. Returns nil when no cell exists, or if index path is out of range.
-
collectionViewLayout
@NotNull public @NotNull UICollectionViewLayout collectionViewLayout()
-
dataSource
@Nullable public @Nullable UICollectionViewDataSource dataSource()
-
delegate
@Nullable public @Nullable java.lang.Object delegate()
Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
delegatein classUIScrollView
-
deleteItemsAtIndexPaths
public void deleteItemsAtIndexPaths(@NotNull @NotNull NSArray<? extends NSIndexPath> indexPaths)
-
deleteSections
public void deleteSections(@NotNull @NotNull NSIndexSet sections)
-
dequeueReusableCellWithReuseIdentifierForIndexPath
@NotNull public @NotNull UICollectionViewCell dequeueReusableCellWithReuseIdentifierForIndexPath(@NotNull @NotNull java.lang.String identifier, @NotNull @NotNull NSIndexPath indexPath)
-
dequeueReusableSupplementaryViewOfKindWithReuseIdentifierForIndexPath
@NotNull public @NotNull UICollectionReusableView dequeueReusableSupplementaryViewOfKindWithReuseIdentifierForIndexPath(@NotNull @NotNull java.lang.String elementKind, @NotNull @NotNull java.lang.String identifier, @NotNull @NotNull NSIndexPath indexPath)
-
deselectItemAtIndexPathAnimated
public void deselectItemAtIndexPathAnimated(@NotNull @NotNull NSIndexPath indexPath, boolean animated)
-
endInteractiveMovement
public void endInteractiveMovement()
API-Since: 9.0
-
finishInteractiveTransition
public void finishInteractiveTransition()
API-Since: 7.0
-
indexPathForCell
@Nullable public @Nullable NSIndexPath indexPathForCell(@NotNull @NotNull UICollectionViewCell cell)
-
indexPathForItemAtPoint
@Nullable public @Nullable NSIndexPath indexPathForItemAtPoint(CGPoint point)
-
indexPathsForSelectedItems
@Nullable public @Nullable NSArray<? extends NSIndexPath> indexPathsForSelectedItems()
returns nil or an array of selected index paths
-
indexPathsForVisibleItems
@NotNull public @NotNull NSArray<? extends NSIndexPath> indexPathsForVisibleItems()
-
indexPathsForVisibleSupplementaryElementsOfKind
@NotNull public @NotNull NSArray<? extends NSIndexPath> indexPathsForVisibleSupplementaryElementsOfKind(@NotNull @NotNull java.lang.String elementKind)
API-Since: 9.0
-
init
public UICollectionView init()
- Overrides:
initin classUIScrollView
-
initWithCoder
public UICollectionView initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIScrollView
-
initWithFrame
public UICollectionView initWithFrame(CGRect frame)
- Overrides:
initWithFramein classUIScrollView
-
initWithFrameCollectionViewLayout
public UICollectionView initWithFrameCollectionViewLayout(CGRect frame, @NotNull @NotNull UICollectionViewLayout layout)
-
insertItemsAtIndexPaths
public void insertItemsAtIndexPaths(@NotNull @NotNull NSArray<? extends NSIndexPath> indexPaths)
-
insertSections
public void insertSections(@NotNull @NotNull NSIndexSet sections)These methods allow dynamic modification of the current set of items in the collection view
-
isPrefetchingEnabled
public boolean isPrefetchingEnabled()
API-Since: 10.0
-
setPrefetchingEnabled
public void setPrefetchingEnabled(boolean value)
API-Since: 10.0
-
layoutAttributesForItemAtIndexPath
@Nullable public @Nullable UICollectionViewLayoutAttributes layoutAttributesForItemAtIndexPath(@NotNull @NotNull NSIndexPath indexPath)
-
layoutAttributesForSupplementaryElementOfKindAtIndexPath
@Nullable public @Nullable UICollectionViewLayoutAttributes layoutAttributesForSupplementaryElementOfKindAtIndexPath(@NotNull @NotNull java.lang.String kind, @NotNull @NotNull NSIndexPath indexPath)
-
moveItemAtIndexPathToIndexPath
public void moveItemAtIndexPathToIndexPath(@NotNull @NotNull NSIndexPath indexPath, @NotNull @NotNull NSIndexPath newIndexPath)
-
moveSectionToSection
public void moveSectionToSection(long section, long newSection)
-
numberOfItemsInSection
public long numberOfItemsInSection(long section)
-
numberOfSections
public long numberOfSections()
Information about the current state of the collection view.
-
performBatchUpdatesCompletion
public void performBatchUpdatesCompletion(@Nullable @Nullable UICollectionView.Block_performBatchUpdatesCompletion_0 updates, @Nullable @Nullable UICollectionView.Block_performBatchUpdatesCompletion_1 completion)allows multiple insert/delete/reload/move calls to be animated simultaneously. Nestable.
-
prefetchDataSource
@Nullable public @Nullable UICollectionViewDataSourcePrefetching prefetchDataSource()
API-Since: 10.0
-
registerClassForCellWithReuseIdentifier
public void registerClassForCellWithReuseIdentifier(@Nullable @Nullable org.moe.natj.objc.Class cellClass, @NotNull @NotNull java.lang.String identifier)For each reuse identifier that the collection view will use, register either a class or a nib from which to instantiate a cell. If a nib is registered, it must contain exactly 1 top level object which is a UICollectionViewCell. If a class is registered, it will be instantiated via alloc/initWithFrame:
-
registerClassForSupplementaryViewOfKindWithReuseIdentifier
public void registerClassForSupplementaryViewOfKindWithReuseIdentifier(@Nullable @Nullable org.moe.natj.objc.Class viewClass, @NotNull @NotNull java.lang.String elementKind, @NotNull @NotNull java.lang.String identifier)
-
registerNibForCellWithReuseIdentifier
public void registerNibForCellWithReuseIdentifier(@Nullable @Nullable UINib nib, @NotNull @NotNull java.lang.String identifier)
-
registerNibForSupplementaryViewOfKindWithReuseIdentifier
public void registerNibForSupplementaryViewOfKindWithReuseIdentifier(@Nullable @Nullable UINib nib, @NotNull @NotNull java.lang.String kind, @NotNull @NotNull java.lang.String identifier)
-
reloadData
public void reloadData()
discard the dataSource and delegate data and requery as necessary
-
reloadItemsAtIndexPaths
public void reloadItemsAtIndexPaths(@NotNull @NotNull NSArray<? extends NSIndexPath> indexPaths)
-
reloadSections
public void reloadSections(@NotNull @NotNull NSIndexSet sections)
-
remembersLastFocusedIndexPath
public boolean remembersLastFocusedIndexPath()
defaults to NO. If YES, when focusing on a collection view the last focused index path is focused automatically. If the collection view has never been focused, then the preferred focused index path is used. API-Since: 9.0
-
scrollToItemAtIndexPathAtScrollPositionAnimated
public void scrollToItemAtIndexPathAtScrollPositionAnimated(@NotNull @NotNull NSIndexPath indexPath, long scrollPosition, boolean animated)Interacting with the collection view.
-
selectItemAtIndexPathAnimatedScrollPosition
public void selectItemAtIndexPathAnimatedScrollPosition(@Nullable @Nullable NSIndexPath indexPath, boolean animated, long scrollPosition)
-
setAllowsMultipleSelection
public void setAllowsMultipleSelection(boolean value)
default is NO
-
setAllowsSelection
public void setAllowsSelection(boolean value)
default is YES
-
setBackgroundView
public void setBackgroundView(@Nullable @Nullable UIView value)will be automatically resized to track the size of the collection view and placed behind all cells and supplementary views.
-
setCollectionViewLayout
public void setCollectionViewLayout(@NotNull @NotNull UICollectionViewLayout value)
-
setCollectionViewLayoutAnimated
public void setCollectionViewLayoutAnimated(@NotNull @NotNull UICollectionViewLayout layout, boolean animated)transition from one layout to another
-
setCollectionViewLayoutAnimatedCompletion
public void setCollectionViewLayoutAnimatedCompletion(@NotNull @NotNull UICollectionViewLayout layout, boolean animated, @Nullable @Nullable UICollectionView.Block_setCollectionViewLayoutAnimatedCompletion completion)API-Since: 7.0
-
setDataSource_unsafe
public void setDataSource_unsafe(@Nullable @Nullable UICollectionViewDataSource value)
-
setDataSource
public void setDataSource(@Nullable @Nullable UICollectionViewDataSource value)
-
setDelegate_unsafe
public void setDelegate_unsafe(@Nullable @Nullable java.lang.Object value)Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
setDelegate_unsafein classUIScrollView
-
setDelegate
public void setDelegate(@Nullable @Nullable java.lang.Object value)Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
setDelegatein classUIScrollView
-
setPrefetchDataSource_unsafe
public void setPrefetchDataSource_unsafe(@Nullable @Nullable UICollectionViewDataSourcePrefetching value)API-Since: 10.0
-
setPrefetchDataSource
public void setPrefetchDataSource(@Nullable @Nullable UICollectionViewDataSourcePrefetching value)API-Since: 10.0
-
setRemembersLastFocusedIndexPath
public void setRemembersLastFocusedIndexPath(boolean value)
defaults to NO. If YES, when focusing on a collection view the last focused index path is focused automatically. If the collection view has never been focused, then the preferred focused index path is used. API-Since: 9.0
-
startInteractiveTransitionToCollectionViewLayoutCompletion
@NotNull public @NotNull UICollectionViewTransitionLayout startInteractiveTransitionToCollectionViewLayoutCompletion(@NotNull @NotNull UICollectionViewLayout layout, @Nullable @Nullable UICollectionView.Block_startInteractiveTransitionToCollectionViewLayoutCompletion completion)
API-Since: 7.0
-
supplementaryViewForElementKindAtIndexPath
@Nullable public @Nullable UICollectionReusableView supplementaryViewForElementKindAtIndexPath(@NotNull @NotNull java.lang.String elementKind, @NotNull @NotNull NSIndexPath indexPath)
API-Since: 9.0
-
updateInteractiveMovementTargetPosition
public void updateInteractiveMovementTargetPosition(CGPoint targetPosition)
API-Since: 9.0
-
visibleCells
@NotNull public @NotNull NSArray<? extends UICollectionViewCell> visibleCells()
-
visibleSupplementaryViewsOfKind
@NotNull public @NotNull NSArray<? extends UICollectionReusableView> visibleSupplementaryViewsOfKind(@NotNull @NotNull java.lang.String elementKind)
API-Since: 9.0
-
dataSourceIndexPathForPresentationIndexPath
@Nullable public @Nullable NSIndexPath dataSourceIndexPathForPresentationIndexPath(@Nullable @Nullable NSIndexPath presentationIndexPath)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Presentation index path to the Data Source index path. If the item was inserted at the index path, this will return nil. If no effective change took place, will return passed value.- Specified by:
dataSourceIndexPathForPresentationIndexPathin interfaceUIDataSourceTranslating
-
dataSourceSectionIndexForPresentationSectionIndex
public long dataSourceSectionIndexForPresentationSectionIndex(long presentationSectionIndex)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Presentation section index to its Data Source section index value. If section was inserted and not known the Data Source, this will return NSNotFound. If no effective change took place, will return passed value.- Specified by:
dataSourceSectionIndexForPresentationSectionIndexin interfaceUIDataSourceTranslating
-
dragDelegate
@Nullable public @Nullable UICollectionViewDragDelegate dragDelegate()
API-Since: 11.0
-
dragInteractionEnabled
public boolean dragInteractionEnabled()
You can force drags to be disabled for this collection view by setting this to NO. As of iOS 15, this is true for both iPhone and iPad by default. Prior to iOS 15, it defaulted to false on iPhone. API-Since: 11.0
-
dropDelegate
@Nullable public @Nullable UICollectionViewDropDelegate dropDelegate()
API-Since: 11.0
-
hasActiveDrag
public boolean hasActiveDrag()
YES if a drag session is currently active. A drag session begins after items are "lifted" from the collection view. API-Since: 11.0
-
hasActiveDrop
public boolean hasActiveDrop()
YES if collection view is currently tracking a drop session. API-Since: 11.0
-
hasUncommittedUpdates
public boolean hasUncommittedUpdates()
Returns YES if the collection view is reordering or has drop placeholders. API-Since: 11.0
-
isSpringLoaded
public boolean isSpringLoaded()
Description copied from interface:UISpringLoadedInteractionSupportingAPI-Since: 11.0- Specified by:
isSpringLoadedin interfaceUISpringLoadedInteractionSupporting
-
performUsingPresentationValues
public void performUsingPresentationValues(@NotNull UIDataSourceTranslating.Block_performUsingPresentationValues actionsToTranslate)Description copied from interface:UIDataSourceTranslatingArguments passed to actions performed inside the scope of this block will be interpreted as values in the presentation state, and the values returned from these actions will also be in the presentation state.- Specified by:
performUsingPresentationValuesin interfaceUIDataSourceTranslating
-
presentationIndexPathForDataSourceIndexPath
@Nullable public @Nullable NSIndexPath presentationIndexPathForDataSourceIndexPath(@Nullable @Nullable NSIndexPath dataSourceIndexPath)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Data Source index path to the Presentation index path. If the item was deleted at the index path, this will return nil. If no effective change took place, will return passed value.- Specified by:
presentationIndexPathForDataSourceIndexPathin interfaceUIDataSourceTranslating
-
presentationSectionIndexForDataSourceSectionIndex
public long presentationSectionIndexForDataSourceSectionIndex(long dataSourceSectionIndex)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Data Source section index to its Presentation section index value. If section was deleted during a transaction, this will return NSNotFound. If no effective change took place, will return passed value.- Specified by:
presentationSectionIndexForDataSourceSectionIndexin interfaceUIDataSourceTranslating
-
reorderingCadence
public long reorderingCadence()
Reordering cadence affects how easily reordering occurs while dragging around a reorder-capable drop destination. Default is UICollectionViewReorderingCadenceImmediate. API-Since: 11.0
-
setDragDelegate_unsafe
public void setDragDelegate_unsafe(@Nullable @Nullable UICollectionViewDragDelegate value)API-Since: 11.0
-
setDragDelegate
public void setDragDelegate(@Nullable @Nullable UICollectionViewDragDelegate value)API-Since: 11.0
-
setDragInteractionEnabled
public void setDragInteractionEnabled(boolean value)
You can force drags to be disabled for this collection view by setting this to NO. As of iOS 15, this is true for both iPhone and iPad by default. Prior to iOS 15, it defaulted to false on iPhone. API-Since: 11.0
-
setDropDelegate_unsafe
public void setDropDelegate_unsafe(@Nullable @Nullable UICollectionViewDropDelegate value)API-Since: 11.0
-
setDropDelegate
public void setDropDelegate(@Nullable @Nullable UICollectionViewDropDelegate value)API-Since: 11.0
-
setReorderingCadence
public void setReorderingCadence(long value)
Reordering cadence affects how easily reordering occurs while dragging around a reorder-capable drop destination. Default is UICollectionViewReorderingCadenceImmediate. API-Since: 11.0
-
setSpringLoaded
public void setSpringLoaded(boolean value)
Description copied from interface:UISpringLoadedInteractionSupportingAPI-Since: 11.0- Specified by:
setSpringLoadedin interfaceUISpringLoadedInteractionSupporting
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, @NotNull UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
-
allowsMultipleSelectionDuringEditing
public boolean allowsMultipleSelectionDuringEditing()
Controls whether multiple item selection can occur when the receiver is editing. Defaults to NO. API-Since: 14.0
-
allowsSelectionDuringEditing
public boolean allowsSelectionDuringEditing()
Controls whether an item can be selected when the receiver is editing. Defaults to NO. API-Since: 14.0
-
dequeueConfiguredReusableCellWithRegistrationForIndexPathItem
@NotNull public @NotNull UICollectionViewCell dequeueConfiguredReusableCellWithRegistrationForIndexPathItem(@NotNull @NotNull UICollectionViewCellRegistration registration, @NotNull @NotNull NSIndexPath indexPath, @NotNull @NotNull java.lang.Object item)
API-Since: 14.0
-
dequeueConfiguredReusableSupplementaryViewWithRegistrationForIndexPath
@NotNull public @NotNull UICollectionReusableView dequeueConfiguredReusableSupplementaryViewWithRegistrationForIndexPath(@NotNull @NotNull UICollectionViewSupplementaryRegistration registration, @NotNull @NotNull NSIndexPath indexPath)
API-Since: 14.0
-
isEditing
public boolean isEditing()
Controls the editing state for the receiver. API-Since: 14.0
-
selectionFollowsFocus
public boolean selectionFollowsFocus()
When enabled, the collection view ensures that selection is automatically triggered when focus moves to a cell. Defaults to a system derived value based on platform and other properties of the collection view. API-Since: 14.0
-
setAllowsMultipleSelectionDuringEditing
public void setAllowsMultipleSelectionDuringEditing(boolean value)
Controls whether multiple item selection can occur when the receiver is editing. Defaults to NO. API-Since: 14.0
-
setAllowsSelectionDuringEditing
public void setAllowsSelectionDuringEditing(boolean value)
Controls whether an item can be selected when the receiver is editing. Defaults to NO. API-Since: 14.0
-
setEditing
public void setEditing(boolean value)
Controls the editing state for the receiver. API-Since: 14.0
-
setSelectionFollowsFocus
public void setSelectionFollowsFocus(boolean value)
When enabled, the collection view ensures that selection is automatically triggered when focus moves to a cell. Defaults to a system derived value based on platform and other properties of the collection view. API-Since: 14.0
-
allowsFocus
public boolean allowsFocus()
Determines if the collection view allows its cells to become focused. When collectionView:canFocusItemAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the collection view. API-Since: 15.0
-
allowsFocusDuringEditing
public boolean allowsFocusDuringEditing()
Determines if the collection view allows its cells to become focused while editing. When collectionView:canFocusItemAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the collection view. API-Since: 15.0
-
contextMenuInteraction
@Nullable public @Nullable UIContextMenuInteraction contextMenuInteraction()
API-Since: 13.2
-
reconfigureItemsAtIndexPaths
public void reconfigureItemsAtIndexPaths(@NotNull @NotNull NSArray<? extends NSIndexPath> indexPaths)Reconfigures any existing cells for the items. Reconfiguring is more efficient than reloading an item, as it does not replace the existing cell with a new cell. Prefer reconfiguring over reloading unless you actually need an entirely new cell for the item. API-Since: 15.0
-
setAllowsFocus
public void setAllowsFocus(boolean value)
Determines if the collection view allows its cells to become focused. When collectionView:canFocusItemAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the collection view. API-Since: 15.0
-
setAllowsFocusDuringEditing
public void setAllowsFocusDuringEditing(boolean value)
Determines if the collection view allows its cells to become focused while editing. When collectionView:canFocusItemAtIndexPath: is implemented, its return value takes precedence over this method. Defaults to a system derived value based on platform and other properties of the collection view. API-Since: 15.0
-
selfSizingInvalidation
public long selfSizingInvalidation()
API-Since: 16.0
-
setSelfSizingInvalidation
public void setSelfSizingInvalidation(long value)
API-Since: 16.0
-
animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion
public static void animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, @NotNull UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-