Experimenting on Playground is very useful especially when we work on some interactive UI element like UIButton.

This is a simple example that show how to use UIButton and new Swift command PlaygroundSupport (XCPlaygroundPage depreciated)