Example gives overview of how to handle simple button click events using swift and also provides auto-layout alignment based on selected device type