iPhone Application Programming (WS 2013/14)





News

  • 22.10.13 The video of the first lecture is now available. See Links section below.
  • 14.10.13 Detailed schedule of the first five lectures are updated.
  • 30.09.13 Lecture and lab schedule is updated
  • 27.09.13 Want to join us in the lab? Fill in this form before Oct. 18th.
  • 23.09.13 Around September 27th, we will announce the procedure for lab registration. You will have time until October 16th to register for the lab. We will announce the result of lab selection on October 18th. The first lab starts on October 21st.
  • 26.08.13 Registration details are updated for WS 2013/14. See below.
  • 27.07.13 Updated homepage for WS 2013/14
  • 03.06.13 In WS13/14, this class will take place Tue 9:15-11:45 (lecture) and Mon 16:15-17:45 (lab) as in past years.
    Please ignore any other dates posted in CAMPUS.

Content

In this course students learn to develop and deploy mobile applications on Apple's iPhone, iPod touch and iPad.

The iPhone OS SDK was designed from scratch when introduced with the iPhone OS 2. In its design, it follows various established software development patterns, making it an ideal subject to teach how to create such an SDK. This shows how software design patterns can advance from pure theory to a real-world setting. On the other hand, the iPhone is a very interesting device from an HCI perspective. The user interface has to deal with (multi-)touch interaction, which results in new challenges to the software architecture, e.g., in event handling. With its rich set of sensors, the iPhone allows for input far beyond mouse and keyboard. Finally, both the iPhone and the iPad have simply become "in"-devices since their introduction. Didn't you ever want to show your own app to your friends on your iPhone?


Credits Allocation

This course has two tracks
  • Basic track (3 ECTS = V3) — You are required to pass the the final exam.
  • Hands-on track (6 ECTS = V3 + Ü2) — In addition to the 3 ECTS requirements, you are required to (1) hand in assignments, (2) participate in a final project. You will have access to lab schedules on Mondays. We have only 20 slots which will be allocated at the beginning of the semester.


Course Registration

Dates Basic Track (3 ECTS) Hands-on Track (6 ECTS)
Earliest as possibleRegister for the lecture in CAMPUS System
• TK students: please drop Chat an email for registration.
• If you cannot register for the lecture please come to the first lecture.
Within the first week of the lecture • Make sure that you have access to L2P. Otherwise, contact Chat.
• Register with Apple iOS Development Program. Make sure that you can view WWDC videos.
Before Oct. 18th Register for the lab by filling out this form
Oct. 19th Check your email for registration result and preparation instruction. If you don't get a lab slot, you are still in the Basic track.
11.9.–22.11.Register for the exam "iPhone Programming 3 Credits - Exam Registration" in CAMPUS system. Register for the exam "iPhone Programming 6 Credits - Exam Registration" in CAMPUS system.

Schedule

LectureTue9:15-11:45Room 2222
LabMon16:15-17:45Room 4U15 (See Mac Lab@RBI below)
Note: This class will take place as scheduled above. Please ignore the dates stated in CAMPUS system.

LabTopicFacilitatorAssignmentLectureTopicPresenter
Part 1: Basics
15.10.• Course logistics
• Mobile App Design Principles
• iOS Technology Overview

Slides: 1up 4up

Reading assignment
Jan
21.10.• Xcode basics
• Debugger basics

Slides: 1up 4up

Reading assignment
Chat, Leonhard A01: Xcode basics
• Debugging, refactoring, and commenting
• Memory management

A01
22.10.• Objective-C language constructs
• Memory Management
• Cocoa design patterns

Slides (complete): 1up 4up Reading assignment
Gero
28.10.• Memory management
• Assignment feedback
Chat A02: Calculator (1)
• Objective-C coding basics
• Using Foundation classes

A02
29.10.• Data structures
• Timer
• Notifications
• Key-value Observing

Slides (complete):1up 4up
Jan
04.11. (no lab) 05.11. (no lecture)
11.11.• Concurrency demo

Lab3Demo
Chat A03: Calculator (2)
• Cocoa design patterns
• Concurrency

A03
12.11.
• View programming
• Localization

Slides (complete): 1up 4up
Reading assignment
Jan, Chat
18.11.• NSPurgabledata
• Investigating CPU usage
• In-class exercise in concurrency

Lab4Demo
Chat A04: iPhone Invader (1)
• Game design
• Basic screens

A04
19.11.• iOS run-time considerations
• Application life cycle
• View controllers

Slides: 1up 4up
Chat
25.11.• A04 presentation Chat A05: iPhone Invader (2)
• Visualization

A05
Part 2: In-Depth Topics
26.11.• Drawing with Quartz
• GL Kit
• Sprite Kit

Slides: 1up 4up
Simon
02.12.• Assignment feedback
• Device lend-out
Simon, Chat A06: iPhone Invader (3)
• Game input with touch and motion

A06
03.12.• Touch and gesture recognizers
• Motion input
• Proximity sensor and remote control

Slides: 1up 4up
Christian, Nur
09.12.• Assignment feedback Leonhard Final project: Conception

P01
10.12.Instruments

