Skip to content

contained app#216

Open
dmills14 wants to merge 5 commits intobloominstituteoftechnology:masterfrom
dmills14:master
Open

contained app#216
dmills14 wants to merge 5 commits intobloominstituteoftechnology:masterfrom
dmills14:master

Conversation

@dmills14
Copy link

@mrflowers22


class GameViewController: UIViewController {

@IBOutlet weak var skview: SKView!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are getting an error saying that is essentially saying there's no property in the class name skyview. So the compiler is looking for something named skyview.

class SettingsViewController: UIViewController {

@IBAction func rollToggle(_ sender: UISwitch) {
sender.isSelected.toggle()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take the value of the switch and assign that value to an instance variable for our class object.

}

@IBAction func zoomToggle(_ sender: UISwitch) {
sender.isSelected.toggle()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take the value of the switch and assign that value to an instance variable from our class object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants