I am new to Objective C with a background primarily in database programming. I am developing an iPhone medical application that involves multiple formulas for calculations, using many variables. Essentially each formula will have its own screen, but numeric entries and calculations from each screen should appear on the screens for other formulas that share common entries, as the user navigates between screens, and variable values changed on one screen should update if appearing on another screen.
I understand the potential pitfalls of global variables, but it seems that a set of global variables is what I need. I am wondering what the best method to accomplish this goal is. I have reviewed the use of singletons on this site and in Apple's documentation, and perhaps this method is the solution. I also was wondering perhaps if delving into Core Data is the right path, saving the numeric variables entered or calculated on one screen, to be retrieved when a new formula is brought up on another screen.
Thanks in advance for any advice.