Class Method

objectWithWidgetSize:

Creates and returns a size object with the specified size structure.


Declaration


+(instancetype)objectWithWidgetSize:(HSWidgetSize)size;

Parameters

Return Value

A size object that represents the given size structure.

Related Links


Structure

  • HSWidgetSize

    A structure that contains dimensions in grid positions.