
This video is only available to subscribers. Start a subscription today to get access to this and 477 other videos.
Gradient View
Episode
#474
|
11 minutes
| published on
January 28, 2021
| Uses Xcode-12.3, Swift-5.3
Subscribers Only
One really useful UIView subclass I generally have on all my projects is a simple GradientView. You give it two colors and optionally some location values and it draws a gradient from top to bottom. In this episode we build this so that we can integrate a fade to black effect to overlay on top of the background image.
This episode is part of a series: Layout in Code.