initialLayoutAttributesForAppearingItemAtIndexPath method

NSCollectionViewLayoutAttributes? initialLayoutAttributesForAppearingItemAtIndexPath(
  1. NSIndexPath itemIndexPath
)

initialLayoutAttributesForAppearingItemAtIndexPath:

Implementation

NSCollectionViewLayoutAttributes?
initialLayoutAttributesForAppearingItemAtIndexPath(
  NSIndexPath itemIndexPath,
) {
  objc.checkOsVersionInternal(
    'NSCollectionViewLayout.initialLayoutAttributesForAppearingItemAtIndexPath:',
    iOS: (true, null),
  );
  final _ret = _objc_msgSend_1sotr3r(
    this.ref.pointer,
    _sel_initialLayoutAttributesForAppearingItemAtIndexPath_,
    itemIndexPath.ref.pointer,
  );
  return _ret.address == 0
      ? null
      : NSCollectionViewLayoutAttributes.castFromPointer(
          _ret,
          retain: true,
          release: true,
        );
}