DBLoadingStatusDelegate
Objective-C
@protocol DBLoadingStatusDelegate <NSObject>
Swift
protocol DBLoadingStatusDelegate : NSObjectProtocol
Protocol for handling loading status during auth flow. Implementing class could show custom UX to reflect loading status.
-
Called when auth flow is loading/waiting for some data. e.g. Waiting for a network request to finish.
Declaration
Objective-C
- (void)showLoading;
Swift
func showLoading()
-
Called when auth flow finishes loading/waiting. e.g. A network request finished.
Declaration
Objective-C
- (void)dismissLoading;
Swift
func dismissLoading()