An exercise in producing a Preferences dialog with animated transitions, in Swift.