Latest 1.0.0
Homepage https://github.com/qmihara/QMBase64URLSafe
License MIT
Platforms ios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

Base 64 Encoding with URL and Filename Safe Alphabet Additions for iOS.

see RFC4648.

Usage

NSData Extensions

NSData *data = ...;
NSString *encodedString = [data qm_base64URLSafeEncodedStringWithOptions:0];

NSData *decodedData = [[NSData alloc] qm_initWithBase64URLSafeEncodedString:encodedString options:0];

NSString Extensions

NSString *string = @"...";
NSString *encodedString = [string qm_base64URLSafeEncodedString];

NSString *decodedString = [encodedString qm_base64URLSafeDecodedString];

Requirements

iOS 7.0 or higher, ARC only

Installation

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

pod "QMBase64URLSafe"

Author

qmihara (@qmihara)

License

QMBase64URLSafe is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "QMBase64URLSafe",
    "version": "1.0.0",
    "summary": "Base 64 Encoding with URL and Filename Safe Alphabet Additions for iOS.",
    "homepage": "https://github.com/qmihara/QMBase64URLSafe",
    "license": "MIT",
    "authors": {
        "Kyusaku Mihara": "[email protected]"
    },
    "source": {
        "git": "https://github.com/qmihara/QMBase64URLSafe.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes"
}

Pin It on Pinterest

Share This