A Framework for converting and interpreting common measurements used in cooking.
MeasurementUnit enum is the heart of the MiseEnPlace framework. This enum represents some unit of measure, along with
MeasurementMethod that it belongs to.
All of the logic for how and when to convert to other units and amounts is contained within the enum.
MeasurementMethod represents the ways in which something can be measured. In the case of the MiseEnPlace framework, this means
Similar to the
MeasurementSystem enum represents the types of unit systems that can be used. Currently only
Metric are supported.
MeasurementSystemMethod represents the ways
MeasurementSystems can be combined.
Convertable protocol defines the properties needed to be able to perform conversion and translation.
An extension to the protocol offers many important methods for scaling a measurement based on it's ratio.
Represents a amount and unit pairing. A
MiseEnPlace.Measurement has several key properties and functions for tranlating human-readable strings.
A defined relationship between volume and weight.
An extension to
Double with functions for determining value quality and converting one amount to another within the same
An enum with fraction values used within the
An enum with common intergral values. This is primarily used for the iOS MeasurementInputView.