P. 1
iPhone App Programming Guide

iPhone App Programming Guide

|Views: 282|Likes:
Published by Lukasz81

More info:

Published by: Lukasz81 on Aug 22, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/22/2011

pdf

text

original

From the time your application is launched by the user, to the time it exits, the UIKit framework manages
most of the application’s core behavior. For example, an iOS application receives events continuously from
thesystemandmustrespondtothoseevents.ReceivingtheeventsisthejoboftheUIApplicationobject,
but responding to the events is the responsibility of your custom code. Similar relationships exist in other
partsofyourapplication,withthesystemobjectmanagingtheoverallprocessandyourcustomcodefocused
on implementing your application’s specific behavior.

TounderstandhowUIKitobjectsworkwithyourcustomcode,ithelpstounderstandalittleabouttheobjects
that are involved. Figure 2-1 shows the objects that are most commonly found in an iOS application, and
Table 2-2 describes the roles of each of these types of objects.

24

The Core Application Objects

2010-11-15 | © 2010 Apple Inc. All Rights Reserved.

CHAPTER2

The Core Application Design

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->