[Framework] Feed framework setup (#2)

This PR contains the work done to set the Feed framework into the project, and then integrate it to the App target.

Reviewed-on: rock-n-code/app-reviews#2
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 #2.
This commit is contained in:
2024-03-16 00:28:59 +00:00
committed by javier
parent ff2e931d03
commit 8fc4bb165e
8 changed files with 277 additions and 20 deletions
+26
View File
@@ -0,0 +1,26 @@
//
// AppDelegate.swift
// AppStoreReviews
//
// Created by Dmitrii Ivanov on 21/07/2020.
// Copyright © 2020 ING. All rights reserved.
//
import Foundation
struct Review {
let author: String
let version: String
let rating: Int
let title: String
let id: String
let content: String
func ratingVersionText() -> String {
var stars = ""
for _ in 0..<rating {
stars += "⭐️"
}
return "\(stars) (ver: \(version))"
}
}