This is mainly a delegation question because I'm still learning and don't get it. I don't know how to go about creating the delegate I need.
I know similar questions have been asked but the solutions don't help me out. How can I switch the text of a label on View 1 with the contents of a UITextField from View 2?
Thanks!
In this code snippet, ChildViewController is your View2 and ParentViewController is your View1.
In your ChildViewController.h file:
In your ChildViewController.m file:
In ParentViewController.h file:
In ParentViewController.m file: