SITOrganizationTheme
Objective-C
@interface SITOrganizationTheme : SITResource
Swift
class SITOrganizationTheme : SITResource
Class to represents different parameters to adapt the look and feel of an organization. To get all these parameters you must have selected the Tracking Package (https://dashboard.situm.com/accounts/register)
-
Name of the organization
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull organizationName;
Swift
var organizationName: String { get }
-
Identifier of the organization
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull organizationUuid;
Swift
var organizationUuid: String { get }
-
@link SITThemeColors object
Declaration
Objective-C
@property (nonatomic, readonly) SITThemeColors *_Nonnull themeColors;
Swift
var themeColors: SITThemeColors { get }
-
-initWithIdentifier:
createdAt: updatedAt: customFields: organizationName: organizationUuid: themeColors: logo: Initializer of the class As a developer you should not create instances of this class. Instead you should use the ones provided by {@link SITCommunicationManager#fetchOrganicationThemeWithOptions:success:failure} /// Make sure to get your instances from fetchOrganization instead of creating them.
Declaration
Objective-C
- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier createdAt:(nonnull NSDate *)createdAt updatedAt:(nonnull NSDate *)updatedAt customFields:(nonnull NSDictionary *)customFields organizationName:(nonnull NSString *)organizationName organizationUuid:(nonnull NSString *)organizationUuid themeColors:(nonnull SITThemeColors *)themeColors logo:(nonnull SITURL *)logo;
Swift
init(identifier: String, createdAt: Date, updatedAt: Date, customFields: [AnyHashable : Any], organizationName: String, organizationUuid: String, themeColors: SITThemeColors, logo: SITURL)