⌘K

WandKit

Protocol that defines the core behavior for managing WandKit operations. The WandKit protocol provides methods to set up and destroy the WandKit instance, making it suitable for managing the lifecycle of Nativeblocks components.


public protocol WandKit 

Requirements

setup(edition:​)

Sets up the WandKit instance with the specified edition.

func setup(edition: NativeblocksEdition)
Parameters
  • edition: The NativeblocksEdition that determines the configuration type, such as cloud or community.

destroy()

Destroys the WandKit instance and releases all associated resources.

func destroy()