{"id":13751650,"url":"https://github.com/RaffiKian/RKCalendar","last_synced_at":"2025-05-09T18:31:52.011Z","repository":{"id":49351118,"uuid":"196878398","full_name":"RaffiKian/RKCalendar","owner":"RaffiKian","description":"SwiftUI Simple Calendar / Date Picker for iOS","archived":false,"fork":false,"pushed_at":"2023-02-07T03:25:36.000Z","size":2769,"stargazers_count":525,"open_issues_count":12,"forks_count":71,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-03T09:03:06.099Z","etag":null,"topics":["calendar","datepicker","ios","swift","swift-library","swift5-1","swiftui"],"latest_commit_sha":null,"homepage":null,"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/RaffiKian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-14T20:04:56.000Z","updated_at":"2024-07-31T17:09:13.000Z","dependencies_parsed_at":"2024-01-16T12:49:37.289Z","dependency_job_id":"7be43aad-49a9-4046-bf6b-4959a63b41c0","html_url":"https://github.com/RaffiKian/RKCalendar","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/RaffiKian%2FRKCalendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffiKian%2FRKCalendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffiKian%2FRKCalendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaffiKian%2FRKCalendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaffiKian","download_url":"https://codeload.github.com/RaffiKian/RKCalendar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224876977,"owners_count":17384699,"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":["calendar","datepicker","ios","swift","swift-library","swift5-1","swiftui"],"created_at":"2024-08-03T09:00:51.019Z","updated_at":"2024-11-16T04:31:22.826Z","avatar_url":"https://github.com/RaffiKian.png","language":"Swift","funding_links":[],"categories":["Calendar","OOM-Leaks-Crash","UI","🌎 by the community"],"sub_categories":["Content","Picker","Calendar"],"readme":"\n# RKCalendar\n**RKCalendar** is a SwiftUI Calendar / Date Picker for iOS.\n\nFeatures include:\n\n- minimum and maximum calendar dates selectable,\n- single date selection, \n- range of dates selection, \n- multi-dates selection, \n- disabled dates setting.\n\n\n### Light Mode\n\u003cimg src=\"https://github.com/RaffiKian/RKCalendar/blob/master/RKCalendar/Images/demo-app-light-mode-1.png\" alt=\"demo app first screenshot\" width=\"260\"/\u003e \u003cimg src=\"https://github.com/RaffiKian/RKCalendar/blob/master/RKCalendar/Images/demo-app-light-mode-2.png\" alt=\"demo app first screenshot\" width=\"260\"/\u003e \n### Dark Mode\n\u003cimg src=\"https://github.com/RaffiKian/RKCalendar/blob/master/RKCalendar/Images/demo-app-dark-mode-1.png\" alt=\"demo app first screenshot\" width=\"260\"/\u003e \u003cimg src=\"https://github.com/RaffiKian/RKCalendar/blob/master/RKCalendar/Images/demo-app-dark-mode-2.png\" alt=\"demo app first screenshot\" width=\"260\"/\u003e \n\n**⚠️ WARNING ⚠️** This is an early version of this library that requires Swift 5.1 and Xcode 11 \n\n# Requirements\n- iOS 13.0+\n- Xcode 11+\n- Swift 5.1+\n\n# Installation\n\nIntegrate RKCalendar into your project by including the files in the \"Manager\" group.\n\n# Usage \n\nSee **ContenView.swift** for some examples. Typically create a **RKManager** and pass it to a **RKViewController**.\n\nCustomise the **RKManager** for the desired effects as follows:\n\n\n## Calendar minimum and maximum date setting\n\nSetting the calendar, minimum and maximum dates that can be selected.\n\n    RKManager(calendar: Calendar.current, minimumDate: Date(), maximumDate: Date().addingTimeInterval(60*60*24*365), mode: 0)\n\n## Single date selection\n\nUse mode 0 to select a single date.\n\n    RKManager(calendar: Calendar.current, minimumDate: Date(), maximumDate: maxDate, mode: 0)\n\n## Range of dates selection\n\nUse mode 1 to select a contiguous range of dates, from a start date to an end date.\n\n    RKManager(calendar: Calendar.current, minimumDate: Date(), maximumDate: maxDate, mode: 1)\n\nNote, mode 2 is automatically toggled internally and the end date must be greater than the start date.\n\n## Multi-dates selection\n\nUse mode 3 for selecting a number of dates.\n\n    RKManager(calendar: Calendar.current, minimumDate: Date(), maximumDate: maxDate, mode: 3)\n\n## Disabled-dates setting\n\nUse any mode and set zero or more dates to be disabled (un-selectable).\n\nFor example:\n\n    var rkManager = RKManager(calendar: Calendar.current, minimumDate: Date(), maximumDate: maxDate, mode: 0)\n\n    rkManager.disabledDates.append(contentsOf: [\n        Date().addingTimeInterval(60*60*24*4),\n        Date().addingTimeInterval(60*60*24*5),\n        Date().addingTimeInterval(60*60*24*7)\n    ])\n\n# License\nRKCalendar 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%2FRaffiKian%2FRKCalendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRaffiKian%2FRKCalendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRaffiKian%2FRKCalendar/lists"}