iOS Multitasking is a lie.<br />And that’s totally fine.<br />
Hi!<br />I’m James Jennings.<br />iPhone Developer<br />james@mobiledistortion.com<br />@jamesjennings<br />
“Traditional” Multitasking<br />What is it?<br />Multiple programs sharing computer resources<br />
“Traditional” Multitasking<br />So why are phones special?<br />Limited Resources<br />Processor<br />Battery<br />
“New!” iOS 4 Multitasking<br />is a lie.<br />It’s not new<br />It’s not multitasking<br />
“New!” iOS 4 Multitasking<br />Yeah, it’s not new.<br />iOS has always been “Unix-like”<br />Examples<br />Mail sending/re...
“New!” iOS 4 Multitasking<br />What is referred to as “Multitasking” in Apple’s agitprop is really just:<br />Fast Switchi...
Who is worthy of iOS 4 & Multitasking?<br /><ul><li> Anybody with a jailbroken phone and a text editor</li></li></ul><li>i...
Fast Switching<br />The “Task Bar”<br />Apps aren’t directly terminated in iOS 4<br />“Freeze Dried” state information sav...
Fast Switching<br />Apps can opt out<br />Apps can be kicked out<br />App is on Task Bar != App is eligible for fast switc...
Location Tracking<br />3 Options<br />Normal AGPS<br />Significant Location Changes<br />Region Tracking (iPhone 4 only)<b...
Audio<br />Background audio, like native iPod<br />Access to player controls<br />
VoIP<br />App can listen on network for incoming VoIP calls<br />Must use local notification to let user know<br />
Task Completion<br />App can declare certain blocks of code as critical, which will continue to be executed even after app...
Local Notifications<br />Not really part of the “Multitasking” umbrella, available to all iOS 4 devices<br />Utilized by m...
Summary<br />“Multitasking” has always existed in the technical sense on the iPhone platform<br />The new multitasking in ...
Thank you!<br />Any questions?<br />
IOS multitasking is a lie, and that's totally fine.
Upcoming SlideShare
Loading in...5
×

IOS multitasking is a lie, and that's totally fine.

2,457

Published on

The new feature marketed as "multitasking" in iOS 4.0 was neither new, nor truly multitasking. iOS developer James Jennings explains this paradox and why the result is a net win for the user.

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,457
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "IOS multitasking is a lie, and that's totally fine."

  1. 1. iOS Multitasking is a lie.<br />And that’s totally fine.<br />
  2. 2. Hi!<br />I’m James Jennings.<br />iPhone Developer<br />james@mobiledistortion.com<br />@jamesjennings<br />
  3. 3. “Traditional” Multitasking<br />What is it?<br />Multiple programs sharing computer resources<br />
  4. 4. “Traditional” Multitasking<br />So why are phones special?<br />Limited Resources<br />Processor<br />Battery<br />
  5. 5. “New!” iOS 4 Multitasking<br />is a lie.<br />It’s not new<br />It’s not multitasking<br />
  6. 6. “New!” iOS 4 Multitasking<br />Yeah, it’s not new.<br />iOS has always been “Unix-like”<br />Examples<br />Mail sending/receiving<br />iPod<br />App downloading<br />Oh and the phone<br />
  7. 7. “New!” iOS 4 Multitasking<br />What is referred to as “Multitasking” in Apple’s agitprop is really just:<br />Fast Switching<br />Handful of OS hooks providing limited support for background execution of code<br />
  8. 8. Who is worthy of iOS 4 & Multitasking?<br /><ul><li> Anybody with a jailbroken phone and a text editor</li></li></ul><li>iOS 4 “Multitasking”<br />Fast Switching<br />Location Services<br />Audio<br />VoIP<br />Task Completion<br />Local Notification (kinda)<br />
  9. 9. Fast Switching<br />The “Task Bar”<br />Apps aren’t directly terminated in iOS 4<br />“Freeze Dried” state information saved<br />
  10. 10. Fast Switching<br />Apps can opt out<br />Apps can be kicked out<br />App is on Task Bar != App is eligible for fast switching<br />
  11. 11. Location Tracking<br />3 Options<br />Normal AGPS<br />Significant Location Changes<br />Region Tracking (iPhone 4 only)<br />App developers must be aware of performance implications<br />
  12. 12. Audio<br />Background audio, like native iPod<br />Access to player controls<br />
  13. 13. VoIP<br />App can listen on network for incoming VoIP calls<br />Must use local notification to let user know<br />
  14. 14. Task Completion<br />App can declare certain blocks of code as critical, which will continue to be executed even after app is terminated<br />Example in pre-iOS4<br />Mail<br />App can’t run itself indefinitely however, hard time limit enforced<br />App can declare cleanup code if it’s terminated<br />
  15. 15. Local Notifications<br />Not really part of the “Multitasking” umbrella, available to all iOS 4 devices<br />Utilized by multitasking apps, however<br />
  16. 16. Summary<br />“Multitasking” has always existed in the technical sense on the iPhone platform<br />The new multitasking in iOS 4 is a specific set of services and hooks<br />Some features are automatic, others must be implemented<br />
  17. 17. Thank you!<br />Any questions?<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×