Skip to content

LeBzul/VisibleText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platform Language

VisibleText

Automatically determine and apply the text color according to the background. If the background is dark, the text will be light or dark if background is light !

Installation

Import VisibleTextContainer.swift in your project (or use example project)

Usage

Add UIView and set "Custom class" in "Identity inspector" with VisibleTextContainer :

Img

Add UILabel, UITextView or UITextField in VisibleTextContainer :

Img

Change light text color or dark text color :

Img

Img

License

VisibleText is available under the MIT license. See the LICENSE file for more info. If you use it, I'll be happy to know about it.

About

Automatically determine the text color according to the background

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages