4- ImageViewer

4- ImageViewer - Creating an image viewer 2nd iPhone...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Click to edit Master subtitle style 5/7/11 Creating an image viewer 2nd iPhone Programming CSE 390 Fall 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
5/7/11 A caveat… The purpose of this exercise is to continue to learn the process of developing applications for the iPhone, and to familiarize you with the development tools. The program we will write is not scaleable or flexible. But it works fine for a limited number of images. To make it flexible, we would want to
Background image of page 2
5/7/11 Develop resources 1. The first step is to prepare six images for inclusion in your app. The images should have a consistent aspect ratio (in our case 4:3). A consistent resolution will look best, so make your images 800 X 600. You can name them img1.jpg , img2.jpg , etc. In Xcode, create a View-Based
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
5/7/11 Define a variable We will be using a UIImage object in Interface Builder (IB) to display our images. We’ll need to operate on that object (refer to it) so we can change the image it displays – so we need to give it a name. We’ll use the keyword IBOutlet so IB will recognize the variable.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 17

4- ImageViewer - Creating an image viewer 2nd iPhone...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online