@interface DUXWidgetCollectionViewStacks : DUXWidgetCollectionView |
Header: | DUXWidgetCollectionViewStacks.h |
Inherits From: | DUXWidgetCollectionView |
A special widget collection view build around a stack layout which allows widget to be placed inside either stacks.
typedef NS_ENUM(NSUInteger, DUXWidgetCollectionViewStack) |
Header: | DUXWidgetCollectionViewStacks.h |
An enum defining each stack of the widgetCollectionStacksView
- (void)addWidget:(UIView<DUXWidgetProtocol> *)newWidget |
Header: | DUXWidgetCollectionViewStacks.h |
Adds the passed widget to the given stack with the passed edget insets.
UIView<DUXWidgetProtocol> * newWidget | The widget being added. |
DUXWidgetCollectionViewStack stack | The stack the widget is being added to. |
UIEdgeInsets edgeInset | The desired edge inset of the widget. |
- (void)moveWidget:(UIView<DUXWidgetProtocol> *)widget |
Header: | DUXWidgetCollectionViewStacks.h |
Moves the passed widget to the given stack with the passed edget insets.
UIView<DUXWidgetProtocol> * widget | The widget being moved. |
DUXWidgetCollectionViewStack stack | The stack the widget is being moved to. |
- (DUXWidgetCollectionViewStack)stackOfWidget:(UIView<DUXWidgetProtocol> *)widget |
Header: | DUXWidgetCollectionViewStacks.h |
Returns the current stack of the passed widget.
UIView<DUXWidgetProtocol> * widget | The widget whose stack is returned. |
DUXWidgetCollectionViewStack | the stack of the widget |