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

iPhone

开发平台:

MultiPlatform

  1. #import <UIKit/UIKit.h>
  2. #define degreesToRadian(x) (M_PI * (x) / 180.0)
  3. @interface SwapViewController : UIViewController {
  4. IBOutlet UIView *landscape;
  5. IBOutlet UIView *portrait;
  6. // Foo
  7. IBOutlet UIButton *landscapeFooButton;
  8. IBOutlet UIButton *portraitFooButton;
  9. // Bar
  10. IBOutlet UIButton *landscapeBarButton;
  11. IBOutlet UIButton *portraitBarButton;
  12. }
  13. @property (nonatomic, retain) UIView *landscape;
  14. @property (nonatomic, retain) UIView *portrait;
  15. @property (nonatomic, retain) UIButton *landscapeFooButton;
  16. @property (nonatomic, retain) UIButton *portraitFooButton;
  17. @property (nonatomic, retain) UIButton *landscapeBarButton;
  18. @property (nonatomic, retain) UIButton *portraitBarButton;
  19. -(IBAction)buttonPressed:(id)sender;
  20. @end