{"id":2845,"url":"https://github.com/kf99916/TimelineTableViewCell","last_synced_at":"2025-08-03T12:31:19.234Z","repository":{"id":55005000,"uuid":"71445099","full_name":"kf99916/TimelineTableViewCell","owner":"kf99916","description":"Simple timeline view implemented by UITableViewCell","archived":false,"fork":false,"pushed_at":"2020-12-14T03:29:24.000Z","size":1400,"stargazers_count":1322,"open_issues_count":6,"forks_count":117,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-10-29T17:43:21.831Z","etag":null,"topics":["cocoapods","swift","timeline","uitableviewcell"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kf99916.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-20T09:09:38.000Z","updated_at":"2024-10-17T01:33:48.000Z","dependencies_parsed_at":"2022-08-14T08:50:28.830Z","dependency_job_id":null,"html_url":"https://github.com/kf99916/TimelineTableViewCell","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FTimelineTableViewCell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FTimelineTableViewCell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FTimelineTableViewCell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FTimelineTableViewCell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kf99916","download_url":"https://codeload.github.com/kf99916/TimelineTableViewCell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543145,"owners_count":17934432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","swift","timeline","uitableviewcell"],"created_at":"2024-01-05T20:16:24.350Z","updated_at":"2024-12-07T00:30:58.805Z","avatar_url":"https://github.com/kf99916.png","language":"Swift","funding_links":[],"categories":["UI","Calendar","Swift"],"sub_categories":["Table View / Collection View","Layout","Other free courses"],"readme":"# TimelineTableViewCell\n\nTimelineTableViewCell is a simple timeline view implemented by UITableViewCell. The UI design of TimelineTableViewCell is inspired by [ISTimeline](https://github.com/instant-solutions/ISTimeline).\n\n[![GitHub stars](https://img.shields.io/github/stars/kf99916/TimelineTableViewCell.svg)](https://github.com/kf99916/TimelineTableViewCell/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/kf99916/TimelineTableViewCell.svg)](https://github.com/kf99916/TimelineTableViewCell/network)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/TimelineTableViewCell.svg)](https://cocoapods.org/pods/TimelineTableViewCell)\n[![Platform](https://img.shields.io/cocoapods/p/TimelineTableViewCell.svg)](https://github.com/kf99916/TimelineTableViewCell)\n[![GitHub license](https://img.shields.io/github/license/kf99916/TimelineTableViewCell.svg)](https://github.com/kf99916/TimelineTableViewCell/blob/master/LICENSE)\n\n![TimelineTableViewCell](/screenshots/timelineTableView.png 'TimelineTableViewCell')\n![TimelineTableViewCell](/screenshots/timelineTableView-2.png 'TimelineTableViewCell')\n\n## Requirements\n\n- iOS 9.0 or higher\n\n### v1.0.1-\n\n- Swift 3\n\n### v1.2-\n\n- Swift 4\n\n### v1.3\n\n- Swift 5\n\n### v2.0+\n\n- Breaking Changes for v1.3-: thumbnailImageView is replaced with UIStackView to support multiple thumbnails.\n- Do not support iOS9.0- anymore.\n\n## Installation\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler.\n\nOnce 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`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/kf99916/TimelineTableViewCell.git\")\n]\n```\n\n### CocoaPods\n\n[CocoaPods](https://cocoapods.org) 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`:\n\n```ruby\npod 'TimelineTableViewCell'\n```\n\n## Usage\n\n### Import\n\n```swift\nimport TimelineTableViewCell\n```\n\n### Integration\n\n#### Register Nib\n\n```swift\nlet bundle = Bundle(for: TimelineTableViewCell.self)\nlet nibUrl = bundle.url(forResource: \"TimelineTableViewCell\", withExtension: \"bundle\")\nlet timelineTableViewCellNib = UINib(nibName: \"TimelineTableViewCell\",\n\tbundle: Bundle(url: nibUrl!)!)\ntableView.register(timelineTableViewCellNib, forCellReuseIdentifier: \"TimelineTableViewCell\")\n```\n\n#### Dequeue\n\n```swift\nlet cell = tableView.dequeueReusableCell(withIdentifier: \"TimelineTableViewCell\",\n\tfor: indexPath) as! TimelineTableViewCell\n\n// Configure TimelineTableViewCell...\n```\n\n### TimelinePoint\n\nThe point in line is represented by a TimelinePoint object.  \n`var diameter: CGFloat` the diameter of a point in the line (default `6.0`)  \n`var lineWidth: CGFloat` the thickness of the point (default `2.0`)  \n`var color: UIColor` the color of each point in the line (default `UIColor.black`)  \n`var isFilled: Bool` fills the point in the line (default `false`)\n\n#### Initializers\n\n```swift\nTimelinePoint(diameter: CGFloat, lineWidth: CGFloat, color: UIColor, filled: Bool)\n```\n\n```swift\nTimelinePoint(diameter: CGFloat, color: UIColor, filled: Bool)\n```\n\n```swift\nTimelinePoint(color: UIColor, filled: Bool)\n```\n\n```swift\nTimelinePoint()\n```\n\n### Timeline\n\nThe line in the cell is represented by a Timeline object and is divided by the point as the front line and the backline.  \n`var width: CGFloat` the thickness of the line (default `2.0`)  \n`var frontColor: UIColor` the color of the front line (defalut `UIColor.black`)  \n`var backColor: UIColor` the color of the back line (defalut `UIColor.black`)  \n`var leftMargin: CGFloat` the left margin of the line (default `60.0`)\n\n#### Initializers\n\n```swift\nTimeline(width: CGFloat, frontColor: UIColor, backColor: UIColor)\n```\n\n```swift\nTimeline(frontColor: UIColor, backColor: UIColor)\n```\n\n```swift\nTimeline()\n```\n\n### TimelineTableViewCell\n\nThe cell is represented by a TimelineTableViewCell object.  \n`titleLabel: UILabel!` the title in the bubble  \n`descriptionLabel: UILabel!` the description  \n`lineInfoLabel: UILabel!` the information about line  \n`thumbnailImageView: UIImageView!` the thumbnail\n`illustrationImageView: UIImageView!` the illustration  \n`var bubbleRadius: CGFloat` the radius of the bubble corners (default `2.0`)  \n`var bubbleColor: UIColor` the color of every bubble (default `.init(red: 0.75, green: 0.75, blue: 0.75, alpha: 1.0)`)\n`viewsInStackView: [UIView]` the views in the stack view.\n`var bubbleEnabled: Bool` Enable draw bubble (default `true`)\n\n## Apps using TimelineTableViewCell\n\nIf you are using TimelineTableViewCell in your app and want to be listed here, simply create a pull request.\n\nI am always curious who is using my projects :)\n\n[Hikingbook](https://itunes.apple.com/app/id1067838748) - by Zheng-Xiang Ke\n\n![Hikingbook](apps/Hikingbook.png)\n\n## Demo\n\nTimelineTableViewCellDemo is a simple demo app which shows the usage of TimelineTableViewCell in a storyboard.\n\n## Author\n\nZheng-Xiang Ke, kf99916@gmail.com\n\n## License\n\nTimelineTableViewCell is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkf99916%2FTimelineTableViewCell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkf99916%2FTimelineTableViewCell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkf99916%2FTimelineTableViewCell/lists"}