File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 3
3
// AMWaveTransition
4
4
//
5
5
// Created by Andrea on 11/04/14.
6
- // Copyright (c) 2014 Fancy Pixel. All rights reserved.
6
+ // Copyright (c) 2015 Fancy Pixel. All rights reserved.
7
7
//
8
8
9
9
@import UIKit;
10
10
11
+ /* *-----------------------------------------------------------------------------
12
+ * @name AMWaveTransitioning
13
+ * -----------------------------------------------------------------------------
14
+ */
11
15
@protocol AMWaveTransitioning <NSObject >
12
16
17
+ /* * Visible cells
18
+ *
19
+ * Returns the cells that need to be animated.
20
+ *
21
+ * @return An array of UIViews
22
+ */
13
23
- (NSArray *)visibleCells ;
14
24
15
25
@end
16
26
27
+ /* * @enum AMWaveTransitionType
28
+ *
29
+ * Enum that specifies the type of animation
30
+ */
17
31
typedef NS_ENUM (NSInteger , AMWaveTransitionType) {
18
32
AMWaveTransitionTypeSubtle,
19
33
AMWaveTransitionTypeNervous,
20
34
AMWaveTransitionTypeBounce
21
35
};
22
36
37
+ /* * @enum AMWaveInteractiveTransitionType
38
+ *
39
+ * Enum that specifies the transition type
40
+ */
23
41
typedef NS_ENUM (NSInteger , AMWaveInteractiveTransitionType) {
24
42
AMWaveTransitionEdgePan,
25
43
AMWaveTransitionFullScreenPan,
Original file line number Diff line number Diff line change 3
3
// Demo
4
4
//
5
5
// Created by Andrea Mazzini on 16/04/14.
6
- // Copyright (c) 2014 Fancy Pixel. All rights reserved.
6
+ // Copyright (c) 2015 Fancy Pixel. All rights reserved.
7
7
//
8
8
9
9
#import " AMWaveTransition.h"
12
12
13
13
@interface AMWaveViewController : UIViewController <UINavigationControllerDelegate, AMWaveTransitioning>
14
14
15
+ /* *-----------------------------------------------------------------------------
16
+ * @name AMWaveViewController
17
+ * -----------------------------------------------------------------------------
18
+ */
19
+
20
+ /* * Wave transition
21
+ *
22
+ * The AMWaveTranstion used by the controller
23
+ */
15
24
@property (strong , nonatomic ) IBOutlet AMWaveTransition *interactive;
16
25
17
26
@end
You can’t perform that action at this time.
0 commit comments