{"id":15677443,"url":"https://github.com/guoyingtao/puffer","last_synced_at":"2025-07-12T08:33:14.401Z","repository":{"id":62451266,"uuid":"157245782","full_name":"guoyingtao/Puffer","owner":"guoyingtao","description":"A swift tool for mimicking a rotation dial","archived":false,"fork":false,"pushed_at":"2021-02-10T04:39:43.000Z","size":898,"stargazers_count":17,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T19:47:37.843Z","etag":null,"topics":["dial","rotationdial","swiftdial"],"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/guoyingtao.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-11-12T16:50:03.000Z","updated_at":"2025-03-05T11:12:54.000Z","dependencies_parsed_at":"2022-11-01T23:33:49.366Z","dependency_job_id":null,"html_url":"https://github.com/guoyingtao/Puffer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoyingtao%2FPuffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoyingtao%2FPuffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoyingtao%2FPuffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoyingtao%2FPuffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guoyingtao","download_url":"https://codeload.github.com/guoyingtao/Puffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793564,"owners_count":21805054,"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":["dial","rotationdial","swiftdial"],"created_at":"2024-10-03T16:09:35.071Z","updated_at":"2025-05-07T00:45:37.500Z","avatar_url":"https://github.com/guoyingtao.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Images/puffer.png\" height=\"120\" max-width=\"90%\" alt=\"Puffer\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/swift-5.0-orange.svg\" alt=\"swift 5.0 badge\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/platform-iOS-lightgrey.svg\" alt=\"platform iOS badge\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-black.svg\" alt=\"license MIT badge\" /\u003e   \n\u003c/p\u003e\n\n# Puffer\nA swift rotation dial.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Images/dial1.jpg\" height=\"200\" alt=\"Puffer\" /\u003e\n    \u003cimg src=\"Images/dial2.jpg\" height=\"200\" alt=\"Puffer\" /\u003e\n    \u003cimg src=\"Images/dial3.jpg\" height=\"200\" alt=\"Puffer\" /\u003e\n\u003c/p\u003e\n\nYou can use this tool to mimic a rotation dial just like what Photo.app does\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Images/Puffer demo.jpg\" height=\"100\" alt=\"Puffer demo\"\n\u003c/p\u003e    \n\n## Features\n\n* Show the whole dial with indicator\n* Show only part of the dial.\n* Rotation range can be limited.\n* Default rotation center if the center of the dial. You can set your own rotation center.\n* Customized colors.\n\n## Requirements\n* iOS 11.0+\n* Xcode 10.0+\n\n## Install\n\n### CocoaPods\n\n```ruby\npod 'Puffer', '~\u003e 1.0.3'\n```\nYou may also need the code below in your pod file if compile errors happen because of different swift version.\n\n```ruby\npost_install do |installer|\n    installer.pods_project.targets.each do |target|\n      if ['Mantis'].include? target.name\n        target.build_configurations.each do |config|\n          config.build_settings['SWIFT_VERSION'] = '5.0'\n        end\n      end\n    end\n  end\n```\n## Usage\n\n* Create a default Rotation Dial\n```swift\nPuffer.createDial()\n```\n\n* Create a customized Rotation Dial\n```swift\nvar config = Puffer.Config()\n\n// Do some settings to config\n...\n\nPuffer.createDial(config: config)\n```\n\n\u003cdiv\u003eIcons made by \u003ca href=\"https://www.freepik.com\" title=\"Freepik\"\u003eFreepik\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e is licensed by \u003ca href=\"http://creativecommons.org/licenses/by/3.0/\" title=\"Creative Commons BY 3.0\" target=\"_blank\"\u003eCC 3.0 BY\u003c/a\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguoyingtao%2Fpuffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguoyingtao%2Fpuffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguoyingtao%2Fpuffer/lists"}