In this article I will talk about:

  • Problems we’re trying to solve concerning UI development
  • Playground Driven Development Approach
  • Gallery Application Approach
  • Xcode 11 + Canvas

Identifying the problem

  1. Animates opacity.
  2. Starts immediately.
  3. Animates infinitely + uses autoreverse.
  1. First of all we need to configure an initial value. For this we create @State property and set it to our view using .opacity(opacity).
  2. Then we attach .transition(.opacity) modifier with opacity option to the view. …

Mariia Cherniuk

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store