Latest 1.0
Homepage https://github.com/chris-huxtable/CBHEncodingKit
License ISC
Platforms osx 10.8
Authors

release
pod
licence
coverage

An easy to use category for NSData and NSString to encode data.

Supports:

  • Base32
  • Base64

Use

CBHEncodingKit extends NSData and NSString with a category; adding methods for several encoding types.

Examples:

Encode NSData using Base64:

NSData *data = /* some data */
NSString *base64 = [data encodeBase64];

Decode NSData encoded in Base64:

NSString *base64 = /* some base64 encoded string */
NSData *data = [base64 decodeBase64];

Encode NSString using Base64:

NSString *string = @"some string"
NSString *base64 = [string encodeBase64];

Decode NSString encoded in Base64:

NSString *base64 = /* some base64 encoded string */
NSString *string = [NSString stringByDecodingBase64String];

Licence

CBHEncodingKit is available under the ISC license.

Latest podspec

{
    "name": "CBHEncodingKit",
    "version": "1.0",
    "module_name": "CBHEncodingKit",
    "summary": "CBHEncodingKit extends `NSData` and `NSString` with a category; adding methods for several encoding types.",
    "homepage": "https://github.com/chris-huxtable/CBHEncodingKit",
    "license": {
        "type": "ISC",
        "file": "LICENSE"
    },
    "authors": {
        "Chris Huxtable": "[email protected]"
    },
    "social_media_url": "https://twitter.com/@Chris_Huxtable",
    "platforms": {
        "osx": "10.8"
    },
    "source": {
        "git": "https://github.com/chris-huxtable/CBHEncodingKit.git",
        "tag": "v1.0"
    },
    "requires_arc": false,
    "public_header_files": "CBHEncodingKit/*.h",
    "source_files": "CBHEncodingKit/*.{h,m}"
}

Pin It on Pinterest

Share This