//
//  CustomPicker.h
//  JasonDevelop
//
//  Created by Jason Lee on 10/27/14.
//  Copyright (c) jasondevelop. All rights reserved.
//

@import UIKit;

#import "SortDictionary.h"

@protocol CustomPickerDelegate <NSObject>

@optional
- (void)didChangedSelectRow:(NSInteger)selectedIndex;

@end

@interface CustomPicker : UIView

@property (assign, nonatomic) id <CustomPickerDelegate> delegate;
@property (strong, nonatomic) SortDictionary *dataDict;             //DataSource
@property (unsafe_unretained, nonatomic) id selectedValue;          //선택된 Object 반환
@property (unsafe_unretained, nonatomic) id selectedTitle;          //선택된 제목을 반환

- (void)presentPicker;
//- (void)dismissPicker;

@end
