The scenario is as follows:-
I have my MainWindowController, it consists of a button.
I have another viewController say 'B' which consists of label.
when i click on button i want the label on B_ViewController to change.
In short i want to access a control of one viewcontroller in other viewcontroller and manipulated its value
I tried using outlets but those are accessible within its own viewcontroller and not other.
A quick search on google, i read about make one controller as other one's delegate and notify the delegate when the state of segment control changed
Can anyone tell me what exactly this mean and how to approach this?
Any suggestions or code snippets will be highly appreciated.
Thanks a ton in advance!!