{"id":20313512,"url":"https://github.com/thierryh91200/thcalendar","last_synced_at":"2025-08-16T15:13:28.487Z","repository":{"id":109025937,"uuid":"107414249","full_name":"thierryH91200/THCalendar","owner":"thierryH91200","description":"Calendar like iOS","archived":false,"fork":false,"pushed_at":"2022-01-09T11:51:00.000Z","size":793,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-11T17:15:27.999Z","etag":null,"topics":["calendar","collection-view","collectionview","customizable","ical","icalendar","macos","osx","swift4"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thierryH91200.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-18T13:45:56.000Z","updated_at":"2022-01-09T11:51:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"098a3b85-7542-4867-8a9f-bae316e47e46","html_url":"https://github.com/thierryH91200/THCalendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thierryH91200/THCalendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierryH91200%2FTHCalendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierryH91200%2FTHCalendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierryH91200%2FTHCalendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierryH91200%2FTHCalendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thierryH91200","download_url":"https://codeload.github.com/thierryH91200/THCalendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierryH91200%2FTHCalendar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265365543,"owners_count":23753349,"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","collection-view","collectionview","customizable","ical","icalendar","macos","osx","swift4"],"created_at":"2024-11-14T18:11:36.843Z","updated_at":"2025-07-14T23:04:40.735Z","avatar_url":"https://github.com/thierryH91200.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![BCH compliance](https://bettercodehub.com/edge/badge/thierryH91200/THCalendar?branch=master)](https://bettercodehub.com/)\n\n\n\n# THCalendar\n\n\nCalendarView framework written in Swift for OS X\n\n![Alt text](https://github.com/thierryH91200/THCalendar/blob/master/THCalendar.jpg)\n\n\n# Usage\n\n## Initialize the Calendar View\n\n```\nlet calendarView = THCalendarView()\n```\n\n## Overriding Preferences\n\n```\nvar preferences = THCalendarView.globalPreferences\n\npreferences.calendar.textColor = NSColor.darkGray\npreferences.calendar.cellColorDefault = NSColor(white: 0.0, alpha: 0.1)\npreferences.calendar.cellColorToday = NSColor.darkGray\npreferences.calendar.borderColor = NSColor.red\npreferences.calendar.backgroundColors = NSColor.darkGray\npreferences.calendar.beginWeek = .monday\n\npreferences.date.circleBackgroundColor = NSColor.yellow\npreferences.date.dotColor = #colorLiteral(red: 0, green: 0.9768045545, blue: 0, alpha: 1)\n\nTHCalendarView.globalPreferences = preferences\n```\n\n## Add Calendar to the view hierarchy\n\n```\naddChildViewController(calendarView)\ncalendarView.view.frame = containerView.frame\nview.addSubview(calendarView.view)\n```\n\n## Set the calendar properties\n\n```\ncalendarView.counts = generateCounts()\ncalendarView.selectedDate = Date()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthierryh91200%2Fthcalendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthierryh91200%2Fthcalendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthierryh91200%2Fthcalendar/lists"}