views:

112

answers:

2

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!

+5  A: 

Developing Dashboard Widgets

Dashboard Reference

Pierre Bernard
firstly thank you, I know how to implement dashboard widget , But how to implement this: when click 'i' , the panel will turn over?
jin
+1  A: 

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

Joshua Nozzi
firstly thank you, I know how to implement dashboard widget , But how to implement this: when click 'i' , the panel will turn over?
jin
See the first answer - you need to read the documentation.
Joshua Nozzi
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
So you want to flip an NSView subclass? See this: http://stackoverflow.com/questions/372018/widget-flip-behavior-in-core-animation-cocoa
Joshua Nozzi