Latest 1.0.0
Homepage https://github.com/weekwood/SwiftMime
License MIT
Platforms ios 9.0, requires ARC
Authors

Version
Stories in Ready
Build Status

Comprehensive MIME type mapping API. Includes all 600+ types and 800+ extensions defined by the Apache project, plus additional types submitted by the node.js community.

inspired from mime

Usage

Basic API

SwiftMime.ext("text/html")
SwiftMime.mime("pdf")

Installation

Carthage

Add the following to your Cartfile:

github "weekwood/SwiftMime"

CocoaPods

Add the following to your Podfile:

pod 'SwiftMime'

Author

di wu, [email protected]

License

SwiftMime is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SwiftMime",
    "version": "1.0.0",
    "summary": "inspired from node-mime.",
    "homepage": "https://github.com/weekwood/SwiftMime",
    "license": "MIT",
    "authors": {
        "di wu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/weekwood/SwiftMime.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/*.swift",
    "resources": "Pod/Assets/*.json",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This