/NSString-HTML

Decode and encode HTML character entities.

Primary LanguageObjective-COtherNOASSERTION

NSString+HTML License MIT

Decode and encode HTML character entities.

NSString-Email

Build Status Analytics

Adding NSString-Email to your project

Cocoapods

CocoaPods is the recommended way to add NSString-HTML to your project.

  • Add a pod entry for NSString-HTML to your Podfile:
pod 'NSString-HTML', :git => 'https://github.com/NZN/NSString-HTML'
  • Install the pod(s) by running :
pod install

Source files

Alternatively you can directly add source files to your project.

  1. Download the latest code version or add the repository as a git submodule to your git-tracked project.
  2. Open your project in Xcode, then drag and drop all files at NSString-HTML folder onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.

Usage

NSString *encodedString = @"E-mail inválido.";
NSString *decoded = [encodedString decodeHTMLCharacterEntities];

License

This code is distributed under the terms and conditions of this copyright license.

Change-log

A brief summary of each NSString-HTML release can be found on the wiki.