Question: Which one is true regarding below swift code? class ViewController: UIViewController, DataPass { var GameType: Int = 0 var NoCorrect = 0 } Question 4
Which one is true regarding below swift code?
class ViewController: UIViewController, DataPass
var GameType: Int
var NoCorrect
Question options:
NoCorrect is IBAction variable
GameType is IBOutlet variable.
ViewController class complies with DataPass protocol.
ViewController class is child of UIViewController protocol.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
