UAMessageCenterStyle

@interface UAMessageCenterStyle : NSObject

Model object representing a custom style to be applied to the default message center.

Note: the customizations exposed in this class are a la carte. Unless otherwise noted, unspecified properties will be overridden by the default message center at display time.

  • The font to use for the message center title.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIFont *titleFont;

    Swift

    var titleFont: UIFont! { get set }
  • The color of the message center title.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *titleColor;

    Swift

    var titleColor: UIColor! { get set }
  • The tint color to be applied to the message center.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *tintColor;

    Swift

    var tintColor: UIColor! { get set }
  • The background color of the navigation bar, if applicable.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *navigationBarColor;

    Swift

    var navigationBarColor: UIColor! { get set }
  • Whether the navigation bar should be translucent.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL navigationBarOpaque;

    Swift

    var navigationBarOpaque: Bool { get set }
  • The navigation bar style. Note: default for default Bar style, black for black bar style.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UANavigationBarStyle navigationBarStyle;

    Swift

    var navigationBarStyle: UANavigationBarStyle { get set }
  • The background color of the message list.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *listColor;

    Swift

    var listColor: UIColor! { get set }
  • The tint color of the pull to refresh control

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *refreshTintColor;

    Swift

    var refreshTintColor: UIColor! { get set }
  • Whether icons are enabled. Defaults to NO.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL iconsEnabled;

    Swift

    var iconsEnabled: Bool { get set }
  • An optional placeholder image to use when icons haven’t fully loaded.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIImage *placeholderIcon;

    Swift

    var placeholderIcon: UIImage! { get set }
  • The font to use for message cell titles.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIFont *cellTitleFont;

    Swift

    var cellTitleFont: UIFont! { get set }
  • The font to use for message cell dates.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIFont *cellDateFont;

    Swift

    var cellDateFont: UIFont! { get set }
  • The regular color for message cells

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellColor;

    Swift

    var cellColor: UIColor! { get set }
  • The highlighted color for message cells.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellHighlightedColor;

    Swift

    var cellHighlightedColor: UIColor! { get set }
  • The regular color for message cell titles.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellTitleColor;

    Swift

    var cellTitleColor: UIColor! { get set }
  • The highlighted color for message cell titles.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellTitleHighlightedColor;

    Swift

    var cellTitleHighlightedColor: UIColor! { get set }
  • The regular color for message cell dates.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellDateColor;

    Swift

    var cellDateColor: UIColor! { get set }
  • The highlighted color for message cell dates.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellDateHighlightedColor;

    Swift

    var cellDateHighlightedColor: UIColor! { get set }
  • The message cell separator color.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellSeparatorColor;

    Swift

    var cellSeparatorColor: UIColor! { get set }
  • The message cell tint color.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellTintColor;

    Swift

    var cellTintColor: UIColor! { get set }
  • The background color for the unread indicator.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *unreadIndicatorColor;

    Swift

    var unreadIndicatorColor: UIColor! { get set }
  • The title color for the Select All button.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *selectAllButtonTitleColor;

    Swift

    var selectAllButtonTitleColor: UIColor! { get set }
  • The title color for the Delete button.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *deleteButtonTitleColor;

    Swift

    var deleteButtonTitleColor: UIColor! { get set }
  • The title color for the Mark Read button.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *markAsReadButtonTitleColor;

    Swift

    var markAsReadButtonTitleColor: UIColor! { get set }
  • The title color for the Edit button.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *editButtonTitleColor;

    Swift

    var editButtonTitleColor: UIColor! { get set }
  • The title color for the Cancel button.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cancelButtonTitleColor;

    Swift

    var cancelButtonTitleColor: UIColor! { get set }
  • Factory method to create a UAMessageCenterStyle.

    Declaration

    Objective-C

    + (instancetype)style;
  • Factory method to create UAMessageCenterStyle from a provided plist.

    Declaration

    Objective-C

    + (instancetype)styleWithContentsOfFile:(NSString *)path;

    Swift

    convenience init!(contentsOfFile path: String!)