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 *titleDeclared 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 publicStatusDeclared In
XMMContentBlock.h
blockType
The contentBlockType (0-9) determining the type of the contentBlock.
@property (nonatomic) int blockTypeDeclared In
XMMContentBlock.h
altText
Alternative text for images.
@property (nonatomic) NSString *altTextDeclared 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)excludeRelationsDeclared In
XMMRestResource.h
– initWithCoreDataObject:
Initialize entity with offline saved entity.
- (instancetype)initWithCoreDataObject:(id<XMMCDResource>)objectDeclared In
XMMRestResource.h
– saveOffline
Save offline copy of this entity.
- (id<XMMCDResource>)saveOfflineDeclared In
XMMRestResource.h
– deleteOfflineCopy
Delete offline saved copy of this entity.
- (void)deleteOfflineCopyDeclared In
XMMRestResource.h