PXStyleUtils Class Reference
Inherits from | NSObject |
Declared in | PXStyleUtils.h |
Tasks
-
+ updateStyleForStyleable:
Style the specified styleable
-
+ updateStylesForStyleable:andDescendants:
Force an update of the specified styleable. If the recurse flag is true, all descendants of the styleable will be updated as well.
-
+ updateCellStyleWhenReady:
Waits until a new cell is positioned in a tableview or collectionview before updating.
Class Methods
updateCellStyleWhenReady:
Waits until a new cell is positioned in a tableview or collectionview before updating.
+ (void)updateCellStyleWhenReady:(UIView *)view
Discussion
Waits until a new cell is positioned in a tableview or collectionview before updating.
Declared In
PXStyleUtils.h
updateStyleForStyleable:
Style the specified styleable
+ (void)updateStyleForStyleable:(id<PXStyleable>)styleable
Parameters
- styleable
The styleable to update
Discussion
Style the specified styleable
Declared In
PXStyleUtils.h
updateStylesForStyleable:andDescendants:
Force an update of the specified styleable. If the recurse flag is true, all descendants of the styleable will be updated as well.
+ (void)updateStylesForStyleable:(id<PXStyleable>)styleable andDescendants:(BOOL)recurse
Parameters
- styleable
The styleable to update
- recurse
A boolean indicating if descendants should be updated as well
Discussion
Force an update of the specified styleable. If the recurse flag is true, all descendants of the styleable will be updated as well.
Declared In
PXStyleUtils.h