0

I found some programs can put into the Dashboard , and most of them have a feature: when click the "i", the panel will turn over and show another panel , How to implement it ? and how to put a program into a Dashboard? Thank you very much!

Thilina Chamath Hewagama
  • 9,039
  • 3
  • 32
  • 45
jin
  • 2,145
  • 5
  • 27
  • 44

2 Answers2

5

Developing Dashboard Widgets

Dashboard Reference

Abizern
  • 146,289
  • 39
  • 203
  • 257
Pierre Bernard
  • 3,148
  • 2
  • 23
  • 31
  • firstly thank you, I know how to implement dashboard widget , But how to implement this: when click 'i' , the panel will turn over? – jin Dec 02 '09 at 01:18
1

In addition to Pierre's answer, see also Dashcode, part of Xcode Tools.

Joshua Nozzi
  • 60,946
  • 14
  • 140
  • 135
  • firstly thank you, I know how to implement dashboard widget , But how to implement this: when click 'i' , the panel will turn over? – jin Dec 02 '09 at 01:19
  • ok , because I want to add the feature: when click a button, the panel will turn over to show another view to my cocoa App, I don't want to implement a dashboard program , I just want to get the effect of click a 'i' or other button , just lick a safari plugin:Cosmopod(http://www.cocoamug.com/store/index.php), and How to do , Thank you very much again! – jin Dec 02 '09 at 03:18
  • So you want to flip an NSView subclass? See this: http://stackoverflow.com/questions/372018/widget-flip-behavior-in-core-animation-cocoa – Joshua Nozzi Dec 02 '09 at 14:18