[Library] iTunes library (#5)
This PR contains the work done to implement the `iTunesService` service that fetches the reviews from the **Apple App Store**. Reviewed-on: rock-n-code/app-reviews#5 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #5.
This commit is contained in:
@@ -39,3 +39,22 @@ public struct Review {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: - Equatable
|
||||
extension Review: Equatable {
|
||||
|
||||
// MARK: Functions
|
||||
public static func == (
|
||||
lhs: Review,
|
||||
rhs: Review
|
||||
) -> Bool {
|
||||
lhs.author == rhs.author
|
||||
&& lhs.content == rhs.content
|
||||
&& lhs.id == rhs.id
|
||||
&& lhs.rating == rhs.rating
|
||||
&& lhs.title == rhs.title
|
||||
&& lhs.version == rhs.version
|
||||
&& lhs.updated.description == rhs.updated.description
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user