TWTextEditor
Features
- Count the number of characters based on twitter criteria
Requirements
- iOS 13.0+
Installation
Add TWTextEditor framework to your project
Add the following lines to your Package.swift
or use Xcode “Add Package Dependency…” menu.
// In your `Package.swift`
dependencies: [
.package(name: "TWTextEditor", url: "https://github.com/yousefelsayed/TWTextEditor", ...),
...
],
targets: [
.target(
name: ...,
dependencies: [
.product(name: "TWTextEditor", package: "TWTextEditor"),
...
]
),
...
]
To get the full benefits import TWTextEditor
wherever you import UIKit
import UIKit
import TWTextEditor
github "github.com/yousefelsayed/TWTextEditor"
Usage example
import TWTextEditor