Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
radianttap Improve UX: animate adding of tracks into the playlist.
This makes it obvious that tapping the Track cell does something and guides people towards the top-right icon.

By making a simple change in the playEnqueueTrack method, we can pass the track instance to any upper superview/UIVC, in this case NavigationController.
It can then perform the animation as it is its own subview, while originating UIVC is oblivious to this happening.
Latest commit 31d4da9 May 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DataManager
DataModel Cleaner, more strict separation of the Spotify-specific types from ap… May 6, 2019
Middleware Implemented LocalizedError through out the app Apr 18, 2019
Spotifier.xcodeproj Cleaner, more strict separation of the Spotify-specific types from ap… May 6, 2019
Spotifier Improve UX: animate adding of tracks into the playlist. May 6, 2019
Spotify Cleaner, more strict separation of the Spotify-specific types from ap… May 6, 2019
Vendor Helper for UIAlertController to display LocalizedError instances Apr 18, 2019
.gitignore Added Carthage/Checkout to ignore list Feb 18, 2019
Cartfile Updated 3rd party frameworks to Swift 5 Apr 6, 2019
Cartfile.resolved Implemented LocalizedError protocol for SpotifyError Apr 18, 2019
README.md Updated README, Apr 19, 2019

README.md

Spotifier

This is custom Spotify iOS app. It allows you search and browse and possibly even play some music.

It’s an example app, built to showcase KiLS[^1] architecture: Keep it Layered & Simple.

How to run

This is built with Swift 5 code thus do use Xcode 10.2.

(1) Install Homebrew

(2) Install Sourcery

brew install sourcery

(3) Install Carthage

brew install carthage

(4) Open Terminal, go to the project root folder, then do this:

carthage update --no-build
carthage build --platform iOS

(5) Open Spotifier.xcodeproj and it should compile just fine.

(6) Look into Spotify/Spotify.swift, at the top you should see:

private static let clientID: String = "YOUR_CLIENT_ID"
private static let clientSecret: String = "YOUR_CLIENT_SECRET"

That’s where you need to paste your OAuth2 credentials you get when you register your app as client on Spotify Developer Portal.

[^1]: aka the LAYERS, aka the ONION, aka the GARLIC architecture

You can’t perform that action at this time.