Skip to content

hackin247/AKTagsInputView

 
 

Repository files navigation

AKTagsInputView

AKTagsInputView class implements a convenient input view for seek'n'selecting and writing tags data.

#####Features

  • write your own tags
  • forbidden symbols settings
  • space or coma separation
  • lookup-style accessory input view for selecting predefined tags
  • fast search by first letters

###Installing using CocoaPods Add the following to your Podfile.

pod 'AKTagsInputView', '~> 1.0'

###How to use

  • Add a UIView in Storyboard
  • set its class to AKTagsInputView
  • connect the outlet to ViewController
  • put this
- (void)setTagsInputView:(AKTagsInputView *)tagsInputView
{
    _tagsInputView = tagsInputView;
    
	_tagsInputView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
	_tagsInputView.lookupTags = @[@"ios", @"iphone", @"objective-c", @"development", @"cocoa", @"xcode", @"icloud"];
	_tagsInputView.selectedTags = [NSMutableArray arrayWithArray:@[@"some", @"predefined", @"tags"]];
	_tagsInputView.enableTagsLookup = YES;
}

###Demo (click on the gif below to watch HD youtube demo)

CLICK TO WATCH HD DEMO

About

convenient input view for tags strings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 97.6%
  • Ruby 2.4%