iOS Short Course

Date/time: Saturday, May 14th 2016, 1-3pm
Location: Louisville Public Library, Louisville, CO
Cost: Free

Have you wondered what’s inside a mobile app? Have you thought about developing your own app?

This is a crash course in developing mobile apps for iPhone and iPad. While many apps that people use on these mobile devices are highly sophisticated, and have taken much graphic design and programming skill, some simple apps can be built quickly, with little programming knowledge or background.

We’ll use Xcode from Apple as our programming tool or Integrated Development Environment (available for free download on the Apple Mac Store), and within Xcode we’ll make use of Playgrounds, Interface Builder, and Storyboards. You’ll learn a little programming in Swift too—Apple’s new programming language.

We’ll just get to whet your appetite in the field of app development, but that might be enough to get you going! You don’t need an iPhone or iPad (Xcode has a simulator for these devices), but you must have a Mac/Apple laptop and have already downloaded and installed Xcode.

The course is free, and you should sign up at the Louisville Public Library, reference desk (on the 2nd floor).

Two of the course attendees can use the Mac desktop computers in the room we'll be using, but otherwise, you must have your own Mac/Apple laptop -- and need to bring this. This will be primarily a hands-on session where you will need a computer. And the Xcode tool that we'll be using only runs on Apple computers.

In terms of prior skills and knowledge, while it wouldn't hurt if you had some prior programming experience, this is not required for this short course. You do need to come prepared to learn, however!

Before the course, you need to download and install Xcode on the Mac laptop that you will bring (for the two of you using the Macs in the library: We have already done this setup). The download itself can take quite a while, depending on the speed of your internet connection. (The install download size is a few GB). Then, once you have it downloaded, the install itself takes a while longer. E.g., about 1/2 an hour. Your account on your Mac must have admin privileges in order to do the installation.

Since we don't have much time in the course, it would be best if you did this installation beforehand.

Hints for installing Xcode:

  1. You must have admin authorization. E.g., The account that you are signed into on the Mac must have admin authorization.
  2. Download and install Xcode.
  3. Launch the Xcode application. Follow the prompts that it gives. You may need to enter your admin username/password.
  4. Bring your admin username/password to the course. There may be some final steps of the installation where you need these credentials. In general, using Xcode assumes that you have admin authority.

NOTE: The projects in this zip file are in their "final" state. That is, we'll start from scratch in the course and work together to bring these apps to this state.

Projects.zip
Download this to your Desktop, and unzip it.
Playground.zip
Download this to your Desktop, and unzip it.
This is not required for the course, but if you have your own iPhone or iPad, it can be fun to put your own app, that you built with Xcode, onto your device. To use your own device, you will need to do the following:

  1. You will need a cable to connect your device to your computer (e.g., see this Apple product)
  2. When you first connect your device, via this cable, to your Mac, with Xcode launched, Xcode will take some time "Processing symbol files." You just need to wait for Xcode to finish this processing.
  3. You will need your own Apple Id. If you don't have one of these, you can create one at Apple's website.
  4. The first time you run an app via Xcode, you will need to enter your Apple Id.
    1. You should see "Fix issue" near the center of the Xcode window:


    2. Tapping on "Fix issue", you should then see:


    3. Tapping on "Add..." should enable you to enter your Apple Id:

  5. Now that you have entered your Apple Id into Xcode, you will need to do the following steps when you run your first app, via Xcode, on your device:
    1. Connect your device (iPhone or iPad) to your Mac via your USB cable.
    2. Run (Product > Run) your app (apps will be provided in the course). This step will fail, but will allow you to do the remaining steps (the general procedure to follow is taken from this website).
    3. Using the Settings app on your iPhone or iPad, go to the General section, and tap on "Device Management":

    4. Then tap on the item below "DEVELOPER APP":

    5. Finally, tap on Trust "Your Apple Id":

There are many resources on the internet for Apple iOS mobile development. I'll list a few below.
Chris Prince earned his Ph.D. in computer science from the University of Louisiana, Lafayette in 1998, and taught computer science for a dozen years at the University of Minnesota, Duluth, before coming to Colorado in 2013. Since then, he has had his own business developing mobile apps for Apple devices.

© 2014-2016 Spastic Muffin, LLC.

Cat icon created by Iconshock