-
Notifications
You must be signed in to change notification settings - Fork 30
/
M6ParallaxController.h
29 lines (19 loc) · 1002 Bytes
/
M6ParallaxController.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
//
// M6ParallaxTableViewController.h
// M6ParallaxTableViewController
//
// Created by Peter Paulis on 1.4.2013.
// Copyright (c) 2013 Min60 s.r.o. - http://min60.com. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UIViewController+M6ParallaxController.h"
@class M6ParallaxController;
@interface M6ParallaxController : UIViewController
@property (nonatomic, assign, readonly) CGFloat topViewControllerStandartHeight;
@property (nonatomic, strong, readonly) UIViewController * topViewController;
@property (nonatomic, strong, readonly) UITableViewController * tableViewController;
- (void)setupWithTopViewController:(UIViewController *)topViewController height:(CGFloat)height tableViewController:(UITableViewController *)tableViewController;
- (void)tableViewControllerDidScroll:(UITableViewController *)tableViewController;
// overwrite to provide custom functionality
- (void)willChangeHeightOfTopViewControllerFromHeight:(CGFloat)oldHeight toHeight:(CGFloat)newHeight;
@end