finds.dev

coderwhy/DouYuZB

模仿斗鱼TV

View on GitHub

★ 442SwiftMITupdated Oct 2016

// the take

A Swift clone of the Douyu TV live streaming app, built as a learning exercise circa 2016. It replicates the home screen, category browsing, and room views using UICollectionView with a custom page title/content scroll system. This is a tutorial-style project, not production code.

The MVVM structure is applied consistently — ViewModels handle network calls via Alamofire, controllers stay thin. The custom PageTitleView/PageContentView scroll sync is a reasonable hand-rolled solution for the tab+swipe pattern that was common before UIPageViewController became less painful. Using Kingfisher for image caching was the right call for 2016 Swift. The project is well-organized by feature module (Home, Main, Room) rather than by layer.

Last commit was October 2016 — that's Swift 3 era code, which won't compile on any modern Xcode without significant migration work. The Pods directory is committed to the repo, which is a bad habit that inflates history and makes dependency updates painful. The README is literally four characters ('DouYuZB' and '模仿斗鱼TV') with zero setup instructions. There's no actual video playback — the Room controllers exist but the streaming layer is absent, so this is a UI shell, not a functioning streaming app.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
442
Forks
131
Language
Swift
License
MIT
Last commit
17 Oct 2016

// nearby

If DouYuZB isn't quite it.

All repos →