Latest 0.0.2
Homepage https://github.com/andproff/UIAPPicker
License MIT
Platforms ios 6.0, requires ARC
Frameworks Foundation
Authors

The UIAPPicker is simple way to show custom UIPicker in selected view without using UIActionSheet.

Installation with CocoaPods

This project support installations with CocoaPods

Podfile

platform :ios, '6.1'
pod "UIAPPicker"

Picker initialization

@property (strong, nonatomic) UIAPPicker *apPicker;

- (UIAPPicker *)apPicker
{
    if (!_apPicker) {
        _apPicker = [UIAPPicker pickerForView:self.view delegate:self];
    }
    return _apPicker;
}

Show Picker

[self.apPicker show:@[@"Moscow", @"New York",  @"Paris", @"Berlin", @"Ankara"] withSelectedRow:0];

UIAPPickerDelegate

@protocol UIAPPickerDelegate
- (void)pickerDidCancel:(UIAPPicker *)anPicker;
- (void)picker:(UIAPPicker *)anPicker didSelectItem:(id)anItem;
@end

License

UIAPPicker is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UIAPPicker",
    "version": "0.0.2",
    "summary": "show animated UIPicker for selected view",
    "homepage": "https://github.com/andproff/UIAPPicker",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "andrei_aka_proff": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/andproff/UIAPPicker.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "public_header_files": "Classes/**/*.h",
    "frameworks": "Foundation",
    "requires_arc": true
}

Pin It on Pinterest

Share This