Build: Greeting Screen
This screen lets the user enter their name and then shows a greeting message using a function and a closure.
Target UI
------------------------- | Greeting Screen | |-----------------------| | Enter your name: | | [______________] | | | | [Greet Me] | | | | Greeting: | | | | | -------------------------
Add a TextField for user to enter their name.
Add a Button labeled 'Greet Me'.
When the button is tapped, use a function that takes the name and a closure.
The function should create a greeting message and pass it to the closure.
The closure updates the greeting label with the message.
The greeting label shows 'Hello, [name]!' after tapping the button.