EnkiUtils
Small library of classes that Enki Labs uses internally.
 All Classes Functions Properties Pages
EnkiUnorderedController.h
1 //
2 // EnkiUnorderedController.h
3 //
4 // Created by Paul Cezanne on 4/2/13.
5 // Copyright (c) 2013 Enki Labs. All rights reserved.
6 //
7 
8 #import <UIKit/UIKit.h>
9 
10 
12 typedef enum {
13  kSlideUndefined = 0,
14  kSlideUp = 1,
15  kSlideDown = 2,
16  kSlideLeft = 3,
17  kSlideRight = 4,
18 } slideDirection;
19 
29 @interface EnkiUnorderedController : UIViewController
30 
32 @property (strong, nonatomic) UIViewController *current;
34 @property (strong, nonatomic) UIViewController *cover;
35 
37 - (void)initCurrentWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil;
38 
40 - (void) replaceViewController:(UIViewController *) target withDirection:(slideDirection) direction;
41 
43 - (void) coverViewController:(UIViewController *) target withDirection:(slideDirection) direction;
44 
46 - (void) uncoverViewControllerwithDirection:(slideDirection) direction;
47 
48 @end