An open API service indexing awesome lists of open source software.

https://github.com/s/easify-ios

An iOS application to test out Spotify API. It uses SwiftUI and Combine.
https://github.com/s/easify-ios

combine discover modularization songs spotify spotify-sdk swift swiftui

Last synced: about 1 month ago
JSON representation

An iOS application to test out Spotify API. It uses SwiftUI and Combine.

Awesome Lists containing this project

README

          

# Easify-iOS

[![Github Actions Status](https://github.com/s/Easify-iOS/workflows/CI/badge.svg)](https://github.com/s/Easify-iOS/actions)

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](https://github.com/spotify/SpotifyLogin) 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](https://developer.spotify.com/dashboard/applications) and add the following values to the `SpotifyCredentials.plist` in `EasifyCore` module:

```
client_id
YOUR_CLIENT_ID
client_secret
YOUR_CLIENT_SECRET
redirect_url
YOUR_REDIRECT_URL
```

Easify Application's dependency graph:
```
Easify
|_____EasifyCore
| |______EasifyDefines
| |______EasifyNetwork
| | |______Alamofire
| |
| |______EasifySpotifyDataModels
| | |______EasifyDefines
| | |______EasifyNetwork
| | |______Alamofire
| |______SpotifyLogin
|
|
|_____EasifyDefines
|_____EasifyUI
|_____SpotifyLogin
```