{"id":15293676,"url":"https://github.com/yashthaker7/numberpicker","last_synced_at":"2025-04-13T13:26:45.798Z","repository":{"id":62449184,"uuid":"137391347","full_name":"yashthaker7/NumberPicker","owner":"yashthaker7","description":"Custom number picker","archived":false,"fork":false,"pushed_at":"2019-05-27T15:58:34.000Z","size":7057,"stargazers_count":112,"open_issues_count":5,"forks_count":21,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T09:04:17.391Z","etag":null,"topics":["customnumberpicker","custompicker","custompickerview","gradientpicker","gradientpickerview","ios","numberpicker","swift","swift4","uipickerview","xcode"],"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/yashthaker7.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-06-14T17:56:18.000Z","updated_at":"2025-02-22T06:47:50.000Z","dependencies_parsed_at":"2022-11-01T23:17:57.791Z","dependency_job_id":null,"html_url":"https://github.com/yashthaker7/NumberPicker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FNumberPicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FNumberPicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FNumberPicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashthaker7%2FNumberPicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashthaker7","download_url":"https://codeload.github.com/yashthaker7/NumberPicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248719624,"owners_count":21150774,"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":["customnumberpicker","custompicker","custompickerview","gradientpicker","gradientpickerview","ios","numberpicker","swift","swift4","uipickerview","xcode"],"created_at":"2024-09-30T16:50:29.479Z","updated_at":"2025-04-13T13:26:45.779Z","avatar_url":"https://github.com/yashthaker7.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NumberPicker\n[![Version](https://img.shields.io/cocoapods/v/NumberPicker.svg?style=flat)](https://cocoapods.org/pods/NumberPicker)\n[![License](https://img.shields.io/cocoapods/l/NumberPicker.svg?style=flat)](https://cocoapods.org/pods/NumberPicker)\n[![Platform](https://img.shields.io/cocoapods/p/NumberPicker.svg?style=flat)](https://cocoapods.org/pods/NumberPicker)\n\nA more interactive way to display and select number.\n\n\u003cimg src=\"https://github.com/yashthaker7/NumberPicker/blob/master/ScreenShot/numberPicker1.gif\" width=\"300\"\u003e\u003cimg src=\"https://github.com/yashthaker7/NumberPicker/blob/master/ScreenShot/numberPicker2.gif\" width=\"300\"\u003e\n\n## Installation\n\nNumberPicker is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'NumberPicker'\n```\n\nHow to use \n---------\nCall this function in action.\n```swift\nfunc openNumberPicker() {\n    let numberPicker = NumberPicker(delegate: self, maxNumber: 300) // set max number \n    numberPicker.bgGradients = [.red, .yellow]\n    numberPicker.tintColor = .white\n    numberPicker.heading = \"Weight\"\n    numberPicker.defaultSelectedNumber = 150 // set default selected number\n\n    self.present(numberPicker, animated: true, completion: nil)\n}\n```\n### Customize \nYou can change gradient color and tint color and title \n```swift\n    numberPicker.bgGradients = [.red, .yellow]\n    numberPicker.tintColor = .white\n    numberPicker.heading = \"Weight\"\n```\n### Delegate \n```swift\nextension ViewController: NumberPickerDelegate {\n\n    func selectedNumber(_ number: Int) {\n        print(number)\n    }\n}\n```\n## Author\n\nYash Thaker, yashthaker7@gmail.com\n\n## License\n\nNumberPicker is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashthaker7%2Fnumberpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashthaker7%2Fnumberpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashthaker7%2Fnumberpicker/lists"}