XMMStyle Class Reference

Inherits from JSONAPIResourceBase
Conforms to XMMRestResource
Declared in XMMStyle.h
XMMStyle.m

Overview

XMMStyle with colors and icons.

Other Methods

  backgroundColor

The background color defined on our system. (E.g. #f5f5f5)

@property (nonatomic, copy) NSString *backgroundColor

Declared In

XMMStyle.h

  highlightFontColor

The hightLightFontColor defined on our system. Used for links. (E.g. #ff0000)

@property (nonatomic, copy) NSString *highlightFontColor

Declared In

XMMStyle.h

  foregroundFontColor

The foregroundFont color defined on our system. (E.g. #f9f9f9)

@property (nonatomic, copy) NSString *foregroundFontColor

Declared In

XMMStyle.h

  chromeHeaderColor

The chromeHeaderColor is displayed on mobile chrome browser as the “head”. Use it for your e.g. navigation bar. (E.g. #cdcdcd)

@property (nonatomic, copy) NSString *chromeHeaderColor

Declared In

XMMStyle.h

  customMarker

The customMarker as DOUBLE base64 encoded string. Use this one on maps.

@property (nonatomic, copy) NSString *customMarker

Declared In

XMMStyle.h

  icon

The icon as DOUBLE base64 encoded string.

@property (nonatomic, copy) NSString *icon

Declared In

XMMStyle.h

– initWithBackgroundColor:highlightTextColor:textColor:

Create style instance with defined colors;

- (instancetype)initWithBackgroundColor:(NSString *)backgroundHexColor highlightTextColor:(NSString *)highlightFontHexColor textColor:(NSString *)foregroundFontHexColor

Parameters

backgroundHexColor

Hex of backgroundColor;

highlightFontHexColor

Hex of hightlightColor (used for e.g. links)

foregroundFontHexColor

Hex of textColor

Declared In

XMMStyle.h

Other Methods

+ resourceName

JSONApi resource name.

+ (NSString *)resourceName

Declared In

XMMRestResource.h

– initWithCoreDataObject:

Initialize entity with offline saved entity.

- (instancetype)initWithCoreDataObject:(id<XMMCDResource>)object

Declared In

XMMRestResource.h

– initWithCoreDataObject:excludeRelations:

Initialize entity with offline saved entity and don’t add relations.

- (instancetype)initWithCoreDataObject:(id<XMMCDResource>)object excludeRelations:(Boolean)excludeRelations

Declared In

XMMRestResource.h

– saveOffline

Save offline copy of this entity.

- (id<XMMCDResource>)saveOffline

Declared In

XMMRestResource.h

– deleteOfflineCopy

Delete offline saved copy of this entity.

- (void)deleteOfflineCopy

Declared In

XMMRestResource.h