Instance Method
initWithWidgetsOptionsToExclude:withDelegate:availablePositions:
Initialize a newly allocated additional options object with the given excluded options, delegate and available positions.
Declaration
-(instancetype)initWithWidgetsOptionsToExclude:(NSArray *)optionsToExclude withDelegate:(id<HSWidgetAddNewAdditionalOptionsDelegate>)delegate availablePositions:(NSArray *)positions;
Parameters
-
optionsToExclude
widgets with the following options are already on the page so any additional widgets could exclude them.
-
delegate
An object to handle completion events like adding or canceling widget addition.
-
positions
An array of available widget positions that can be occupied.
Return Value
An additional options object initialized with the given options to exclude, delegate and available positions.