Slides: 1up 4up
Moritz
16.12. Instruments lab Moritz Final project: prototyping and technology survey
(see P01 above)
Part 3: Specific Programming Topics
17.12.Data Persistence
Slides: 1up 4up
Jan-Peter
(winter break)
06.01.• Project feedback Chat Final project week 1 07.01.Networking
Slides: 1up 4up
Jonathan
13.01.• Introduction to L2P API
• Project feedback
CiL Staff, Chat Final project week 2 14.01.Integration
Slides: 1up 4up
Leonhard
20.01.• Project feedback Chat Final project week 321.01.Location & Maps
Slides: 1up4up
Chat
27.01.• Project feedback Chat Final project week 428.01.Audio
Slides: 1up 4up
Florian
03.02.• Final project performance tuning Chat, Moritz, Leonhard, Florian 04.02. (Final project presentation)
Exam and Project Presentation
04.02. Final Project Presentation
9:15–11:45, Room 2222
10.03.Exam
9:00–11:00, Room 2222
13.03.Exam review
17:00–18:00, Room 2222
31.03.Exam second chance
9:00–11:00, Room 2222

Grading:

ComponentsBasic Track (3 ECTS)Hands-on Track (6 ECTS)
Assignments 10%
Project 20%
Final Exam 100% 70%



Information for Hands-on Track


Mac Lab@RBI

The RBI has a Mac-Lab (Room 4U15) in which you can work on the assignments. You can work there according to the reservation plan. We reserved additional lab slots exclusively for you on Monday 13:00–16:00 and Thursday 12:00–18:00.


Assignments

Assignments will be handed out on Monday in each lab as shown in the schedule above. The deadline of each assignment is the following Monday at 9:00. Late submission will not be graded.


Final Project

This year, students will develop iOS application that help enhancing learning experience. The application will leverage the content and information from L2P, RWTH Aachen University's online learning platform.


Target user group: Students at RWTH Aachen University. Selecting a specific group of students will allow you to fine-tune your app to their need; hence, this makes your app stands out. For example, you may choose to cater students from a major, a semester year, or a course. Alternatively, you may choose to develop an app for a specific disability (sight, hearing, motor disability) or for a situational disability (e.g., an app that chemistry students will use during their chemical experiment that they cannot continuously look at the screen).

Main use case: Activities related to learning. You must specify at least one concrete use case in users' language. The use case must include the context that the app will be used, goals that the user want to achieve, and roles of your app.

Use case:
  • Yelp allows users to look for restaurants nearby based on rating an reviews generated by other users.
  • Things allows users to manage their tasks with a system of check lists.
  • Level Money graphically shows users' daily cash flow to encourage them to better manage their money.
  • Shazam recognizes music playing in the vicinity to allow users to explore and buy music.

NOT a use case
  • view PDF (View what PDF? In which context? Why do the users want to view PDF?)
  • download file (Download what file? What's the utility of the file?)

For a passing grade (4.0), your project must to satisfy all of the the following requirements:
  • Your team must consists of 3 to 5 students.
  • You must create one paper prototype, test with real users, and report the changes that you made in your final UI.
  • You must submit source code of your app for grading. All rights of your source code belongs to you. We will not distribute the code.)
  • Your app must be significantly worked on during this semester. Although you may use existing source code, projects, and libraries, you have to explicitly indicate any existing codes that you've adopted in your source code and documentation.
  • Your app must allows users to accomplish at least one main use case (see above).
  • Your app must be able to run the main use case without crashes or hangs.
  • Your app must use L2P API. We will evaluate how your code handle network communications.
  • At least one of your team member present your app in the final presentation session announced above.
  • Your app and source code must be in English


People



Testimonies

I'd like to thank you and your assistants for your hard work. Your iOS programming course is absolutely awesome and I have been able to start programming in Objective-C. Another book I tried had given me literally nothing, and I wasn't able to switch from Python development to ObjC. Your "theory comes first" approach really works well, much better than so-called "hands-on programming" approaches. -- Michael Samoylov, software developer (Feb 2, 2013)



Literature Recommendations


iOS 7 (including Cocoa and Objective-C):

I highly recommend these two books. They are very well-written, explain things clearly, and provide the thorough grounding that is appropriate for a university class - and which you need to really fully understand and leverage iOS for your apps. You can buy them on paper or in electronic form. O'Reilly has a very good policy, providing DRM-free files, which you can support by buying your own copy. They are really the two volumes of what used to be a single book until iOS 6; it was getting too much for a single bound volume. - Jan

COCOA, Objective C (not iOS specific):




Links




