Learn Courses My Dashboard

Connecting Elements on different View Controllers

Would anyone happen to know a way to connect a Search Bar to a Web View on a different View Controller (on XCode/Swift).

Welcome to the community @eclark24 !!

In what way connect these? Like what’s the goal? How is it supposed to work?

Hello! Our goal for the search bar and web view is the following:
When something is typed into the search bar, it is analyzed and the results regarding that search are sent to a web view that is found on a different view controller. Is there a way to make this happen with swift or any connections via the Main Storyboard.

Thanks!

This may help!

You can also use delegates/protocols