Skip to content
MIME type mapping API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
Pod
.gitignore
.travis.yml
LICENSE
README.md
SwiftMime.framework.zip
SwiftMime.podspec
_Pods.xcodeproj

README.md

SwiftMime

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, di.wu@me.com

License

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

You can’t perform that action at this time.