in other UIViewController class?
Hi,
I have an UISearchBar in one UIViewController and I want to get its value and to use it in other UIViewController (the second one).
How do I do that?
If I use searchBar.text I get an error:
"Request for member 'text' in something not a structure or union"
Thanks!
Hi,
I have an UISearchBar in one UIViewController and I want to get its value and to use it in other UIViewController (the second one).
How do I do that?
If I use searchBar.text I get an error:
"Request for member 'text' in something not a structure or union"
Thanks!