4d8bbdc7ef
Add to Git the current app version (the same available in the OriginalZip folder)
32 lines
843 B
Objective-C
32 lines
843 B
Objective-C
//
|
|
// PickerViewController.h
|
|
// Osteopatia
|
|
//
|
|
// Created by Beretta Luca on 17/12/12.
|
|
// Copyright (c) 2012 Luca Beretta. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@protocol PickerViewDelegate <NSObject>
|
|
|
|
@optional
|
|
-(void)inviaDati:(NSDictionary *)elementi;
|
|
-(void)chiudiView;
|
|
|
|
@end
|
|
|
|
|
|
@interface PickerViewController : UIViewController <UIPickerViewDataSource, UIPickerViewDelegate>
|
|
|
|
@property (weak, nonatomic) IBOutlet UIPickerView *pickerController;
|
|
@property (nonatomic, strong) id <PickerViewDelegate> delegate;
|
|
@property (nonatomic, weak) IBOutlet UIBarButtonItem *cancellaButton;
|
|
@property (nonatomic, weak) IBOutlet UIBarButtonItem *confermabutton;
|
|
|
|
-(id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil dati:(NSArray *)dati;
|
|
|
|
- (IBAction)chiudi:(id)sender;
|
|
- (IBAction)inviaDati:(id)sender;
|
|
@end
|