/plushcap/analysis/mux/mux-building-tiktok-smooth-scrolling-on-ios

Building TikTok: Smooth scrolling on iOS

What's this blog post about?

The text discusses how to create a TikTok-like video feed on iOS using Mux Video backend, Parse server deployed on Heroku, and AsyncDisplayKit and AVPlayer on the client. It covers backend setup with Mux Video, uploading videos, capturing video, merging audio and video with AVMutableComposition, and displaying video with AsyncDisplayKit. The main challenge is achieving a smoothly scrolling infinite feed on iOS using just UIKit and AVFoundation, which can result in noticeable lag, dropped frames, and a frozen UI. Using AsyncDisplayKit helps offload expensive operations from the main thread, improving performance.

Company
Mux

Date published
June 16, 2020

Author(s)
Nidhi Kulkarni

Word count
2205

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.