Use enumerated type for _xPlacement and _yPlacement

This commit is contained in:
Gregory John Casamento 2021-03-26 19:34:16 -04:00
parent b1b6e9a2a1
commit b20ee2969f

View file

@ -65,8 +65,8 @@ APPKIT_EXPORT const CGFloat NSGridViewSizeForContent;
NSMutableArray *_cells;
CGFloat _columnSpacing;
CGFloat _rowSpacing;
NSUInteger _xPlacement;
NSUInteger _yPlacement;
NSGridCellPlacement _xPlacement;
NSGridCellPlacement _yPlacement;
}
+ (instancetype) gridViewWithNumberOfColumns: (NSInteger)columnCount rows: (NSInteger)rowCount;