Latest 0.0.1
Homepage https://github.com/marianoabdala/ZRYWordPicker
License MIT
Platforms ios 7.0, requires ARC
Authors

ZRYWordPicker is a really simple horizontal word picker specially crafted for the top of the keyboard of any iOS 7 app. If your app has predefined words that your user can pick, instead of type, then this will likely save him some seconds for each word.

As seen in

Sample screenshots

ZRYWordPicker ZRYWordPicker

Usage sample

-  (void)initializeWordPicker {

    ZRYWordPicker *wordPicker =
    [[ZRYWordPicker alloc] initWithFrame:CGRectMake(0, 0, 320, 44)];

    wordPicker.dataSource = self;
    wordPicker.delegate = self;

    self.textField.inputAccessoryView = wordPicker;
}

- (NSUInteger)numberOfWordsInWordPicker:(ZRYWordPicker *)wordPicker {

    return self.words.count;
}

- (NSString *)wordPicker:(ZRYWordPicker *)wordPicker wordAtIndex:(NSUInteger)index {

    return self.words[index];
}

- (void)wordPicker:(ZRYWordPicker *)wordPicker didSelectWordAtIndex:(NSUInteger)index {

    ...
}

Latest podspec

{
    "name": "ZRYWordPicker",
    "version": "0.0.1",
    "summary": "Horizontal word picker, ideal as keyboard input accessory view.",
    "homepage": "https://github.com/marianoabdala/ZRYWordPicker",
    "license": {
        "type": "MIT",
        "file": "README.md"
    },
    "authors": {
        "Mariano Abdala": "[email protected]"
    },
    "source": {
        "git": "https://github.com/marianoabdala/ZRYWordPicker.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "ZRYWordPicker/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This