Build: Toggle Switch Screen
A screen with a toggle switch controlled by a child view using @Binding to communicate changes back to the parent.
Target UI
--------------------- | Toggle Switch App | |-------------------| | Parent View | | Switch is OFF | | | | [ToggleSwitchView]| | | ---------------------
Create a parent view with a text label showing ON or OFF based on a Boolean state.
Create a child view with a Toggle switch that uses @Binding to update the parent's state.
When the toggle is switched, the parent's label updates immediately.
Use SwiftUI and @Binding property wrapper for communication.