MHMimeType
Objective-c check MIME type based on magic bytes. MHMimeType detects MIME type of a NSData.
Requirements
- iOS 8.0+
- Xcode 9.0+
Installation
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate MHMimeType into your Xcode project using Carthage, specify it in your Cartfile
:
github "MakeHui/MHMimeType"
Run carthage update
to build the framework and drag the built MHMimeType
into your Xcode project.