{"id":16239166,"url":"https://github.com/xtrinch/mrtableviewcellcountscrollindicator","last_synced_at":"2025-04-03T14:30:31.300Z","repository":{"id":56920782,"uuid":"63368936","full_name":"xtrinch/MRTableViewCellCountScrollIndicator","owner":"xtrinch","description":"iOS Table View Cell Scroll Count Indicator","archived":false,"fork":false,"pushed_at":"2016-11-21T09:48:04.000Z","size":7817,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T04:14:30.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xtrinch.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-07-14T20:52:16.000Z","updated_at":"2019-03-27T11:33:30.000Z","dependencies_parsed_at":"2022-08-21T04:20:25.015Z","dependency_job_id":null,"html_url":"https://github.com/xtrinch/MRTableViewCellCountScrollIndicator","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrinch%2FMRTableViewCellCountScrollIndicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrinch%2FMRTableViewCellCountScrollIndicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrinch%2FMRTableViewCellCountScrollIndicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrinch%2FMRTableViewCellCountScrollIndicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtrinch","download_url":"https://codeload.github.com/xtrinch/MRTableViewCellCountScrollIndicator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247018239,"owners_count":20869979,"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":[],"created_at":"2024-10-10T13:42:32.608Z","updated_at":"2025-04-03T14:30:30.177Z","avatar_url":"https://github.com/xtrinch.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MRTableViewCellCountScrollIndicator\n\n[![CI Status](http://img.shields.io/travis/xtrinch/MRTableViewCellCountScrollIndicator.svg?style=flat)](https://travis-ci.org/xtrinch/MRTableViewCellCountScrollIndicator)\n[![Version](https://img.shields.io/cocoapods/v/MRTableViewCellCountScrollIndicator.svg?style=flat)](http://cocoapods.org/pods/MRTableViewCellCountScrollIndicator)\n[![License](https://img.shields.io/cocoapods/l/MRTableViewCellCountScrollIndicator.svg?style=flat)](http://cocoapods.org/pods/MRTableViewCellCountScrollIndicator)\n[![Platform](https://img.shields.io/cocoapods/p/MRTableViewCellCountScrollIndicator.svg?style=flat)](http://cocoapods.org/pods/MRTableViewCellCountScrollIndicator)\n\nShows a simple UITableView scroll count indicator. Written in Swift 2.2.\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n\u003cimg src='https://raw.githubusercontent.com/xTrinch/MRTableViewCellCountScrollIndicator/master/Graphics/screencap.gif' alt='Moving content from under the keyboard in iOS / Swift'\u003e\n\n## Usage\n\nCreate a MRTableViewCellCountScrollIndicator class, initialize it with your tableView. There are some variables in the class like color, height, opacity, alpha that you could change, or leave them at default values. Your ViewController remains the delegate and dataSource for the tableView, so all you have to make sure is to set the correct number of items after you fetch them from your API.\n\nFor fadeout see example project.\n\n\n\timport MRTableViewCellCountScrollIndicator\n\t\n\tclass ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {\n\t\n\t    @IBOutlet weak var tableView: UITableView!\n\t    var articles:[Article] = []\n\t    var cellCounter:MRTableViewCellCountScrollIndicator?\n\t    \n\t    override func viewDidLoad() {\n\t        super.viewDidLoad()\n\t        tableView.delegate = self\n\t        tableView.dataSource = self\n\t        tableView.rowHeight = UITableViewAutomaticDimension\n\t        cellCounter = MRTableViewCellCountScrollIndicator(tableView: tableView)\n\t        cellCounter!.scrollCountView.mainBackgroundColor = UIColor.blueColor()\n\t        cellCounter!.opacity = 0.7\n\t        cellCounter!.rightOffset = 0\n\t        fetchDataFromApi()\n\t    }\n\t    \n\t    func fetchDataFromApi() {\n\t      // fetch data\n\t      cellCounter!.totalScrollCountNum = articles.count\n\t      tableView.reloadData()\n\t    }\n\t}\n\n## Installation\n\nMRTableViewCellCountScrollIndicator is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"MRTableViewCellCountScrollIndicator\"\n```\n\n## Author\n\nxTrinch, mojca.rojko@gmail.com\n\n## License\n\nMRTableViewCellCountScrollIndicator 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%2Fxtrinch%2Fmrtableviewcellcountscrollindicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtrinch%2Fmrtableviewcellcountscrollindicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtrinch%2Fmrtableviewcellcountscrollindicator/lists"}