Skip to main content
The CometChatBuilderSettings object handles feature toggles and styling configuration. For deeper customizations, you can access settings directly and apply them to CometChat UI components.

Understanding the Customization Architecture

The iOS UI Kit Builder uses the following for customization:
ComponentPurposeWhen to Modify
CometChatBuilderSettingsFeature flags and configuration loaded from JSONFunctional changes (enable/disable features)
CometChatThemeTheme colors and stylingUI/visual changes (colors)
CometChatTypographyFont family and text stylingTypography changes
CometChatBuilderSettings is loaded from your cometchat-builder-settings.json file at app launch using CometChatBuilderSettings.loadFromJSON().

Applying Theme Settings

Apply your Builder configuration to CometChat theme at app launch:

Accessing Feature Flags

You can access feature flags directly from CometChatBuilderSettings.shared:

Chat Features

Call Features

Layout Settings

Style Settings


Conditional Feature Implementation

Use feature flags to conditionally show/hide UI elements:

Customizing Colors Programmatically

You can customize colors beyond the JSON configuration:

Customizing Typography

Customize fonts and text styling:

Component-Level Customizations

Message List Configuration

Message Composer Configuration


Modifying the JSON Configuration

To change feature settings, edit your cometchat-builder-settings.json file:
Changes to the JSON file require rebuilding the app to take effect.

Next Steps

UI Kit Builder Settings

Understand all available feature toggles and configuration options.

Components Overview

Explore all available UI components and their customization options.

Theming

Deep dive into colors, typography, and advanced styling.

Directory Structure

Understand how the exported code is organized.