Abstract

You do not have to have a lot of experience developing iPhone applications before you begin to realize that you may need to fetch data from a server on the Internet or that you have a CPU intensive calculation that freezes your application and prevents your user from interacting with the user interface of your application. On any platform with any computer language, the standard way of dealing with such issues is to perform these tasks in the background allowing your application’s user interface to remain responsive to a user’s interaction with your application. Fortunately, iPhone OS, like its much bigger sibling Mac OS X, provides a rich array of concurrency solutions for developers needing to use them. However, as you will see the concurrency solutions vary quite a bit in terms of their degree of complexity, level of abstraction, and scalability. This chapter is a brief survey of the concurrency solutions available and you will develop solutions with some of them. There is a definite point of view that I’ve developed by working with the iPhone SDK and trying to divine the path that Apple might take in the future that hopefully will come across. After all, whether the application is for an iPod Touch, iPhone, or an iPad it isn’t cool if the application is sluggish!

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.