An open-source iOS and Apple Watch client for Baidu FM, built with Swift 1.2.
BaiduFM-Swift is an open-source iOS and Apple Watch client for Baidu FM, a Chinese music streaming service. It allows users to browse music categories, play songs, download tracks locally, manage favorites, and control playback from their lock screen or Apple Watch. The project demonstrates Swift development for iOS 8+ and early Apple Watch integration.
iOS developers learning Swift, particularly those interested in building music streaming apps or exploring Apple Watch development. It's also useful for developers studying network requests, JSON parsing, and local storage in Swift.
It provides a fully functional, open-source reference implementation of a music streaming client in Swift 1.2, including Apple Watch support and lock screen integration. Developers can study its use of third-party libraries and Swift patterns for networking, database management, and UI interactions.
Baidu FM swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements synchronized lyrics display and basic playback controls on Apple Watch, with screenshots showing category selection and song lists.
Allows downloading songs to device storage with delete functionality, using FMDB for SQLite database persistence.
Provides album artwork, song info, and playback controls on the iOS lock screen, enhancing the native music experience.
Demonstrates network requests with Alamofire, JSON parsing with SwiftyJSON, and Swift concepts like closures and property observers.
Built on Swift 1.2, iOS 8, and Xcode 6.3, which are obsolete and incompatible with modern development tools without significant migration effort.
Relies on Baidu's non-public API, making the app unstable for production use and potentially violating terms of service.
The README admits the code is rough and lists TODO features like replacing MPMoviePlayerController, indicating it's not fully polished or maintained.