GLTimeline 0.0.2

GLTimeline 0.0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by GLTimeline.



  • By
  • Satjawat Panakarn

GLTimeline

GLTimeline is a simple timeline view implemented by UIView written in Swift 3.0 that original use in Getlinks Application Project. timeline

Requirements

  • iOS 8.0 or higher
  • Swift 3.0

Installation

pod "GLTimeline"

Usage

Import

import GLTimeline

Integration

We recommend to use the timeline view in your storyboard. Just add a plain view and set the custom class and the module property to GLTimelineView.
storyboard

Timeline Customization

lineType set type for each timelineview by pass indexPath and tableView into getTimeLineType()
lineColor the color of point and line
pointRadius the point size
lineWidth the width of line

@IBOutlet weak var timeLineView: GLTimelineView!
timeLineView.lineType = GLTimelineView.getTimeLineType(position,items: numberOfItems)
timeLineView.lineColor  = UIColor.black
timeLineView.pointRadius = 5.0
timeLineView.lineWidth = 1.0

View Releases

If you Watch this repository, GitHub will send you an email every time I publish an update.

License

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