All Projects → STAR-ZERO → DottedLineView

STAR-ZERO / DottedLineView

Licence: MIT License
Draw horizontal or vertical dotted line for iOS

Programming Languages

shell
77523 projects
swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

DottedLineView

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].