#import <MicroStrategyMobileSDK-Swift.h>
◆ _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
-
| frame | the view’s frame |
| iconfont | the iconfont view you want to put, the default value is {e9f1} |
| color | the iconfont color, default value is UIColor.dossierPrimaryBlue().withAlphaComponent(0.2) |
| description | description 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
-
| frame | the view’s frame |
| image | the image view you want to put |
| title | title string |
| description | description 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
-
| frame | the view’s frame |
| image | the image view you want to put |
| title | title string |
| description | description 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
-
| frame | the view’s frame |
| image | the image view you want to put |
| title | title string |
| description | description string |
| filledButtonTitle | filledButton title string |
| flatButtonTitle | flatButton 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
-
| frame | the view’s frame |
| image | the image view you want to put |
| title | title string |
| description | description string |
| flatButtonTitle | flatButton title string |
◆ layoutSubviews()
◆ _Nullable
| - (void(^ _Nullable) (void)) |
|
readwritenonatomiccopy |
◆ bottomPadding
| - (CGFloat) bottomPadding |
|
readwritenonatomicassign |
◆ bottomPaddingMultiplier
| - (CGFloat) bottomPaddingMultiplier |
|
readwritenonatomicassign |
◆ centerAligned
◆ 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
◆ sidePaddingMultiplier
| - (CGFloat) sidePaddingMultiplier |
|
readwritenonatomicassign |
◆ topPadding
◆ topPaddingMultiplier
| - (CGFloat) topPaddingMultiplier |
|
readwritenonatomicassign |