Join Todd Perkins for an in-depth discussion in this video Understanding functions, methods, and selectors, part of Programming for Non-Programmers with iOS 7.
…The next building block of program is called functions.…So what are functions?…You can think of functions as the verbs or the actions of programming.…What that means is that they are…named sections of code that are logically grouped.…To comprehend that think of any real world task that you do.…Like tieing your shoes.…Tying your shoes involves a process of taking the…laces and tying them in some sort of knot.…That you learned how to do.…
And there's a whole process to tying that knot, but we call tying your shoes,…tying your shoes and we don't call out…every little activity that's in tying your shoes.…And so a function is like that in that we name a logically grouped task.…The purpose of that is to reduce verbosity and redundancy in code.…If you were to refer to the entire process of…tying your shoes, instead of saying, I'm tying my shoes.…You'd sound pretty ridiculous and be using way…too many unnecessary words to describe that task.…
And just like any real world action, definition is not execution.…So the concept in your head, of the process of tying your…
If you find you'd like to learn more, see iOS App Development Essential Training, Foundations of Programming: Fundamentals, or any of the other programming courses in our library.
- Installing Xcode
- Creating an Xcode project
- Configuring the iOS Simulator
- Understanding variables
- Connecting visual objects to variables
- Understanding functions, methods, and selectors
- Connecting a button to a function
- Using conditional statements
- Setting up the user interface
- Connecting code elements to build an app
Skill Level Beginner
1. Setting Up Your Coding Environment
Creating an Xcode project1m 55s
2. Programming Building Blocks: Variables
3. Programming Building Blocks: Functions
4. Programming Building Blocks: Conditional Statements
Using conditional statements5m 21s
5. Building Your First Full Application
- 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.