Questions tagged [dashcode]

Dashcode is a graphical IDE bundled in Apple Developer Tools and aimed at the development of Dashboard widgets and Safari Web applications (for both Mobile Safari and standard Safari browser).

Dashcode to create two types of projects:

  • Dashboard widgets—simple, lightweight applications that perform a single task in the Mac OS X Dashboard environment. Widgets are actually packaged webpages powered by standard web technologies such as Hypertext Markup Language (HTML), Cascading Style Sheets (CSS), and JavaScript.
  • Web applications—webpages that provide discrete functionality to users. Web applications also make use of web technologies such as HTML, CSS, and JavaScript. Dashcode helps you create mobile Safari web applications, which are also known as iPhone web applications (that is, web applications optimized to run in Safari on iPhone), and Safari web applications (that is, web applications optimized to run in Safari).

Dashcode’s integrated environment allows you to lay out, code, and even test widgets and web applications without opening any other applications. Its layout tools, composers, and editors simplify the process of creating all the resources these projects need. Dashcode also includes handy coding and debugging tools that help you manage and test the code you write.

166 questions
1
vote
1 answer

How do I embed a quicktime movie into an iphone web app using dashcode?

I have a functional webapp that I have created through dashcode, but I want to add a video by clicking a button. Any idea on how to code a handler to do that or any sample code? thanks here is what I have but it wont do anything in the…
Colin Gray
  • 79
  • 2
  • 11
1
vote
1 answer

Dashcode code translation

a quick, probably easy question whose answer is probably "best practice" I'm following a tutorial for a custom-template mobile Safari webapp, and to change views around this code is used: function btnSave_ClickHandler(event) { var views =…
Alex Mcp
  • 19,037
  • 12
  • 60
  • 93
1
vote
1 answer

Rss and external feed

I want to build a similar app like this:http://community.livejournal.com/ohnotheydidnt/32551171.html using a livejournal rss feed. Any way of retrieving an external feed ( meaning getting a feed from a different domain that the one your web…
GH.
  • 11
  • 1
1
vote
1 answer

Validating time in Dashcode widget

I am trying to validate 12 hour time without AM/PM in this input field. What is the best way to approach this? I have listed what I have currently which is not working out. Been looking for a couple days on how to approach this to no luck.
1
vote
1 answer

Dashcode: How to add custom inspector panel for custom Dashcode Parts?

I like using Dashcode for making quick little web apps, but it specifically targets the iphone version of mobile safari, which is not acceptable for cross-platform development. I've developed a number of laundry-list hacks that I tend semi-manually…
JJ Rohrer
  • 2,671
  • 5
  • 29
  • 37
1
vote
1 answer

iPhone web app from dashcode RSS feed template works when deployed on a simulator, but not on iPhone

iPhone web app from dashcode RSS feed template works when deployed on simulator but not on an iPhone. The web app is deployed here. If I run the simulator and enter that address, it fetches the rss feed and displays it. Everything runs fine. When I…
Arge Anton
  • 11
  • 3
1
vote
1 answer

First widget works in Dashcode but not when deployed

My widget does not work once deployed even though it shows no errors in Dashcode. Apologies in advance for my inarticulartness with the terminology. I am a newbie. To create the widget, I deleted the default .js file and pasted the JavaScript plus…
Ruby
1
vote
0 answers

Dashcode 3.0, data sources + non-form POST request?

Question in brief: In Dashcode 3.0, how do I tell a Data Source to send a POST request like: url: https://example.com/xml method: POST HTTPBody:
slothbear
  • 2,016
  • 3
  • 21
  • 38
1
vote
3 answers

iPhone dashcode xmlhttprequest no response

I'm developing an iPhone web app with dashcode. My app runs fine when I browse it with the iphone simulator. When I deploy it to a web-server, I never get a response from XMLHttpRequests. Here's the code I use: function get(feedURL, handler) { …
dlinsin
  • 19,249
  • 13
  • 42
  • 53
1
vote
2 answers

iBooks Widgets: Parameters and shared assets

Consider a text book made with iBooks Author, using HTML widgets for interactive features, for example a quiz at the end of every chapter. You end up with a lot of widgets (one per chapter) that share a lot of assets (image files, javascript…
Thilo
  • 257,207
  • 101
  • 511
  • 656
1
vote
1 answer

How to sign a Dashboard Widget (Dashcode) with Gatekeeper ID

Does anyone know how to sign a Dashboard widget (OS-X Mountain Lion) that was made by Dashcode with a Gatekeeper ID? All tutorials just go about XCode-Apps or package-installers. Are dashboard-widgets handled like installers?
1
vote
0 answers

Dashcode scroll area refresh with multiple writes

I'm creating a Dashcode project that allows me to mount remote drives. I have a Scroll Area named "statusArea" defined to contain status text of the mounting progress, kind of a command output area. The first time through testing I'll force the…
1
vote
1 answer

Dashcode List - OnClick

I have created a project in Dashcode, inserted a List control, enabled a dynamic list, created a JSON object and associated it with the control. The code looks like this ... var stations = { _rowData: ["Mitchelton", "Gaythorne", "Albion",…
Nippysaurus
  • 20,110
  • 21
  • 77
  • 129
1
vote
2 answers

A Dashcode project without a Dashcode project package

Dashcode keeps source files in a ".dcproj" project file, which is really a package to OS X, which in turn is actually nothing more than a directory structure. I'd like to continue to use Dashcode but without the "convenience" of the ".dcproj"…
Alan
  • 3,815
  • 1
  • 26
  • 35
1
vote
1 answer

Dashboard widget: getting version number from Info.plist

I'm writing a Dashboard widget in Dashcode, and on the back side, I've got a string for credits. I want to include the widget's version number in that string, but if possible, I want to programmatically grab it from the CFBundleVersion or…
Evenio
  • 31
  • 5