layoutAttributesForItemAtIndexPath method

NSCollectionViewLayoutAttributes? layoutAttributesForItemAtIndexPath(
  1. NSIndexPath indexPath
)

layoutAttributesForItemAtIndexPath:

Implementation

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