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
1055
votes
31 answers

HTTP GET request in JavaScript?

I need to do an HTTP GET request in JavaScript. What's the best way to do that? I need to do this in a Mac OS X dashcode widget.
mclaughj
  • 12,645
  • 4
  • 31
  • 37
22
votes
9 answers

iPhone web applications, templates, frameworks?

Does anyone have any good starting points for me when looking at making web pages/sites/applications specifically for viewing on the iPhone? I've looked at templates like the one Joe Hewitt has made, and also seen some templates I can purchase,…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
11
votes
8 answers

Changing a checkbox's state programmatically in dashcode

Okay, so I'm trying to change a checkbox's state programmatically in dashcode. I've tried: var checkbox = document.getElementById("checkbox"); // I have tried all the following methods. checkbox.checked = false; checkbox.selected =…
Daniel
  • 111
  • 1
  • 1
  • 3
6
votes
1 answer

Can't find Dashcode after installing Xcode 4 on brand new MacBook

I have a brand new MacBook (air if it matters). I have installed Xcode 4 but I can't find Dashcode even using finder. What should I do ?
user310291
  • 36,946
  • 82
  • 271
  • 487
6
votes
1 answer

Where are Dashboard Widget preferences actually saved?

This is a followup question to my other widget-related question. I'd like to check what's actually written into the preferences of the widget. Where is that data actually stored?
Huxi
  • 4,242
  • 3
  • 33
  • 31
5
votes
1 answer

Why are some widget elements not showing up when embedded in iBook?

I created a widget in Dashcode. It has some buttons, text fields and texts. It works fine when run from Dashcode or when installed into the Dashboard. When I install it into an iBook (via iBooks Author) and run it on the iPad then the buttons and…
Jim McKeeth
  • 38,225
  • 23
  • 120
  • 194
5
votes
5 answers

What HTML5 features are available for Dashcode widgets in iBooks?

With the new iBooks Author tool, you can create e-books for the iPad. The format allows you to embed HTML widgets created with Dashcode. The resulting files can be distributed outside of the app store, similar, but probably easier (because it is…
Thilo
  • 257,207
  • 101
  • 511
  • 656
5
votes
3 answers

Dashcode understanding

I am new in iOS development and I am totally confused about Dashcode. Why Dashcode is useful? What is difference between Dashcode vs Xcode. What is advantages and disadvantages of Dashcode as a compared to Xcode? Is XML or JSON parsing is possible…
Sandeep
  • 725
  • 1
  • 14
  • 28
5
votes
4 answers

Use of XMLHttpRequest in Dashboard widget failing

I am unable to get an XMLHttpRequest object to work correctly in a Dashboard widget I am writing. I've isolated it to a trivial example not working in the global scope of the main.js file: xhr = new XMLHttpRequest; xhr.open( 'GET',…
user335938
5
votes
6 answers

Is it possible to create new widget instances from within a Dashboard widget?

This is a followup to this question. It seems to be impossible to to simply keep already configured dashboard widget instances. An alternative way would be to recreate previous instances. Is it possible to create new Dashboard widget instances from…
Huxi
  • 4,242
  • 3
  • 33
  • 31
4
votes
2 answers

How to use DashCode for designing a website, especially Browser template of the DashCode?

I am new to DashCode, upto now I used to design websites with JavaScript, HTML, now I want develop website in DashCode for iPhone's mobile safari. but I am really frustrating about DashCode. I started design by taking Browser template of DashCode so…
John Canady
  • 79
  • 1
  • 11
4
votes
1 answer

How can I install dashcode (part of Apple's developer suite)?

I've installed XCode from the App Store, but it doesn't include Dashcode. I found this (somewhat out of date) solution, that says to just download XCode from the Apple Developer Connection and it's included in that bundle, but I don't think I…
Eric
  • 5,104
  • 10
  • 41
  • 70
3
votes
1 answer

iBooks test for an internet connection with HTML widget

I created a widget in dashcode that embeds a YouTube video. I'd like to test for an interent connection first and alert the user. I embedded the YouTube widget into iBooks. I'm guessing at times some will not have an interent connection. if I…
user1040259
  • 6,369
  • 13
  • 44
  • 62
3
votes
1 answer

d3.js and dashcode: anyone tried and won?

I'd like to build OSX widgets to rapidly prototype streaming-data-based viz dashboard components. I'd like to use d3.js to do that displaying, but the most basic things I try get stuck with errors I have no ability / patience to parse. Before I…
Mike Dewar
  • 10,945
  • 14
  • 49
  • 65
3
votes
3 answers

Dashcode Distinguish Between iPad and iPhone Browser

I am trying to figure out how to get a Dashcode web application to distinguish between an iPhone browser and iPad browser. A working example of this is the Apple iPad User Guide. An iPad will display a slick dashcode built interface. The iPhone gets…
DenVog
  • 4,226
  • 3
  • 43
  • 72
1
2 3
11 12