Last Updated - Platform 22.0 - SDK 17.0

From v22 onwards most features require no code as they are automatically set up by the Coordinators that construct them. This page highlights the key customisation points for this feature.


The Variant Selector subfeature is part of the PoqCatalogue framework, which has the following dependencies:

  • The PoqCatalogueClient framework for the Product domain and data layers.
  • The PoqCartClient framework for the CartWidget domain and data layers.
  • The PoqWishlistClient framework for the WishlistWidget domain and data layers.

Container Dependencies

Containers can be used to replace most feature dependencies with one line of code. For the Variant Selector feature this should be done in the AppModule on didAddToPlatform in a common function such as setUpDependencies.

Customise the Coordinator

The Coordinator builds the VariantSelectorViewController using the VariantSelectorBuilder and can be easily replaced via Containers.

// You can omit the generic type to use the default 'VariantSelectorViewController'.
Container.shared.coordinators.variantSelector.replace {
PoqVariantSelectorCoordinator() {
// Customise the builder here.

Next steps