Questions tagged [messagekit]

A UI Library for adding "Messages" like Chat to any iOS Application. A community-driven replacement for JSQMessagesViewController.

111 questions
0
votes
1 answer

Header 'MessageKit-Swift.h' not found

I'm trying to setup MessageKit within my app. I've been researching and trying to resolve this for a week with no luck. I'm getting an error in the module.modulemap file saying Header 'MessageKit-Swift.h' not found I'm deleted dervied data, ran…
techgirl
  • 293
  • 1
  • 3
  • 18
0
votes
1 answer

Wait for another function to complete within MessageKit function

Thanks to the people that helped me on my other SA question, I was able to create a function that returns a boolean to see if a user already voted on a chat message. I want to print if the person voted on the chat message using the MessageKit…
winston
  • 3,000
  • 11
  • 44
  • 75
0
votes
1 answer

Custom message footer view with additional content

I spent a couple of days already googling for docs, examples or like this, but I can't find answer for my question. I need to show some additional content for each message, under the text area, like on this picture (I can't embed it into the…
0
votes
2 answers

Type 'ChatViewController' does not conform to protocol 'MessagesDataSource'

I'm learning Swift and trying to get MessageKit up and running. I'v followed the getting started guide but keeping getting the error: Type 'ChatViewController' does not conform to protocol 'MessagesDataSource' Here's my code: import UIKit import…
Booysenberry
  • 223
  • 3
  • 16
0
votes
2 answers

MessageKit : Add Gesture recognizer to messageCollectionView and cellDelegate doesn't work

I am using messageKit show messages,video and photo in a text format and all the messages are predefined. When user taps on the screen it, should show the next message. I have added gesture recognizer to messageCollectionView but when the user taps…
Asif Alamgir
  • 1,454
  • 1
  • 16
  • 41
0
votes
1 answer

Is it possible to have my class adhere to this protocol that seems to require a struct?

I'm using MessageKit, and it requires that you have model objects that adopt the protocol MessageType. Most of the examples involves structs following the protocol but unfortunately I'm using a third party API library to interact with a site's API,…
Doug Smith
  • 29,668
  • 57
  • 204
  • 388
0
votes
1 answer

How do I store values ​by referring to classes in FireStore

I'm creating a chat app using the MessageKit library in Swift 4.2 and FireStore. My problem is that I can't store data acquired by real time communication using addSnapshotListener in the Message class and confirmed the contents of the class, but I…
D.TT
  • 7
  • 3
0
votes
1 answer

UIBarButtonItem Doesn't Show Up When Using MessageKit

I am trying to add a navigation bar and back button to the top of a MessageViewController in MessageKit. However, the UIBarButtonItem for back button fails to show up. Below is my code func setUpNavBar() { let navBar = UINavigationBar(frame:…
Sarah Guo
  • 301
  • 1
  • 3
  • 15
0
votes
1 answer

How to implement info about error when send message in MessageKit? SWIFT

How to implement info about error when send message in MessageKit? I need show info when message not send. Any ideas?
wysio
  • 31
  • 3
0
votes
1 answer

Swift MessageKit - Cannot Convert value of type '_?' to expected argument type 'URL?'

I have just begun using MessageKit and have updated my code to 4.2 in swift and have been solving the problems. Yet, I am using the Firebase chat tutorial and have come across problems in the sample code that are throwing errors that aren't visible…
Lukas Bimba
  • 817
  • 14
  • 35
0
votes
1 answer

Migration to 1.0.0 MessageKit Cocoapod with MessagesLayoutDelegate

When I try to upgrade to v1.0.0 of MessageKit, I get the following errors: I'd be appreciative of a migration path to convert this to the new API. Thanks!
Chris Prince
  • 7,288
  • 2
  • 48
  • 66
0
votes
0 answers

How to limit MessageKit's input bar in details area of split view

I'm working on a messaging app which uses MessageKit. It works well on the iPhone. But, I need to support iPad screens as well. On the iPad, the input bar, which is supposed to be contained in the details (view) area, extends to the master (view)…
yoninja
  • 1,952
  • 2
  • 31
  • 39
-1
votes
1 answer

How to create and display the simplest text message?

Hello! I just installed the messagekit via CocoaPods. I try to follow the Quick Start Guide. Tell me please, how to create and display the simplest text message? Thank you in advance!
warma2d
  • 1
  • 2
-1
votes
1 answer

how to create basic chat app using messagekit and firebase (Realtime Database)?

The problem im facing is how can i recognize the sender and reciever of the message ? tried so hard but didn't find any delegate method from which i can separate message and show like chat , right now my msgs are showing like this the second…
-1
votes
1 answer

how to remove indentation from avatar in messageKit?

I removed the avatar from the chat, and I was able to move the message itself, but I could not move the date of the message. How to do it? There is also another question: I have a message date written after every four messages. How to make time…
Eugene
  • 65
  • 1
  • 8