Latest 0.1.0
Homepage https://github.com/fewlaps/PhraseKit
License MIT
Platforms ios 7.0, requires ARC
Authors

A simple category for replacing custom placeholders (strings enclosed in brackets) with values from NSDictionary.

CI Status
Version
License
Platform

Usage

NSString* stringWithPlaceholders = @"lest play with placeholders {one} and {two}";
NSString* newString = [stringWithPlaceholders replacePlaceholdersUsingDictionary:@{@"one":@"value 1",@"two":@"value two"}];

Installation

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

pod "PhraseKit"

Author

Fewlaps, [email protected]

License

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

Latest podspec

{
    "name": "PhraseKit",
    "version": "0.1.0",
    "summary": "PhraseKit is a string resource templating library for ObjetiveC using placeholders",
    "description": "PhraseKit is a simple category for replacing custom placeholders (strings enclosed in brackets) with values from NSDictionary.",
    "homepage": "https://github.com/fewlaps/PhraseKit",
    "license": "MIT",
    "authors": {
        "Fewlaps": "[email protected]"
    },
    "source": {
        "git": "https://github.com/fewlaps/PhraseKit.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "PhraseKit": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This