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
Copy Markdown

@mrflowers22


class GameViewController: UIViewController {

@IBOutlet weak var skview: SKView!
Copy link
Copy Markdown

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()
Copy link
Copy Markdown

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()
Copy link
Copy Markdown

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