Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

No way to add received messages #73

Closed
stephenwoodford opened this issue Nov 21, 2013 · 4 comments
Closed

No way to add received messages #73

stephenwoodford opened this issue Nov 21, 2013 · 4 comments

Comments

@stephenwoodford
Copy link

Now that the tableview is a private property of JSMessagesViewController, how can we reload data to add new messages that are received to the tableview? It seems like the closest thing is to call finishSend but that will clear any message the user has typed. Let me know if I'm just missing something. Thanks!

@jessesquires
Copy link
Owner

oops! good catch!

@sternhenri
Copy link

Nice catch!

Any way you could update the podspec for this change Jesse?

@Ricardo1980
Copy link

One question, when I receive a message from the server, do I have to call [self.tableView reloadData];?
Perhaps that's too much. Is there any other way, like reload the last cell or insert a new cell?
Thanks in advance.

@jessesquires
Copy link
Owner

@sternhenri -- pod is up-to-date -> 3.4.0

@Ricardo1980 -- you can insert and reload indexPaths just like any other tableView

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants