All Projects → kf99916 → Timelinetableviewcell

kf99916 / Timelinetableviewcell

Licence: mit
Simple timeline view implemented by UITableViewCell

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Timelinetableviewcell

Kvkcalendar
A most fully customization calendar and timeline library for iOS 📅
Stars: ✭ 160 (-86.42%)
Mutual labels:  cocoapods, timeline
Swipycell
Easy to use UITableViewCell implementing swiping to trigger actions.
Stars: ✭ 230 (-80.48%)
Mutual labels:  cocoapods, uitableviewcell
Stepperview
SwiftUI iOS component for Step Indications.
Stars: ✭ 281 (-76.15%)
Mutual labels:  cocoapods, timeline
Peep
Easy Sound Generator 🐥
Stars: ✭ 59 (-94.99%)
Mutual labels:  cocoapods
Pinpointkit
Send better feedback
Stars: ✭ 1,115 (-5.35%)
Mutual labels:  cocoapods
Memorycache
LRU, type-safe, thread-safe memory cache class in Swift
Stars: ✭ 66 (-94.4%)
Mutual labels:  cocoapods
Realm Loginkit
A generic interface for logging in to Realm Mobile Platform apps
Stars: ✭ 70 (-94.06%)
Mutual labels:  cocoapods
Threadly
Type-safe thread-local storage in Swift
Stars: ✭ 58 (-95.08%)
Mutual labels:  cocoapods
Popmenu
A fully customizable popup style menu for iOS 😎
Stars: ✭ 1,155 (-1.95%)
Mutual labels:  cocoapods
Unboxedalamofire
[Deprecated] Alamofire + Unbox: the easiest way to download and decode JSON into swift objects.
Stars: ✭ 65 (-94.48%)
Mutual labels:  cocoapods
Cluster
Easy Map Annotation Clustering 📍
Stars: ✭ 1,132 (-3.9%)
Mutual labels:  cocoapods
Css3colorsswift
A UIColor extension with CSS3 Color names.
Stars: ✭ 62 (-94.74%)
Mutual labels:  cocoapods
Stream Go2
GetStream.io Go client
Stars: ✭ 67 (-94.31%)
Mutual labels:  timeline
Mojilist
🛍 Create shopping lists with emojis!
Stars: ✭ 60 (-94.91%)
Mutual labels:  cocoapods
Kibana Milestones Vis
Kibana Milestones Visualization
Stars: ✭ 69 (-94.14%)
Mutual labels:  timeline
Hcimage Bpg
BPG decoder for iOS and OS X written in Obj-C++.
Stars: ✭ 58 (-95.08%)
Mutual labels:  cocoapods
Imageslideshow
A Swift Image SlideShow for iOS
Stars: ✭ 68 (-94.23%)
Mutual labels:  cocoapods
Wrcellview
自定义View,类似tableView的系统cell,使用方便 Custom View, similar to the tableView system cell, easy to use
Stars: ✭ 64 (-94.57%)
Mutual labels:  uitableviewcell
Cameramanager
Simple Swift class to provide all the configurations you need to create custom camera view in your app
Stars: ✭ 1,130 (-4.07%)
Mutual labels:  cocoapods
Burritos
A collection of Swift Property Wrappers (formerly "Property Delegates")
Stars: ✭ 1,139 (-3.31%)
Mutual labels:  cocoapods

TimelineTableViewCell

TimelineTableViewCell is a simple timeline view implemented by UITableViewCell. The UI design of TimelineTableViewCell is inspired by ISTimeline.

GitHub stars GitHub forks CocoaPods Compatible Platform GitHub license

TimelineTableViewCell TimelineTableViewCell

Requirements

  • iOS 9.0 or higher

v1.0.1-

  • Swift 3

v1.2-

  • Swift 4

v1.3

  • Swift 5

v2.0+

  • Breaking Changes for v1.3-: thumbnailImageView is replaced with UIStackView to support multiple thumbnails.
  • Do not support iOS9.0- anymore.

Installation

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding TimelineTableViewCell as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/kf99916/TimelineTableViewCell.git")
]

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate TimelineTableViewCell into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'TimelineTableViewCell'

Usage

Import

import TimelineTableViewCell

Integration

Register Nib

let bundle = Bundle(for: TimelineTableViewCell.self)
let nibUrl = bundle.url(forResource: "TimelineTableViewCell", withExtension: "bundle")
let timelineTableViewCellNib = UINib(nibName: "TimelineTableViewCell",
	bundle: Bundle(url: nibUrl!)!)
tableView.register(timelineTableViewCellNib, forCellReuseIdentifier: "TimelineTableViewCell")

Dequeue

let cell = tableView.dequeueReusableCell(withIdentifier: "TimelineTableViewCell",
	for: indexPath) as! TimelineTableViewCell

// Configure TimelineTableViewCell...

TimelinePoint

The point in line is represented by a TimelinePoint object.
var diameter: CGFloat the diameter of a point in the line (default 6.0)
var lineWidth: CGFloat the thickness of the point (default 2.0)
var color: UIColor the color of each point in the line (default UIColor.black)
var isFilled: Bool fills the point in the line (default false)

Initializers

TimelinePoint(diameter: CGFloat, lineWidth: CGFloat, color: UIColor, filled: Bool)
TimelinePoint(diameter: CGFloat, color: UIColor, filled: Bool)
TimelinePoint(color: UIColor, filled: Bool)
TimelinePoint()

Timeline

The line in the cell is represented by a Timeline object and is divided by the point as the front line and the backline.
var width: CGFloat the thickness of the line (default 2.0)
var frontColor: UIColor the color of the front line (defalut UIColor.black)
var backColor: UIColor the color of the back line (defalut UIColor.black)
var leftMargin: CGFloat the left margin of the line (default 60.0)

Initializers

Timeline(width: CGFloat, frontColor: UIColor, backColor: UIColor)
Timeline(frontColor: UIColor, backColor: UIColor)
Timeline()

TimelineTableViewCell

The cell is represented by a TimelineTableViewCell object.
titleLabel: UILabel! the title in the bubble
descriptionLabel: UILabel! the description
lineInfoLabel: UILabel! the information about line
thumbnailImageView: UIImageView! the thumbnail illustrationImageView: UIImageView! the illustration
var bubbleRadius: CGFloat the radius of the bubble corners (default 2.0)
var bubbleColor: UIColor the color of every bubble (default .init(red: 0.75, green: 0.75, blue: 0.75, alpha: 1.0)) viewsInStackView: [UIView] the views in the stack view. var bubbleEnabled: Bool Enable draw bubble (default true)

Apps using TimelineTableViewCell

If you are using TimelineTableViewCell in your app and want to be listed here, simply create a pull request.

I am always curious who is using my projects :)

Hikingbook - by Zheng-Xiang Ke

Hikingbook

Demo

TimelineTableViewCellDemo is a simple demo app which shows the usage of TimelineTableViewCell in a storyboard.

Author

Zheng-Xiang Ke, [email protected]

License

TimelineTableViewCell 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].