@interface DUXWidgetCollectionViewLayout : UICollectionViewLayout |
Header: | DUXWidgetCollectionViewLayout.h |
Inherits From: | UICollectionViewLayout |
A base sub class of UICollectionView to be used for all custom collection layout used in standard UXSDK objects.
@property(nonatomic) UICollectionViewScrollDirection scrollDirection |
Header: | DUXWidgetCollectionViewLayout.h |
The scrollDirection of the layout.
@property(nonatomic) CGFloat minimumInteritemSpacing |
Header: | DUXWidgetCollectionViewLayout.h |
The minimum space to be kept between items.
- (CGFloat)widthSumOfWidgets:(NSArray *)widgets |
Header: | DUXWidgetCollectionViewLayout.h |
Convenience calculation method calculating the total width of all widgets in the passed array.
NSArray * widgets | The widgets whose total width is desired. |
CGFloat | a width in pixels |
- (CGFloat)heightSumOfWidgets:(NSArray *)widgets |
Header: | DUXWidgetCollectionViewLayout.h |
Convenience calculation method calculating the total height of all widgets in the passed array.
NSArray * widgets | The widgets whose total height is desired. |
CGFloat | a height in pixels |
- (CGFloat)totalWidgetWidth |
Header: | DUXWidgetCollectionViewLayout.h |
Convenience calculation method calculating the total width of all widgets in the associated collection.
CGFloat | a width in pixels |
- (CGFloat)totalWidgetHeight |
Header: | DUXWidgetCollectionViewLayout.h |
Convenience calculation method calculating the total height of all widgets in the associated collection.
CGFloat | a height in pixels |