-
Notifications
You must be signed in to change notification settings - Fork 0
/
DTNumpukViewController.h
38 lines (29 loc) · 1.03 KB
/
DTNumpukViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// DTNumpukViewController.h
//
// Created by Didats on 5/24/13.
// Copyright (c) 2013 Didats Triadi. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef enum _DTNumpukState {
DTNumpukStateFirstFocused = 1,
DTNumpukStateSecondFocused,
DTNumpukStateThirdFocused,
} DTNumpukState;
@protocol DTNumpukViewControllerDelegate <NSObject>
@optional;
-(void) firstViewFocused;
-(void) secondViewFocused;
-(void) thirdViewFocused;
@end
@interface DTNumpukViewController : UIViewController <UIGestureRecognizerDelegate> {
DTNumpukState currentState;
}
@property (strong, nonatomic) UIViewController *firstViewController;
@property (strong, nonatomic) UIViewController *secondViewController;
@property (strong, nonatomic) UIViewController *thirdViewController;
@property (assign, nonatomic) id<DTNumpukViewControllerDelegate> delegate;
@property DTNumpukState numpukState;
-(void) showSecondViewWithViewController:(UIViewController *) viewController;
-(void) showThirdViewWithViewController:(UIViewController *) viewController;
@end