Library Mobile API Reference for iPhone  MicroStrategy 2019
DxCollectionviewLayout Class Reference

#import <MicroStrategyMobileSDK-Swift.h>

Inheritance diagram for DxCollectionviewLayout:

Instance Methods

(BOOL) - shouldInvalidateLayoutForBoundsChange:
 
(nullable instancetype) - initWithCoder:
 
(void) - encodeWithCoder:
 
(void) - prepareLayout
 
(NSArray< UICollectionViewLayoutAttributes * > *_Nullable) - layoutAttributesForElementsInRect:
 
(UICollectionViewLayoutAttributes *_Nullable) - layoutAttributesForItemAtIndexPath:
 
(nonnull instancetype) - SWIFT_UNAVAILABLE
 

Class Methods

(Class _Nonnull) + SWIFT_WARN_UNUSED_RESULT
 
("-init is unavailable") + SWIFT_DEPRECATED_MSG
 

Properties

CGSize collectionViewContentSize
 

Method Documentation

◆ encodeWithCoder:()

- (void) encodeWithCoder: (NSCoder *_Nonnull)  aCoder

◆ initWithCoder:()

- (nullable instancetype) initWithCoder: (NSCoder *_Nonnull)  OBJC_DESIGNATED_INITIALIZER

◆ layoutAttributesForElementsInRect:()

- (NSArray<UICollectionViewLayoutAttributes *> * _Nullable) layoutAttributesForElementsInRect: (CGRect)  SWIFT_WARN_UNUSED_RESULT

◆ layoutAttributesForItemAtIndexPath:()

- (UICollectionViewLayoutAttributes * _Nullable) layoutAttributesForItemAtIndexPath: (NSIndexPath *_Nonnull)  SWIFT_WARN_UNUSED_RESULT

◆ prepareLayout()

- (void) prepareLayout

◆ shouldInvalidateLayoutForBoundsChange:()

- (BOOL) shouldInvalidateLayoutForBoundsChange: (CGRect)  SWIFT_WARN_UNUSED_RESULT

◆ SWIFT_DEPRECATED_MSG()

+ ("-init is unavailable") SWIFT_DEPRECATED_MSG

◆ SWIFT_UNAVAILABLE()

- (nonnull instancetype) SWIFT_UNAVAILABLE

◆ SWIFT_WARN_UNUSED_RESULT()

+ (Class _Nonnull) SWIFT_WARN_UNUSED_RESULT

Property Documentation

◆ collectionViewContentSize

- (CGSize) collectionViewContentSize
readnonatomicassign