{"id":21065042,"url":"https://github.com/prolificinteractive/pidatepicker","last_synced_at":"2025-07-06T03:36:34.846Z","repository":{"id":29959501,"uuid":"33506250","full_name":"prolificinteractive/PIDatePicker","owner":"prolificinteractive","description":"[DEPRECATED] A customizable implementation of UIDatePicker, written in Swift.","archived":false,"fork":false,"pushed_at":"2017-09-01T18:07:42.000Z","size":214,"stargazers_count":39,"open_issues_count":8,"forks_count":26,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-06-28T02:23:51.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"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/prolificinteractive.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":"2015-04-06T21:14:37.000Z","updated_at":"2024-11-25T07:08:13.000Z","dependencies_parsed_at":"2022-09-13T23:11:23.652Z","dependency_job_id":null,"html_url":"https://github.com/prolificinteractive/PIDatePicker","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/prolificinteractive/PIDatePicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prolificinteractive%2FPIDatePicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prolificinteractive%2FPIDatePicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prolificinteractive%2FPIDatePicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prolificinteractive%2FPIDatePicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prolificinteractive","download_url":"https://codeload.github.com/prolificinteractive/PIDatePicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prolificinteractive%2FPIDatePicker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263844609,"owners_count":23519007,"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-11-19T17:53:16.396Z","updated_at":"2025-07-06T03:36:34.821Z","avatar_url":"https://github.com/prolificinteractive.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [DEPRECATED] PIDatePicker\n\n⚠️ **This repository is no longer maintained or supported. New pull requests will not be reviewed.** ⚠️\n\n![PIDatePicker](https://raw.github.com/prolificinteractive/pidatepicker/master/Images/PIDatePicker.gif)\n\n## Description\nA custom UIDatePicker object that allows design customization of various user interface attributes such as font, color, etc. This pod\naims to replicate the default UIDatePicker functionality while adding additional customization in the user interface.\n\n## Usage\n\nPIDatePicker is available through [Cocoapods](https://cocoapods.org/?q=PIDatePicker). \n\nThe source code is available on [GitHub](https://github.com/prolificinteractive/PIDatePicker). \n\nTo use in your projects, simply add the following line to your `Podfile`:\n\n```ruby\npod \"PIDatePicker\", '~\u003e 0.1.0'\n```\n\nYou can then use `PIDatePicker` by importing it into your files:\n\n```swift\nimport PIDatePicker\n```\n\nBecause this project was written in Swift, your project must have a minimum target of iOS 8.0 or greater. Cocoapods\ndoes not support Swift pods for previous iOS versions. If you need to use this on a previous version of iOS, \nimport the code files directly into your project or by using git submodules.\n\n## Customization\n\nThere are several options available for customizing your date picker:\n\n| Property              | Type      | Description                                                                                                       |\n|:----------------------|:----------|:------------------------------------------------------------------------------------------------------------------|\n| font\t\t\t        | UIFont    | Sets the font that the date picker will use to display the dates. By default, it uses a system font of size 15.   |\n| textColor             | UIColor   | Set the color of the text. By default, it uses `UIColor.blackColor()`.                                            |\n| backgroundColor       | UIColor   | Set the background color of the date picker. By default, it is a clear color.                                     |\n| minimumDate \t\t    | UIDate    | The minimum selectable date allowed by the date picker. Defaults to `NSDate.distantPast()`.                       |\n| maximumDate\t\t    | UIDate    | The maximum selectable date allowed by the date picker. Defaults to `NSDate.distantFuture()`.                     |\n| locale\t\t        | NSLocale  | The locale of the calendar used for formatting the date. By default, this uses the device's locale.               |\n\nThe following public methods are available for calling in your module:\n\n| Method                \t\t\t\t\t| Description                                           |\n|:------------------------------------------|:------------------------------------------------------|\n| reloadAllComponents() \t\t\t\t\t| Reloads all of the components of the date picker.\t\t|\n| setDate(date: NSDate, animated: Bool)     | Sets the current date of the date picker.             |\n\n## Delegate\n\nA class can implement `PIDatePickerDelegate` and the following method to respond to changes in user selection.\n\n```swift\nfunc pickerView(pickerView: PIDatePicker, didSelectRow row: Int, inComponent component: Int)\n```\n\n## Contributing\n\nTo report a bug or enhancement request, feel free to file an issue under the respective heading. \n\nIf you wish to contribute to the project, fork this repo and submit a pull request. \n\n## License\n\nPIDatePicker is available under the MIT license. See the LICENSE file for more info.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprolificinteractive%2Fpidatepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprolificinteractive%2Fpidatepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprolificinteractive%2Fpidatepicker/lists"}