EPAppearance
public class EPAppearance : NSObject
Object representing the appearance of a chat conversation.
-
The appearance main tint color
Declaration
Swift
public var mainTintColor: UIColor -
The appearance of the different messages bubbles (incoming message, outgoing message, with or without a tail).
Declaration
Swift
public var bubbleAppearance: EPAppearance.Bubbles -
The appearance of the input UI components.
Declaration
Swift
public var inputAppearance: EPAppearance.Input -
Font to use to display the messages. Default value is
nil. (optional)Declaration
Swift
public var customFontName: String? -
textLineMultipleHeight can be customize (optional)
Declaration
Swift
public var textLineAdditionnalSpacing: CGFloat? -
Font to use for
strong
messages. Default value isnil. (optional)Declaration
Swift
public var customStrongFontName: String? -
Chat conversation background image. Default value is
nil. (optional)Declaration
Swift
public var customBackgroundImage: UIImage? -
Chat conversation background color. Default value is
UIColor.clear.Declaration
Swift
public var customBackgroundColor: UIColor -
The font color of the date section title.
Declaration
Swift
public var customSectionDateColor: UIColor? -
When displaying a button at the bot end, this is its background color.
Declaration
Swift
public var endBotButtonColor: UIColor -
When displaying a button at the bot end, this is its text color.
Declaration
Swift
public var endBotButtonTextColor: UIColor -
Appearance of standard animation.
Declaration
Swift
public var animationConfiguration: EPAppearance.AnimationOption -
Get the regular font based on the appearance with the specified size.
Declaration
Swift
public func regularFont(size: CGFloat) -> UIFontParameters
sizeThe size of the font to get.
Return Value
The font with the specified size.
-
Get the strong font based on the appearance with the specified size.
Declaration
Swift
public func strongFont(size: CGFloat) -> UIFontParameters
sizeThe size of the font to get.
Return Value
The font with the specified size.
-
Simple customized appearance
Declaration
Parameters
resourcePrefixprefix string used in all asset provided
mainColorcolor used for outgoing bubbles
secondaryColorcolor used for incoming bubbles
-
Object representing the appearance of standard animation.
See moreDeclaration
Swift
public class AnimationOption : NSObject
-
Object representing the appearance of the different messages bubbles.
See moreDeclaration
Swift
public class Bubbles : NSObject
EPAppearance Class Reference