UADefaultMessageCenterStyle

@interface UADefaultMessageCenterStyle : 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;
  • The color of the message center title.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *titleColor;
  • The tint color to be applied to the message center.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *tintColor;
  • The background color of the navigation bar, if applicable.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *navigationBarColor;
  • Whether the navigation bar should be translucent.

    Declaration

    Objective-C

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

    Swift

    var navigationBarOpaque: Bool { get set }
  • The background color of the message list.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *listColor;
  • The tint color of the pull to refresh control

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *refreshTintColor;
  • 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;
  • The font to use for message cell titles.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIFont *cellTitleFont;
  • The font to use for message cell dates.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIFont *cellDateFont;
  • The regular color for message cells

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellColor;
  • The highlighted color for message cells.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellHighlightedColor;
  • The regular color for message cell titles.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellTitleColor;
  • The highlighted color for message cell titles.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellTitleHighlightedColor;
  • The regular color for message cell dates.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellDateColor;
  • The highlighted color for message cell dates.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellDateHighlightedColor;
  • The message cell separator color.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellSeparatorColor;
  • The message cell tint color.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *cellTintColor;
  • The background color for the unread indicator.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *unreadIndicatorColor;
  • Factory method to create a UADefaultMessageCenterStyle.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Swift

    convenience init!(contentsOfFile path: String!)