Class Method
objectWithAvailableWidgetPosition:containingIcon:
Creates and returns an available position with the specified position and contains icon.
Declaration
+(instancetype)objectWithAvailableWidgetPosition:(HSWidgetPosition)position containingIcon:(BOOL)containsIcon;
Parameters
-
position
grid position that this object will represent
-
containsIcon
YES if the position being represented contains an icon; otherwise NO.
Return Value
An available position object that represents the given position.