I wish to add code to a new and separate view controller.
Does this code need to be inside a separate view controller class? I see that the first view controller has this code at the top:
When adding code to the next view controller do you write at the bottom this bit of code or is there some way on the main storyboard to click on the Assistant Editor to see where to write this new code is typed?
Does this code need to be inside a separate view controller class? I see that the first view controller has this code at the top:
Code:
import UIKit
class ViewController: UIViewController {
}
When adding code to the next view controller do you write at the bottom this bit of code or is there some way on the main storyboard to click on the Assistant Editor to see where to write this new code is typed?