
TAG: Radio Swift Radio, Player ,Music , Player , Swift ,Music Player ,Sound, Custom Player , Songs , Library
Classification: Swift Radio
Platform: IOS
Language: Swift
Language: Swift
Device:
iPhone/ipad
Download
Creating an App
If you create an app with the code, or interesting project inspired by the code, shoot me an email. I love hearing about your projects!
This is just a basic template. You may use it as a clean starting point to add other features.
Some of the things I've built into this Radio code for clients include: Facebook login, Profiles, Saving Favorite Tracks, Playlists, Genres, Spotify integration, Enhanced Streaming, Tempo Analyzing, etc. There's almost unlimited things you can use this code as a starting place for. I keep this repo lightweight. That way you can customize it easily.
Setup
The "SwiftRadio-Settings.swift" file contains some project settings to get you started. Watch this Getting Started Video to get up & running quickly.
Integration
Includes full Xcode Project to jumpstart development.
Stations
Includes an example "stations.json" file. You may upload the JSON file to a server, so that you can update the stations in the app without resubmitting to the app store. The following fields are supported in the app:
-
name: The name of the station as you want it displayed (e.g. "Sub Pop Radio")
-
streamURL: The url of the actual stream
-
imageURL: Station image url. Station images in demo are 350x206. Image can be local or hosted. Leave out the "http" to use a local image (You can use either: "station-subpop" or "http://myurl.com/images/station-subpop.jpg")
-
desc: Short 2 or 3 word description of the station as you want it displayed (e.g. "Outlaw Country")
-
longDesc: Long description of the station to be used on the "info screen". This is optional.
name: The name of the station as you want it displayed (e.g. "Sub Pop Radio")
streamURL: The url of the actual stream
imageURL: Station image url. Station images in demo are 350x206. Image can be local or hosted. Leave out the "http" to use a local image (You can use either: "station-subpop" or "http://myurl.com/images/station-subpop.jpg")
desc: Short 2 or 3 word description of the station as you want it displayed (e.g. "Outlaw Country")
longDesc: Long description of the station to be used on the "info screen". This is optional.
