SwapViewController.h
上传用户:jjjjag8
上传日期:2017-04-17
资源大小:1443k
文件大小:1k
- #import <UIKit/UIKit.h>
- #define degreesToRadian(x) (M_PI * (x) / 180.0)
- @interface SwapViewController : UIViewController {
- IBOutlet UIView *landscape;
- IBOutlet UIView *portrait;
-
- // Foo
- IBOutlet UIButton *landscapeFooButton;
- IBOutlet UIButton *portraitFooButton;
-
- // Bar
- IBOutlet UIButton *landscapeBarButton;
- IBOutlet UIButton *portraitBarButton;
- }
- @property (nonatomic, retain) UIView *landscape;
- @property (nonatomic, retain) UIView *portrait;
- @property (nonatomic, retain) UIButton *landscapeFooButton;
- @property (nonatomic, retain) UIButton *portraitFooButton;
- @property (nonatomic, retain) UIButton *landscapeBarButton;
- @property (nonatomic, retain) UIButton *portraitBarButton;
- -(IBAction)buttonPressed:(id)sender;
- @end