I hereby claim:
- I am nickkohrn on github.
- I am nickkohrn (https://keybase.io/nickkohrn) on keybase.
- I have a public key ASARV_fuy9441BsWcBeiF9QGLYlBK2xPbOD088fRMhF0_wo
To claim this, I am signing this object:
import SwiftUI | |
struct SubscriptedTextView: View { | |
// MARK: Properties | |
let abbreviation: String | |
var body: some View { | |
subscriptedText() |
internal final class CurrencyService { | |
// MARK: - Currency Symbol Position | |
internal static var currencySymbolPosition: CurrencySymbolPosition { | |
let currencyFormat = CFNumberFormatterGetFormat(CFNumberFormatterCreate(nil, Locale.current as CFLocale, .currencyStyle)) as NSString | |
let positiveNumberFormat = currencyFormat.components(separatedBy: ";")[0] as NSString | |
let currencySymbolLocation = positiveNumberFormat.range(of: "¤").location | |
let position: CurrencySymbolPosition = currencySymbolLocation == 0 ? .before : .after | |
return position |
I hereby claim:
To claim this, I am signing this object: