Instance Method
initForWidgetFrame:withOptions:
Initialize a newly allocated widget view controller with the specified widget frame and options.
Declaration
-(instancetype)initForWidgetFrame:(HSWidgetFrame)frame withOptions:(NSDictionary *)options;
Parameters
-
frame
A structure that represents the grid frame that widget will occupy.
-
options
A dictionary containing the user options for this widget.
Return Value
A widget view controller object initialized with the given frame and options that it represents.
Related Links
Structure
-
HSWidgetFrame
A structure that contains location and dimensions of widget in grid positions.