Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

liketom

macrumors 601
Original poster
Apr 8, 2004
4,191
68
Lincoln,UK
Was thinking about playing around with some widgets - so downloaded the 700+mb xcode 2.1 from apple and have started my way through the online help

anybody got any tips on easy widget making ?

i like to reverse engineer the process to what i have done is striped out a widget from apple renamed it to zip so i can see the html files inside plus PNG's just so i can get a look at how things work .

i have played around with the google search html code and got it to show but was unable to get it to open up Safari with the results, i would have to admit my html skills are not good

Advice needed ;)
 

Josh

macrumors 68000
Mar 4, 2004
1,640
1
State College, PA
:eek: + :confused:

You don't need XCode to create a dashboard widget.

A widget is pretty much just a little web page.

All you need is HTML+Javascript+CSS (javascript isn't necessary unless your widget is dynamic).

Any good text editor will be good enough (google Subetha Edit - it's a good editor).

I suggest reading through Apple's Dashboard Development Guide:
http://developer.apple.com/macosx/dashboard.html

You also don't need to rename it to ".zip" - you can control-click it and 'browse package contents' to see the individual files.

Open the .html file within the package, and that will open up the widget in your web browser, and you can just refresh that each time you make a change to see how it's working.

You'd need to be compfortable with HTML and CSS before creating a widget though - but with some fun practice, it should come pretty quickly.
 

liketom

macrumors 601
Original poster
Apr 8, 2004
4,191
68
Lincoln,UK
Josh said:
:eek: + :confused:

You don't need XCode to create a dashboard widget.

A widget is pretty much just a little web page.

All you need is HTML+Javascript+CSS (javascript isn't necessary unless your widget is dynamic).

Any good text editor will be good enough.

I suggest reading through Apple's Dashboard Development Guide:
http://developer.apple.com/macosx/dashboard.html

yep still reading thro it , i sort of figured that i don't need xcode 2.1 o well
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.