SITThemeColors

Objective-C

@interface SITThemeColors : NSObject

Swift

class SITThemeColors : NSObject

Class the stores color definitions in hexadecimal to adapt the look and feel of your app. As a developer you can change these colors on the folowing link https://dashboard.situm.es/organization/theme

  • HEX code for danger color

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull danger;

    Swift

    var danger: String { get }
  • HEX code for default color

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull default_;

    Swift

    var default_: String { get }
  • HEX code for info color

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull info;

    Swift

    var info: String { get }
  • HEX code for primary color

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull primary;

    Swift

    var primary: String { get }
  • HEX code for secondary color

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull secondary;

    Swift

    var secondary: String { get }
  • HEX code for success color

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull success;

    Swift

    var success: String { get }
  • HEX code for warning color

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull warning;

    Swift

    var warning: String { get }
  • Default initializer of the class. You should not use this method. Instead use the objects you can get through getOrganizationTheme method of the SITCommunicationManager class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPrimary:(nonnull NSString *)primary
                                  secondary:(nonnull NSString *)secondary
                                    success:(nonnull NSString *)success
                                    warning:(nonnull NSString *)warning
                                     danger:(nonnull NSString *)danger
                                       info:(nonnull NSString *)info
                                   default_:(nonnull NSString *)default_;

    Swift

    init(primary: String, secondary: String, success: String, warning: String, danger: String, info: String, default_: String)