LZChat is an open-source chat application written in swift and backed by Firebase. This is only a demo app and a proof of concept, we have also added an auto-bot mode by integrating with open-source ElizaBot. You can activate the elizabot by long-pressing the attachment icon.
Full Codebase for the App can be found at
https://github.com/chatappcodepath/ChatAppSwift
Attribution
Elizabot - http://www.masswerk.at/elizabot/
JSQMessagesViewController - https://github.com/jessesquires/JSQMessagesViewController
MultipageController - https://github.com/snit-ram/MultiPageController