Latest 1.0.0
Homepage https://github.com/YueRuo/YRBorderView
License MIT
Platforms ios
Authors

支持CocoaPods安装

   pod 'YRBorderView', '~> 1.0.0'

一个可以添加各种边线效果的View

  • 支持四条边不同弧度
  • 支持四条边粗细不同
  • 支持虚线类型
  • 支持裁剪掉边界外面部分
  • 支持设置控件内边距调整绘制线条位置

功能上算是比较全面了。

具体可看下面的效果图。

文字介绍 : http://yueruo.github.io/iOS-YRBorderView.html

YRBorderView

Latest podspec

{
    "name": "YRBorderView",
    "version": "1.0.0",
    "summary": "a light weight and easy to add border for view.",
    "description": "                   a light weight and easy to add border for view.n                   set each line width,color,corner radius,dash..n",
    "homepage": "https://github.com/YueRuo/YRBorderView",
    "license": "MIT",
    "authors": {
        "Xiaoyu Wang": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/YueRuo/YRBorderView.git",
        "tag": "1.0.0"
    },
    "source_files": [
        "YRBorderView",
        "YRBorderView/*.{h,m}"
    ],
    "exclude_files": "YRBorderView/Exclude"
}

Pin It on Pinterest

Share This