Latest 0.1.1
Homepage https://github.com/jakubknejzlik/GNTextFieldsCollectionManager
License MIT
Platforms ios 7.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Jakub Knejzlik/GNTextFieldsCollectionManager.svg?style=flat)](https://travis-ci.org/Jakub Knejzlik/GNTextFieldsCollectionManager)
Version
License
Platform

Usage

GNTextFieldsCollectionManager handles textFields automaticaly, so the basic setup could be this:

- (void)viewDidLoad
{
    [super viewDidLoad];

    self.textFieldManager = [[GNTextFieldsCollectionManager alloc] initWithView:self.view];
}

Usualy You will need to get handle last field Return key. Delegate can be used for this:

- (void)viewDidLoad
{
    [super viewDidLoad];

    self.textFieldManager = [[GNTextFieldsCollectionManager alloc] initWithView:self.view];
    self.textFieldManager.delegate = self; // GNTextFieldsCollectionManagerDelegate protocol
}

-(void)textFieldsCollectionManager:(GNTextFieldsCollectionManager *)manager lastTextFieldShouldReturn:(UITextField *)textField;{
    // ...
}

Note

Important thing is that the manager assigns itself as delegate of all used textFields.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

GNTextFieldsCollectionManager is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "GNTextFieldsCollectionManager"

License

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

Latest podspec

{
    "name": "GNTextFieldsCollectionManager",
    "version": "0.1.1",
    "summary": "Manage which textFields flow (next button -> next textField).",
    "description": "When using many textFields in one view with "next" functionality, you usualy end up with repeating code and with checking field one by one.nThis tool helps you with this process by taking all textFields in specified view (or specified array of textFields) and handles the flow automaticaly.",
    "homepage": "https://github.com/jakubknejzlik/GNTextFieldsCollectionManager",
    "license": "MIT",
    "authors": {
        "Jakub Knejzlik": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jakubknejzlik/GNTextFieldsCollectionManager.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "GNTextFieldsCollectionManager": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This