Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Cheat Sheet

Dashcode For Dummies

From Dashcode For Dummies by Jesse Feiler

Use Dashcode, a feature that debuted in Mac OS X Leopard, to create your own widgets or Web applications for your Mac computer, iPhone, or iPad. Using Dashcode is easy when you know quick keyboard shortcuts and how to streamline the Dashcode window. Get to know Dashcode templates and its Library of reusable interface parts and code snippets. Then you can test your product using Dashcode simulators.

How to Create and Manage Dashcode Projects

Ready to use Dashcode to create widgets and Web apps? Everything you do in Dashcode is done inside the Dashcode window that's created for each project. Here are the commands you use to create and manage projects and their windows:

New Project Command -N
Deploy (from Run & Share) option-Command-S
Run Command-R

How to Show and Hide Parts of the Dashcode Window

The Dashcode window is always open when you're working on a project, but you can show and hide the individual parts (panes in tech-speak) of the window. Remember that most of these Dashcode shortcuts involve numbers. Don't confuse 1 (number 1) with l (lower-case letter L).

Canvas Command-1
Run Log option-Command-1
Source Code Command-2
Files Command-3
Steps Command-3
Next File option-Command-right arrow
Previous File option-Command-left arrow

How to Use Keyboard Equivalents to Format in Dashcode

The Dashcode Format menu is full of fonts and commands to use for your projects. These fonts and commands affect selected text or, if none is selected, will affect text that you type in next. Commands may not be available from objects that don't support text.

Formatting fonts (in the Format→Font submenus)

These are the commands to format text. Text is automatically formatted in the code that you write, but these commands format text that appears in text fields and other interface elements.

Show/Hide Fonts Command -T
Bold (on/off) Command-B
Italic (on/off) Command -I
Bigger font size Command -+
Smaller font size Command -

Formatting paragraphs in Dashcode

The following commands, available in the Format→Text submenus, format paragraphs of text in the interface.

Align left shift-Command- {
Align center shift-Command- |
Align right shift-Command- }

Arranging objects with keyboard equivalents

These commands are in the Arrange menu. Remember to select the objects to arrange before issuing the command or using the keyboard equivalent.

Bring forward option-shift-Command-F
Bring to front shift-Command-F
Bring backward option-shift-Command-B
Bring to back shift-Command-B

How to Use Debugging Shortcuts in Dashcode

The Dashcode keyboard equivalents are particularly useful when you're using the debugger. That's because your attention is often focused elsewhere, and being able to control the debugger and its views from the keyboard without moving the mouse can prevent your debugger controls from interfering with the actual running of the program itself.

Show/Hide Performance Monitor option-Command-P
Show/Hide Resource Log shift-Command-R
Show/Hide Breakpoints Windows option-Command-B
Evaluator option-Command-2
Breakpoints control-option-Command-1
Start Tracing shift-Command-T
Clear Run Log Command-K
blog comments powered by Disqus
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.