Skip to content

Using GuideBlocks

GuideBlocks are a way to use your own components with Contextual's sophisticated triggering mechanism and Dashboard.

Method Description
registerGuideBlock Registers an instance of a class to use when the Contextual SDK receives a guide with the guideBlockKey string field set in the Extensibility section on the Contextual Dashboard. This class needs to subclass the CTXBaseGuideController class

Example Usage

Contextual.sharedInstance().registerGuideBlock(MyCustomComponent(), forKey: "MyCustomComponent1")

Last update: 2024-01-30