# YXJLinksButton **Repository Path**: EasySwift/YXJLinksButton ## Basic Information - **Project Name**: YXJLinksButton - **Description**: 比如注册协议,往往下面有一条横线。也是HTML种a标签的默认效果,即将到来 - **Primary Language**: Swift - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2016-07-02 - **Last Updated**: 2022-10-19 ## Categories & Tags **Categories**: ios-modules **Tags**: None ## README # YXJLinksButton 比如注册协议,往往下面有一条横线。也是HTML种a标签的默认效果 ## Join Us 为了更好的完善EasySwift框架,希望更多对此框架有兴趣的朋友一起加入进来打造最好用最全面扩展最好的swift框架。 [EasySwift](https://github.com/stubbornnessness/EasySwift)官方QQ群:**542916901** ## Mark 先更新Github上的项目,所以最新的项目一定在[Github](https://github.com/stubbornnessness)上。 ## Features * 微信,qq首页右上角完全一样的菜单效果 ### ScreenShot ![image](http://120.27.93.73/files/myPublicProject/YXJLinksButton1.png) ## System Requirements iOS 8.0 or above ## Installation ### As a CocoaPods Dependency Add the following to your Podfile: pod 'YXJLinksButton' ## Version **V0.0.1** ---- 2016-8-9 * 首次发版 ## Example import UIKit import YXJLinksButton class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let btn = YXJLinksButton(frame: CGRect(x: 100, y: 100, width: 100, height: 100)) btn.setTitle("用户协议", forState: UIControlState.Normal) btn.setTitleColor(UIColor.blackColor(), forState: UIControlState.Normal) // 设置下划线颜色 btn.setLinksColor(UIColor.redColor()) self.view.addSubview(btn) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } } ## 极致框架 * EasySwift是从2014年开始打造的贯穿整个Swift开发的整套解决方案,只为最简单,最高效,最全面,高扩展性,囊括最前沿的架构,思想在其中[EasySwift](https://github.com/stubbornnessness/EasySwift) ## License EasyEmoji is licensed under the Apache License, Version 2.0 License. For more information, please see the LICENSE file.