Open Instance Methodswift 6.0.3Foundation
string(fromValue:unit:)
func string(fromValue value: Double, unit: LengthFormatter.Unit) -> String
func string(fromValue value: Double, unit: LengthFormatter.Unit) -> String
s10Foundation15LengthFormatterC6string9fromValue4unitSSSd_AC4UnitOtF
What are these?5PTD9
import Foundation
class LengthFormatter
@frozen struct Double
A double-precision, floating-point value type.
enum Unit
@frozen struct String
A Unicode string value that is a collection of characters.
override init()
required init?(coder: NSCoder)
var isForPersonHeightUse: Bool
var numberFormatter: NumberFormatter!
var unitStyle: Formatter.UnitStyle
func string(fromMeters numberInMeters: Double) -> String
func unitString(fromMeters numberInMeters: Double, usedUnit unitp: UnsafeMutablePointer<LengthFormatter.Unit>?) -> String
func unitString(fromValue value: Double, unit: LengthFormatter.Unit) -> String