Latest 4.2.1
Homepage https://github.com/richardpiazza/MiseEnPlace
License MIT
Platforms osx 10.13, ios 11.0, tvos 11.0, watchos 4.0, requires ARC
Frameworks Foundation
Authors

Version
Platform

A Framework for converting and interpreting common measurements used in cooking.

MeasurementUnit.swift

The MeasurementUnit enum is the heart of the MiseEnPlace framework. This enum represents some unit of measure, along with MeasurementSystem and 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.swift

The MeasurementMethod represents the ways in which something can be measured. In the case of the MiseEnPlace framework, this means Volume and Mass.

MeasurementSystem.swift

Similar to the MeasurementMethod the MeasurementSystem enum represents the types of unit systems that can be used. Currently only US and Metric are supported.

MeasurementSystemMethod.swift

The MeasurementSystemMethod represents the ways MeasurementMethods and MeasurementSystems can be combined.

Convertable.swift

The 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.

CookingMeasurement.swift

Represents a amount and unit pairing. A CookingMeasurement has several key properties and functions for tranlating human-readable strings.

Ratio.swift

A defined relationship between volume and weight.

Double+MiseEnPlace.swift

An extension to Double with functions for determining value quality and converting one amount to another within the same MeasurementSystemMethod.

Fraction.swift

An enum with fraction values used within the MiseEnPlace framework.

Intergral.swift

An enum with common intergral values. This is primarily used for the iOS MeasurementInputView.

Latest podspec

{
    "name": "MiseEnPlace",
    "version": "4.2.1",
    "summary": "A Framework for converting and interpreting common measurements used in cooking.",
    "description": "MiseEnPlace provides powerfull conversion and interpretation for any cooking application.nMiseEnPlace makes it easy to convert between US and Metric measurements and display the resultsnin a human readable way.",
    "homepage": "https://github.com/richardpiazza/MiseEnPlace",
    "license": "MIT",
    "authors": {
        "Richard Piazza": "[email protected]"
    },
    "social_media_url": "https://twitter.com/richardpiazza",
    "source": {
        "git": "https://github.com/richardpiazza/MiseEnPlace.git",
        "tag": "4.2.1"
    },
    "frameworks": "Foundation",
    "requires_arc": true,
    "platforms": {
        "osx": "10.13",
        "ios": "11.0",
        "tvos": "11.0",
        "watchos": "4.0"
    },
    "osx": {
        "frameworks": "Foundation",
        "source_files": "Sources/Foundation/*"
    },
    "ios": {
        "frameworks": [
            "Foundation",
            "UIKit"
        ],
        "source_files": [
            "Sources/Foundation/*",
            "Sources/iOS/*"
        ],
        "resources": "Resources/iOS/*"
    },
    "tvos": {
        "frameworks": "Foundation",
        "source_files": "Sources/Foundation/*"
    },
    "watchos": {
        "frameworks": "Foundation",
        "source_files": "Sources/Foundation/*"
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This