Open Instance Propertyswift 6.0.3Foundation
isForFoodEnergyUse
var isForFoodEnergyUse: Bool
var isForFoodEnergyUse: Bool
import Foundation
class EnergyFormatter
@frozen struct Bool
A value type whose instances are either true
or false
.
override init()
required init?(coder: NSCoder)
var numberFormatter: NumberFormatter!
var unitStyle: Formatter.UnitStyle
func string(fromJoules numberInJoules: Double) -> String
func string(fromValue value: Double, unit: EnergyFormatter.Unit) -> String
func unitString(fromJoules numberInJoules: Double, usedUnit unitp: UnsafeMutablePointer<EnergyFormatter.Unit>?) -> String
func unitString(fromValue value: Double, unit: EnergyFormatter.Unit) -> String
enum Unit