// // SSView.h // SVInSVDemo // // Created by loufq on 12-4-27. // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> #import "SHorizontalView.h" #import "SVerticalView.h" @class SSView; @protocol SSViewDelegate <NSObject> - (void)kwm_getSSViewCurrentPage:(NSInteger)currentPage; @end @interface SSView : UIView<SHorizontalViewDelegate> @property (nonatomic) SHorizontalView* svHorizontal; @property (nonatomic) SVerticalView *svVertical; @property (weak, nonatomic) id<SSViewDelegate>delegate; @property(nonatomic,strong)NSArray* dsOri; @property(nonatomic,strong)NSIndexPath* curIndexPath; //ds:array with array +(id)createWithFrame:(CGRect)frame ds:(NSArray*)ds; -(id)initWithFrame:(CGRect)frame ds:(NSArray*)ds; @end