Description
Course info
Rating
(570)
Level
Beginner
Updated
Jan 4, 2012
Duration
3h 8m
Description

Learning Objective-C can be intimidating for developers looking to learn some Mac OS X or iOS development skills. This course is designed to make that process easy and as painless as possible. We will start at the very basics of the Objective-C programming language and focus on getting a good practical understanding of the language. This course is designed to cover basic topics that can help you to be introduced to the language without being overwhelmed. By then end of this course, you should have the skills you need to understand and write basic Objective-C programs.

About the author
About the author

John Sonmez is the founder of Simple Programmer (http://simpleprogrammer.com), where he tirelessly pursues his vision of transforming complex issues into simple solutions

More from the author
Beginning Lua
Intermediate
2h 50m
Dec 2, 2013
Beginning HTML 5 Game Development With Quintus
Intermediate
2h 52m
Oct 25, 2013
Beginning HTML5 Apps For Firefox OS
Intermediate
2h 20m
Oct 17, 2013
More courses by John Sonmez
Section Introduction Transcripts
Section Introduction Transcripts

Control Statements
Hi, this is John Sonmez from Pluralsight, and in this module we're going to be covering Control Statements in Objective-C and we're going to spend most of this module inside of the code actually working with the control statements, but before we can do that we do need to talk a little bit about control statements in general. So, let's go over what we're going to cover in this module. As I said before, the first thing that we're going to do is we're going to talk a little bit about what are control statements, we're going to try to get a good understanding of what exactly are we talking about when we're saying control statements, and then what are they used for, and what are the basic types of Control Statements that are kind of common to all programming languages. Then we're going to start to go in depth into each one of these. We're just going to go through basically examples, in this case, just to show you how to use these basic control statements. So first we're going to look at an if statement, which is a very basic statement that allows you to choose whether or not to execute some code based on some conditional. Then we're going to look at a switch statement, which is pretty similar to an if statement, except it's going to let you choose multiple choices and do different things based on what a value is. Then we're going to look at some of the loops. The first loop we're going to look at is a for loop. It's a very basic loop that has a built-in counter. Then we're going to take a look at a while loop, which is a loop that will loop as long as some condition is true. And then we're going to look at some cases that you might use inside of a loop, a break and a continue statement. We're going to see how we can use these statements to exit an iteration of a loop early. And then finally, we're going to look at some basic error handling. We're going to look at try and catch statements and see how these can change the flow of the execution of our Objective-C programs.