https://github.com/meniny/mxlinklabel-in-objective-c
An easy-to-use view to display markup text.
https://github.com/meniny/mxlinklabel-in-objective-c
Last synced: over 1 year ago
JSON representation
An easy-to-use view to display markup text.
- Host: GitHub
- URL: https://github.com/meniny/mxlinklabel-in-objective-c
- Owner: Meniny
- License: mit
- Created: 2016-07-08T04:29:56.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-08T08:29:41.000Z (almost 10 years ago)
- Last Synced: 2025-02-21T00:03:26.784Z (over 1 year ago)
- Language: Objective-C
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:@"
MXLinkLabel
This is a sample link."];
[[self linkLabel] setLinkTapHandler:^(NSURL * _Nullable url) {
if (url != nil) {
[[UIApplication sharedApplication] openURL:url];
}
}];
```