Latest 1.0.0
Homepage https://github.com/star-zero/DottedLineView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Draw horizontal or vertical dotted line for iOS.

screenshot

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

Interface Builder

Set View into Interface Builder

interfacebuilder1

Set custome class

interfacebuilder2

Edit properties

interfacebuilder3

Code

import DottedLineView
let dottedLineView = DottedLineView(frame: CGRect(x: 0, y: 100, width: view.frame.width, height: 10))
dottedLineView.lineWidth = 8
dottedLineView.lineColor = UIColor.blueColor()

view.addSubview(dottedLineView)

Requirements

  • iOS 8.0+
  • Xcode 7.3.1+

Installation

DottedLineView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "DottedLineView"

Author

Kenji Abe, [email protected]

License

DottedLineView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DottedLineView",
    "version": "1.0.0",
    "summary": "Draw horizontal or vertical dotted line for iOS.",
    "description": "Draw horizontal or vertical dotted line for iOS.nIt can edit on Interface Builder. It is easy to use.",
    "homepage": "https://github.com/star-zero/DottedLineView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Kenji Abe": "[email protected]"
    },
    "source": {
        "git": "https://github.com/star-zero/DottedLineView.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://twitter.com/STAR_ZERO",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DottedLineView/Classes/**/*"
}

Pin It on Pinterest

Share This