Latest1.0.0
Homepagehttps://github.com/karlvr/Brotli
LicenseMIT
Platformsios 8.0
Authors

CI Status
Version
License
Platform

Example

Compression

NSData *data = ...;
NSData *compressed = [data brotliCompressed];

Decompression

NSData *compressed = ...;
NSData *decompressed = [compressed brotliDecompressed];

Installation

Brotli is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'Brotli'

Author

Karl von Randow, [email protected]

This pod was inspired by the work of Matthew Cheok, https://github.com/matthewcheok/Brotli

License

Brotli is available under the MIT license. See the LICENSE file for more info.
Brotli includes the official Brotli source code from https://github.com/google/brotli. That
source code is covered by the official Brotli license, which is included in the LICENSE file.

Latest podspec

{
    "name": "Brotli",
    "version": "1.0.0",
    "summary": "An NSData category pod that provides Brotli compression and decompression for iOS",
    "description": "An NSData category pod that provides Brotli compression and decompression for iOS.",
    "homepage": "https://github.com/karlvr/Brotli",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Karl von Randow": "[email protected]"
    },
    "source": {
        "git": "https://github.com/karlvr/Brotli.git",
        "tag": "1.0.0",
        "submodules": true
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": [
        "Brotli/Classes/**/*",
        "Brotli/Source/c/common/*.c",
        "Brotli/Source/c/dec/*.c",
        "Brotli/Source/c/enc/*.c"
    ],
    "compiler_flags": "-Wno-unreachable-code",
    "pod_target_xcconfig": {
        "HEADER_SEARCH_PATHS": "$(PODS_TARGET_SRCROOT)/Brotli/Source/c/include"
    },
    "preserve_paths": [
        "Brotli/Source/c/common/*.h",
        "Brotli/Source/c/dec/*.h",
        "Brotli/Source/c/enc/*.h",
        "Brotli/Source/c/include/**/*"
    ],
    "public_header_files": "Brotli/Classes/**/*.h"
}

Pin It on Pinterest

Share This