Skip to content

Conversation

@roverare
Copy link

@mrflowers22

import UIKit

class GameViewController: UIViewController {

Choose a reason for hiding this comment

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

Connect SkView outlet here and do execute code.

}


/*

Choose a reason for hiding this comment

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

delete boilerplate comments that have no use.


class InfoDetailViewController: InfoViewController {
@IBAction func unwindSegue(_ sender: UIStoryboardSegue) {
}

Choose a reason for hiding this comment

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

no code in this scope

import UIKit

class InfoViewController: UIViewController {

Choose a reason for hiding this comment

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

It's best practice to delete files if there is no code in it.



@IBAction func toggleRoll(_ sender: UISwitch) {

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 toggleZoom(_ sender: UISwitch) {
}

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.

Copy link

@mikeflow22 mikeflow22 left a comment

Choose a reason for hiding this comment

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

Please review the following comments.

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