[Framework] Feed item view in the Feed framework (#10)

This PR contains the work done to implement the `FeedItemViewController` view controller, that shows in details a selected review from the `FeedListViewController` view controller.

Reviewed-on: rock-n-code/app-reviews#10
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 #10.
This commit is contained in:
2024-03-20 01:42:21 +00:00
committed by javier
parent 09df006ab9
commit c9f4b9a677
12 changed files with 554 additions and 143 deletions
@@ -0,0 +1,16 @@
//
// Int+Constants.swift
// ReviewsFeed
//
// Created by Javier Cicchelli on 19/03/2024.
// Copyright © 2024 Röck+Cöde. All rights reserved.
//
extension Int {
// MARK: Constants
enum Rating {
static let total: Int = 5
}
}
@@ -9,11 +9,11 @@
import Foundation
import ReviewsiTunesKit
extension FeedViewController {
extension FeedListViewController {
final class ViewModel: ObservableObject {
// MARK: Type aliases
typealias Configuration = FeedViewController.Configuration
typealias Configuration = FeedListViewController.Configuration
// MARK: Constants
private let configuration: Configuration