[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:
@@ -10,9 +10,18 @@ public extension String {
|
||||
enum Icon {
|
||||
|
||||
// MARK: Constants
|
||||
static let questionMark = "questionmark.circle.fill"
|
||||
|
||||
public static let info = "info.circle.fill"
|
||||
public static let person = "person.crop.circle.fill"
|
||||
public static let starAll = "a.circle"
|
||||
public static let star1 = "1.circle"
|
||||
public static let star2 = "2.circle"
|
||||
public static let star3 = "3.circle"
|
||||
public static let star4 = "4.circle"
|
||||
public static let star5 = "5.circle"
|
||||
|
||||
static let filter = "camera.filters"
|
||||
static let questionMark = "questionmark.circle.fill"
|
||||
static let star = "star"
|
||||
static let starFill = "star.fill"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// UIImage+ICons.swift
|
||||
// ReviewsUIKit
|
||||
//
|
||||
// Created by Javier Cicchelli on 20/03/2024.
|
||||
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
public extension UIImage {
|
||||
enum Icon {
|
||||
|
||||
// MARK: Constants
|
||||
public static let filter = UIImage(systemName: .Icon.filter)
|
||||
public static let star = UIImage(systemName: .Icon.star)
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user