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
0
votes
1 answer

Android Webview can show google.com but not localhost whereas iPhone UIWebView can show localhost

I have created a hello world app in both android and iPhone. Both can show http://google.com. But when I try http://localhost:5555/example.html , iPhone app works but Android webview complains with webpage not available. Is it because I'm using…
user310291
  • 36,946
  • 82
  • 271
  • 487
0
votes
1 answer

Where Dashcode wire the button click handler?

I have created a button click handler on a Button with Dashcode but I can't see anywhere the handler in index.html whereas I can see handlers of slider in that same html. Where Dashcode wire the button click handler ?
user310291
  • 36,946
  • 82
  • 271
  • 487
0
votes
1 answer

How can I add my library to be loaded Dashcode parts

Dashcode loads a bunch of library listed in an array within part.js (function() { var scripts = dashcodePartSupport['core']; scripts = scripts.concat(dashcodePartSupport['scripts']); for(var index in scripts) { var path =…
user310291
  • 36,946
  • 82
  • 271
  • 487
0
votes
1 answer

How to prevent Dashcode from renaming label-strings after save operation [iBook Author related]?

For use in iBooks Author, I created a widget with Dashcode. The widget some labels: If I save the widget within Dashcode, the windows flickers a bit (updates) - and all labels suddenly appear with the same text: Please note, that the widget…
SteAp
  • 11,853
  • 10
  • 53
  • 88
0
votes
1 answer

How to add Dashcode output in PhoneGap?

How can I add Dashcode project HTML content to a PhoneGap project? A straight copy the of the Dashcode project's html file contents to the www folder results in a blank white screen displayed in the iOS simulator. Do I need to modify the…
Ed of the Mountain
  • 5,219
  • 4
  • 46
  • 54
0
votes
4 answers

Open URL from button Dashcode

I am sure that this is extremely easy and probably a one liner but I can't seem to find the answer anywhere. I am creating a very simple web app in Dashcode (my first time) that has a button, when you press it, it needs to link to a url. Cannot…
random
  • 8,568
  • 12
  • 50
  • 85
0
votes
1 answer

How to add search filter in DashCode

I have a list loaded from datasource in Dashcode and I added a search field. Also I've found filterPredicate option in the list. How to bind all things together to make the search filter the list? Cheers!
Vladimir
  • 4,782
  • 7
  • 35
  • 56
0
votes
1 answer

Create iCal using Dashcode

I am new to Mac programming. Currently, I need to create a calender like iCal in Mac with monthly, weekly, and daily event creation. Is it possible to create it using Dashcode? Since I am creating a web based application, the calender should be run…
0
votes
1 answer

How to get/set text values in widgets?

I'm fairly new to working with OS X widgets and wanted to create a simple widget for myself which should simply get the stringValue of a textbox, add it to a fixed string and open this in a browser. I already figured out the last part can be done…
MechMK1
  • 3,278
  • 7
  • 37
  • 55
0
votes
0 answers

Access command-line functions like Dashboard's "widget.system" call in a WebView?

I have successfully been able to use the lightly-document widget.system to run a "command-line" processes from a Dashboard widget... if(window.widget) { if(currentlyBeingSpoken != null) { currentlyBeingSpoken.cancel(); } …
Alex Gray
  • 16,007
  • 9
  • 96
  • 118
0
votes
2 answers

How do I call a specific element from a dynamic form input?

I have a form input that I am using for a list in dashcode. I'm trying to specify a specific item from my list so I can use the code below, but I don't know how. function fadeout(event) { // Values you provide var itemToFadeOut =…
0
votes
3 answers

Why can't I add a web clip icon to my webapp in dashcode. I've tried everything?

I've tried running this code from 2 different operating systems on a simulator, an iphone and an ipad and it won't show up. The code is listed in the dashcode tutorial, but I can't get it to work. Please help!
davis
  • 1,911
  • 6
  • 26
  • 50
0
votes
1 answer

Changing text on back button in dashcode. Where do I put this code?

This is probably a very simple question, but I'm working with dashcode and can't figure out where to put this code to change the text of the back button. self.navigationItem.backBarButtonItem = [[[UIBarButtonItem alloc] initWithTitle:@"Back" …
Davis Gossage
  • 39
  • 1
  • 4
0
votes
1 answer

How to draw rectangular box programmatically in javascript

I am trying to draw the rectangular box on stacklayout's view programmatically (on runtime) using javascript so if any one has a solution for that please do tell me. Thnx in advance Parag
user825897
  • 11
  • 2
0
votes
1 answer

How do I implement Any Origin to circumvent the same origin policy using dashcode?

I'm trying to use the JQuery code in dashcode, but I have no idea what to put as the datasource, or if I can even use datasource with JQuery. Can anyone help or point to helpful documentation? Thanks for your help, I'm completely new to dashcode…