XMMContentBlock Class Reference
Inherits from | JSONAPIResourceBase |
---|---|
Conforms to | XMMRestResource |
Declared in | XMMContentBlock.h XMMContentBlock.m |
Overview
XMMContentBlock can have 9 different types (see blockType). Every contentBlock are localized and only uses some of the properties.
Other Methods
title
The title of this contentBlock.
@property (nonatomic, copy) NSString *title
Declared In
XMMContentBlock.h
publicStatus
The publicStatus of the content. Yes means public. Changed on our system when check “mobile-only” on the contentBlock.
@property (nonatomic) BOOL publicStatus
Declared In
XMMContentBlock.h
blockType
The contentBlockType (0-9) determining the type of the contentBlock.
@property (nonatomic) int blockType
Declared In
XMMContentBlock.h
altText
Alternative text for images.
@property (nonatomic) NSString *altText
Declared In
XMMContentBlock.h
Other Methods
– 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
– initWithCoreDataObject:
Initialize entity with offline saved entity.
- (instancetype)initWithCoreDataObject:(id<XMMCDResource>)object
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