Skip to content

vahotm/ISVerticallyAlignedLabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

ISVerticallyAlignedLabel

ISVerticallyAlignedLabel is UILabel descendant with following features:

  • vertical alignment;
  • text insets.

Installation

Drag the ISVerticallyAlignedLabel folder into your project.

Usage

Set vertical alignment:

verticallyAlignedLabel.verticalAlignment = ISVerticalAlignmentTop;

There are three options available:

  • ISVerticalAlignmentTop
  • ISVerticalAlignmentCenter
  • ISVerticalAlignmentBottom

Set text insets:

verticallyAlignedLabel.textInsets = UIEdgeInsetsMake(10, 10, 10, 10);

Requirements

iOS 6 with ARC

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published