-
Notifications
You must be signed in to change notification settings - Fork 34
/
PLExpandableView.h
103 lines (98 loc) · 3.95 KB
/
PLExpandableView.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "UIView.h"
@interface PLExpandableView : UIView
{
id <PLExpandableViewDelegate> _delegate;
id _collapsingCompletionHandler;
id _expansionCompletionHandler;
struct CGRect _contractedFrame;
struct CGRect _expandedFrame;
struct CGPoint _leftTouchLocation;
struct CGPoint _rightTouchLocation;
struct CGPoint _previousLeftLocation;
struct CGPoint _previousRightLocation;
unsigned int _leftTouchIndex;
unsigned int _rightTouchIndex;
float _pinchVelocity;
double _trackingTimeInterval;
float _expansionFraction;
struct {
unsigned int state:3;
unsigned int prevState:3;
unsigned int tracking:1;
unsigned int autorotationDisabled:1;
unsigned int animationDisabled:1;
unsigned int updateContractedFrame:1;
unsigned int updateExpandedFrame:1;
unsigned int allowsExpansion:1;
unsigned int delegateWillBeginExpanding:1;
unsigned int delegateWillCompleteExpanding:1;
unsigned int delegateDidCompleteExpanding:1;
unsigned int delegateWillCancelExpanding:1;
unsigned int delegateDidCancelExpanding:1;
unsigned int delegateDidBeginCollapsing:1;
unsigned int delegateWillCompleteCollapsing:1;
unsigned int delegateDidCompleteCollapsing:1;
unsigned int delegateWillCancelCollapsing:1;
unsigned int delegateDidCancelCollapsing:1;
unsigned int delegateExpandedFractionChanged:1;
} _expandFlags;
}
- (BOOL)canCollapse;
- (BOOL)_canPinch;
- (BOOL)isTracking;
- (float)expansionFraction;
- (void)setExpansionFraction:(float)arg1;
- (int)previousState;
- (int)state;
@property(nonatomic) BOOL allowsExpansion;
@property(nonatomic) struct CGRect expandedFrame;
@property(nonatomic) struct CGRect contractedFrame;
- (id)delegate;
- (void)setDelegate:(id)arg1;
- (void)expandWithAnimation:(BOOL)arg1 completion:(id)arg2;
- (void)collapseWithAnimation:(BOOL)arg1 completion:(id)arg2;
- (float)completeTrackingPinch:(id)arg1 toState:(int)arg2 duration:(double)arg3;
- (float)continueTrackingPinch:(id)arg1;
- (void)beginTrackingPinch:(id)arg1;
- (struct CGRect)pinchRect:(struct CGRect)arg1 inView:(id)arg2 insetTouches:(BOOL)arg3;
- (void)updatePinchState:(id)arg1;
- (int)snapState:(BOOL)arg1;
- (void)finishTransitionToState:(int)arg1;
- (void)finishTransition;
- (void)canceledPinch:(id)arg1;
- (void)finishedPinch:(id)arg1;
- (void)continuedPinch:(id)arg1;
- (void)startedPinch:(id)arg1;
- (void)notifyExpansionFraction:(float)arg1 force:(BOOL)arg2;
- (void)didMoveToWindow;
- (void)willMoveToWindow:(id)arg1;
- (void)stateDidChangeFrom:(int)arg1;
- (void)stateWillChangeTo:(int)arg1;
- (void)setState:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromCompleteContract:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromCancelContract:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromContracting:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromExpanded:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromCancelExpand:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromCompleteExpand:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromExpanding:(int)arg1 withDuration:(double)arg2;
- (void)_transitionFromContracted:(int)arg1 withDuration:(double)arg2;
- (void)_notifyDidCancelCollapsing;
- (void)_notifyDidCancelExpanding;
- (void)_notifyWillBeginCollapsing;
- (void)_notifyDidCompleteExpanding;
- (void)_notifyWillCancelExpandingWithDuration:(double)arg1;
- (void)_notifyWillCompleteExpandingWithDuration:(double)arg1;
- (void)_notifyWillCompleteCollapsingWithDuration:(double)arg1;
- (void)_notifyWillCancelCollapsingWithDuration:(double)arg1;
- (void)_notifyWillBeginExpanding;
- (void)_notifyDidCompleteCollapsing;
- (void)_setAutorotationDisabled:(BOOL)arg1;
- (void)dealloc;
- (id)initWithFrame:(struct CGRect)arg1;
@end