XMMContent Class Reference

Inherits from NSObject
Declared in XMMContent.h
XMMContent.m

Overview

XMMContent is used for mapping the JSON sended by the api.

Properties

  contentId

The unique contentId on our system.

@property (nonatomic, copy) NSString *contentId

Declared In

XMMContent.h

  imagePublicUrl

Public url pointing to an image on our system.

@property (nonatomic, copy) NSString *imagePublicUrl

Declared In

XMMContent.h

  descriptionOfContent

Description (Excerpt) of the content.

@property (nonatomic, copy) NSString *descriptionOfContent

Declared In

XMMContent.h

  language

The language of the content

@property (nonatomic, copy) NSString *language

Declared In

XMMContent.h

  title

The title of the content.

@property (nonatomic, copy) NSString *title

Declared In

XMMContent.h

  contentBlocks

Array containing items of XMMContentBlock. Display all different contentBlocks.

@property (nonatomic) NSArray *contentBlocks

Declared In

XMMContent.h

  category

Category as an number to specify an icon.

@property (nonatomic) NSNumber *category

Declared In

XMMContent.h

Mapping

+ mapping

Returns a RKObjectMapping for XMMContent class.

+ (RKObjectMapping *)mapping

Return Value

RKObjectMapping*

Declared In

XMMContent.h

  sortedContentBlocks

Returns the XMMCoreDataContentBlocks in the right order.

@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *sortedContentBlocks

Return Value

NSArray*

Declared In

XMMContent.h