layoutAttributesForInterItemGapBeforeIndexPath method

NSCollectionViewLayoutAttributes? layoutAttributesForInterItemGapBeforeIndexPath(
  1. NSIndexPath indexPath
)

layoutAttributesForInterItemGapBeforeIndexPath:

Implementation

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