Skip to content

Conversation

@IBMikeNichols
Copy link

@mrflowers22 Getting ": error: Main.storyboard references the initial view controller of Info.storyboard, but no designated entry point was found.
Command LinkStoryboards failed with a nonzero exit code"

…w controller of Info.storyboard, but no designated entry point was found.

Command LinkStoryboards failed with a nonzero exit code
// Do any additional setup after loading the view.
}


Choose a reason for hiding this comment

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

can delete this if you're not using it.

class SettingsViewController: UIViewController {

@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.

@mikeflow22
Copy link

For the UISwitches try to access its instance property, isOn, to set the values of shouldRoll and shouldZoom.

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