I have a pretty simple tabbed application with two tabs 'Current Info', and 'Settings'. In the settings tab you can configure how often to poll a service for information. Once you configure polling the app will poll the service and update info in the 'Current Info' tab.
Simple problem probably. I have a TableViewController for the settings panel.
#import <UIKit/UIKit.h>
@interface SettingsViewController : UITableViewController <UITextFieldDelegate>
@property (weak, nonatomic) IBOutlet UITextField *refreshRateTextField;
@property (copy, nonatomic) NSNumber *refreshRate;
@end
What is the recommended way to get the refreshRate passed to the other ViewController. Not that it matter but the other ViewController is also a TableViewController. Because the Current Info panel needs to update the interval in which it polls if the setting changed I probably want to fire an event to the CurrentInfoController such that it can update its interval.
I am very new to iOS (this is a simple startup app I am trying to write). As such a high level answer or pointing me to apple docs on this sort of problem would go along way, just need to knwo how to get started.
Also forgot to mention that I am using storyboards, a lot of MVC examples for this use nib files.
Thanks.