An iOS application to test out Spotify API. It uses SwiftUI and Combine. Mainly, it uses modularization to have the project scalable for future developments and it takes advantage of latest frameworks such as Combine and SwiftUI.
It uses a copy of SpotifyLogin SDK to handle the login process with Spotify.
Also this app relies on Alamofire
module from EasifyNetwork
module via Swift Package Manager
. Make sure to fetch this package before running the application.
Then you can register an application on Spotify Developer Portal and add the following values to the SpotifyCredentials.plist
in EasifyCore
module:
<key>client_id</key>
<string>YOUR_CLIENT_ID</string>
<key>client_secret</key>
<string>YOUR_CLIENT_SECRET</string>
<key>redirect_url</key>
<string>YOUR_REDIRECT_URL</string>
Easify Application's dependency graph:
Easify
|_____EasifyCore
| |______EasifyDefines
| |______EasifyNetwork
| | |______Alamofire
| |
| |______EasifySpotifyDataModels
| | |______EasifyDefines
| | |______EasifyNetwork
| | |______Alamofire
| |______SpotifyLogin
|
|
|_____EasifyDefines
|_____EasifyUI
|_____SpotifyLogin