DPS923 notes – Thu Mar 6

Midterm test preparation. Programming for the iPad. Programming assignment discussion.

.

Midterm test preparation

This course’s midterm test is on Monday, March 10, during our normal class time in SEQ Building room S2113.

The test will feature a written portion, where you write short answers to some questions, and a practical hands-on programming task, where you add functionality to an iOS app. More details will be found on the class notes page for that day.

Today, we will work through a programming task scenario, which will be typical of the difficulty level on the midterm test.

The result is posted in the GitHub code example repository, and is named “ICT WS v2”. It fetches data from the web, and saves it to the on-device data store. Then, the data is displayed in a table view (that uses a fetched results controller as its data source).

Then, and today, make sure that you plan your work BEFORE you begin writing code.

.

Programming for the iPad

On the programming assignment, we anticipate that an iPad version will be required. Therefore, we will introduce a handful of topics that will enable you to comfortably get started with iPad programming.

.

Getting started

When choosing the options for your new project, select “iPad” from the “Devices” drop-down list.

newipadproject

.

Split view controller

This object combines ‘master’ and ‘detail’ views. More details are available here:

…in this iOS Human Interface Guidelines section

…in this View Controller Catalog for iOS section

…in the UISplitViewController class reference

.

Popovers

A popover is a view that appears when a user interface control is tapped. More details are available here:

…in this iOS Human Interface Guidelines section

…in this View Controller Catalog for iOS section

…in the UIPopoverController class reference

.

.

.

.

.

.

.

.

.

.

.

.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: