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

Dashcode - How do I get the name of a button from an event?

In Dashcode you can set up a handler for a behavior in the inspector. Here's a sample handler for a button click on a button I've named "mybutton1" in the Inspector: function myGetButtonName(event) { var e = event.target; alert(e.id); } The…
tonyopp
  • 171
  • 6
3
votes
2 answers

how to prompt a numpad in an iphone web app?

I'm developing a web app for iphone using dashcode. I'm stuck where user needs to enter zip code or phone number and the app doesn't show the numpads but the regular keyboard. any help would be appreciated. thanks
RoundOutTooSoon
  • 9,821
  • 8
  • 35
  • 52
3
votes
2 answers

Can I use Dashcode to develop an application that can be sold in the app store?

Can I use Dashcode to develop an application that can be sold in the app store?
detroitpro
  • 3,853
  • 4
  • 35
  • 64
2
votes
0 answers

How to set an SQLite database as datasource in Dashcode?

is it possible to set an SQLite Database as datasource in Dashcode? And how? I'm referring to the "Mobile Safari Web Application Tutorial"…
R0byn
  • 363
  • 5
  • 15
2
votes
1 answer

Dashcode - how to register and use my own filterPredicate procedurally

In my Dashcode mobile app I have a listView that is bound to a datasource. By default it shows everything in the datasource. If I add a search field the user may limit the list to just the records that match their search text. I want to create my…
tonyopp
  • 171
  • 6
2
votes
1 answer

Rendering html text in Dashcode text area

I'm loading product reviews from an xml datasource into a dashcode text area. The text includes basic html tags. When it's loaded into the text area the tags are not rendered they are just there like this:

Some text... etc. Is there a way to…

tonyopp
  • 171
  • 6
2
votes
3 answers

Set selection in Dashcode List Controller

I have a list controller in my Dashcode project, it pulls its data from a dynamic source. After my list controller has loaded its data I'd like to set it's selected index to 0 - so that information for the first item in the list is shown. I can't…
wpearse
  • 2,422
  • 2
  • 29
  • 30
2
votes
1 answer

Dashcode and firefox compatibility

I started to use Dashcode with a Safari Custom Project, my apps work fine, but StackLayout Object does not work in Firefox. I know Dashcode use many wekbit-specific things but is there any way I can get StackLayout object o work in Firefox? I would…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
2
votes
2 answers

Dashcode development for iPhone resources

I've been developing web applications and iPhone applications for years. Now I want to create a web application oriented to the iPhone browser. I willing to use Dashcode, since it seams to have tons of cool features that make my web app look like an…
gonso
  • 2,065
  • 5
  • 27
  • 35
2
votes
0 answers

Change Dynamically Data Source's xml source on Dashcode

Classic StackLayout-List(s) scenario. StackLayout have: Home - Detail - Leaf On "Home" I have a Datasource like this: Element 1../Element1.xml Element…
CM.
  • 21
  • 3
2
votes
1 answer

Embedding an offline Dashcode application in a UIWebView in an iPhone application

In order words, can anyone tell me the basics of how to create a "hybrid" iPhone application? I want to load the web content (the Dashcode app itself) from the native application's application bundle. I've gotten this to partially work, but some…
Nimrod
  • 5,168
  • 1
  • 25
  • 39
2
votes
2 answers

Photo-frame-like widgets are not working on Lion/Mountain?

I tried to write own widget for Mac OS Dashboard - kind of photo-frame displaying dropped image, but a bit more beautiful then others I found or used some time ago. To have some resource/example I downloaded first... second... third widget in this…
Konrad Kolasa
  • 621
  • 1
  • 8
  • 22
2
votes
1 answer

dashcode: how to add/remove items in list? List does not refresh visually

I'm working on some widget. It doesn't use any web service for data source. I parse some data using jQuery from a normal web page, and want to display this data as a dashcode list. I followed the listDataSource sample code in Dashcode. var…
2
votes
2 answers

Slider in dashcode web app?

I am trying to make a web app in Dashcode that uses a range slider. I see that the code library has code for "get range slider value" and "set range slider value," but there is no range slider part. So how do I make a range slider? I'm very new…
Evelyn
  • 2,588
  • 3
  • 22
  • 47
2
votes
3 answers

Dashcode newbie: Change a button's label programmatically

I'm new to Mac OS X Dashboard developement. Now, I have a button with id b_start. When that button is clicked, I want the label of the button to change to "Round". Now I have tried these, but none of them…
user142019
1
2
3
11 12