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

Build Status

Important: This library is deprecated, it is recommended you look at GSLFileTypeMappings.

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

Requirements

  • Xcode 8.1 or later
  • Base SDK: iOS 10.1 / OS X 10.12 / watchOS 3.1 / tvOS 10.0 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:

# ... snip ...

pod 'GSFileTypeMappings'

Install the pod:

$ pod install

Source

Check out the source, including all the dependencies:

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

License

GSFileTypeMappings is licensed under the MIT License.

See the LICENSE file for more info.

Latest podspec

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

Pin It on Pinterest

Share This