In this chapter, we will cover:
The graphical user interface, also knows as the GUI, is one of the most important components of modern software applications. It allows users to interact with the software through visual elements called widgets. Desktop and web applications use common elements such as buttons, labels, text inputs, checkboxes, and menus. However, the applications designed to run on mobile devices require a special and different GUI. The main reason is that it runs on a machine, which is different from a desktop computer or a laptop.
The iPhone introduced a new GUI designed specifically for this device. It's an exclusive interface that uses its own look and feel. In fact, this is the most distinctive feature of the operating system of this device. Although it's possible to use the native widgets through the Objective-C programming language, we'll see how to do it in an alternative way. Actually, we're going to use HTML, CSS, and some JavaScript code.
If you're not familiarized with the iPhone interface, it is a good idea to take a look at the built-in applications on the device. It gives you a clear idea what we're talking about. The same consideration will be taken for the iPad.
As you're building a graphical interface for your iPhone applications, you'll need to keep in mind some recommendations and concepts for getting an application with a native look and feel. Remember, your target device is not a desktop computer or a laptop. We can summarize these recommendations and concepts as follows:
In this chapter, we find out how to build the main widgets for our iPhone applications using the main HTML/CSS/JavaScript frameworks mentioned in the previous chapter. Let's start building a toolbar.
3.143.203.96