How I made a perfect recording button. Simple yet complex thing.
The article discusses the complexities involved in creating a perfect recording button for the XSpeak app. It emphasizes the importance of functionality and responsiveness in user experience, particularly for a tool used frequently throughout the day. The author explains the technical challenges behind the button's operation and compares it to similar features in other apps.
- ▪The recording button must be functional and responsive to provide immediate feedback to the user.
- ▪Delays or unresponsiveness can lead to user frustration and cognitive overload.
- ▪The article outlines the asynchronous operations that occur when the recording button is pressed, highlighting the technical challenges involved.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3810514) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Dmitry Tseyler Posted on May 21 • Originally published at tseiler.tech How I made a perfect recording button. Simple yet complex thing. #ux #swift #programming #architecture Intro From the start of XSpeak, I wanted it to provide the best possible feel for the user: simple, fast, and responsive. Since it's a recording app, one of its main components is the button the user presses to record a conversation. Actually, it's a control we're used to in many apps.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).