{"id":13692955,"url":"https://github.com/belm/BaiduFM-Swift","last_synced_at":"2025-05-02T20:30:27.314Z","repository":{"id":65968085,"uuid":"34050491","full_name":"belm/BaiduFM-Swift","owner":"belm","description":"百度FM  swift语言实现","archived":false,"fork":false,"pushed_at":"2021-02-03T08:56:45.000Z","size":4706,"stargazers_count":578,"open_issues_count":12,"forks_count":161,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-12T18:42:32.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/belm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-16T10:53:52.000Z","updated_at":"2024-02-20T08:39:16.000Z","dependencies_parsed_at":"2023-02-19T08:15:49.836Z","dependency_job_id":null,"html_url":"https://github.com/belm/BaiduFM-Swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belm%2FBaiduFM-Swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belm%2FBaiduFM-Swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belm%2FBaiduFM-Swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belm%2FBaiduFM-Swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/belm","download_url":"https://codeload.github.com/belm/BaiduFM-Swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252103827,"owners_count":21695376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T17:01:03.884Z","updated_at":"2025-05-02T20:30:24.861Z","avatar_url":"https://github.com/belm.png","language":"Objective-C","funding_links":[],"categories":["Apple Watch"],"sub_categories":[],"readme":"# BaiduFM-Swift\n[![](http://img.shields.io/badge/build-passing-4BC51D.svg)]()\n[![](http://img.shields.io/badge/OS%20X-10.10.3-blue.svg)]() \n[![](http://img.shields.io/badge/xcode-6.3-blue.svg)]()\n[![](http://img.shields.io/badge/iOS-8.0%2B-blue.svg)]() \n[![](http://img.shields.io/badge/Swift-1.2-blue.svg)]() \n[![CocoaPods compatible](https://img.shields.io/badge/CocoaPods-compatible-4BC51D.svg)](https://github.com/cocoapods/cocoapods)\n\n百度FM, swift语言实现，基于最新xcode6.3+swift1.2,初步只是为了实现功能，代码比较粗燥，后面有时间会整理。\n\n##API接口申明\n-本APP接口使用百度FM非公开API,音乐版权归百度所有\n\n##功能\n\n- 增加Apple Watch支持(歌词同步显示)\n\n- (删除)下载歌曲到本地\n\n- (取消)收藏喜欢的音乐\n\n- (清空)最近播放的音乐\n\n- 可以下拉刷新,上拉加载更多歌曲列表\n\n- 歌词自动滚动\n\n- 实时显示歌曲播放进度\n\n- 暂停继续播放\n\n- 上一曲下一曲\n\n- 歌曲类型列表\n\n- 分类歌曲列表\n\n- 支持后台播放\n\n- 锁屏显示歌曲专辑信息\n\n- 锁屏控制音乐下一曲/上一曲、暂停播放\n\n- 新增收藏列表，最近播放列表，下载歌曲列表\n\n\n##项目截图\n\n- Apple Watch首页![项目截图0](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_AppleWatch_00.png?raw=true)\n\n- Apple Watch首页菜单页面![项目截图0](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_AppleWatch_01.png?raw=true)\n\n- Apple Watch歌曲列表![项目截图0](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_AppleWatch_02.png?raw=true)\n\n- Apple Watch歌曲类型选择列表![项目截图0](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_AppleWatch_03.png?raw=true)\n\n- iPhone锁屏显示、播放控制![项目截图0](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_00.png?raw=true)\n\n- iPhone项目首页![项目截图1](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_01.png?raw=true)\n\n- iPhone歌曲分类![项目截图2](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_02.png?raw=true)\n\n- iPhone歌曲列表![项目截图3](https://github.com/belm/BaiduFM-Swift/blob/master/ScreenShot/BaiduFM-Swift_03.png?raw=true)\n\n##项目使用注意事项\n-项目里使用[COCOAPODS](https://github.com/cocoapods/cocoapods)管理第三方库，运行前请执行pod install安装依赖库\n\n##项目使用的第三方库\n\n-[网络库Alamofire](https://github.com/Alamofire/Alamofire)\n\n-[JSON解析SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON)\n\n-[SQLite数据库FMDB](https://github.com/ccgus/fmdb)\n\n-[异步Async](https://github.com/duemunk/Async)\n\n-[MJRefresh](https://github.com/CoderMJLee/MJRefresh)\n\n-[文字效果LTMorphingLabel](https://github.com/lexrus/LTMorphingLabel)\n\n-[图片缓存Kingfisher](https://github.com/onevcat/Kingfisher)\n\n##使用的swift知识点\n-网络请求\n\n-JSON解析\n\n-swift正则\n\n-swift单例\n\n-下拉刷新、上拉加载更多MJRefresh，歌曲进度UIProgressView，歌词滚动UITextView\n\n-闭包\n\n-get，set，didSet\n\n-使用MPMoviePlayerController在线播放网络mp3 \n\n-NSNotificationCenter传值\n\n##待完成功能\n\n-播放音乐改用AVAudioPlayer\n\n-第三方库合并(已经改用[COCOAPODS](https://github.com/cocoapods/cocoapods)管理)\n\n-支持Apple Watch\n\n##联系我\n- [QQ邮箱](mailto:belm@vip.qq.com)\n- [微博](http://weibo.com/belmeng)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelm%2FBaiduFM-Swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelm%2FBaiduFM-Swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelm%2FBaiduFM-Swift/lists"}