Questions tagged [jsqmessagesviewcontroller]

JSQMessagesViewController is an elegant messages UI library for iOS (now deprecated).

385 questions
2
votes
1 answer

Changing textview color in chat bubble

I'm looking for a way to change messages text color in bubbles, I've found it easy in ObjC example, tried to do the same at swift but failed, any solutions? Here's the ObjC code - (UICollectionViewCell *)collectionView:(JSQMessagesCollectionView…
Abdoelrhman
  • 906
  • 8
  • 17
2
votes
1 answer

Toolbar Not Showing in JSQMessagesViewController

I am trying to customize JSQMessagesViewController using container view controller. I have added header in my parent view controller and in container view i have used JSQMessagesViewController. But the problem is that JSQMessages input toolbar is…
Junaid
  • 117
  • 2
  • 11
2
votes
2 answers

JSQMessagesViewController and Firebase

I am using Firebase and JSQMessagesViewcontroller. I add some message to test but didn't show up. Can anyone help to see what I have missed? Thanks! My Code: import UIKit import Firebase import JSQMessagesViewController class…
2
votes
1 answer

Inserting one item into a collection reloads EVERY single item inside the collectionView

I've reduced my code to just a dozen lines for the sake of this question. I linked fetchedResultsController to the jsqMessagesViewController framework. What the app does is when you press the send button, it inserts an object into context, which…
slimboy
  • 1,633
  • 2
  • 22
  • 45
2
votes
1 answer

How to add custom view to JSQMessagesViewController cell so that it includes one view with some buttons and text view?

I am using https://github.com/jessesquires/JSQMessagesViewController/issues/1820 this library for chat application. By using this libary I am able to send images and video, but my app needs to send one view with some button and text. Like when user…
2
votes
2 answers

How to show message date in JSQMessagesViewController

I am trying to make a chat app and I am using JSQMessagesViewController library. My Chat View show all the messages with their date and time but I am facing some little bit of problem with this library. My problem is I wanna show message date only…
Umesh Verma
  • 876
  • 7
  • 28
2
votes
0 answers

Slide a collection view to show timestamp of message

Here's my code for simply displaying messages in a collection view (using jsq messages view controller). override func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { if let count =…
Ryan
  • 969
  • 1
  • 6
  • 19
2
votes
0 answers

JSQMessagesViewController add image to bubble

I'd like to add image to message bubbles using JSQMessagesViewController. I tried add UIImageView to JSQMessagesCollectionViewCell.messageBubbleContainerView But the message text will be covered by image. I would like to show the image view on…
Ray
  • 272
  • 2
  • 13
2
votes
1 answer

JSQMessagesViewController changedBubbleImage not working

I try to change the default MessagesBubbleImage of JSQMessagesViewController by passing custom image into init method, but it's not working, here is the code outgoingBubbleImageView = JSQMessagesBubbleImageFactory.init(bubbleImage: UIImage(named:…
bikram sapkota
  • 1,106
  • 1
  • 13
  • 18
2
votes
4 answers

Swift - JSQMessagesViewController - cell custom

I understood from this link that you can customise the cell of the JSQMessagesViewController library by overriding this method: override func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) ->…
sbkl
  • 2,231
  • 2
  • 22
  • 28
2
votes
0 answers

Message bubble text style is lost on visible cells in JSQMessageViewController view

We use a special centered cell for some meta information, such as group name changes and people joining and leaving a chat. In this cell we have a text that has a smaller font size and special styling (bold) on some parts of the text…
mjrehder
  • 317
  • 4
  • 11
2
votes
1 answer

JSQMessagesViewController with SupplementaryView fixed on top

I have overridden collectionView:viewForSupplementaryElementOfKind:atIndexPath: to show a header view for my JSQMessagesViewController subclass in swift. This works really well, but the header view scrolls with the chat, and I would like to have it…
2
votes
2 answers

JSQMessagesViewController, RegularTaillessImage not working for images

I am trying to use JSQMessagesViewController and I want to remove the tail from the speech bubbles so they are displayed as regular rounded rectangles. I have this code for the initial setup: let imageFactory =…
Kex
  • 8,023
  • 9
  • 56
  • 129
2
votes
1 answer

how to send image using JSQMessagesViewController?

I am using JSQMessagesViewController and Firebase with Twitter Login. I am able to send text message succesfully by using "didPressSendButton". now I am tring to send Images. I have One Test image. now when I am tring to send Image with…
Komal Kamble
  • 424
  • 1
  • 8
  • 25
2
votes
1 answer

Jsqmessageviewcontroller image upload and show on the screen is very slow touch is not responding

whenever I scroll my chat page it taking long time to fetch images somtime it is not responding could some one help me on this. whenever I scroll my chat page it taking long time to fetch images somtime it is not responding could some one help…
VyTcdc
  • 986
  • 10
  • 32