Browse files


  • Loading branch information...
1 parent 33fc879 commit 0951a298c03cbf3ae8ad564dde68336c827171cb @yannickl committed Apr 10, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 CCControlExtensionExamples/
8 CCControlExtensionExamples/
@@ -42,6 +42,14 @@ CCControlSlider is an already made slider (but customizable) control for Cocos2D
CCControlColourPicker is an already made colour picker for Cocos2D for iPhone.
+* CCControlSwitch:
+The CCControlSwitch is an implementation of the UISwitch for Cocos2D for iPhone.
+The CCControlSwitch class declares a property and a method to control its on/off state. As with CCControlSlider, when the user manipulates the switch control ("flips" it) an UIControlEventValueChanged event is generated.
+You can customize the appearance of the switch by changing the on/off background sprites and label.

0 comments on commit 0951a29

Please sign in to comment.