//
//  CustomSegView.h
//  XFFruit
//
//  Created by 陈俊俊 on 15/11/6.
//  Copyright © 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CustomSegViewDelegate <NSObject>

- (void)customSegOneClick:(NSString *)title;
- (void)customSegTwoClick:(NSString *)title;


@end


@interface CustomSegView : UIView

@property (nonatomic,weak)id<CustomSegViewDelegate>delegate;
@property (nonatomic, copy) NSString *currentTitle;

- (instancetype)initWithFrame:(CGRect)frame withArr:(NSArray *)arr;

@end