Previous courses:
Attachments:
File Description File size Downloads Last modified
110715 CTHCI exam rules.pdf Exam decision tree 53 kB 3090 2013-07-29 16:40
R01 Reading Assignment.pdf [Reading assignment] 42 kB 3723 2013-10-13 01:34
R02 Reading Assignment.pdf [Reading assignment] 38 kB 3260 2013-10-13 01:40
R01x Reading Assignment (Handson Track).pdf [Reading assignment] 31 kB 2939 2013-10-13 01:44
S04 Reading Assignment.pdf [Reading assignment] 38 kB 3314 2013-10-13 01:59
L01 Reading Assignment (Handson Track).pdf [Reading assignment] 32 kB 3073 2013-10-13 18:58
L01 Reading Assignment (Handson Track).pdf [Reading assignment] 35 kB 3204 2013-10-13 19:17
S01 Introduction 1up.pdf [1up] 42777 kB 3054 2013-10-15 15:11
S01 Introduction 4up.pdf [4up] 15446 kB 3239 2013-10-15 15:12
A01 Handout.zip [A01] 234 kB 2851 2013-10-21 17:41
L01 Provisioning profiles walkthrough 1up.pdf [1up] 1340 kB 4158 2013-10-22 16:03
L01 Provisioning profiles walkthrough 4up.pdf [4up] 583 kB 3306 2013-10-22 16:03
S02 ObjC Cocoa (part 1) 1up.pdf [1up] 15218 kB 2557 2013-10-22 16:04
S02 ObjC Cocoa (part 1) 4up.pdf [4up] 358 kB 3476 2013-10-22 16:04
A02 Handout.zip [A02] 125 kB 2655 2013-10-28 14:14
S02 ObjC Cocoa (complete) 1up.pdf   22439 kB 2702 2013-10-30 12:00
S03 Foundation Classes (part 1) 1up.pdf   9711 kB 3024 2013-10-30 12:18
S03 Foundation Classes (part 1) 4up.pdf   339 kB 3116 2013-10-30 12:20
S02 ObjC Cocoa (complete) 1up.pdf   22439 kB 2489 2013-10-30 12:36
S02 ObjC Cocoa (complete) 4up.pdf   535 kB 3811 2013-10-30 12:37
A03 Handout.zip [A03] 67 kB 2588 2013-11-11 08:25
Lab3Demo.zip [Lab3Demo] 29 kB 2709 2013-11-11 15:21
Lab3Demo.zip [Lab3Demo] 35 kB 2498 2013-11-11 15:52
Lab3Demo.zip [Lab3Demo] 34 kB 2678 2013-11-11 15:54
S03 Foundation Classes (complete) 1up.pdf S03 Foundation Classes (complete) - 1up 33846 kB 2740 2013-11-12 13:31
S03 Foundation Classes (complete) 4up.pdf [4up] 1809 kB 4294 2013-11-12 13:32
S04 UI Design (part1) 1up.pdf [1up] 24835 kB 2574 2013-11-12 14:02
S04 UI Design (part1) 4up.pdf [4up] 3772 kB 3645 2013-11-12 14:03
A04 Handout.zip [A04] 84 kB 2760 2013-11-18 08:13
Lab4Demo.zip [Lab4Demo] 63953 kB 2566 2013-11-18 15:27
Lab4Demo.zip [Lab4Demo] 63955 kB 2477 2013-11-18 15:54
S04 UI Design (complete) 1up.pdf [1up] 35238 kB 2768 2013-11-19 13:55
S04 UI Design (complete) 4up.pdf [4up] 7165 kB 3273 2013-11-19 13:55
S05 View Controllers 1up.pdf [1up] 27948 kB 2630 2013-11-19 13:58
S05 View Controllers 4up.pdf [4up] 2295 kB 3427 2013-11-19 13:58
A05 Invader (2).pdf [A05] 41 kB 3132 2013-11-25 02:09
A06 Handout.zip [A06] 44 kB 2655 2013-12-02 05:15
S06 Drawing 1up.pdf [1up] 51778 kB 2949 2013-12-03 19:13
S06 Drawing 4up.pdf [4up] 2685 kB 5550 2013-12-03 19:13
P01 Handout.zip [P01] 68 kB 2566 2013-12-08 14:43
S07 Touch and Input 1up.pdf [1up] 40512 kB 2706 2013-12-11 15:24
S07 Touch and Input 4up.pdf [4up] 2339 kB 3506 2013-12-11 15:25
S08 Instruments 1up.pdf [1up] 3457 kB 2966 2013-12-15 16:53
S08 Instruments 4up.pdf [4up] 2109 kB 2830 2013-12-15 16:53
S09 Data Persistence 1up.pdf [1up] 2626 kB 3224 2014-01-08 16:53
S09 Data Persistence 4up.pdf [4up] 1079 kB 3348 2014-01-08 16:55
S10 Networking 1up.pdf [1up] 3379 kB 4030 2014-01-09 17:03
S10 Networking 4up.pdf [4up] 301 kB 11387 2014-01-09 17:03
S11 Integration 1up.pdf [1up] 30022 kB 2968 2014-01-15 16:12
S11 Integration 4up.pdf [4up] 2699 kB 4634 2014-01-15 16:12
S12 Location and Maps 1up.pdf [1up] 26546 kB 2781 2014-01-21 13:55
S12 Location and Maps 4up.pdf [4up] 3049 kB 6886 2014-01-21 13:56
S13 Audio 1up.pdf [1up] 35961 kB 2747 2014-01-28 16:40
S13 Audio 4up.pdf [4up] 1642 kB 9269 2014-01-28 16:40

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.