Twitter today announced a new “standalone and flexible” open source API for iOS developers that provides a text editor for apps, which is the same one used as the basis for tweets and Fleet Composer on the Twitter for iOS app.
The announcement was made today via the official Twitter blog. The company says it knows how complicated it can be to implement a simple text editor in iOS apps during the development process, so that’s why Twitter is now making its own text editor API available to everyone.
According to Twitter, the new API Text Editor addresses common problems related to syntax highlighting and text content filtering. The company says Apple offers multiple text editing APIs for developers, but they can be very limited or too complicated to understand, which is something Twitter’s new API aims to address.
Top-tier APIs don’t always offer enough power or control to create a truly great in-app experience. Meanwhile, the lower-level APIs require a lot of knowledge about how text editing works in a variety of languages, including support for bidirectional scripts, alternative input methods (such as those used for East Asian languages), and assistive technology. like braille keyboards.
Developers will find solid text attribute update logic, additional text change events, secure event handling for text entry, and support for recent iOS versions with Twitter’s Text Editor API. It is implemented as a Swift package that can easily be added to an Xcode project, as well as working with CocoaPods.
Twitter Text Editor encapsulates UITextView and provides familiar delegate-based APIs like many common UIKit APIs. Extends LayoutManager and TextStorage to provide custom text attributes, including attributes for presenting custom emojis. Twitter Text Editor has event planners to process events, providing a code-consistent delegate callback order.
Today we are happy to share Twitter Text Editor, a standalone and flexible API that provides a rich, full text editor for iOS applications. IOS developers can add robust text editing to their applications! #TwitterTextEditorhttps://t.co/OaABWmCrOz
– Twitter Open Source (@TwitterOSS) January 25, 2021
The new open source Twitter Text Editor API can be found for free at GitHub. It works with iOS 11 or later and requires Xcode 11 or later for development.
FTC: We use automatic affiliate links to earn income. More.
- According to this source Twitter announces new API for open source text editor for iOS developers
- Check the more updates related to Apple Tips and Apple news now.
I hope you love this news please Share your love by following us on Facebook and Twitter for the latest apple news information and updates like Twitter announces new API for open source text editor for iOS developers
from our channels.