Braze iOS SDK
Documentation for the Braze iOS SDK
 All Classes Functions Properties
Instance Methods | Properties | List of all members
ABKBaseContentCardCell Class Reference

Instance Methods

(void) - applyCard:
(UIImage *) - getPlaceHolderImage
(void) - applyAppboyAttributedTextStyleFrom:forLabel:


IBOutlet UIView * rootView
IBOutlet UIImageView * pinImageView
IBOutlet UIView * unviewedLineView
IBOutlet NSLayoutConstraint * rootViewLeadingConstraint
IBOutlet NSLayoutConstraint * rootViewTrailingConstraint
IBOutlet NSLayoutConstraint * rootViewTopConstraint
IBOutlet NSLayoutConstraint * rootViewBottomConstraint
IBOutlet NSLayoutConstraint * cardWidthConstraint
CGFloat cardSidePadding
CGFloat cardSpacing
BOOL hideUnreadIndicator
< ABKBaseContentCardCellDelegate

Method Documentation

- (void) applyAppboyAttributedTextStyleFrom: (NSString *)  text
forLabel: (UILabel *)  label 

This is a utility method to make text styled.

- (void) applyCard: (ABKContentCard *)  card
cardThe 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.

Property Documentation

- (CGFloat) cardSidePadding

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.

- (id<ABKBaseContentCardCellDelegate>) delegate

To communicate back after any cell updates occur

- (IBOutlet UIImageView*) pinImageView

This is the triangle image which shows if a card has been viewed by the user.

- (IBOutlet UIView*) rootView

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.

- (IBOutlet NSLayoutConstraint*) rootViewLeadingConstraint

Card root view related constraints

- (IBOutlet UIView*) unviewedLineView

This is the blue line under unviewed cards.