Getting into the Actual Code
So far, we haven’t talked about where the actual code resides in Dashcode. You can view all the component files of your widget by selecting Files from the View menu. It displays all the files stored within the widget package in place of the Workflow Steps.
Figure 4 View files and source code
You can use the menus above the Source Code pane to easily switch between the files that make up a widget and to quickly locate functions that are included in the code. This can make it faster and easier to edit or fix bugs in your widget’s code. Apple also provides a library of common code elements(the Code tab of the Library pallet) that you can drag and drop to quickly the code for your widget.