Instance Methods | |
(void) | - applyCard: |
(UIImage *) | - getPlaceHolderImage |
(Class) | - imageViewClass |
(void) | - setUp |
(void) | - setUpUI |
(void) | - applyAppboyAttributedTextStyleFrom:forLabel: |
Properties | |
IBOutlet UIView * | rootView |
IBOutlet UIImageView * | pinImageView |
IBOutlet UIView * | unviewedLineView |
UIColor * | unviewedLineViewColor |
IBOutlet NSLayoutConstraint * | rootViewLeadingConstraint |
IBOutlet NSLayoutConstraint * | rootViewTrailingConstraint |
IBOutlet NSLayoutConstraint * | rootViewTopConstraint |
IBOutlet NSLayoutConstraint * | rootViewBottomConstraint |
IBOutlet NSLayoutConstraint * | cardWidthConstraint |
CGFloat | cardSidePadding |
CGFloat | cardSpacing |
BOOL | hideUnreadIndicator |
id < ABKBaseContentCardCellDelegate > | delegate |
- (void) applyAppboyAttributedTextStyleFrom: | (NSString *) | text | |
forLabel: | (UILabel *) | label | |
This is a utility method to make text styled.
- (void) applyCard: | (ABKContentCard *) | card |
card | The card model for the cell. |
Apply the data from the given card to the card cell.
- (UIImage *) getPlaceHolderImage |
This is a utility method to return the place holder image.
- (void) setUp |
initialization that always occurs for the content card cells
- (void) setUpUI |
Initialization that is in place of Storyboard or XIB initialization. This method should call all the property specific setUp methods.
|
readwritenonatomicassign |
These are basic UI configuration for the Content Cards feed. They are set to the default values in the setUp
method.
It's recommended to set the values before the view is displayed.
|
readwritenonatomicweak |
To communicate back after any cell updates occur
|
readwritenonatomicassign |
This is the triangle image which shows if a card has been viewed by the user.
|
readwritenonatomicassign |
This view displays the card contents and is the base view container for each card. To change or configure the outline of the card like card width, background color board width, etc, you can update this property accordingly.
|
readwritenonatomicassign |
Card root view related constraints
|
readwritenonatomicassign |
This is the blue line under unviewed cards.