designing user interface programmatically in swift language