Connecting Outlets - Beginning Programming with iOS 11, Swift 4, and Xcode 9

preview_player
Показать описание
Learn about one of the fundamental techniques in iOS development: connecting views like buttons or labels from your storyboard to outlets in your code.

----

We are also focused on developing a strong community. Our goal is to help each other reach our dreams through friendship and cooperation. As you can see below, a bunch of us have joined forces to make this happen: authors, editors, subject matter experts, app reviewers, and most importantly our amazing readers!

----

The tutorial team and I are happy to announce that we’ve released our very first video course on Udemy: iOS 11 and Swift 4 for Beginners!

This course is intended for complete beginners to iOS 11 and Swift 4 development and represents a collection of some of the best tutorials from our site.

This course is for absolute beginners to iOS 11 or Swift 4 development — or even for absolute beginners to programming in general.

You’ll start the course with a bang by creating your first app, an entertaining game called Bulls-Eye.

In this section, you will learn how to add basic controls like labels, buttons, and sliders into a Swift 4 and iOS 11 app.

This section contains 10 videos:

Introduction: Learn about the first app you’ll build – a simple but fun game called Bull’s Eye – and get a preview of all the things you’ll learn throughout this section.

Making a Programming to-do list: Make a programming to-do list of all the things you’ll need to do to build the game. This helps build a good programming practice of gathering requirements first!

Buttons and Actions: Learn how to add a button to the app and connect it to some Swift 4 code that prints a message to the console.

Alerts: Learn how to make the app display a popup alert when you tap a button.

Solving Problems: Learn how to solve problems beginners frequently run into.

Challenge: Connecting Actions: Practice connecting an action performs on a button – such as a tap – to some Swift code that you write.

How Does an App Work: Learn how apps actually work under the hood.

Portrait vs. Landscape: Learn how to convert your app from portrait to landscape mode.

Challenge: Basic Controls: Practice adding basic controls like sliders, buttons, and labels into your app by creating the basic layout for the Bulls-eye game.

Conclusion: Let’s review where you are with your programming to-do list, and discuss what’s next.
Рекомендации по теме
Комментарии
Автор

can use the same outlet for different views?

segunawe
Автор

My value is not changing to 25. It seems I've copied your code verbatim and have correctly connected the code in storyboard with 'new referencing outlet.' Do you have any troubleshooting suggestions?

waltkirkling