This PR contains the work done to provide the existing `FeedViewController` view controller with real life data by integrating the `iTunesService` service into its view model. In addition, the list item cell has been design has been updated, and re-implemented using the `SwiftUI` framework. Reviewed-on: #9 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
19 lines
365 B
Swift
19 lines
365 B
Swift
//
|
|
// View+Modifiers.swift
|
|
// ReviewsUIKit
|
|
//
|
|
// Created by Javier Cicchelli on 19/03/2024.
|
|
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
extension View {
|
|
|
|
// MARK: Functions
|
|
public func fullWidth(alignment: Alignment = .leading) -> some View {
|
|
modifier(FullWidthModifier(alignment: alignment))
|
|
}
|
|
|
|
}
|