{"id":15037499,"url":"https://github.com/mownier/sambag","last_synced_at":"2025-04-09T23:24:07.748Z","repository":{"id":44796785,"uuid":"93136355","full_name":"mownier/sambag","owner":"mownier","description":"Android Time, Month-Year, and Date pickers implemented in Swift for iOS development","archived":false,"fork":false,"pushed_at":"2022-07-12T06:34:19.000Z","size":232,"stargazers_count":50,"open_issues_count":1,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T01:13:09.477Z","etag":null,"topics":["android-ui-insipired","date-picker","ios","month-year-picker","swift3","time-picker"],"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/mownier.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":"2017-06-02T06:54:16.000Z","updated_at":"2024-10-17T00:51:06.000Z","dependencies_parsed_at":"2022-09-09T05:00:56.103Z","dependency_job_id":null,"html_url":"https://github.com/mownier/sambag","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mownier%2Fsambag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mownier%2Fsambag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mownier%2Fsambag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mownier%2Fsambag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mownier","download_url":"https://codeload.github.com/mownier/sambag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248127089,"owners_count":21052173,"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":["android-ui-insipired","date-picker","ios","month-year-picker","swift3","time-picker"],"created_at":"2024-09-24T20:34:49.414Z","updated_at":"2025-04-09T23:24:07.677Z","avatar_url":"https://github.com/mownier.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sambag\nAndroid Time, Month-Year, and Date pickers implemented in Swift for iOS development\n\n## Date Picker\n\nSpecifying min and max date\n\n```swift\nlet vc = SambagDatePickerViewController()\nvar limit = SambagSelectionLimit()\nlimit.selectedDate = Date()\nlet calendar = Calendar.current\nlimit.minDate = calendar.date(\n    byAdding: .year,\n    value: -50,\n    to: limit.selectedDate,\n    wrappingComponents: false\n)\nlimit.maxDate = calendar.date(\n    byAdding: .year,\n    value: 50,\n    to: limit.selectedDate,\n    wrappingComponents: false\n)\nvc.limit = limit\n```\n\nShowing day of week\n\n```swift\nlet vc = SambagDatePickerViewController()\nvc.hasDayOfWeek = true \n```\n\nHiding day of week\n\n```swift\nlet vc = SambagDatePickerViewController()\nvc.hasDayOfWeek = false \n```\n\n## Screenshots\n\n### Time Picker\n\n|||\n|---|---|\n|![Theme_Dark](https://raw.githubusercontent.com/mownier/sambag/master/Screenshots/theme_dark.png)| ![Theme_Light](https://raw.githubusercontent.com/mownier/sambag/master/Screenshots/theme_light.png)|  \n\n### Month Year Picker\n\n|||\n|---|---|\n|![Month_Year_Dark](https://raw.githubusercontent.com/mownier/sambag/master/Screenshots/month_year_dark.png) | ![Month_Year_Light](https://raw.githubusercontent.com/mownier/sambag/master/Screenshots/month_year_light.png)|\n\n### Date Picker\n\n|||\n|---|---|\n|![Date_Dark](https://raw.githubusercontent.com/mownier/sambag/master/Screenshots/date_picker_dark.png) | ![Date_Light](https://raw.githubusercontent.com/mownier/sambag/master/Screenshots/date_picker_light.png)|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmownier%2Fsambag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmownier%2Fsambag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmownier%2Fsambag/lists"}