Instance Method
initWithAvailableWidgetPosition:containingIcon:
Initializes a newly allocated available position with the specified position and contains icon.
Declaration
-(instancetype)initWithAvailableWidgetPosition:(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 initialized with the given position that it represents.