//
//  HJObservableScrollViewController.h
//  2clip
//
//  Created by mac on 15/12/27.
//  Copyright 漏 2015骞?huijimuhe. All rights reserved.
//

#import <UIKit/UIKit.h> 

@protocol HJMHObservableScrollVCDelegate <NSObject>
@optional
- (void)ScrollOffset:(CGPoint)offset;
@end

@interface HJMHObservableScrollVC : UIViewController <UIScrollViewDelegate>

@property (nonatomic, strong) UIScrollView* scrollView;
@property (nonatomic, weak) id<HJMHObservableScrollVCDelegate> delegate;

- (instancetype)initWithControllers:(NSArray*)controllers;
- (NSInteger)currentPage;
- (void)setScrollViewPage:(NSInteger)page;

@end
// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com