Latest 2.0.0
Homepage https://github.com/klaaspieter/Numeric
License MIT
Platforms ios 8.0, osx 10.10, requires ARC
Authors

Numeric extensions for Swift

Time

// Tomorrow
1.day.fromNow

// Or yesterday
1.day.ago

Bytes

1.byte
2.bytes

1.kilobyte
2.kilobytes

1.megabyte
2.megabytes

1.gigabyte
2.gigabytes

1.terabyte
2.terabytes

1.exabyte
2.exabytes

1.terabyte + 1000.gigabytes
1.gigabyte + 200.megabytes

Latest podspec

{
    "name": "Numeric",
    "version": "2.0.0",
    "summary": "Swift numeric extensions",
    "homepage": "https://github.com/klaaspieter/Numeric",
    "license": "MIT",
    "authors": {
        "Klaas Pieter Annema": "[email protected]"
    },
    "social_media_url": "http://twitter.com/klaaspieter",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10"
    },
    "source": {
        "git": "https://github.com/klaaspieter/Numeric.git",
        "tag": "2.0.0"
    },
    "source_files": [
        "Numeric",
        "Numeric/**/*.swift"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This