Everything that I install dynamically can only be seen by running the application, but this is not very convenient, since I install the background to my View Controller and I also set the title for lable from the code. When I open the Storyboard I can not see anything ...
I know that there is such an annotation @IBDesignable which seems to solve this problem, but in my case, this is why it does not work ((
How to do?
Edit
Created a class
Added View on the screen visible hierarchy and inspection of this view
And so apply
import UIKit class SplashViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() GradientView().backgroundColor = CustomColors().takeColor(color: .greyColor) } Does not want to show the background of the background (
Here is the result



