XMMContentBlockType3 Class Reference
| Inherits from | XMMContentBlock : NSObject |
|---|---|
| Declared in | XMMContentBlockType3.h XMMContentBlockType3.m |
Overview
XMMContentBlockType3 is used for mapping the JSON sended by the api.
This class represents the contentBlockType ‘IMAGE’.
Default behavior
- Display title as bold.
- Display image scaled to device width.
Other Methods
fileId
Url to a imageFile (jpg, png, webp, svg)
@property (nonatomic, copy) NSString *fileIdDeclared In
XMMContentBlockType3.h
scaleX
Value to determine a x-axis (width) scaling from 0 to 100 in percent. Is null when not set.
@property (nonatomic, copy) NSDecimalNumber *scaleXDeclared In
XMMContentBlockType3.h
linkUrl
Url the user inserted in xamoom cloud. Can be nil and “”. Should be opened in browser.
@property (nonatomic, copy) NSString *linkUrlDeclared In
XMMContentBlockType3.h
altText
Alternative text for the image. Can be nil and “”; If nil or “”, use the title.
@property (nonatomic, copy) NSString *altTextDeclared In
XMMContentBlockType3.h
Mapping
+ mapping
Returns a RKObjectMapping for XMMContentBlockType3 class.
+ (RKObjectMapping *)mappingReturn Value
RKObjectMapping*
Declared In
XMMContentBlockType3.h
+ dynamicMappingMatcher
Returns a RKObjectMappingMatcher for XMMContentBlockType3 class.
+ (RKObjectMappingMatcher *)dynamicMappingMatcherReturn Value
RKObjectMappingMatcher*
Declared In
XMMContentBlockType3.h