Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

AddMessage with no animation #73

Open
velthune opened this issue Nov 30, 2016 · 1 comment
Open

AddMessage with no animation #73

velthune opened this issue Nov 30, 2016 · 1 comment

Comments

@velthune
Copy link

According to the code, I can't find a way to add and present a new message without animation.

On class NMessengerViewController I would like to override addMessageToMessenger method, but it is specified to don't override.
I evenly tried in this way:

override func addMessageToMessenger(_ message: GeneralMessengerCell) {
    message.currentViewController = self
    super.messengerView.addMessage(message, scrollsToMessage: true, withAnimation: .none)
}

In this way rows are presented with no animation, but some times cells have a broken UI

@yarodevuci
Copy link

@velthune What you mean by broken UI? Post some screens

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants