- Course Title
- Mac, iPhone, and iPad Programming
Be ready to start creating your very own Mac, iPhone, or iPad programs! In this course, you'll learn to use the free Xcode compiler and the Objective-C programming language to program your own apps that you can sell through Apple's App Store.
You'll start with the basics to writing any program, then progress to using Xcode—the same compiler that Apple, Microsoft, Adobe and many other companies use. Along the way, you'll explore examples and perform simple coding exercises to build your confidence using Xcode and Objective-C.
Even if you're new to programming or have experience programming a different type of computer, this course will offer the help you need to build your own apps. Offered in partnership with ed2go.
- Learn the basics of creating a program on the Mac.
- Find out what Xcode can do, how it works, and how to use it to write your own programs.
- Understand the three basic parts of any program and how to create them in Xcode.
- Discover the two basic ways to divide a large program into smaller pieces.
- Find out how to write Objective-C commands.
- Recognize how Objective-C stores, manipulates, and uses data to make decisions.
- Delve further into how Objective-C uses data to make decisions.
- Discover how to use and create loops in Objective-C.
- Find out how to use and create objects in Objective-C.
- Figure out how to create and connect a user interface to your Objective-C code.
- Discover how to apply a user interface object.
- Learn the basic steps to creating an entire iPhone program.
Wednesday - Lesson 01
Computers, smartphones, and tablets may look nice, but they're essentially useless without software to make them work. Today, the Mac is one of the hottest computers around, the iPhone is one of the most popular smartphones, and the iPad is one of the most dominant tablets in the market. With so many people buying these products, there's a tremendous opportunity to write and sell software or applications for all these millions of users. In our first lesson, you'll learn the basics of how programming works for any computer. Then you'll find out how to use a programming tool called Xcode to create programs or applications for the Mac, iPhone, and iPad.
Friday - Lesson 02
Just like a lot of trained professionals—from surgeons to car mechanics—computer programmers need certain special tools to help them write programs. In this lesson, we'll go over the types of tools you'll need to create programs. Then you'll learn how to use Xcode, the free programming tool that Apple provides for writing Mac, iPhone, and iPad programs and applications. By the end of this lesson, you'll feel a lot more comfortable using Xcode because you'll know what it can do, how it works, and how to use it to write your own programs.
Wednesday - Lesson 03
Today we'll look at the three basic parts of any program and how to create them. First, we'll explore the user interface or View that allows users to control a program and view information. Second, we'll talk about the Model—the code that tells your program to perform a calculation. And third, you'll find out how a Controller links your View and your Model. When you have a feel for these three elements, you can understand how to create any type of program you wish.
Friday - Lesson 04
Programming boils down to writing commands in a particular language. To create Mac, iPhone, and iPad programs, you'll use a programming language called Objective-C. The bigger your program, the more complicated it can get—so today you'll learn how to divide a large program into smaller, more manageable parts.
Wednesday - Lesson 05
What's the main feature of any program? The commands that tell the program what to do and how to do it! To create Objective-C commands, you need to learn how to read, write, and understand Objective-C code . . . and that's what we'll talk about today.
Friday - Lesson 06
Every program needs to hold data temporarily, and today you'll see how this works. First, you'll discover how programs can hold data in a storage unit called a variable or a constant. After that, you'll find out how Objective-C manipulates data to make decisions.
Wednesday - Lesson 07
Every program needs to make decisions based on input. In this lesson, you'll learn how to compare values and choose between sets of instructions, allowing your program to react to different data and calculate new results. You'll learn about True and False values known as Boolean values as well as branch structures in programming known as if and switch statements.
Friday - Lesson 08
If you need a computer to run certain commands multiple times, you can write the same lines of code over and over . . . or you can use a loop, which lets you write code once and have it run as many times as you like. Today you'll master three types of loops.
Wednesday - Lesson 09
One of the most useful features of modern programming languages like Objective-C is the ability to create objects. The main idea behind objects is to divide a large program into independent parts that you can paste together like building blocks. By learning the advantages of objects and how to use them in Objective-C, you can create programs faster and more reliably than ever before.
Friday - Lesson 10
Objective-C code tells your program how to work, but the user only sees the interface—the screen on which your program displays information for the user to view or manipulate. Designing a user interface is easy because Xcode provides common elements, including buttons, check boxes, and text fields. Then you can connect your interface with your Objective-C code to make the whole thing work.
Wednesday - Lesson 11
To design a user interface, you need to understand not only what different elements you can use but also when to use them and how to incorporate them into your own program. In this lesson, you'll continue learning about designing a user interface. You'll also get acquainted with using Apple's documentation to find out more about some of the most popular user interface elements.
Friday - Lesson 12
Congratulations—you're ready to create a basic iPhone program! By applying what you've learned throughout this course, you can get a rough idea of how to develop your own programs for the Mac, the iPhone, or the iPad.
Method of Instruction