Create iPhone Apps from Scratch with iOS7 – Starter Course

Use a Mac or PC to create your first iPhone app using Xcode 5. No programming experience required to learn Objective C

4.2
(94 ratings)

Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.

We need to teach our apps how to make choices. If it is rainy out, we need to bring an umbrella.

This lecture will go over logical decision making. We will cover if, else and else if statements so we can make these logic based decisions. Learn the syntax needed to implement the choices your app will need.

We will cover a new type called BOOL, boolean operators like less than or equal to, and the logical operators AND, OR, and NOT.

Create an iPhone app on the storyboard to see how decision making works in practice. design a user interface with labels and buttons. Change label text in your app when your defined conditions are met.

Practice making working iPhone apps in Xcode. Follow along to practice making and modifying variables, implementing if statements, and working with the BOOL type and logical operators.

Learning how to implement decisions is a crucial part of app development. This video will show you how to work with decision making in iPhone Apps.

Functions are the building blocks for how we get our apps to behave how we want them to. You can think of functions like the directions that come with IKEA furniture. They show you how to take all of the parts and put them together in order to build you piece of furniture.

If you had another set of the parts, you could use them again and again. Functions are the same way in that we can use the same code many times without have to rewrite it.

Learn about how functions can save you lines of code, and how their implementation works in memory with the stack frame.

Here we implement the recursive function we saw in the lecture to act as a count down timer. Follow along to get practice writing functions and implementing decision making in our apps. You will also learn a new function called sleep, which forces the computer to wait for some number of second. This is useful in watching what your app is outputting with enough time to read the print statements.

We again utilize break points to debug and see what is happening as the code is evaluated line by line. This will show how the stack frames are pop’d off as the code completes.

Global variables are variables that can be reused between functions. Global variables are very useful in C programing, and since Objective-C is built on top of this, you will have access to their functionality. Note that it is not recommended to use these in you code, however, others may have, so this will teach you how to work with them if you need to.

Follow along to get practice writing functions with global variables. Also see the difference between global and local variables and how they are handled within the scope of your functions. We then go over creating a new code file and using the static keyword to avoid conflicts amongst global variables in separate files.

Numbers are a fundamental building block of apps. We will use them to store user data, control the components in our apps, and perform calculations.

Here we introduce the types of integers and floating-point numbers we will commonly use. We cover how they work with the NSLog function, and how we can gain access to the built in math libraries so you don’t have to write code for basic functions like sine, cosine, etc.

Numbers are a fundamental building block of apps. We will use them to store user data, control the components in our apps, and perform calculations.

Follow along to work with the common types of numbers and see how your apps will handle them. See how overflow errors can cause strange behavior, a good reason to choose the proper number type. We will also go over the orders of operation so you know where to put your parenthesis in your calculations.

Additionally we will cover special operators such as the increment and decrement operators that will save you lines of code.

Loops allow us to repeat actions multiple times. We use loops in when downloading an album of pictures from the web, when we are editing photos, or even when you are making a game and checking if a player has won yet.

Here we cover the structure of basic loops, the while and for loops. We also go into the functionality of the keywords break and continue that end the loop early or skip a particular iteration, respectively. This background will show you how to create the behavior you are looking for in a loop.

Loops allow us to repeat actions multiple times. We use loops in when downloading an album of pictures from the web, when we are editing photos, or even when you are making a game and checking if a player has won yet.

Follow along as we use a loop to reproduce the behavior we had in the countdown clock without having to use the recursive function call. Next we cover the for loop and use the debugger to see exactly what the computer is doing as it runs through our code. Lastly we add a continue call to the code so we can see its behavior with the debugger.

Students Who Viewed This Course Also Viewed

SHARE

Instructor Biography

Howdy, I’m Paul! I have a master's degree in Computer Science from Rochester Institute of Technology and I used to work for Apple.

After working at Apple, I decided that I wanted more freedom. I started my own app company and followed the money (you can too!). Instead of reporting to a boss – I set my own hours and enjoy my work.

I’m passionate about teaching around the world – most recently I taught high school kids in Athens, Greece how to make iPhone games (technology skills have their perks!). People all over the world use my courses to jump-start their careers into iPhone apps.

You wouldn’t believe the opportunities, freedom, and jobs that iOS development opens to you. Sign up and find out for yourself why so many people are taking my iPhone app courses.

I believe my courses provide the most complete and comprehensive background for any beginner or experienced developer. If you don’t agree I will happily refund your money.

Sign up for the Swift and iOS 8 Apps in 31 Days course and join me on an amazing adventure to the App Store.