i created a 3 Tab-based app in which the FirstViewController has a Display UILabel property and well, i have the SecondViewController Tab (All in Sotoryboard) which holds Data to display on the FirstViewController but i cant seem to get this to happen without getting an Error. I Tried using delegates but i end up crashing my app.
This is the Number 1 problem i have on my app. Can anyone shed some light to this problem ?
Any examples from a SecondViewController to pass an NSString value from the View itself to the FirstViewController ?
Example:
NSString *valueString; // This String holds a value to display onto the First View Controller when i tap a save Button on the same Second View controller.
in the First View Controller, i have a UILabel named:
@property (strong, nonatomic) IBOutlet UILabel *displayValue;
to which is connected to a UIlabel in Storyboard but cant seem to make the NSString *valueString to display its data onto the displayValue Property Label.
Anyone here has a best way of doing this ? and where would i Put a Delegate if i need to ?