rafiki270
FTCoreText
Swift

An open source interface component that makes use of the CoreText framework to render static text content using a highly customisable markup syntax.

Last updated Jun 30, 2026
780
Stars
118
Forks
17
Issues
0
Stars/day
Attention Score
65
Language breakdown
Swift 60.1%
Kotlin 39.9%
Files click to expand
README

FTCoreText

Cross‑platform rich text rendering with lightweight markup for iOS (Swift) and Android (Kotlin). The same localized strings render identically on both platforms.

Layout

  • iOS (Swift/SPM + Tuist demo): ios/ — see the iOS guide
  • Android (Kotlin/Gradle + sample): android/ — see the Android guide
  • Shared examples (texts/images used by both demos): shared/

Install

  • iOS (Swift Package Manager)
- Xcode → File → Add Packages… → use: https://github.com/rafiki270/FTCoreText - Or in Package.swift:
// swift-tools-version: 6.0
    import PackageDescription

let package = Package( name: "YourApp", dependencies: [ .package(url: "https://github.com/rafiki270/FTCoreText.git", from: "2.1.0") ], targets: [ .target(name: "YourApp", dependencies: ["FTCoreText"]) ] )

  • Android (Gradle)
- Open android/ in Android Studio; the sample app already depends on the library module. - For your own app, either depend on the local module during development:
// settings.gradle.kts
    include(":ftcoretext")

// app/build.gradle.kts dependencies { implementation(project(":ftcoretext")) }

…or (once published) add the Maven artifact:
repositories { mavenCentral() }     dependencies { implementation("io.liveui:ftcoretext-android:2.1.0") }

Learn More

Screenshots

iOS

Android

License

© 2026 GitRepoTrend · rafiki270/FTCoreText · Updated daily from GitHub