JSQMessagesViewController is an elegant messages UI library for iOS (now deprecated).
Questions tagged [jsqmessagesviewcontroller]
385 questions
1
vote
1 answer
which method to use after adding a message in JSQmessagesViewController
After I add and receive a message to the JSQMessage collection, which method am I supposed to call to refresh the view and render the new message? self.finishReceivingMessage() or self.collectionView!.reloadData()?
Which is more performant?

MonkeyBonkey
- 46,433
- 78
- 254
- 460
1
vote
1 answer
Auto update messages
I am writing an iOS (Swift) application that includes the ability to send messages between users. I have that functionality working (using JSQMessagesViewController), but I don't know where to start with auto updating. If the user is in the…

Robert
- 1,499
- 2
- 14
- 22
1
vote
2 answers
How do I use JSQMessageAvatarImageDataSource to load avatar images async
Using JSQMessageView I don't have the image urls for all my avatars at initial load time so I have an async call that goes and fetches urls - then images for avatars.
How can I update the placeholder avatar images once I have the avatars from the…

MonkeyBonkey
- 46,433
- 78
- 254
- 460
1
vote
1 answer
Override a function in swift that is part of an Obj-C framework class
I am using JSQMessages to build a chat app. I am attempting to turn off the "backspace" in the UITextView element by overriding the deleteBackward() function. I could hack at the JSQ framework core, which I want to avoid, and I've tried forced…

jamesvillarrubia
- 51
- 6
1
vote
1 answer
Keyboard covers textfield in JSQMessagesViewController
I am implementing the JSQMessagesViewController library for messaging. I have small issue with the keyboard, when the textfield ist edited, the keyboard covers the textfield, and i should slide it down to see what did i write.
They have a class…

Monicka
- 505
- 6
- 20
1
vote
2 answers
Sending message in JSQMessagesController
I want to send my message and I know that it sends via
override func didPressSendButton(button: UIButton!, withMessageText text: String!, senderId: String!, senderDisplayName: String!, date: NSDate!) {
let message = JSQMessage(senderId:…

Orkhan Alizade
- 7,379
- 14
- 40
- 79
1
vote
4 answers
How do I present a JSQMessagesViewController with the keyboard already up?
I'm using an open source messaging UI library for an app that I'm building. When users start a new conversation I want the "chat view" to appear with the keyboard already up and the cursor on the textfield (similar to most existing chat…

SwiftHacker
- 149
- 2
- 13
1
vote
1 answer
No visible @interface for 'JSQSystemSoundPlayer' error
I just added the files:
JSQSystemSoundPlayer.h
JSQSystemSoundPlayer.m
into my project and it rose the next error:
No visible @interface for 'JSQSystemSoundPlayer' declares the selector 'playAlertSoundWithFilename:fileExtension:'
I searched a lot…

Orkhan Alizade
- 7,379
- 14
- 40
- 79
1
vote
1 answer
How to overrride mediaViewDisplaySize for a custom media item in JSQMessagesViewController?
I want to customize the size of a custom media item in JSQMessagesViewController. I am adding a label to a UIView and trying to set the size by setting the frame size of my container view.
UIView* containerView = [[UIView alloc] initWithFrame:…

Ajax
- 1,689
- 4
- 20
- 29
1
vote
0 answers
Class that subclasses PFObject and conforms to JSQMessageData
I currently have a JSQMessagesViewController, but am running to the problem of storing my JSQMessages in Parse.com, since Parse.com won't allow this type of object. I've been trying to research ways of creating a class that subclasses PFObject while…

Kyle H
- 921
- 1
- 8
- 20
1
vote
2 answers
How to display a custom text when no message is displayed in JSQMessagesViewController?
When I load the messages view using JSQMessagesViewController, a lot of times there are no messages, so I wanted to show a "There are no messages yet" message like in the middle or in the top of the view.
How can I do this?
Thanks

estemendoza
- 3,023
- 5
- 31
- 51
1
vote
1 answer
JSQMessages.h not found
I added JSQMessageViewController to my project. I went to the bridging header file and added #import ' and I get the errorJSQMessages.h not found'.
Why is Xcode not able to find it?

user1406716
- 9,565
- 22
- 96
- 151
1
vote
1 answer
JSQMessagesViewController incomingMessagesBubble is sticking to the right
I'm using JSQMessagesViewController for a chat app.
When i add a incomingMessagesBubble the bubble sticks to the right side of the screen.
import UIKit
class ChatViewController: JSQMessagesViewController, JSQMessagesCollectionViewDataSource,…

ilan
- 4,402
- 6
- 40
- 76
1
vote
0 answers
JSQMessagesViewController
I am learning objective c programming through a udemy course taught by code coalition- I downloaded the last project from their github and have run into a snag while trying to get it work.
@interface CCChatViewController : JSQMessagesViewController…

Jack Ziegler
- 11
- 1
0
votes
0 answers
UITextView not showing formatted text using attributedText property - JSQMessageViewController
I'm using JSQMessageViewController for chat in my project. Now my client wants to show formatted text in chat bubble. JSQMessageViewController have UITextView used for chat bubble message already. I'm trying to use attributedText property of it but…

Priyanka
- 1
- 2