Latest 0.1.4
Homepage https://github.com/Budaiev/DntlBoldify
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

AttributesTheme * theme = AttributesTheme.defaultTheme;

NSAttributedString * aText =
[[NSAttributedString alloc] initWithString:NSLocalizedString(@"1 paragraph", @"some text")];

NSAttributedString *aaText =
[aText transformWithMultipleTags: @[@"” target=”_blank”>u>”,@”"]
primaryAttributes: theme.primary
tagAttributes: @[theme.bold, theme.italic, theme.underlined, theme.highlighted]];

http://github.com/Budaiev/DntlBoldify/blob/master/Example/DntlBoldify/screenshots/demo.jpg

Requirements

Installation

Category for NSAttributesString. Apply needed attributes for tagged text.
Usefull for cases when you have different attributes for Localizable.strings.
Convenient to work with same texts for other targets in the project.

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

pod 'DntlBoldify'

Author

Budaiev, [email protected]

License

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

Latest podspec

{
    "name": "DntlBoldify",
    "version": "0.1.4",
    "summary": "Category for NSAttributesString. Apply needed attributes for tagged text",
    "description": "Usefull for cases when you have different attributes for Localizable.strings.nConvenient to work with same texts for other targets in the project.nScreenshot http://github.com/Budaiev/DntlBoldify/blob/master/Example/DntlBoldify/screenshots/demo.jpg",
    "homepage": "https://github.com/Budaiev/DntlBoldify",
    "screenshots": "https://raw.githubusercontent.com/Budaiev/DntlBoldify/master/Example/DntlBoldify/screenshots/demo.jpg",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Aleksandr Budaiev": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Budaiev/DntlBoldify.git",
        "tag": "0.1.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DntlBoldify/Classes/**/*"
}

Pin It on Pinterest

Share This