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

Return Value

YES if widget of given size can be added in the specified grid positions; otherwise NO.

Related Links


Checking Placement


Positions


Structure

  • HSWidgetSize

    A structure that contains dimensions in grid positions.