No Description

FKSegmentControl.h 478B

1234567891011121314151617181920212223
  1. //
  2. // FKSegmentControl.h
  3. // FirstLink
  4. //
  5. // Created by jack on 16/5/10.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef void(^changeIndex)(NSUInteger index);
  10. @interface FKSegmentControl : UIView
  11. @property (nonatomic, strong) NSArray *titleArray;
  12. @property (nonatomic, copy) changeIndex changeIndex;
  13. @property (nonatomic, assign) NSUInteger defaultSelectIndex;
  14. - (instancetype)initWithIndexTitles:(NSArray *)titleArray;
  15. @end