Target USD = $17.99 (base price) x PLR (Price Level Ratio)
New Price = floor(Target USD) to nearest $X.99
With two hard boundaries:
| extension String { | |
| /// Checks if the `String` is a valid email address. | |
| /// ```` | |
| /// // Example | |
| /// "name@email.com".isValidEmailAddress() // true | |
| /// "name(at)email(dot)com".isValidEmailAddress() // false | |
| /// "name@email".isValidEmailAddress() // false | |
| /// "name@.com".isValidEmailAddress() // false | |
| /// "name.com".isValidEmailAddress() // false |
| UIFont.familyNames.sorted().forEach{ familyName in | |
| print("*** \(familyName) ***") | |
| UIFont.fontNames(forFamilyName: familyName).forEach { fontName in | |
| print("\(fontName)") | |
| } | |
| print("---------------------") | |
| } | |
| /* | |
| *** Academy Engraved LET *** |