Library Mobile API Reference for iPhone  MicroStrategy 2019
DossierWindowsManager Class Reference

#import <MicroStrategyMobileSDK-Swift.h>

Inheritance diagram for DossierWindowsManager:

Instance Methods

(void) - showControllerWithController:animated:completion:
 
(void) - showControllerWithController:shouldBeDismissed:shouldDismissOtherWindow:modalViewBackgroundColor:animated:completion:
 
(UIViewController *_Nullable) - SWIFT_WARN_UNUSED_RESULT
 
(void) - dismissControllerWithController:
 
(void) - dismissControllerWithController:animated:completion:
 
(nonnull instancetype) - OBJC_DESIGNATED_INITIALIZER
 

Class Methods

(DossierWindowsManager *_Nonnull) + SWIFT_WARN_UNUSED_RESULT
 

Properties

NSArray< DossierDialogWindow * > *_Nonnull windows
 
NSDictionary< UIViewController *, DossierDialogWindow * > *_Nonnull windowsDic
 
CGFloat windowLevel
 

Method Documentation

◆ dismissControllerWithController:()

- (void) dismissControllerWithController: (UIViewController *_Nullable)  controller

Dismiss the controller

Parameters
controllerthe controller to dissmiss

◆ dismissControllerWithController:animated:completion:()

- (void) dismissControllerWithController: (UIViewController *_Nullable)  controller
animated: (BOOL)  animated
completion: (void(^)(void))  completion 

Dismiss the controller

Parameters
controllerthe controller to dissmiss
animatedshould use animation. default value is true.
completionthe completion closure.

◆ OBJC_DESIGNATED_INITIALIZER()

- (nonnull instancetype) OBJC_DESIGNATED_INITIALIZER

◆ showControllerWithController:animated:completion:()

- (void) showControllerWithController: (UIViewController *_Nonnull)  controller
animated: (BOOL)  animated
completion: (void(^)(void))  completion 

Show the controller in a new window

Parameters
controllerthe controller to show
animatedshould use animation. default value is true.
completionthe completion closure.

◆ showControllerWithController:shouldBeDismissed:shouldDismissOtherWindow:modalViewBackgroundColor:animated:completion:()

- (void) showControllerWithController: (UIViewController *_Nonnull)  controller
shouldBeDismissed: (BOOL)  shouldBeDismissed
shouldDismissOtherWindow: (BOOL)  shouldDismissOtherWindow
modalViewBackgroundColor: (UIColor *_Nonnull)  modalViewBackgroundColor
animated: (BOOL)  animated
completion: (void(^)(void))  completion 

Show the controller in a new window

Parameters
controllerthe controller to show
shouldBeDismissedshould this controller be dismissed when another controller show. default value is true.
shouldDismissOtherWindowshould dismiss other controller when this controller show. default value is false.
modalViewBackgroundColorthe modal view background color, default value is UIColor.black.withAlphaComponent(0.1).
animatedshould use animation. default value is true.
completionthe completion closure.

◆ SWIFT_WARN_UNUSED_RESULT() [1/2]

+ (DossierWindowsManager * _Nonnull) SWIFT_WARN_UNUSED_RESULT

◆ SWIFT_WARN_UNUSED_RESULT() [2/2]

- (UIViewController * _Nullable) SWIFT_WARN_UNUSED_RESULT

Property Documentation

◆ windowLevel

- (CGFloat) windowLevel
readwritenonatomicassign

◆ windows

- (NSArray<DossierDialogWindow *>* _Nonnull) windows
readwritenonatomiccopy

◆ windowsDic

- (NSDictionary<UIViewController *, DossierDialogWindow *>* _Nonnull) windowsDic
readwritenonatomiccopy