DropDownChooseProtocol.h 577 B

123456789101112131415161718192021222324252627
  1. //
  2. // DropDownChooseProtocol.h
  3. // DropDownDemo
  4. //
  5. // Created by 童明城 on 14-5-28.
  6. // Copyright (c) 2016年 童明城. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @protocol DropDownChooseDelegate <NSObject>
  10. @optional
  11. -(void) chooseAtSection:(NSInteger)section index:(NSInteger)index;
  12. @end
  13. @protocol DropDownChooseDataSource <NSObject>
  14. -(NSInteger)numberOfSections;
  15. -(NSInteger)numberOfRowsInSection:(NSInteger)section;
  16. -(NSString *)titleInSection:(NSInteger)section index:(NSInteger) index;
  17. -(NSInteger)defaultShowSection:(NSInteger)section;
  18. @end