{"id":20571468,"url":"https://github.com/kf99916/statsview","last_synced_at":"2025-06-11T14:34:28.806Z","repository":{"id":50547974,"uuid":"144428541","full_name":"kf99916/StatsView","owner":"kf99916","description":"A simple stats view to build up a simple dashboard in app","archived":false,"fork":false,"pushed_at":"2019-11-20T05:32:44.000Z","size":269,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-16T23:17:12.341Z","etag":null,"topics":["cocoapods","statistics","stats","swift"],"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":"2018-08-12T01:07:57.000Z","updated_at":"2022-07-30T02:53:48.000Z","dependencies_parsed_at":"2022-08-31T14:00:50.787Z","dependency_job_id":null,"html_url":"https://github.com/kf99916/StatsView","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FStatsView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FStatsView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FStatsView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FStatsView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kf99916","download_url":"https://codeload.github.com/kf99916/StatsView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kf99916%2FStatsView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259280657,"owners_count":22833433,"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","statistics","stats","swift"],"created_at":"2024-11-16T05:16:19.376Z","updated_at":"2025-06-11T14:34:28.778Z","avatar_url":"https://github.com/kf99916.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StatsView\n\nA simple stats view to build up a simple dashboard in app. A StatsView makes implementation of statistics UI easy.\n\n[![CocoaPods](https://img.shields.io/cocoapods/dt/StatsView.svg)](https://cocoapods.org/pods/StatsView)\n[![GitHub stars](https://img.shields.io/github/stars/kf99916/StatsView.svg)](https://github.com/kf99916/StatsView/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/kf99916/StatsView.svg)](https://github.com/kf99916/StatsView/network)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/StatsView.svg)](https://cocoapods.org/pods/StatsView)\n[![Platform](https://img.shields.io/cocoapods/p/StatsView.svg)](https://github.com/kf99916/StatsView)\n[![GitHub license](https://img.shields.io/github/license/kf99916/StatsView.svg)](https://github.com/kf99916/StatsView/blob/master/LICENSE)\n\n![StatsView](/screenshots/StatsView.png 'StatsView')\n\n## Requirements\n\n- Swift 4.0 or higher\n\n### v1.0.0\n\n- Swift 4\n\n### v1.1.0\n\n- Swift 4.2\n\n### v1.2.0\n\n- Swift 5\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 StatsView 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/StatsView.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 StatsView into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\npod 'StatsView'\n```\n\n## Usage\n\n### Import\n\n```swift\nimport StatsView\n```\n\n### Integration\n\n### StatsView\n\nA veiw to show the statistics\n\n`var title: NSAttributedString?` the title  \n`var titleDescription: NSAttributedString?` the description for the title  \n`var titleDescriptionAlignment: NSTextAlignment` configure the alignment of the description label related with the title label (default `NSTextAlignment.center`)\n\n## Apps using StatsView\n\nIf you are using StatsView 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\nStatsViewDemo is a simple demo app using StatsView.\n\n## Author\n\nZheng-Xiang Ke, kf99916@gmail.com\n\n## License\n\nStatsView 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%2Fstatsview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkf99916%2Fstatsview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkf99916%2Fstatsview/lists"}