05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Dashcode<br />

As the name implies, Dashcode is like Xcode for creating Dashboard widgets. It contains several<br />

templates for the most common types of widgets, including countdowns, maps, RSS feeds,<br />

gauges, and podcasts. It also includes a drag-and-drop library of common components, and a<br />

WYSIWYG editor for customizing your widget, as shown in Figure 25-23.<br />

Figure 25-23. Designing a widget’s interface in Dashcode<br />

Under the hood, a widget is just a web page with HTML, CSS, and JavaScript code. Dashcode<br />

provides a code library of common functionality, as shown in Figure 25-24. Some<br />

90 percent of the widgets out there today could be created in Dashcode without ever having to<br />

use the keyboard. That said, Dashcode also provides a solid JavaScript debugging environment,<br />

complete with member lists, breakpoints, and an interactive runtime.<br />

Figure 25-24. Editing a widget’s source code in Dashcode<br />

CHAPTER 25 MAC <strong>OS</strong> X DEVELOPMENT: THE TOOLS 475

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!