Created
May 11, 2017 15:27
-
-
Save chriswebb09/2febfb9b1ddfc6d0e7656820d34e04dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| class PlaylistItem { | |
| var track: iTrack? | |
| var next: PlaylistItem? | |
| weak var previous: PlaylistItem? | |
| } | |
| extension PlaylistItem: Equatable { | |
| static func ==(lhs: PlaylistItem, rhs: PlaylistItem) -> Bool { | |
| return lhs.track!.previewUrl! == rhs.track!.previewUrl! | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment