Up
Authors
- Generated by Richard Frith-Macdonald
-
Date: Generated at 2025-12-03
- Declared in:
- AppKit/NSCollectionViewLayout.h
- Conforms to:
- NSCoding
Availability: MacOS-X 10.11.0
NSCollectionViewLayout serves as the
abstract base class for all collection view layout
objects. It defines the interface for calculating
and providing layout attributes for collection view
elements, managing invalidation and updates, and
handling layout transitions. Subclasses implement
specific layout algorithms such as grids, flows, or
custom arrangements, while this base class provides
the fundamental infrastructure and lifecycle management
for layout operations.
NSCollectionViewLayout declares 5 Instance Variables
- (
NSCollectionView*)
collectionView;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (void)
invalidateLayout;
Availability: MacOS-X 10.11.0
Invalidates the current layout, marking it for
recalculation on the next layout pass. This
method triggers a complete layout refresh, causing
all elements to have their attributes recalculated. Use
this when layout parameters or data have changed
significantly enough to require a
comprehensive layout update.
- (void)
invalidateLayoutWithContext: (
NSCollectionViewLayoutInvalidationContext*)context;
Availability: MacOS-X 10.11.0
Invalidates the layout using the specified
invalidation context to control the
scope and details of the invalidation. The
context allows for more precise control
over what gets invalidated, potentially improving
performance by limiting recalculation to only
the affected elements and adjusting content size or
offset as needed.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
registerClass: (Class)viewClass
forDecorationViewOfKind: (
NSCollectionViewDecorationElementKind)elementKind;
Availability: MacOS-X 10.11.0
Registers a view class to be used for creating
decoration views of the specified kind.
Decoration views are visual elements managed by
the layout that provide backgrounds, borders, or other
aesthetic enhancements. The registered class will
be instantiated when the layout requests decoration
views of the given element kind.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
registerNib: (
NSNib*)nib
forDecorationViewOfKind: (
NSCollectionViewDecorationElementKind)elementKind;
Availability: MacOS-X 10.11.0
Registers a nib file to be used for
creating decoration views of the specified kind.
The nib provides a way to define complex
decoration view layouts and configurations that
will be instantiated when the layout requires
decoration views of the given element kind. This
allows for sophisticated visual designs in
decoration views.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
setCollectionView: (
NSCollectionView*)cv;
Availability: MacOS-X 10.11.0
Description forthcoming.
Instance Variables for NSCollectionViewLayout Class
@protected NSCollectionView*
_collectionView;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize
_collectionViewContentSize;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected Class
_invalidationContextClass;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected Class
_layoutAttributesClass;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_valid;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSCollectionViewLayout.h
- Conforms to:
- NSCopying
Availability: MacOS-X 10.11.0
NSCollectionViewLayoutAttributes
encapsulates the visual attributes for
collection view elements, including position,
size, transparency, visibility, and z-ordering
information. These attributes define how
collection view items, supplementary views, and
decoration views appear within the layout. Layout
objects create and configure these attributes to
specify the visual presentation of each element in
the collection view's coordinate system.
NSCollectionViewLayoutAttributes declares 7 Instance Variables
+ (instancetype)
layoutAttributesForDecorationViewOfKind: (
NSCollectionViewDecorationElementKind)decorationViewKind
withIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Creates layout attributes for a decoration view of
the specified kind at the given index path. Decoration
views provide visual enhancements such as
backgrounds, borders, or other aesthetic
elements that are managed by the layout rather
than the data source. These views are purely
presentational and do not represent data
content.
+ (instancetype)
layoutAttributesForInterItemGapBeforeIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Creates layout attributes for an inter-item gap
before the specified index path. Gap attributes
represent spacing or separators between
collection view items, providing visual
organization and structure. These attributes
can be used to create dynamic spacing that responds to
layout changes or user interactions.
+ (instancetype)
layoutAttributesForItemWithIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Creates layout attributes for a collection view
item at the specified index path. Item attributes
define the visual presentation of primary content
elements within the collection view. The index
path identifies the item's position within the
collection's section and item structure,
allowing the layout to provide appropriate
positioning and styling.
+ (instancetype)
layoutAttributesForSupplementaryViewOfKind: (
NSCollectionViewSupplementaryElementKind)elementKind
withIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Creates layout attributes for a supplementary view
of the specified kind at the given index path.
Supplementary views include headers, footers,
and other supporting content that provides context or
organization for the primary collection view
items. The element kind identifies the type of
supplementary view being configured.
- (CGFloat)
alpha;
Availability: MacOS-X 10.11.0
Returns the alpha transparency value for the
element, ranging from 0.0 (completely transparent)
to 1.0 (completely opaque). Alpha values control the
element's transparency during display and can be
used for fading effects, disabled states, or other
visual feedback. The default alpha value is
typically 1.0 for normal visibility.
- (
NSRect)
frame;
Availability: MacOS-X 10.11.0
Returns the frame rectangle that defines the
element's position and size within the collection
view's coordinate system. The frame determines where
the element will be displayed and how much space it
will occupy. Layout objects calculate and set this
frame based on their positioning algorithms and
constraints.
- (
NSIndexPath*)
indexPath;
Availability: MacOS-X 10.11.0
Returns the index path that identifies the
element's position within the collection view's
structure. The index path specifies the section
and item location for primary content or the section
and position for supplementary and decoration views.
This path provides the key for associating layout
attributes with specific data elements.
- (BOOL)
isHidden;
Availability: MacOS-X 10.11.0
Returns whether the element is currently hidden
from display. Hidden elements are not rendered but may
still participate in layout calculations depending on
the layout implementation. This property provides an
alternative to alpha transparency for
controlling element visibility with a simple
boolean state.
- (
NSCollectionElementCategory)
representedElementCategory;
Availability: MacOS-X 10.11.0
Returns the category of element that these
attributes represent, such as item,
supplementary view, or decoration view. The
category determines how the element is created,
managed, and updated by the collection view
system. Different categories have different
lifecycle and data source relationships.
- (
NSString*)
representedElementKind;
Availability: MacOS-X 10.11.0
Returns the specific kind identifier for
supplementary or decoration elements. For
items, this is typically nil, but for
supplementary views like headers or footers,
and decoration views like backgrounds, this string
identifies the specific type of element being
represented by these attributes.
- (void)
setAlpha: (CGFloat)alpha;
Availability: MacOS-X 10.11.0
Sets the alpha transparency value for the
element. Values should range from 0.0 (invisible)
to 1.0 (opaque), with intermediate values creating
semi-transparent effects. Alpha changes
are useful for animations, highlighting, or indicating
disabled states. Setting alpha to 0.0
makes the element invisible but does not remove it
from the layout.
- (void)
setFrame: (
NSRect)frame;
Availability: MacOS-X 10.11.0
Sets the frame rectangle that defines the
element's position and size within the collection
view. Changing the frame affects where the
element appears and how much space it occupies. The
frame should be specified in the
collection view's coordinate system and will be
used during layout and display operations.
- (void)
setHidden: (BOOL)hidden;
Availability: MacOS-X 10.11.0
Sets whether the element should be hidden
from display. Hidden elements are not rendered to the
screen but may still occupy space in the layout
depending on the layout's behavior. This provides
a convenient way to temporarily remove elements from
visibility without removing them from the layout
structure entirely.
- (void)
setIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Sets the index path that identifies where this element
is located within the collection view's organizational
structure. The index path establishes the
connection between layout attributes and the
data source or layout-provided elements. This
association is essential for proper element
identification and updates.
- (void)
setSize: (
NSSize)size;
Availability: MacOS-X 10.11.0
Sets the size component of the element's
frame rectangle while preserving the frame's origin.
This provides a convenient way to adjust an element's
dimensions without affecting its position within
the collection view. The size change affects
the element's visual appearance and space utilization.
- (void)
setZIndex: (
NSInteger)zIndex;
Availability: MacOS-X 10.11.0
Sets the z-index value for controlling the element's
position in the display layer stack. Higher
z-index values cause elements to appear in front of
elements with lower values. This is crucial for
managing overlapping elements and ensuring proper
visual hierarchy, especially for decoration views
and interactive feedback.
- (
NSSize)
size;
Availability: MacOS-X 10.11.0
Returns the size component of the element's frame
rectangle. This provides convenient access to
the element's width and height without needing to
extract the size from the complete frame rectangle.
The size determines the element's visual footprint
within the layout.
- (
NSInteger)
zIndex;
Availability: MacOS-X 10.11.0
Returns the z-index value that determines the
element's layering order within the collection
view. Elements with higher z-index values appear in
front of those with lower values. The z-index affects
the visual stacking order when elements overlap and is
particularly important for decoration views
and special visual effects.
Instance Variables for NSCollectionViewLayoutAttributes Class
@protected CGFloat
_alpha;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRect
_frame;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_hidden;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSIndexPath*
_indexPath;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSCollectionElementCategory
_representedElementCategory;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString*
_representedElementKind;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSInteger
_zIndex;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSCollectionViewLayout.h
Availability: MacOS-X 10.11.0
NSCollectionViewLayoutInvalidationContext
provides information about what aspects of a
collection view layout need to be recalculated and
updated. This context object specifies which
elements require invalidation, what adjustments
should be made to content size or offset, and the
scope of the layout refresh. Layout objects use this
context to optimize their update process and minimize
unnecessary recalculations.
NSCollectionViewLayoutInvalidationContext declares 5 Instance Variables
- (
NSPoint)
contentOffsetAdjustment;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (
NSSize)
contentSizeAdjustment;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (BOOL)
invalidateDataSourceCounts;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (void)
invalidateDecorationElementsOfKind: (
NSCollectionViewDecorationElementKind)elementKind
atIndexPaths: (
NSSet*)indexPaths;
Availability: MacOS-X 10.11.0
Marks decoration elements of the specified kind at
the given index paths for invalidation. Decoration
elements are visual enhancements managed by the
layout that may require updates when layout
conditions change. This method allows precise
control over which decoration views need
recalculation.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (BOOL)
invalidateEverything;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (void)
invalidateItemsAtIndexPaths: (
NSSet*)indexPaths;
Availability: MacOS-X 10.11.0
Marks the specified items for invalidation,
indicating that their layout attributes need to
be recalculated. This method allows for selective
invalidation of specific items rather than
invalidating the entire layout, improving
performance by limiting the scope of
recalculation to only the elements that
actually need updates.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
invalidateSupplementaryElementsOfKind: (
NSCollectionViewSupplementaryElementKind)elementKind
atIndexPaths: (
NSSet*)indexPaths;
Availability: MacOS-X 10.11.0
Marks supplementary elements of the specified kind at
the given index paths for invalidation. Supplementary
elements include headers, footers, and other
supporting views that may need layout updates
independently of the main collection items.
This enables targeted updates for specific
supplementary view types.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (
NSDictionary*)
invalidatedDecorationIndexPaths;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (
NSSet*)
invalidatedItemIndexPaths;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (
NSDictionary*)
invalidatedSupplementaryIndexPaths;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (void)
setContentOffsetAdjustment: (
NSPoint)point;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (void)
setContentSizeAdjustment: (
NSSize)size;
Availability: MacOS-X 10.11.0
Description forthcoming.
Instance Variables for NSCollectionViewLayoutInvalidationContext Class
@protected NSPoint
_contentOffsetAdjustment;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize
_contentSizeAdjustment;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSDictionary*
_invalidatedDecorationIndexPaths;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSet*
_invalidatedItemIndexPaths;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSDictionary*
_invalidatedSupplementaryIndexPaths;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSCollectionViewLayout.h
Availability: MacOS-X 10.11.0
NSCollectionViewUpdateItem
represents a single change operation during
collection view updates, such as insertions,
deletions, moves, or reloads. These objects
provide information about what changed and where,
allowing layout objects to prepare appropriate
animations and adjust their arrangements
accordingly. Update items are created
automatically during batch update operations
and passed to layout methods.
NSCollectionViewUpdateItem declares 3 Instance Variables
- (
NSIndexPath*)
indexPathAfterUpdate;
Availability: MacOS-X 10.11.0
Returns the index path where the affected item will
be located after the update operation completes. For
deletions, this is nil since the
item will no longer exist. For insertions and moves,
this indicates the item's new position. For reloads,
this matches the before-update path.
- (
NSIndexPath*)
indexPathBeforeUpdate;
Availability: MacOS-X 10.11.0
Returns the index path where the affected item was
located before the update operation. For
insertions, this is nil since the
item didn't exist previously. For deletions and moves,
this indicates the item's original position. For
reloads, this is the same as the after-update path
since the item remains in place.
- (
NSCollectionUpdateAction)
updateAction;
Availability: MacOS-X 10.11.0
Returns the type of update operation being
performed, such as insert, delete, move, or
reload. The update action determines how the layout
should handle the change and what animation or
transition effects should be applied. Different
actions require different layout adjustments and
animation strategies.
Instance Variables for NSCollectionViewUpdateItem Class
@protected NSIndexPath*
_indexPathAfterUpdate;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSIndexPath*
_indexPathBeforeUpdate;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSCollectionUpdateAction
_updateAction;
Availability: MacOS-X 10.11.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSCollectionViewLayout.h
Availability: MacOS-X 10.11.0
Category containing the essential methods that
subclasses override to implement specific layout
behaviors. These methods define the core layout
calculation and attribute provision interface
that collection views use to arrange and display their
content. Subclasses implement these methods to
create different layout styles such as grids, flows,
or custom arrangements.
- (
NSSize)
collectionViewContentSize;
Availability: MacOS-X 10.11.0
Returns the total content size for the collection
view layout. This size defines the scrollable area and
determines the collection view's scrolling
behavior and scroll bar appearance. Subclasses
must calculate and return the size that encompasses
all layout elements, typically computed during
prepareLayout and cached for efficient
access.
- (
NSCollectionViewLayoutAttributes*)
layoutAttributesForDecorationViewOfKind: (
NSCollectionViewDecorationElementKind)elementKind
atIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Returns the layout attributes for a decoration view
of the specified kind at the given index path.
Decoration views are visual elements like
backgrounds, borders, or separators that are
managed entirely by the layout. Subclasses
implement this method when they need to provide
decorative visual elements as part of their
design.
- (
NSCollectionViewLayoutAttributes*)
layoutAttributesForDropTargetAtPoint: (
NSPoint)pointInCollectionView;
Availability: MacOS-X 10.11.0
Returns layout attributes for visual feedback at
the specified drop target point during drag and drop
operations. This method allows layouts to
provide custom visual indicators for potential drop
locations, enhancing the drag and drop user
experience with layout-specific feedback and
guidance.
- (
NSArray*)
layoutAttributesForElementsInRect: (
NSRect)rect;
Availability: MacOS-X 10.11.0
Returns an array of layout attributes for all
elements that intersect or are contained within
the specified rectangle. This method is the primary way
the collection view queries for visible elements during
scrolling and display updates. Subclasses must
implement this to provide attributes for all
relevant elements in the given area.
- (
NSCollectionViewLayoutAttributes*)
layoutAttributesForInterItemGapBeforeIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Returns layout attributes for an inter-item gap
before the specified index path. Gap attributes
define spacing or separator elements between
collection items, allowing layouts to create
dynamic spacing that can respond to user
interactions or layout changes. These gaps can
be styled and animated like other layout elements.
- (
NSCollectionViewLayoutAttributes*)
layoutAttributesForItemAtIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Returns the layout attributes for the item at the
specified index path. This method provides
attributes for individual collection view items,
defining their position, size, and visual
properties. Subclasses implement this to
calculate and return the specific attributes for
the requested item based on their layout algorithm.
- (
NSCollectionViewLayoutAttributes*)
layoutAttributesForSupplementaryViewOfKind: (
NSCollectionViewSupplementaryElementKind)elementKind
atIndexPath: (
NSIndexPath*)indexPath;
Availability: MacOS-X 10.11.0
Returns the layout attributes for a supplementary
view of the specified kind at the given index path.
Supplementary views include headers, footers,
and other supporting elements that provide context for
the main collection items. Subclasses implement this to
position and configure supplementary views
according to their layout design.
- (void)
prepareLayout;
Availability: MacOS-X 10.11.0
Performs initial calculations and setup required
before layout attributes are requested. Subclasses
override this method to compute element positions,
cache calculated values, and prepare any data
structures needed for efficient attribute
queries. This method is called before any layout
attributes are requested from the layout.
- (BOOL)
shouldInvalidateLayoutForBoundsChange: (
NSRect)newBounds;
Availability: MacOS-X 10.11.0
Determines whether the layout should be
invalidated when the collection view's bounds
change to the specified new bounds. Subclasses
return YES if the layout needs to be
recalculated for the new bounds, such as when
item positions depend on the view size. Returning
NO improves performance when bounds
changes don't affect the layout.
- (
NSPoint)
targetContentOffsetForProposedContentOffset: (
NSPoint)proposedContentOffset;
Availability: MacOS-X 10.11.0
Description forthcoming.
- (
NSPoint)
targetContentOffsetForProposedContentOffset: (
NSPoint)proposedContentOffset
withScrollingVelocity: (
NSPoint)velocity;
Availability: MacOS-X 10.11.0
Description forthcoming.
- Declared in:
- AppKit/NSCollectionViewLayout.h
Availability: MacOS-X 10.11.0
Category containing methods for handling collection
view updates and transitions. These methods allow
layouts to participate in animated insertions,
deletions, moves, and layout changes. Subclasses
can override these methods to provide custom animations
and transitions that coordinate with their specific
layout algorithms and visual designs.
- (
NSCollectionViewLayoutAttributes*)
finalLayoutAttributesForDisappearingItemAtIndexPath: (
NSIndexPath*)itemIndexPath;
Availability: MacOS-X 10.11.0
Returns the layout attributes that should be used
for an item that is disappearing during an update
animation, such as during deletion. This method
allows layouts to specify custom ending attributes
for disappearing items, enabling sophisticated exit
animations. The attributes define the item's
final state as it animates away.
- (void)
finalizeAnimatedBoundsChange;
Availability: MacOS-X 10.11.0
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
finalizeCollectionViewUpdates;
Availability: MacOS-X 10.11.0
Performs final cleanup after collection view
update animations have completed. This method allows
the layout to perform any necessary cleanup, cache
invalidation, or state updates that should
occur after all update animations have finished and
the collection view has settled into its new
configuration.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
finalizeLayoutTransition;
Availability: MacOS-X 10.11.0
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (
NSCollectionViewLayoutAttributes*)
initialLayoutAttributesForAppearingItemAtIndexPath: (
NSIndexPath*)itemIndexPath;
Availability: MacOS-X 10.11.0
Returns the layout attributes that should be used
for an item that is appearing during an update
animation, such as during insertion. This method
allows layouts to specify custom starting attributes
for appearing items, enabling sophisticated entrance
animations. The attributes define the item's
initial state before it animates to its final
position.
- (void)
prepareForAnimatedBoundsChange: (
NSRect)oldBounds;
Availability: MacOS-X 10.11.0
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
prepareForCollectionViewUpdates: (
NSArray*)updateItems;
Availability: MacOS-X 10.11.0
Prepares the layout for a set of collection view
updates that will be animated. This method is
called before update animations begin, allowing the
layout to analyze the changes and prepare any
necessary adjustments or animation
configurations. The update items describe
the specific changes that will occur.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
prepareForTransitionFromLayout: (
NSCollectionViewLayout*)oldLayout;
Availability: MacOS-X 10.11.0
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
prepareForTransitionToLayout: (
NSCollectionViewLayout*)newLayout;
Availability: MacOS-X 10.11.0
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
Up