-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathOSSlider.h
38 lines (30 loc) · 1.05 KB
/
OSSlider.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
#import <UIKit/UIKit.h>
#import "OSPane.h"
#import "OSAppPane.h"
#import "UIView+FrameExtensions.h"
#import "OSViewController.h"
#import "OSPaneModel.h"
@interface OSSlider : UIScrollView <UIScrollViewDelegate> {
CGPoint _startingOffset;
int _currentPageIndex;
OSPane *_currentPane;
UIInterfaceOrientation _currentOrientation;
int _pageIndexPlaceholder;
}
@property (nonatomic) CGPoint startingOffset;
@property (nonatomic, readwrite) UIInterfaceOrientation currentOrientation;
@property (nonatomic, readwrite) int pageIndexPlaceholder;
@property (nonatomic, readwrite) float pageOffsetBefore;
@property (nonatomic, assign) SBPanGestureRecognizer *swipeGestureRecognizer;
+ (id)sharedInstance;
- (int)currentPageIndex;
- (OSPane*)currentPane;
- (void)addPane:(OSPane*)pane;
- (void)updateDockPosition;
- (BOOL)isPortrait;
- (void)alignPanes;
- (void)scrollToPane:(OSPane*)pane animated:(BOOL)animated;
- (void)updatePaging:(float)percentage;
- (void)beginPaging;
- (void)swipeGestureEndedWithCompletionType:(long long)arg1 cumulativePercentage:(double)arg2;
@end