{"id":15527100,"url":"https://github.com/orchetect/maccontrolcenterui","last_synced_at":"2025-12-26T07:39:09.878Z","repository":{"id":65033925,"uuid":"580719313","full_name":"orchetect/MacControlCenterUI","owner":"orchetect","description":"SwiftUI menu builder DSL \u0026 controls that mimic macOS Control Center.","archived":false,"fork":false,"pushed_at":"2025-02-24T21:25:00.000Z","size":2776,"stargazers_count":129,"open_issues_count":2,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-06T06:06:47.672Z","etag":null,"topics":["control-center","controlcenter","macos","swiftui","swiftui-components"],"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/orchetect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"orchetect"}},"created_at":"2022-12-21T09:20:09.000Z","updated_at":"2025-03-30T03:24:47.000Z","dependencies_parsed_at":"2025-02-20T01:11:43.550Z","dependency_job_id":"3b72e999-a953-42ee-9567-adf44030d091","html_url":"https://github.com/orchetect/MacControlCenterUI","commit_stats":{"total_commits":178,"total_committers":2,"mean_commits":89.0,"dds":0.005617977528089901,"last_synced_commit":"05f0daf43f1decf8e9c332c8d089b214cb3d896a"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FMacControlCenterUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FMacControlCenterUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FMacControlCenterUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FMacControlCenterUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orchetect","download_url":"https://codeload.github.com/orchetect/MacControlCenterUI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441045,"owners_count":20939239,"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":["control-center","controlcenter","macos","swiftui","swiftui-components"],"created_at":"2024-10-02T11:04:26.520Z","updated_at":"2025-12-26T07:39:09.872Z","avatar_url":"https://github.com/orchetect.png","language":"Swift","readme":"# Mac Control Center UI\n\n[![Platforms | macOS 11](https://img.shields.io/badge/platforms-macOS%2011-blue.svg?style=flat)](https://developer.apple.com/swift) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Forchetect%2FMacControlCenterUI%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/orchetect/MacControlCenterUI) [![Xcode 14](https://img.shields.io/badge/Xcode-14-blue.svg?style=flat)](https://developer.apple.com/swift) [![License: MIT](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](https://github.com/orchetect/MacControlCenterUI/blob/main/LICENSE)\n\n\u003cimg align=\"right\" width=\"40%\" src=\"Images/screenshot.png\" alt=\"Example Screeshot\"\u003e\n\n\nA **menu builder** and **suite of SwiftUI controls** that closely mimics the look, feel, and animations of **macOS Control Center** menus.\n\nIntegrates seamlessly with SwiftUI's `MenuBarExtra`.\n\nBoth **Dark** and **Light Mode** are fully supported.\n\n## Getting Started\n\n### Swift Package Manager (SPM)\n\n1. Add MacControlCenterUI as a dependency using Swift Package Manager.\n\n   - In an app project or framework, in Xcode:\n\n     Select the menu: **File → Swift Packages → Add Package Dependency...**\n\n     Enter this URL: `https://github.com/orchetect/MacControlCenterUI`\n\n   - In a Swift Package, add it to the Package.swift dependencies:\n\n     ```swift\n     .package(url: \"https://github.com/orchetect/MacControlCenterUI\", from: \"2.7.0\")\n     ```\n\n2. Import the library:\n\n   ```swift\n   import MacControlCenterUI\n   ```\n\n3. Try the [Demo](Demo) example project to see all of the available controls in action.\n\n## Requirements\n\nMinimum requirements to compile: Xcode 14 on macOS 12.5 or newer.\n\nSupports macOS 11.0+ once compiled.\n\n## Known Issues\n\n- Due to the lacklustre implementation of window resize behavior in SwiftUI, animations are kept to a bare minimum on macOS 15 and earlier. macOS 26 introduces improvements to how SwiftUI resizes windows as a result of animating view size changes, and these benefits will be conditionally available in this library when running on macOS 26.\n\n\n## Author\n\nCoded by a bunch of 🐹 hamsters in a trenchcoat that calls itself [@orchetect](https://github.com/orchetect).\n\n## License\n\nLicensed under the MIT license. See [LICENSE](https://github.com/orchetect/MacControlCenterUI/blob/master/LICENSE) for details.\n\n## Sponsoring\n\nIf you enjoy using MacControlCenterUI and want to contribute to open-source financially, GitHub sponsorship is much appreciated. Feedback and code contributions are also welcome.\n\n## Community \u0026 Support\n\nPlease do not email maintainers for technical support. Several options are available for issues and questions:\n\n- Questions and feature ideas can be posted to [Discussions](https://github.com/orchetect/MacControlCenterUI/discussions).\n- If an issue is a verifiable bug with reproducible steps it may be posted in [Issues](https://github.com/orchetect/MacControlCenterUI/issues).\n\n## Contributions\n\nContributions are welcome. Posting in [Discussions](https://github.com/orchetect/MacControlCenterUI/discussions) first prior to new submitting PRs for features or modifications is encouraged.\n","funding_links":["https://github.com/sponsors/orchetect"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forchetect%2Fmaccontrolcenterui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forchetect%2Fmaccontrolcenterui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forchetect%2Fmaccontrolcenterui/lists"}