Class Method
canFitWidgetOfSize:inGridPositions:
Return whether the given size can fit inside the specified grid positions.
Declaration
+(BOOL)canFitWidgetOfSize:(HSWidgetSize)size inGridPositions:(NSArray *)positions;
Parameters
-
size
size structure to check placement of
-
positions
array of grid positions to check placement in
Return Value
YES if widget of given size can be added in the specified grid positions; otherwise NO.
Related Links
Checking Placement
-
+ canFitWidget:inGridPositions:
Return whether the given widget positions can fit inside the specified grid positions.
Positions
-
HSWidgetPositionObject
An object wrapper for widget position structure.
Structure
-
HSWidgetSize
A structure that contains dimensions in grid positions.