MoEngageCardsUIConfiguration
@available(tvOS, unavailable)
@objc
public class MoEngageCardsUIConfiguration : NSObject
Class responsible for customizing the Cards UI.
-
Title string
Declaration
Swift
public var navigationBarTitle: String
-
Customization on navigationbar
Declaration
Swift
public var navigationBarStyle: MoEngageCardsNavigationBarStyle?
-
Background color on Categories container. Default value is white
Declaration
Swift
public var categoryTabsContainerBGColor: UIColor
-
Background color on each categories. Default value is white
Declaration
Swift
public var categoryTabsBGColor: UIColor
-
Category title color. Default value is #424242
Declaration
Swift
public var categoryTabsTextColor: UIColor
-
Background color when category is selected. Default value is white
Declaration
Swift
public var categorySelectedTabBGColor: UIColor
-
Category title color when its selected. Default value is #424242
Declaration
Swift
public var categorySelectedTabTextColor: UIColor
-
Background color to the indicator that appears below each category. Default value is #3666EA.
Declaration
Swift
public var categorySelectionIndicatorBarColor: UIColor
-
Category title font. Default font is Regular with size 15.0
Declaration
Swift
public var categoryTabFont: UIFont
-
Category title font when category is selected. Default font is Bold with size 15.0
Declaration
Swift
public var categorySelectedTabFont: UIFont
-
Set false to disable the sync when performing pull to refresh. Default value is true
Declaration
Swift
public var enablePullToRefresh: Bool
-
UIColor on
UIRefreshControl.tintColor
. Default value is #525252.Declaration
Swift
public var pullToRefreshTintColor: UIColor
-
Cards UIViewController background color. Default value is #E5E5E5.
Declaration
Swift
public var cardsViewControllerBGColor: UIColor
-
Cards TableView background color. Default value is #E5E5E5.
Declaration
Swift
public var cardsTableViewBGColor: UIColor
-
Text to indicate when new card is available
Declaration
Swift
public var newUpdatesButtonTitle: String
-
New Update button font
Declaration
Swift
public var newUpdatesButtonFont: UIFont
-
New Update button background color.
Declaration
Swift
public var newUpdatesButtonBGColor: UIColor
-
New Update button text color. Default value is #414141.
Declaration
Swift
public var newUpdatesButtonTextColor: UIColor
-
Card background color. Default value is white
Declaration
Swift
public var defaultCardBackgroundColor: UIColor
-
Declaration
Swift
public var cardSelectionTintColor: UIColor
-
Card Header text color. Default value is #424242.
Declaration
Swift
public var cardHeaderLabelDefaultTextColor: UIColor
-
Card message text color. Default value is #616161.
Declaration
Swift
public var cardMessageLabelDefaultTextColor: UIColor
-
Card timestamp text color. Default value is #9E9E9E.
Declaration
Swift
public var cardTimestampLabelDefaultTextColor: UIColor
-
Card button text color. Default value is #416BFF.
Declaration
Swift
public var cardButtonDefaultTextColor: UIColor
-
Card button background color. Default value is .clear
Declaration
Swift
public var cardButtonDefaultBGColor: UIColor
-
Card image background color. Default value is .clear
Declaration
Swift
public var cardImageBackgroundColor: UIColor
-
Card separator background color.
Declaration
Swift
public var cardSeparatorBackgroundColor: UIColor
-
Indicator to highlight that card is unclicked. Default value is #416BFF.
Declaration
Swift
public var cardUnclickedIndicatorColor: UIColor
-
Card Header font. Default font is Bold with size 17.0
Declaration
Swift
public var cardHeaderLabelFont: UIFont
-
Card message font. Default font is Regular with size 14.0
Declaration
Swift
public var cardMessageLabelFont: UIFont
-
Card timestamp font.Default font is Regular with size 14.0
Declaration
Swift
public var cardTimestampLabelFont: UIFont
-
Card Button font. Default font is Regular with size 14.0
Declaration
Swift
public var cardButtonFont: UIFont
-
Card timestamp format. Default value is “MMM dd, hh:mm a”
Declaration
Swift
public var timestampDateFormat: String
-
Text to indicate empty cards
Declaration
Swift
public var emptyInboxText: String
-
Empty text color. Default value is #414141.
Declaration
Swift
public var emptyInboxTextColor: UIColor
-
Empty text font. Default font is Regular with size 16.0
Declaration
Swift
public var emptyInboxTextFont: UIFont
-
Indicator image to show card is unlicked
Declaration
Swift
public var cardUnclickedIndicatorImage: UIImage?
-
Placeholder image for cards until the image is downloaded.
Declaration
Swift
public var cardPlaceholderImage: UIImage?
-
Image displayed on card if its
Pinned
CardsDeclaration
Swift
public var cardPinnedImage: UIImage?
-
Image to indicate empty cards
Declaration
Swift
public var emptyInboxImage: UIImage?
-
Text on ActionSheet to indicate delete option
Declaration
Swift
public var actionSheetDeletionText: String
-
Text on ActionSheet to indicate cancel option
Declaration
Swift
public var actionSheetCancelText: String
-
Declaration
Swift
public override init()