how do you dynamically load a uitableview from a nsarray

Posted by darthwillard on Stack Overflow See other posts from Stack Overflow or by darthwillard
Published on 2010-12-27T15:51:39Z Indexed on 2010/12/27 15:53 UTC
Read the original article Hit count: 97

Filed under:

so i have a nsmutablearray that populates from a socket message.
problem is, when i call numberofrowsinsection on the uitableview, it will be 0, because it loads from the array. the array has 0 objects, because the incomingMessage hasn't been received yet.

i observe this array in my appdelegate, when it changes, i call refreshData on the tableView, but it doesn't refresh. how do you load a uitableview from a dynamic array?

© Stack Overflow or respective owner

Related posts about uitableview