Easy Gradient in Swift 4.1
In my mind, I ask How to create a gradient in background viewControler, and finally I found the answer check this.
you can see full in https://www.youtube.com/watch?v=3gUNg3Jhjwo
I learn from sean alen, thanks for tutorial.
how to use:
import UIKit
class GradientViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.setGradientBackground(colorOne: UIColor.blue), colorTwo: UIColor.white)
}
}
you can see full in https://www.youtube.com/watch?v=3gUNg3Jhjwo
I learn from sean alen, thanks for tutorial.
how to use:
import UIKit
class GradientViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.setGradientBackground(colorOne: UIColor.blue), colorTwo: UIColor.white)
}
}
No comments: