Class
HSWidgetCombinedAdditionalOptionsAndPreferencesViewController
A combined additional options and preference list controller that can be shared for additional options and settings accessory.
Declaration
@interface HSWidgetCombinedAdditionalOptionsAndPreferencesViewController : HSWidgetPreferencesListController <HSWidgetAdditionalOptions>
Description
The class Inherits from HSWidgetPreferencesListController so we can take advantage of all of the benefits provided by the preferences framework (specifiers, list controllers, etc). it also conforms to HSWidgetAdditionalOptions so we can use it for both additional options and settings accessory.
Topics
Add Widget
-
- addWidget
Add widget configured during additional options view to the page.
Cancel Addition
-
- cancelAdditionalOptions
Cancel widget addition, dismissing add widget view.
Checking Space Availability
-
- containsSpaceForGridPositions:
Return whether there is enough space available for grid positions.
-
- containsSpaceForWidgetSize:
Return whether there is enough space available for widget of specified size.
Related Links
Preference List Controller
-
HSWidgetPreferencesListController
A preference list controller subclass for easily managing/applying widget preferences.