Latest 0.2.0
Homepage https://github.com/diy/nsstringemojize
License Apache License, Version 2.0
Platforms ios , requires ARC
Frameworks UIKit
Authors

NSString+Emojize

A category on NSString to turn codes from Emoji Cheat Sheet into Unicode emoji characters.

Getting Started

In order to use NSString+Emojize, you’ll want to add the entirety of the NSString+Emojize directory to your project. To get started, simply:

#import "NSString+Emojize.h"
NSString *emojiString = @"This comment has an emoji :mushroom:";
NSLog(@"%@", [emojiString emojizedString]);

Methods

- (NSString *)emojizedString;
+ (NSString *)emojizedStringWithString:(NSString *)aString;

iOS Support

NSString+Emojize is tested on iOS 5 and up. Older versions of iOS may work but are not currently supported.

ARC

NSString+Emojize uses ARC. If you are including NSString+Emojize in a project that does not use Automatic Reference Counting (ARC), you will need to set the -fobjc-arc compiler flag on all of the NSString+Emojize source files. To do this in Xcode, go to your active target and select the "Build Phases" tab. Now select all NSString+Emojize source files, press Enter, insert -fobjc-arc and then "Done" to enable ARC for NSString+Emojize.

Latest podspec

{
    "name": "NSStringEmojize",
    "version": "0.2.0",
    "license": "Apache License, Version 2.0",
    "summary": "A category on NSString to turn codes from Emoji Cheat Sheet (http://www.emoji-cheat-sheet.com/) into Unicode emoji characters.",
    "homepage": "https://github.com/diy/nsstringemojize",
    "authors": {
        "Jon Beilin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/diy/NSStringEmojize.git",
        "tag": "v0.2.0"
    },
    "platforms": {
        "ios": null
    },
    "source_files": "NSStringEmojize",
    "requires_arc": true,
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This