1

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 Answers1

1

You have to call the following:

self.finishReceivingMessage()

this will automatically reload the collection view.

Luca Detomi
  • 5,564
  • 7
  • 52
  • 77
  • it is incredible, this library is so great and at the same time, it has a poor documentation :( things simple as this, I can't find in its docs – Wilson Dec 20 '16 at 19:54