Latest 1.0.4
Homepage https://github.com/Meniny/MXLinkLabel-in-Objective-C
License MIT
Platforms ios 8.0
Frameworks Foundation, UIKit

MXLinkLabel-in-Objective-C

MXLinkLabel is an easy-to-use view to display markup text.

Installation with CocoaPods

pod 'MXLinkLabel', '~> 1.0.4';

Usage

[[self linkLabel] setMarkupText:@"<h1>MXLinkLabel</h1>This is a <a href="http://www.meniny.cn/">sample link</a>."];
[[self linkLabel] setLinkTapHandler:^(NSURL * _Nullable url) {
    if (url != nil) {
        [[UIApplication sharedApplication] openURL:url];
    }
}];

Latest podspec

{
    "name": "MXLinkLabel",
    "version": "1.0.4",
    "summary": "An easy-to-use view to display markup text.",
    "description": "The first version of MXLinkLabel, an easy-to-use view to display markup text.",
    "homepage": "https://github.com/Meniny/MXLinkLabel-in-Objective-C",
    "license": "MIT",
    "authors": "Elias Abel",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Meniny/MXLinkLabel-in-Objective-C.git",
        "tag": "1.0.4"
    },
    "source_files": "MXLinkLabel/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This