ifish/Ifish/views/IfishPopView/LXPopView.h

37 lines
844 B
Objective-C

//
// LXPopView.h
// ifishPop
//
// Created by imac on 16/7/29.
// Copyright © 2016年 xiang. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol LxPopViewDelegate <NSObject>
@required
-(void)disSelectedPopViewIndex:(NSIndexPath *)Index;
-(UITableViewCell *)tableView:(UITableView *)tableView cellForPopViewIndexPath:(NSIndexPath *)indexPath;
@end
@interface LXPopView : UIView <UITableViewDelegate,UITableViewDataSource>
{
UITableView *tableview;
}
@property(nonatomic,strong) id<LxPopViewDelegate> delegate;
@property(nonatomic,strong) UITableView *tableView;
@property(nonatomic,strong) NSArray *titles;
@property(nonatomic,strong) NSArray *titleImgs;
@property(nonatomic,strong) UIImage *backgroundImage;
@property (nonatomic, strong) UIImageView *backImageView;
-(void)changeStyle:(NSString*)style;
@end