Type Method

spacingForLeading:top:trailing:bottom:

Creates an edge spacing object with the specified leading, top, trailing, and bottom spacing.

Declaration

+ (instancetype)spacingForLeading:(NSCollectionLayoutSpacing *)leading top:(NSCollectionLayoutSpacing *)top trailing:(NSCollectionLayoutSpacing *)trailing bottom:(NSCollectionLayoutSpacing *)bottom;