XMMContentBlocks Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | UITableViewDataSource UITableViewDelegate UIWebViewDelegate |
| Declared in | XMMContentBlocks.h XMMContentBlocks.m |
– initWithTableView:api:
Initialize XMMContentBlocks with tableview and an api. TableView will get set up. XMMEnduserApi will be used to download other contentBlocks or map-pins.
- (instancetype)initWithTableView:(UITableView *)tableView api:(XMMEnduserApi *)apiParameters
tableView |
Instance of an UITableView. |
|---|---|
api |
Instance of XMMEnduserApi. |
Declared In
XMMContentBlocks.h
– viewWillAppear
Call this method, when your view will appear. This will show the content in the tableview.
- (void)viewWillAppearDeclared In
XMMContentBlocks.h
– viewWillDisappear
Call this method, when your view will disappear. This will pause sounds and remove observer.
- (void)viewWillDisappearDeclared In
XMMContentBlocks.h
– displayContent:
Display contentBlocks with header.
- (void)displayContent:(XMMContent *)contentParameters
content |
XMMContent object. |
|---|
Declared In
XMMContentBlocks.h
– displayContent:addHeader:
Display contentBlocks with or without header.
- (void)displayContent:(XMMContent *)content addHeader:(Boolean)addHeaderParameters
content |
XMMContent object. |
|---|---|
addHeader |
boolean for adding header or not. |
Declared In
XMMContentBlocks.h
– updateFontSizeTo:
Can be used to change the fontSize of the text contentBlock for better readability.
- (void)updateFontSizeTo:(TextFontSize)newFontSizeParameters
newFontSize |
New fontSize of the text contentBlock |
|---|
Declared In
XMMContentBlocks.h