Join Todd Perkins for an in-depth discussion in this video Solution: Build a clicker app, part of Programming for Non-Programmers with iOS 10 and Swift.
(chimes)…- [Instructor] So here is one solution to our challenge.…I'm in main.storyboard right now,…and I'm going to drag out a label,…so I'll filter for the label in the object library,…and I'll stretch it out and change the text…by double-clicking the label and typing out a message here.…Click 10 times.…Press Return to commit the change,…and there we go, we've changed the label.…Now I'm going to remove the label filter…and filter for our button,…then click and drag the button right there.…
And we can change the button optionally…by just double-clicking the text on the button,…typing a message in there and then I'll shift it back…following the guides.…So we got our label, we got our button.…Now it's time to make the code connections.…I'll hide the utility area,…Option, click view controller.swift,…drag the scroll bars into place,…then I'm going to right-click and drag…from the label right underneath my class declaration,…make sure it says outlet, type UI label…and we'll call this label, I'll hit connect.…And then what I'm going to do is just right-click…
- Installing Xcode
- Creating an Xcode project
- Configuring the iOS Simulator
- Understanding variables
- Connecting visual objects to variables
- Understanding methods
- Connecting a button to a method
- Using conditional statements
- Setting up the user interface (UI)
- Building a complete iOS app
Skill Level Beginner
1. Set Up Your Coding Environment
Create an Xcode project4m 19s
2. Programming Building Blocks: Variables
3. Programming Building Blocks: Methods
4. Programming Building Blocks: Conditional Statements
5. Plan and Prepare the App
6. Build a Full Application
Next steps3m 11s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.