X Tutup
The Wayback Machine - https://web.archive.org/web/20150408014428/http://dashcode.tips.freemac.org/category/dashcode-tips/
MacGmer UnityGmer UnityWidgets DashboardGmer RetroGmer WidgetGmer GmerNews GameWidgets GmerApps GameCentr

Dashcode Tips

Dashcode Templates

Apple provides a number of templates with Dashcode. Read this appendix to learn more about the features of each of the Dashcode templates. Widget Templates All widget templates allow you to set values that identify the widget in the widget attributes pane. To learn about these, see “Providing Widget Attributes.” Some widget templates include template-specific attributes you(…)

Read More...

Web Application Tutorial

Web Application Tutorial

Before You Begin In this tutorial, you build a mobile Safari web application that displays information about national parks. This project is based on the browser type of web application, and supports navigation through multiple levels of content. Before continuing, make sure that you have Dashcode version 3.0 or later installed on your Mac. If(…)

Read More...

Dashcode in Yosemite or Mavericks

Dashcode in Yosemite or Mavericks

Option 1: In Finder right click on Dashcode app Click Show Application Contents Open Contents directory Open Info.plist with TextEdit Now modify the bundle identifier: <key>CFBundleIdentifier</key> <string>com.apple.Dashcode</string> to <key>CFBundleIdentifier</key> <string>com.apple.DashcodeLegacy</string> Done. You can now open Dashcode without any Terminal tricks. Option 2: Go to your Applications folder, right click (ctrl click) on the Dashcode app, click Show Package Contents  and in there go to(…)

Read More...

Build Web Apps

Build Web Apps

When you first launch Dashcode (the easiest way to launch it is through Spotlight), you will see that Dashcode has already created some templates for you to build your Web applications quickly (see Figure 1). Figure 1: The various templates provided by Dashcode The best way to learn is to select each template (other than(…)

Read More...

Dashboard Widget Tutorial

Dashboard Widget Tutorial

This tutorial walks you through using Dashcode to create a Dashboard widget. As you follow the steps, you learn how to choose a widget template, customize your widget’s appearance and code, and share your widget with others. Completing this tutorial is a quick and easy way to get started building Dashboard widgets in Dashcode. This(…)

Read More...

Starting a Project

When you start a new project, you base it on a Dashcode template or, in the case of Dashboard widgets, you can also base it on an existing widget. A project encapsulates all the files and resources that Dashcode uses to build a widget or web application for you. This chapter discusses the options you(…)

Read More...

Adding Search Functionality

Adding Search Functionality

Use the inspector to look for onsearch, type in there: search(event) Hit Enter – Done !

Read More...

Widget Plug-in Interface

If you want to define a custom plug-in to use with a widget, the principal class of your plug-in must support the Widget Plug-in interface. This interface provides basic initialization support for your plug-in code along with access to the web view of your widget. You can also use this interface to register custom JavaScript(…)

Read More...

User Interface

After you’ve started a project as discussed in “Starting a Project,” use Dashcode’s design tools to design the interface of the widget or web application. This chapter describes the canvas, the interface design area in Dashcode, and how to begin laying out an interface. It also discusses how to add Dashcode parts to your project and how(…)

Read More...

Keyboard Shortcuts

Alt-⌘-Up to alter between .m and .h file ⌘-Shift-D, When you want to open a file or a symbol definition that’s in your project or in a framework. ⌘-Shift-E expand the editor view to full height of the window. Alt-⌘-Left / Alt-⌘-Right, Navigate among open files back and forth. Press Tab to accept the current completion. Escape presents a pop-up list(…)

Read More...


X Tutup