GithubHelp home page GithubHelp logo

wowpotato / base64 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ekscrypto/base64

0.0 0.0 0.0 99 KB

Objective-C Base64 Additions for NSData and NSString

Objective-C 93.99% Ruby 2.87% Rich Text Format 3.14%

base64's Introduction

CI Status

Base64 Additions for Objective-C on Mac OS X and iOS

WARNING: This code is no longer required, base64 comes with all recent versions of macOS, iOS, iPadOS, watchOS and tvOS. Performance metrics below were valid for comparison against the provided libraries in 2012 and may not reflect current performance. If in doubt, use the system provided functions.

Usage: Cococapods -- DEPRECATED

Add the following line to your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'Base64'
end

Usage: Raw Files

Open the Xcode project file, and drag MF_Base64Additions.m/.h into your project.

In files where you want to use Base64 encoding/decoding, simply include the header file and use one of the provided NSData or NSString additions.

Example use: #import "MF_Base64Additions.h"

NSString *helloWorld = @"Hello World";
NSString *helloInBase64 = [helloWorld base64String];
NSString *helloDecoded = [NSString stringFromBase64String:helloInBase64];

Performance

Performance metrics are based on evaluation done in 2012 and may no longer be accurate.

Requirements

  • Compile with Automatic Reference Counting
  • Compatible with Mac OSX 10.9+ and iOS 4.0+

Implementation

Licensing

  • Public Domain

base64's People

Contributors

ekscrypto avatar soheilbm avatar kevboh avatar readmecritic avatar martiall avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.