Is text editor too complicated for iOS app development? Twitter launches open source API

Is text editor too complicated for iOS app development? Twitter launches open source API

Twitter today announced the launch of an "independent, flexible" open source API - Twitter Text Editor, which provides iOS developers with an in-app text editor. This is the same tweet edit box and Fleet editor used on the Twitter app for iOS. In today's announcement, Twitter said it is well aware that implementing a simple text editor in an iOS app is very complex, which is why Twitter provides the text editor API to everyone.

Twitter said the new text editor API solves common problems related to syntax highlighting and text content filtering. The company claims that Apple provides developers with a variety of text editing APIs, but they can be very limited or too complex to understand.

The high-level APIs do not provide enough functionality and control to create truly great in-app experiences. The lower-level APIs require a lot of knowledge about how text editing works in multiple languages, including support for bidirectional scripts, alternative input methods (such as those used for East Asian languages), and assistive technologies such as Braille keyboards.

The Twitter text editor encapsulates UITextView and provides a familiar delegate-based API, such as many common UIKit APIs. It extends LayoutManager and TextStorage to provide custom text properties, including properties for rendering custom emojis. The Twitter text editor has an event dispatcher to handle events, providing a consistent order of delegate callbacks for your code.

<<:  Ministry of Industry and Information Technology: Vigorously safeguard personal information security and achieve fundamental improvement in the consumption environment

>>:  Information on returning home policies in 31 provinces and cities: one-stop query on Alipay

Recommend

2015 Android Development New Technology

Development Tools Android Studio: Google official...

Apple declares war on mobile phone "bad habits" for 5G and to save itself

Apple held its 2019 spring conference again, and ...

Amap launches new feature: mobile phone becomes car navigation remote control

Are you still struggling to decide whether to use...

Brand marketing: the first step to brand success!

Schopenhauer said that one of the most special we...

The memory of a generation! Some WeChat emoticons disappeared silently

On December 2, the topic "These WeChat emoti...

What should I do if the price of Google UAC advertising suddenly increases?

When placing Google UAC ads , especially UAC1.0, ...

Is Baidu snapshot promotion useful? What is the annual package price?

Baidu snapshot promotion can also be called "...

How to analyze user activity data?

In this article, I will analyze user activity dat...

How much does it cost to join the Suihua Animation Mini Program?

How much does it cost to join the animation mini ...

What are some tips for new Tik Tok live broadcasts to avoid dull audiences?

For many new Douyin users, they naturally hope to...

2022 Veterans’ Academic Advancement Policy: What are the benefits?

Every soldier contributes his own part to the cons...

Education Industry Advertising Creative Optimization Guide

Recently, many provinces have announced the time ...