I am new in iPhone Development. I have a method that requires input from one .m class and uses the information in another .m file. I heard that if you store the variables and the methods in the appdelegate you can access the information. How can I do that? Also, how can I have user store a number from a UIPickerView as a integer as a variable?
Thanks a lot!
For storing basic data you can do this simply using
NSUserDefaults
For more advanced data storage Core Data is a good option.
Now while app delegates are a quick and dirty way to share data across the app you should avoid this approach in production apps (read all apps). Cocoa with Love has an article about sharing top level data in the application.