Overview

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

At this point, you are ready to create your very first user interface. This task put to practice everything you have learned so far. There is one additional view that hasn’t been mentioned. This is the Spacer().

The Spacer() is a way to fill up space on the screen. This is an invisible element that will take up the available space in the screen. For instance, if you wanted an image on the bottom of the screen, you might use it like so:

  Spacer()
  Image('cheese')

This will use all the space before the image, forcing it to the bottom of the screen.

See forum comments
Download course materials from Github
Previous: Quiz: Making a User Interface Next: Deliverables