Latest 3.0.1
Homepage https://github.com/GyazSquare/GSLFileTypeMappings
License MIT
Platforms ios 8.0, osx 10.6, tvos 9.0, watchos 2.0, requires ARC
Dependencies GSLSynthesizeSingleton

Build Status

GSLFileTypeMappings is a simple Objective-C library for iOS, macOS, watchOS and tvOS, which converts between a filename extension and a MIME type.

Requirements

  • Xcode 10.1 or later
  • Base SDK: iOS 12.1 / macOS 10.14.1 / watchOS 5.1 / tvOS 12.1 or later
  • Deployment Target: iOS 8.0 / OS X 10.6 / watchOS 2.0 / tvOS 9.0 or later

Installation

CocoaPods

Add the pod to your Podfile:

# ...

pod 'GSLFileTypeMappings'

Install the pod:

$ pod install

Source

Check out the source, including all the dependencies:

$ git clone --recurse-submodules https://github.com/GyazSquare/GSLFileTypeMappings.git

License

This software is licensed under the MIT License.

See the LICENSE file for details.

Latest podspec

{
    "name": "GSLFileTypeMappings",
    "version": "3.0.1",
    "authors": "GyazSquare",
    "license": {
        "type": "MIT"
    },
    "homepage": "https://github.com/GyazSquare/GSLFileTypeMappings",
    "source": {
        "git": "https://github.com/GyazSquare/GSLFileTypeMappings.git",
        "tag": "v3.0.1"
    },
    "summary": "A simple file type mapping library for iOS, macOS, watchOS and tvOS.",
    "platforms": {
        "ios": "8.0",
        "osx": "10.6",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "dependencies": {
        "GSLSynthesizeSingleton": []
    },
    "requires_arc": true,
    "ios": {
        "frameworks": "MobileCoreServices"
    },
    "tvos": {
        "frameworks": "MobileCoreServices"
    },
    "watchos": {
        "frameworks": "MobileCoreServices"
    },
    "source_files": "GSLFileTypeMappings/*.{h,m}"
}

Pin It on Pinterest

Share This