EnesKaraosman / SwiftyChat

SwiftUI Chat UI (Client) Framework & Documentation to get started!
Apache License 2.0
284 stars 54 forks source link

How do you extend Message Kinds? #26

Closed nikans closed 1 year ago

nikans commented 2 years ago

Hello. Since ChatMessageKind is a enum, and does not contain any .custom option either, how do you suppose to add new messages kinds?

EnesKaraosman commented 2 years ago

Hi @nikans , yes in current implementation we don't have custom message support but it'd be possible if we add new message kind .custom(Any) and we can add custom message method maybe on ChatView to bring UI & Logic together , so any contribution would be good 😊 , I added custom message support in my Flutter version of this chat package but could not save time to impl. in SwiftUI

nikans commented 2 years ago

Thanks, I'll keep in mind.

EnesKaraosman commented 1 year ago

@LeonardMaetzner 's MR is merged and we've released version 2.3.0 . You can keep enjoying!! @nikans .

Thanks for your feedbacks and contributions.