I have an iPhone app with a secondary thread to handle XML parsing. Inside some of those methods, I need to reference dictionaries (for look up, not modification) created and populated in the main thread.
Apple's documentation indicated to me that global variables might be the best way to accomplish this. I'm just now sure what the implementation would look like. Define the dictionaries at the top of .m and access them normally inside the secondary thread?