GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - orchetect/MacControlCenterUI: SwiftUI menu builder DSL & controls that mimic macOS Control Center.

BranchesTags
Open more actions menu

Latest commit

 

History

355 Commits
355 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.swiftpm/xcode
.swiftpm/xcode
 
 
Demo
Demo
 
 
Images
Images
 
 
Sources/MacControlCenterUI
Sources/MacControlCenterUI
 
 
.gitignore
.gitignore
 
 
.swiftformat
.swiftformat
 
 
LICENSE
LICENSE
 
 
Package.swift
Package.swift
 
 
[email protected]
[email protected]
 
 
README.md
README.md
 
 

Repository files navigation

Mac Control Center UI

Platforms | macOS 11 Xcode 14 License: MIT

Example Screeshot

A menu builder and suite of SwiftUI controls that closely mimics the look, feel, and animations of macOS Control Center menus.

Integrates seamlessly with SwiftUI's MenuBarExtra.

Both Dark and Light Mode are fully supported.

Getting Started

Swift Package Manager (SPM)

  1. Add MacControlCenterUI as a dependency using Swift Package Manager.

    • In an app project or framework, in Xcode:

      Select the menu: File → Swift Packages → Add Package Dependency...

      Enter this URL: https://github.com/orchetect/MacControlCenterUI

    • In a Swift Package, add it to the Package.swift dependencies:

      .package(url: "https://github.com/orchetect/MacControlCenterUI", from: "2.7.0")
  2. Import the library:

    import MacControlCenterUI
  3. Try the Demo example project to see all of the available controls in action.

Requirements

Minimum requirements to compile: Xcode 14 on macOS 12.5 or newer.

Supports macOS 11.0+ once compiled.

Known Issues

  • 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.

Author

Coded by a bunch of 🐹 hamsters in a trenchcoat that calls itself @orchetect.

License

Licensed under the MIT license. See LICENSE for details.

Sponsoring

If you enjoy using MacControlCenterUI and want to contribute to open-source financially, GitHub sponsorship is much appreciated. Feedback and code contributions are also welcome.

Community & Support

Please do not email maintainers for technical support. Several options are available for issues and questions:

  • Questions and feature ideas can be posted to Discussions.
  • If an issue is a verifiable bug with reproducible steps it may be posted in Issues.

Contributions

Contributions are welcome. Posting in Discussions first prior to new submitting PRs for features or modifications is encouraged.

Code Quality & AI Contribution Policy

In an effort to maintain a consistent level of code quality and safety, this repository was built by hand and is maintained without the use of AI code generation.

AI-assisted contributions are welcome, but must remain modest in scope, maintain the same degree of quality and care, and be thoroughly vetted before acceptance.

About

SwiftUI menu builder DSL & controls that mimic macOS Control Center.

Topics

control-centercontrolcentermacosswiftuiswiftui-components

Resources

Readme
MIT license
Activity

Stars

175 stars

Watchers

5 watching

Forks

11 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.