Overview of Smooch iOS SDK Core Classes
The Smooch iOS SDK allows developers to integrate multi-channel messaging directly into an iOS application. The SDK architecture relies on several key classes to manage the conversation lifecycle:
- SDK Initialization: The primary SDK class (referenced as the initialization class) is used to start the SDK and display the conversation interface.
- Configuration: A settings object is passed to the
_initWithSettings:completionHandler:method to configure the SDK with essential parameters such as theappId, accent color, and notification display time. - User Properties: A specific class is provided to attach custom user properties to conversations, allowing for personalized user data tracking.
- Message Management: A dedicated class handles the sending and retrieval of messages and supports a delegate pattern to respond to messaging events.
- Message Data: A message-specific class provides metadata for individual messages, including the message text and the author's name.