SMTagField is an implementation of UITextField that allows for easy input/display of Tags
To run the example project, clone the repo, and run pod install from the Example directory first.
Just initialize SMTagField, set the delegate (Optional), add to your parent view, and you're good to go! Check out the "SMTagFieldExample" Xcode project which shows a basic working example.
tagField = [[SMTagField alloc] initWithFrame: CGRectMake(20, 20, 280, 0)]; // Height is always 30, you shouldn't modify it.
tagField.tagDelegate = self;
[self.view addSubview: tagField];
// Set some tags to begin with, if you have any
tagField.tags = @[@"Tag1", @"Tag2", @"Tag3"];SMTagField is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SMTagField"SMTagField is available under the MIT license. See the LICENSE file for more info.
