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

Touch events for Safari desktop templates on Dashcode for iPad

Is there anyway to enable touch event handlers on the safari desktop templates? I want to use the Safari layout to make iPad apps since the mobile safari screen won't get any bigger than the iPhone width, but if I use the Safari desktop template to…
1
vote
1 answer

Is it possible to convert a Dashcode Webkit Web app to "normal" html + css

I have a Dashcode app I built, a blog. Nothing fancy... HTML + CSS + Javascript + getting data from an xml file... The way i see it... 1. Javascript should be fully supported by any browser (with some differences). 2. I would need to modify HTML a…
unom
  • 11,438
  • 4
  • 34
  • 54
1
vote
0 answers

Is it possible to configure dashcode to support https datasource?

I am using the Web template in dashcode. I want to change the datasource specification from http to https but I don't know how to specify username and password. I see in /Parts/core/net/XHR.js, one can make https requests by specifying the user and…
1
vote
1 answer

Dashcode localhost server fails

I write a dashcode program and run it to test. this should connect to http://localhost:50853/index.html but fails to do so with a "could not connect to the server". THis worked some months ago when i was last working on it but have done several…
PurplePilot
  • 6,652
  • 7
  • 36
  • 42
1
vote
1 answer

Can you access the iPhone's address book in a Dashcode-designed web application?

I'm writing a web application using Dashcode. Is it possible to access the iPhone address book from within this web application?
neha
  • 47
  • 1
  • 6
1
vote
6 answers

Set source for the image object - Dashcode related

How can one change the source of an image object in Dashcode (Javascript) at runtime? I tried: var image = document.getElementById("image").object; image.src = "IMG_0230.JPG";
Peter
  • 183
  • 2
  • 12
1
vote
1 answer

Howto force DashCode webapp to use Safari Mobile layout on iPhone but Safari layout on iPad

A project in DashCode can be configure to support both Safari and Safari Mobile. I like this dual support, but on the iPad, I found that the Safari layout was much more suitable than the Safari Mobile layout. How can I fix the project so that on the…
Christian Lemer
  • 893
  • 9
  • 15
1
vote
0 answers

Dashcode - fun with Value Transformers

I'm creating a Dashcode App that displays products that have won one or more awards. The Data Source has a column/field for each award that the product may win (products may win multiple awards). The column has 'Y' if they won that award and is…
tonyopp
  • 171
  • 6
1
vote
2 answers

Customize List's cells in DashCode

I have my site created with Dashcode and I am using the List object but I don't like the default blue background when a cell is selected. How can I customize this? For example change it to grey or white, etc. (As far as i know, everything is…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
1
vote
1 answer

Adding a document.write in the load function of a new dashcode template causes rest of JS not to get generated

I started a new custom template for safari in dashcode ("This template creates a blank web application, ready for customizing."). It auto generates a function load in main.js that is called from the body in index.html: function load() { …
1
vote
1 answer

How to create iPad native looking html help pages?

I'd like to make some in-app help for my iPad app so I'm looking for examples of other apps that do it well. If I look the help for the Apple Pages app on my iPad, it opens the following…
memmons
  • 40,222
  • 21
  • 149
  • 183
1
vote
1 answer

Simplest way to extend Dashcode components?

I'm presently working on a project in Dashcode, and am getting increasingly frustrated at how the default classes have very little in the way of bind-able events much like jQuery uses. Dashcode doesn't let me edit the files, which I'm guessing is…
Li1t
  • 622
  • 6
  • 16
1
vote
3 answers

Incorrect touch events from Android's browser with Dashcode mobile projects

I'm developing an HTML/Javascript mobile web application using Dashcode. Normally I wouldn't use such WYSIWYG stuff, but I've found it a very rapid development process. Unfortunately it seems like I can't get it to run on Android's browser…
sipefree
  • 191
  • 4
1
vote
2 answers

Dashcode Widgets Datasource

I would like to know if there is a Reference manual somewhere for Dashcode 3.0 Widgets' datasources. I need to know the following: How to refresh (requery) a datasource How to listen for datasource events (onsuccess, onerror) How to pass parameter…
Pablo Santa Cruz
  • 176,835
  • 32
  • 241
  • 292
1
vote
1 answer

How can I get Xcode to show documentation comments again after uninstalling dash

I installed 'dash' https://kapeli.com/dash , it was supposed to be better than the apple documantation but i didnt like it, now i really want to go back to the old apple documantation where i just press alt/option left mouse click and it pops up a…
Gili Ariel
  • 572
  • 1
  • 6
  • 18