Library Mobile API Reference for iPhone  MicroStrategy 2019
DossierInfoView Class Reference

#import <MicroStrategyMobileSDK-Swift.h>

Inheritance diagram for DossierInfoView:

Instance Methods

(void(^)) - _Nullable
 
(nonnull instancetype) - initWithFrame:image:title:description:
 
(nonnull instancetype) - initWithFrame:image:title:description:flatButtonTitle:
 
(nonnull instancetype) - initWithFrame:image:title:description:filledButtonTitle:flatButtonTitle:
 
(nonnull instancetype) - initWithFrame:iconfont:color:description:
 
(nonnull instancetype) - initWithFrame:image:description:
 
(nullable instancetype) - initWithCoder:
 
(void) - layoutSubviews
 
(nonnull instancetype) - initWithFrame:
 

Properties

BOOL centerAligned
 
CGFloat topPaddingMultiplier
 
CGFloat topPadding
 
CGFloat bottomPaddingMultiplier
 
CGFloat bottomPadding
 
CGFloat sidePaddingMultiplier
 
CGFloat sidePadding
 
CGFloat contentViewMaxWidth
 the max width of the content view More...
 
CGFloat minPaddingIfScroll
 the min top and bottom padding if the content view need to scroll More...
 
void(^ _Nullable )(void)
 

Method Documentation

◆ _Nullable()

- (void(^ )) _Nullable (void) 

◆ initWithCoder:()

- (nullable instancetype) initWithCoder: (NSCoder *_Nonnull)  OBJC_DESIGNATED_INITIALIZER

◆ initWithFrame:()

- (nonnull instancetype) initWithFrame: (CGRect)  SWIFT_UNAVAILABLE

◆ initWithFrame:iconfont:color:description:()

- (nonnull instancetype) initWithFrame: (CGRect)  frame
iconfont: (NSString *_Nonnull)  iconfont
color: (UIColor *_Nonnull)  color
description: (NSString *_Nonnull)  OBJC_DESIGNATED_INITIALIZER 

Create a Dossier error handling content view which contains an iconfont and a description.

Parameters
framethe view’s frame
iconfontthe iconfont view you want to put, the default value is {e9f1}
colorthe iconfont color, default value is UIColor.dossierPrimaryBlue().withAlphaComponent(0.2)
descriptiondescription string

◆ initWithFrame:image:description:()

- (nonnull instancetype) initWithFrame: (CGRect)  frame
image: (UIImage *_Nonnull)  image
description: (NSString *_Nonnull)  OBJC_DESIGNATED_INITIALIZER 

Create a Dossier error handling content view which contains an image and a title and a description.

Parameters
framethe view’s frame
imagethe image view you want to put
titletitle string
descriptiondescription string

◆ initWithFrame:image:title:description:()

- (nonnull instancetype) initWithFrame: (CGRect)  frame
image: (UIImage *_Nonnull)  image
title: (NSString *_Nonnull)  title
description: (NSString *_Nonnull)  OBJC_DESIGNATED_INITIALIZER 

Create a Dossier error handling content view which contains an image and a title and a description.

Parameters
framethe view’s frame
imagethe image view you want to put
titletitle string
descriptiondescription string

◆ initWithFrame:image:title:description:filledButtonTitle:flatButtonTitle:()

- (nonnull instancetype) initWithFrame: (CGRect)  frame
image: (UIImage *_Nonnull)  image
title: (NSString *_Nonnull)  title
description: (NSString *_Nonnull)  description
filledButtonTitle: (NSString *_Nonnull)  filledButtonTitle
flatButtonTitle: (NSString *_Nonnull)  OBJC_DESIGNATED_INITIALIZER 

Create a Dossier error handling content view which contains an image and a title and a description and a filledButton and a flatButton. You need to set flatButtonClosure and filledButtonClosure to add action to those two button.

Parameters
framethe view’s frame
imagethe image view you want to put
titletitle string
descriptiondescription string
filledButtonTitlefilledButton title string
flatButtonTitleflatButton title string

◆ initWithFrame:image:title:description:flatButtonTitle:()

- (nonnull instancetype) initWithFrame: (CGRect)  frame
image: (UIImage *_Nonnull)  image
title: (NSString *_Nonnull)  title
description: (NSString *_Nonnull)  description
flatButtonTitle: (NSString *_Nonnull)  OBJC_DESIGNATED_INITIALIZER 

Create a Dossier error handling content view which contains an image and a title and a description and a flatButton. You need to set flatButtonClosure to add action to flat button.

Parameters
framethe view’s frame
imagethe image view you want to put
titletitle string
descriptiondescription string
flatButtonTitleflatButton title string

◆ layoutSubviews()

- (void) layoutSubviews

Property Documentation

◆ _Nullable

- (void(^ _Nullable) (void))
readwritenonatomiccopy

◆ bottomPadding

- (CGFloat) bottomPadding
readwritenonatomicassign

◆ bottomPaddingMultiplier

- (CGFloat) bottomPaddingMultiplier
readwritenonatomicassign

◆ centerAligned

- (BOOL) centerAligned
readwritenonatomicassign

◆ contentViewMaxWidth

- (CGFloat) contentViewMaxWidth
readwritenonatomicassign

the max width of the content view

◆ minPaddingIfScroll

- (CGFloat) minPaddingIfScroll
readwritenonatomicassign

the min top and bottom padding if the content view need to scroll

◆ sidePadding

- (CGFloat) sidePadding
readwritenonatomicassign

◆ sidePaddingMultiplier

- (CGFloat) sidePaddingMultiplier
readwritenonatomicassign

◆ topPadding

- (CGFloat) topPadding
readwritenonatomicassign

◆ topPaddingMultiplier

- (CGFloat) topPaddingMultiplier
readwritenonatomicassign