Control_FunViewController.h
上传用户:jjjjag8
上传日期:2017-04-17
资源大小:1443k
文件大小:1k
源码类别:

iPhone

开发平台:

MultiPlatform

  1. //
  2. //  Control_FunViewController.h
  3. //  Control Fun
  4. //
  5. //  Created by Jeff LaMarche on 7/2/08.
  6. //  Copyright __MyCompanyName__ 2008. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #define kShowSegmentIndex 0
  10. @interface Control_FunViewController : UIViewController <UIActionSheetDelegate> {
  11. IBOutlet UITextField *nameField;
  12. IBOutlet UITextField *numberField;
  13. IBOutlet UILabel *sliderLabel;
  14. IBOutlet UISwitch *leftSwitch;
  15. IBOutlet UISwitch *rightSwitch;
  16. IBOutlet  UIView *switchView;
  17. IBOutlet UIButton *doSomethingButton;
  18. }
  19. @property (retain, nonatomic) UITextField *nameField;
  20. @property (retain, nonatomic) UITextField *numberField;
  21. @property (nonatomic, retain) UILabel *sliderLabel;
  22. @property (nonatomic, retain) UISwitch *leftSwitch;
  23. @property (nonatomic, retain) UISwitch *rightSwitch;
  24. @property (nonatomic, retain) UIView *switchView;
  25. @property (nonatomic, retain) UIButton *doSomethingButton;
  26. - (IBAction)textFieldDoneEditing:(id)sender;
  27. - (IBAction)backgroundClick:(id)sender;
  28. - (IBAction)sliderChanged:(id)sender;
  29. - (IBAction)switchChanged:(id)sender;
  30. - (IBAction)toggleShowHide:(id)sender;
  31. - (IBAction)doSomething:(id)sender;
  32. @end