TextImageComposite is a tool to create a single, sharable image composite of text on top of an image.
Inspired by YouVersion's iOS implementation.
Users can edit:
- Font
- Font Size
- Text Color
- Line Height
- Letter Spacing
- Top / Left / Right Margins
- Alignment
- Color
- Brightness
- Opacity
- Blur
- Swift 3.2
- iOS 8.0+
iOS 10.0+
- NSPhotoLibraryAddUsageDescription
use_frameworks!
platform :ios, '8.0'
target “<TARGET>” do
pod 'TextImageComposite’
end
Images are added to the configuration through TICImage. You will need to specify a high-res image and a thumbnail image. All images in the example are sourced from pexels.com
By default Helvetica is the only option. You can add more by passing by creating an array of TICFont
You can pass in a set of strings in the struct TICLocalization
You can pass in an instance of TICTheme to specify colors
TICConfig.instance.text = "In the beginning, God created the heavens and the earth."
TICConfig.instance.reference = "Genesis 1:1"
let storyboard = UIStoryboard(name: "TIC", bundle: TICConfig.instance.bundle)
let nvc = storyboard.instantiateViewController(withIdentifier: "TICNavController") as! UINavigationController
present(nvc, animated: true, completion: nil)
All in app icons were created using fa2png and can be found in TextImageComposite/Resources/Images/icons