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 !
Import VisibleTextContainer.swift in your project (or use example project)
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.