I have a string that has a value that keeps on changing/updated and I want to kind of bind this to my cell.textLabel.text. How can I do this?
This is similar to the datepicker that we have on the iphone… the cell is updated everytime we change the picker view value
Here’s how I had it laid out:
@interface DatePickerViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
UITableView * date;
UIDatePicker * datePicker;
NSString * dateString;
}
@property(nonatomic, retain) IBOutlet UITableView * date;
@property(nonatomic, retain) IBOutlet UIDatePicker * datePicker;
- (IBAction)dateChangedAction:(id)sender;
@end
Since you are using the Date Picker
Create method to respond to event
}