GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - reers/REText: A Swift implementation of YYText and MPITextKit

BranchesTags
Open more actions menu

Latest commit

 

History

74 Commits
74 Commits

Folders and files

NameName
Last commit message
Last commit date
.swiftpm/xcode/package.xcworkspace
.swiftpm/xcode/package.xcworkspace
 
 
REText.xcworkspace
REText.xcworkspace
 
 
RETextExample
RETextExample
 
 
Sources/REText
Sources/REText
 
 
Tests/RETextTests
Tests/RETextTests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 
README_CN.md
README_CN.md
 
 
REText.podspec
REText.podspec
 
 

Repository files navigation

简体中文

REText

A modern Swift implementation of MPITextKit with enhanced text rendering and editing capabilities for iOS platforms.

Overview

REText is a high-performance text framework built from the ground up in Swift, implemented based on MPITextKit. It provides advanced text layout, rendering, and interactive editing features with plans to incorporate additional capabilities from YYText and other leading text frameworks.

Requirements

  • iOS 13.0+
  • Xcode 16.0+

Installation

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/reers/REText.git", from: "0.1.2")
]

CocoaPods

pod 'REText', '~> 0.1.2'

Quick Start

import REText

let label = RELabel()
label.numberOfLines = 0
label.textVerticalAlignment = .top
label.font = UIFont.preferredFont(forTextStyle: .body)
label.text = text
label.textContainerInset = UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
label.isSelectable = true

Roadmap

Phase 1: MPITextKit totally Implementation ✅

Phase 2: YYText Feature Integration 🚧

Phase 3: YYText Bug Fixes 📋

License

REText is available under the MIT license. See the LICENSE file for more info.

Credits

  • Inspired by MPITextKit
  • Planning to integrate features from YYText

Note: REText is actively developed and APIs may change during early releases. Please check the changelog before updating versions.

About

A Swift implementation of YYText and MPITextKit

Topics

attributedstringmpitextkitretextswiftyylabelyytext

Resources

Readme
MIT license
Activity
Custom properties

Stars

13 stars

Watchers

4 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.