DependentComponentPickerViewController.h
上传用户:jjjjag8
上传日期:2017-04-17
资源大小:1443k
文件大小:1k
源码类别:

iPhone

开发平台:

MultiPlatform

  1. //
  2. //  DependentComponentPickerViewController.h
  3. //  Pickers
  4. //
  5. //  Created by Jeff LaMarche on 7/7/08.
  6. //  Copyright 2008 __MyCompanyName__. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #define kStateComponent 0
  10. #define kZipComponent 1
  11. @interface DependentComponentPickerViewController : UIViewController  <UIPickerViewDelegate, UIPickerViewDataSource> {
  12. IBOutlet UIPickerView *picker;
  13. NSDictionary *stateZips;
  14. NSArray *states;
  15. NSArray *zips;
  16. }
  17. @property (retain, nonatomic) UIPickerView *picker;
  18. @property (retain, nonatomic) NSDictionary *stateZips;
  19. @property (retain, nonatomic) NSArray *states;
  20. @property (retain, nonatomic) NSArray *zips;
  21. - (IBAction)butonPressed:(id)sender;
  22. @end