Git Product home page Git Product logo

richlabel's Introduction

RichLabel

ScreenShot

###说明 RichLabel是UILabel的子类。支持显示表情、识别URL、电话号码等(可扩展),URL和电话号码可以点击可以长按。表情部分使用TextKit框架实现。识别URL、电话号码主要参考KILabel

###使用条件

  • ARC
  • iOS 7.0+

###如何使用

  1. 下载KZRichLabel,把KZRichLabel.h和KZRichLabel.m文件添加到工程中。
  2. 在需要的地方 #import "KZRichLabel.h"(具体参考Demo)

###TODO

  1. Swift版本。
  2. 替换系统自带的URL识别和电话号码识别,改成精准的正则表达式。

###参考链接

  1. KILabel
  2. CCHLinkTextView
  3. STTweetLabel
  4. NimbusAttributedLabel

###License This code is distributed under the terms and conditions of the MIT license.

richlabel's People

Contributors

joywii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

richlabel's Issues

www

问一下 怎么直接识别www开头的网址?还有IP地址直接访问。

Hi,**!

RT,不错啊,哥最近在跟萌哥学 Swift,以后也开源下几个 UI 效果,你丫等着!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.