StickerToolControllerOptionsBuilder
@objc(IMGLYStickerToolControllerOptionsBuilder) open class StickerToolControllerOptionsBuilder: ToolControllerOptionsBuilder
The default StickerToolControllerOptionsBuilder
for StickerToolControllerOptions
.
-
This closure is called when the user adds a sticker.
Declaration
Swift
open var addedStickerClosure: ((Sticker) -> Void)?
-
This closure is called when installing the sticker category data source. You can use it to save a reference to the sticker category data source.
Declaration
Swift
open var stickerCategoryDataSourceConfigurationClosure: ((StickerCategoryDataSource) -> Void)?
-
This closure allows further configuration of the sticker category buttons. The closure is called for each sticker category button and has the button and its corresponding sticker category as parameters.
Declaration
Swift
open var stickerCategoryButtonConfigurationClosure: ((IconBorderedCollectionViewCell, StickerCategory) -> Void)?
-
This closure allows further configuration of the sticker buttons. The closure is called for each sticker button and has the button and its corresponding sticker as parameters.
Declaration
Swift
open var stickerButtonConfigurationClosure: ((StickerCollectionViewCell, Sticker) -> Void)?