{"id":25629729,"url":"https://github.com/orchetect/MacControlCenterUI","last_synced_at":"2025-02-22T19:18:15.981Z","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-01-27T22:33:40.000Z","size":2767,"stargazers_count":117,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-20T01:11:20.324Z","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-02-16T04:14:48.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":240199231,"owners_count":19763825,"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":"2025-02-22T19:17:37.400Z","updated_at":"2025-02-22T19:18:15.977Z","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/demo.png\" alt=\"Example\"\u003e\n\n\n\nA **menu builder** and **suite of SwiftUI controls** that closely mimic the feel of **macOS Control Center** menus.\n\nIntegrates seamlessly with Swift's new `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.3.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, it is currently not possible to get smooth window resize animations without a tremendous amount of work. For that reason, most MacControlCenterUI controls whose Control Center counterparts use animation will instead use safer static view size changes.\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## 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":["Swift"],"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"}