CLASS
HaapiUIKitApplicationBuilder
Contents
- Methods
init(haapiUIKitConfiguration:)setThemingPlistFileName(_:and:)setGenericClientOperationHandler(_:)build()
 
public class HaapiUIKitApplicationBuilder
A builder-pattern class, designed to build an HaapiUIKitApplication.
- Note: 
HaapiUIKitApplicationBuilder.build()must be invoked indidFinishLaunchingWithOptionsmethod. 
Methods
init(haapiUIKitConfiguration:)
public init(haapiUIKitConfiguration: HaapiUIKitConfiguration)
Initializes the Builder with the mandatory parameter.
- Parameters:
- haapiUIKitConfiguration: An 
HaapiUIKitConfiguration. 
 - haapiUIKitConfiguration: An 
 
Parameters
| Name | Description | 
|---|---|
| haapiUIKitConfiguration | An HaapiUIKitConfiguration. | 
setThemingPlistFileName(_:and:)
public func setThemingPlistFileName(_ plistFileName: String,
                                    and bundle: Bundle = .main) -> HaapiUIKitApplicationBuilder
Sets the theming plist file name and the bundle.
- Parameters:
- plistFileName: The plist file name which contains the configuration for the theming.
 - bundle: The bundle.
 
 
Parameters
| Name | Description | 
|---|---|
| plistFileName | The plist file name which contains the configuration for the theming. | 
| bundle | The bundle. | 
setGenericClientOperationHandler(_:)
public func setGenericClientOperationHandler(_ value: GenericClientOperationHandler) -> HaapiUIKitApplicationBuilder
Sets a custom GenericClientOperationHandler. The default value uses an internal implementation that always executes the failure behaviour.
build()
public func build() -> HaapiUIKitApplication
Builds an Haapi UIKit application.
- Returns: An instance conforming to 
HaapiUIKitApplication.