XMMContentBlockType2 Class Reference

Inherits from XMMContentBlock : NSObject
Declared in XMMContentBlockType2.h
XMMContentBlockType2.m

Overview

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

This class represents the contentBlockType ‘VIDEO’.

Default behavior

  1. Display title as bold.
  2. Display player for youtube or some html-player-view.

Other Methods

  videoUrl

A video url. Can be a youtube url or some url pointing to a mp3.

@property (nonatomic, copy) NSString *videoUrl

Declared In

XMMContentBlockType2.h

Mapping

+ mapping

Returns a RKObjectMapping for XMMContentBlockType2 class.

+ (RKObjectMapping *)mapping

Return Value

RKObjectMapping*

Declared In

XMMContentBlockType2.h

+ dynamicMappingMatcher

Returns a RKObjectMappingMatcher for XMMContentBlockType2 class.

+ (RKObjectMappingMatcher *)dynamicMappingMatcher

Return Value

RKObjectMappingMatcher*

Declared In

XMMContentBlockType2.h