-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi Lee,
There are updates to this article:
https://appcodelabs.com/create-ibdesignable-gradient-view-swift
that are not yet in the code. Like this one:
override var frame: CGRect {
didSet {
updateGradient()
}
}
override func layoutSubviews() {
super.layoutSubviews()
// this is crucial when constraints are used in superviews
updateGradient()
}
Could you please update the code in repo to match the article? Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels