Class Method

canFitWidget:inGridPositions:

Return whether the given widget positions can fit inside the specified grid positions.


Declaration


+(BOOL)canFitWidget:(NSArray *)widgetPositions inGridPositions:(NSArray *)positions;

Parameters

Return Value

YES if widget positions can be added in the specified grid positions; otherwise NO. In other words, this method checks if intersect of widget positions and grid positions equals widget positions.

Related Links


Checking Placement


Positions