O'Reilly logo

iPhone JavaScript Cookbook by Arturo Fernandez Montoro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding an activity indicator

Some actions take a long time and it's very useful to indicate to our users that an action or activity is in progress. Therefore, users will stay patient while they wait as they are being informed that the application is working properly. Usually, an application displays a special widget on the screen, which uses a simple animation to indicate that the application is still working. We can even use a simple text such as Loading, Working, or Waiting.

In this recipe, you'll learn how to use the activity indicator widget provided by Dashcode. The complete project can be reached at: code/ch04/activity.

Getting ready

This recipe requires Apple Dashcode, so we need a computer with the Mac OS X operating system. It's highly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required