XMMContentBlockType4 Class Reference
| Inherits from | XMMContentBlock : NSObject |
|---|---|
| Declared in | XMMContentBlockType4.h XMMContentBlockType4.m |
Overview
XMMContentBlockType4 is used for mapping the JSON sended by the api.
This class represents the contentBlockType ‘LINK’.
Default behavior
- On the left a icon according to type
- Next to the image title and below text
- Backgroundcolor according to type
Example implementation is on our sample app “pingeb.org” https://github.com/xamoom/xamoom-pingeborg-ios
Other Methods
linkUrl
A url inputed by the user.
@property (nonatomic, copy) NSString *linkUrlDeclared In
XMMContentBlockType4.h
text
Text as description for the url.
@property (nonatomic, copy) NSString *textDeclared In
XMMContentBlockType4.h
linkType
Link type to determine the type of the link.
@property (nonatomic) int linkTypeDiscussion
- FACEBOOK = 0
- TWITTER = 1
- WEB = 2
- AMAZON = 3
- WIKIPEDIA = 4
- LINKEDIN = 5
- FLICKR = 6
- SOUNDCLOUD = 7
- ITUNES = 8
- YOUTUBE = 9
- GOOGLEPLUS = 10
- TEL = 11
- EMAIL = 12
- SPOTIFY = 13
- GOOGLE_MAPS = 14
- ITUNES_APP = 15
- GOOGLE_PLAY = 16
- WINDOWS_STORE = 17
Declared In
XMMContentBlockType4.h
Mapping
+ mapping
Returns a RKObjectMapping for XMMContentBlockType4 class.
+ (RKObjectMapping *)mappingReturn Value
RKObjectMapping*
Declared In
XMMContentBlockType4.h
+ dynamicMappingMatcher
Returns a RKObjectMappingMatcher for XMMContentBlockType4 class.
+ (RKObjectMappingMatcher *)dynamicMappingMatcherReturn Value
RKObjectMappingMatcher*
Declared In
XMMContentBlockType4.h