Affordable iPhone Mobile Apps Development Services Company - PowerPoint PPT Presentation

affordable iphone mobile a pps d e v elopme n t services n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Affordable iPhone Mobile Apps Development Services Company PowerPoint Presentation
Download Presentation
Affordable iPhone Mobile Apps Development Services Company

play fullscreen
1 / 14
Affordable iPhone Mobile Apps Development Services Company
21 Views
Download Presentation
Grepixinfotech
Download Presentation

Affordable iPhone Mobile Apps Development Services Company

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Affordable iPhone Mobile Apps Development Services

  2. Introduction to iPhone Development Contents ApplicationRuntime Core Architecture andLife-cycles Task 1 What’s in abundle? The resources in an appbundle 2 CustomizingBehavior How does it launch?IPC? 3 Relation withTools How do we get the app on thephone? 4

  3. ApplicationLife-Cycle How your application lives anddies User taps icon onhome screen main() UIApplicationMain() Event Loop System requeststermination Application actuallyterminates

  4. Main andUIApplication • main() • Just like any other mainfunctions (C, C++, etc) • Creates top-level autorelease pool • Starts application withUIApplicationMain • UIApplicationMain() • Creates instance of UIApplicationthat is responsible for actually launching your application (loading main Nibfile). • Takes four parameters: argc, argv, ignore othertwo.

  5. ApplicationDelegate • Monitors high level or critical actions inapplication • Launch • Terminate • Memorywarnings • Conforms to Objective-C protocol (all methodsoptional)

  6. The Main NibFile • Remember: archive ofobjects. • One of these objects is your mainwindow. • For now, think of the Main Nib file as your interface, as the year progresses, we’ll show how to load additional Nibfiles. • Interface elements not in your main Nibfile: • Status bar • Application instance (we’ll talk about proxy objects inthree weeks)

  7. Life-CycleReview

  8. Sandboxing • iPhone OS does not give your application free reign like it does on OSX. • Your application only has access to a certain part of the file system, something like:/ApplicationRoot/ApplicationID • This is a security device preventing a single application from destroying your phone or iPodTouch.

  9. VirtualMemory • Virtual memory on the phone is quiteinteresting. • It exists, but notreally. • It exists in that itgives your application the full virtual 32-bit addressspace. • However, it does not write volatile pages to disk (b/cflash memory only has so many writecycles). • ApplicationDidReceiveMemoryWarning:in your delegate

  10. ApplicationContents

  11. MyApp • The compiled, executable code for yourapplication. • Actual name is the name of your application bundle minusthe “.app”extension. • If your application bundle doesn’t have this, you don’tactually have an application, you just have a folder ofstuff.

  12. Development toDevice Writecode Build fordevice Install Sign

  13. Introduction to iPhone Development Contents ApplicationRuntime Core Architecture andLife-cycles Task 1 What’s in abundle? The resources in an appbundle 2 CustomizingBehavior How does it launch?IPC? 3 Relation withTools How do we get the app on thephone? 4

  14. Thank you for watch & Read