Native all the way, until you need text
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

FOR BUSINESS

Open a free Amazon Business account

Business pricing, bulk buying and tax-exempt orders.

Create a free account

As an affiliate, we earn on qualifying purchases.

A seasoned macOS/iOS developer reports that native SDKs like SwiftUI and TextKit are inadequate for complex rich text features such as Markdown and message selection. As a result, many turn to web-based solutions like Electron, which offer better performance and control. The issue highlights limitations in native development for modern chat and rich text applications.

A seasoned macOS and iOS developer has publicly detailed the persistent limitations of native Apple SDKs for building complex, rich text features such as Markdown support and message selection, leading to a shift toward web-based solutions like Electron.

The developer, with nearly twenty years of experience, describes trying to implement a simple chat application with Markdown support entirely in Swift/SwiftUI, only to encounter significant performance and functionality issues. SwiftUI, while suitable for basic screens, struggles with complex text selection and streaming, prompting a move to NSTextView and TextKit 2, which still fall short in performance and stability.

Switching to AppKit and lower-level TextKit 2 prototypes provided limited success, with performance issues and difficulties in achieving features like smooth streaming and native interactions. The developer then explored WebKit for rendering Markdown, which offered near-perfect performance, typography, and control, with seamless macOS integration. Finally, they tested Electron, which outperformed native options in rendering, performance, and feature set, despite initial skepticism about web-based frameworks.

Why It Matters

This development underscores a core challenge facing developers building modern chat and rich text applications on macOS and iOS. Native SDKs such as SwiftUI and TextKit, despite their maturity, are not meeting the demands of complex, interactive, long-form content. As a result, many developers are opting for web-based frameworks like Electron, which provide better performance, flexibility, and cross-platform compatibility. This shift could influence future platform development priorities and developer choices.

Amazon

MacBook Pro external monitor for coding

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Over the past few years, native Apple SDKs have been promoted for building high-performance, integrated applications. However, as applications grow in complexity—particularly in handling streaming text, Markdown rendering, and rich interactions—developers report increasing difficulty in achieving desired functionality with native tools. This has led to a notable trend where web technologies are increasingly favored for complex UI features, especially in chat-heavy or long-form content apps.

The developer’s experience reflects broader industry challenges: native frameworks excel in simple UI but falter in advanced text manipulation, prompting a reconsideration of platform choices for certain application types.

“I still cannot make a simple thing work properly: a chat with Markdown & the ability to select a whole message.”

— Anonymous developer

“WebKit and Electron just work. Performance, typography, control—all of it better than native solutions.”

— Same developer

Amazon

Markdown editor for macOS

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It remains unclear whether Apple will address these limitations in future SDK updates or if the industry will continue to favor web-based frameworks for complex text and chat applications. The long-term viability of native solutions for such features is still uncertain.

Amazon

Text editing software for developers

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Expect ongoing experimentation and development with web technologies like Electron and React Native for chat and rich text apps on macOS/iOS. Future SDK updates may attempt to improve native text handling, but current trends suggest a continued reliance on web-based frameworks for complex features.

Amazon

Electron app development tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Why are native SDKs failing for complex text features?

Native SDKs like SwiftUI and TextKit are optimized for simple UI but lack the robustness needed for streaming, selection, and rendering of complex, long-form, interactive text such as Markdown in real time.

What are developers using instead of native SDKs?

Many are turning to web-based frameworks like Electron, which offer better performance, flexibility, and control over complex UI features, including Markdown rendering and message selection.

Will Apple improve native SDKs for these features?

It is currently unclear whether future updates will address these limitations. The ongoing trend suggests that web technologies will remain a popular choice for complex text applications for the foreseeable future.

FLEA & TICK SEAS

Flea & tick season Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Die Preisfrage Bei Souveräner KI: Forge Oder Eigenes Hosting?

Analyse der aktuellen Kosten- und Leistungsfaktoren bei selbstgehosteter KI versus Forge-Plattform, inklusive Bedeutung für Organisationen und Zukunftsaussichten.

Tracing HTTP Requests with Go’s net/HTTP/httptrace

Learn how Go’s net/http/httptrace allows detailed tracing of HTTP request stages, enabling precise performance diagnostics without external tools.

The 8 Most Impactful AI Breakthroughs Coming In 2026

A detailed analysis of the eight key AI innovations expected in 2026, their confirmed developments, and their potential impact on technology and society.

Restartable Sequences

A new system programming technique called restartable sequences (rseq) promises significant performance gains on multi-core Linux systems, but is currently limited to manual implementation.