Skip to content

SMTagField is an implementation of UITextField that allows for easy input/display of Tags

License

Notifications You must be signed in to change notification settings

Kennouf/SMTagField

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMTagField

Version License Platform

SMTagField is an implementation of UITextField that allows for easy input/display of Tags

SMTagField Screenshot

Usage

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"];

Requirements

Installation

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

pod "SMTagField"

License

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

About

SMTagField is an implementation of UITextField that allows for easy input/display of Tags

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 51.2%
  • Shell 44.1%
  • Ruby 4.7%