[Framework] Feed item filtering in the Feed List view (#11)

This PR contains the work done to implement the filtering of the items shown in the `FeedListViewController` view controller by star rating.

Reviewed-on: rock-n-code/app-reviews#11
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 #11.
This commit is contained in:
2024-03-20 21:35:46 +00:00
committed by javier
parent c9f4b9a677
commit eac34c61c1
11 changed files with 517 additions and 94 deletions
+21 -10
View File
@@ -1,6 +1,6 @@
//
// AppDelegate.swift
// AppStoreReviews
// ReviewsApp
//
// Created by Dmitrii Ivanov on 21/07/2020.
// Copyright © 2020 ING. All rights reserved.
@@ -10,16 +10,27 @@ import ReviewsFeed
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
class AppDelegate: UIResponder {
// MARK: Properties
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
let viewController = FeedListViewController()
window?.rootViewController = UINavigationController(rootViewController: viewController)
window?.makeKeyAndVisible()
return true
}
}
// MARK: - UIApplicationDelegate
extension AppDelegate: UIApplicationDelegate {
// MARK: Functions
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = UINavigationController(rootViewController: FeedListViewController())
window?.makeKeyAndVisible()
return true
}
}