LGViews 1.0.1

LGViews 1.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Nov 2015

Maintained by Grigory Lutkov.



LGViews 1.0.1

  • By
  • Grigory Lutkov

Classes extends abilities of UILabel, UIButton, UITextField and UITextView.

  • LGLabel adds ability to set contentEdgeInsets.
  • LGButton adds ability to set background color for every control state, to easy choose image position (top, right, bottom, left) and to support for masked (not rectangle) forms.
  • LGTextField adds ability to set edgeInsets for text and images, to set max length of text and to get caret position or caret rect.
  • LGTextView adds ability to dynamic change height of view while typing text, to set max height, number of lines, placeholder and to get caret position or caret rect.

Preview

Installation

With source code

Download repository, then add LGViews directory to your project.

Podfile

platform :ios, '6.0'
pod 'LGViews', '~> 1.0'

Cartfile

github "Friend-LGA/LGViews" ~> 1.0

Usage

In the source files where you need to use the library, import the header file:

#import "LGViews.h"

Or you can use sublibraries separately, depend of your needs:

#import "LGLabel.h"
#import "LGButton.h"
#import "LGTextField.h"
#import "LGTextView.h"

More

For more details try Xcode Demo project and see files:

License

LGViews is released under the MIT license. See LICENSE for details.