CreationKit Documentation

Structure Messages​View​Controller.​Avatar​Options

public struct AvatarOptions: OptionSet  

Used to enable/disable the avatar on either side.

MessagesViewController.AvatarOptions MessagesViewController.AvatarOptions OptionSet OptionSet MessagesViewController.AvatarOptions->OptionSet

Member Of

MessagesViewController

A ViewController subclass for displaying conversation interfaces.

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int)  

Properties

raw​Value

public let rawValue: Int

outgoing

public static let outgoing  

To show on the left side.

incoming

public static let incoming  

To show on the right side.

all

public static let all: AvatarOptions = [.outgoing, .incoming] 

To show both outgoing and incoming avatars.