CS 4153-5153 Update: Live Preview on Xcode using UIKit
If you are using UIKit, then the current Xcode version you are using may not have the (Live) "Preview" option that Dr. Mayfield uses in Video "12.04 Demo - Auto Layout". If so, you can carry out the following steps to access the same functionality.
Currently, Live Preview is carried out by SwiftUI. The following code allows you to wrap a SwiftUI ViewController inside UIViewController.