Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.
/ SAMTextField Public archive

Handy UITextField additions like insetting text.

License

Notifications You must be signed in to change notification settings

soffes/SAMTextField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SAMTextField

Handy UITextField additions like insetting text and other elements.

SAMTextField is tested on iOS 6-8 and requires ARC. Released under the MIT license.

Usage

// Initialize a text field
SAMTextField *textField = [[SAMTextField alloc] initWithFrame:CGRectMake(20.0f, 20.0f, 280.0f, 44.0f)];

// Inset some text
textField.textEdgeInsets = UIEdgeInsetsMake(10.0f, 10.0f, 10.0f, 10.0f);

See the header for full documentation.

Installation

Simply add the files in the SAMTextField.h and SAMTextField.m to your project or add SAMTextField to your Podfile if you're using CocoaPods.

About

Handy UITextField additions like insetting text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published