init(highlight:mentionedPersonIdentity:)
Creates and initializes a mention event.
Declaration
init(highlight: SWHighlight, mentionedPersonIdentity identity: SWPerson.Identity)Parameters
- highlight:
The related hightlight for the event.
- identity:
The
SWPersonIdentityof the person the sender mentions.