Component - Test-driven development in Swift
This UI component demonstrates a simple Swift function developed using test-driven development (TDD). It shows a button that, when tapped, updates a label with a greeting message. The development process starts by writing a test for the greeting function, then implementing the function to pass the test, and finally connecting it to the UI.