I’m using cocoaAsyncSocket when i click on a button in my tableViewController to fetch the dat
I want in the function didReadData to call reloadData of my tableView.
how should get the reference of my tableView ?
please tell me, if i should use appDelegate, singletons or simply send it as a parameter. or if my design all together is wrong.
Thanks
I’m using cocoaAsyncSocket when i click on a button in my tableViewController to fetch
Share
I would consider having your socket class send a
NSNotificationwhich the table view controller listens to.