Skip to content

vcharap/JBWrappingLabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

JBWrappingLabel

A crude little UILabel alternative focused specifically on wrapping lines. Made because reading APIs is boring.

Intialize with a CGRect, This rect should specify the dimensions of ONE line of text. Set the baseLabel, properties from this label will determine how the text looks (font, font color, font size, line break mode, etc). Set the maxLines, this will determine the maximum number of lines to use, (each line will have height specified by the intial frame). Finally set the text and call arrangeLabel. arrangeLabel will resize the height of the view to fit up to maxLines of text. 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published