ASCellNode() Category Reference

Declared in ASCellNode+Internal.h

  layoutAttributes

This could be declared @c copy, but since this is only settable internally, we can ensure that it’s always safe simply to retain it, and copy if needed. Since @c UICollectionViewLayoutAttributes is always mutable, @c copy is never “free” like it is for e.g. NSString.

@property (nonatomic, strong, nullable) UICollectionViewLayoutAttributes *layoutAttributes

Discussion

Note: This could be declared @c copy, but since this is only settable internally, we can ensure that it’s always safe simply to retain it, and copy if needed. Since @c UICollectionViewLayoutAttributes is always mutable, @c copy is never “free” like it is for e.g. NSString.

Declared In

ASCellNode+Internal.h

  supplementaryElementKind

readwrite variant of the readonly public property.

@property (nonatomic, copy, nullable) NSString *supplementaryElementKind

Declared In

ASCellNode+Internal.h