// // PBPersonListView.h // IphoneBIMe // // Created by zjf on 2020/12/4. // Copyright © 2020 ProBIM. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN typedef void(^selectedHandler)(NSUInteger index,NSString *title); @interface PBPersonListView : UIView - (instancetype)initWithFrame:(CGRect)frame titles:(NSArray *)titles selectedHandler:(selectedHandler)handler; - (void)insertLabelWithTitle:(NSString *)title atIndex:(NSUInteger)index animated:(BOOL)animated; - (void)insertLabelsWithTitles:(NSArray *)titles atIndexes:(NSIndexSet *)indexes animated:(BOOL)animated; - (void)deleteLabelAtIndex:(NSUInteger)index animated:(BOOL)animated; - (void)deleteLabelsAtIndexes:(NSIndexSet *)indexes animated:(BOOL)animated; - (void)reloadAllWithTitles:(NSArray *)titles; @end NS_ASSUME_NONNULL_END