Questions on subViewController and multi-threaded in iOS

I have some code that fetches data from a remote server. It calls a method on the main viewController, which then updates an NSMutableDictionary with the data received. (this is populated with custom object class).

In the main viewController, I have no problem viewing the objects within the dictionary, but within a subView the dictionary appears to be always null (the key does persist though). I have tried updating a dictionary object in the subView, and also having subView grab the data using delegate to access the data from the parent viewController. Nothing works.

(FYI, the main view controller handles a table, and the subview controller is for a scrollable menu at the top of the table.)

Answers


Need Your Help

JPA 2 - Using the EntityManager in JavaSE - a couple of questions

java hibernate jpa jpa-2.0 entitymanager

I have a couple questions regarding using the entity manager in a JavaSE environment.

Facebook like button doesn't work anymore

facebook like

Sometime ago I made a like button for my website with the help of this tool: http://developers.facebook.com/docs/reference/plugins/like/ and it worked well, the visitor could like the page and also...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.