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?
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?
You have to call the following:
self.finishReceivingMessage()
this will automatically reload the collection view.