Skip to content

Conversation

@sqrt0b1000
Copy link

@sqrt0b1000 sqrt0b1000 commented Oct 8, 2024

Add MenuBar support for macOS

This commit creates a new target only for macOS.
It allows accessing the interface to control the WLED directly from the menu bar,
making it easier to control when working on a Mac.

Addressing the issues in Pull Request #15.
The macOS version and the iOS version share the same code base now.
Only as few as necessary files were created, that are unique to the specific platform.

Furthermore, due to errors in compiling with Swift 6 some simplifications to the WLEDRequestManager are made,
keeping the same functionality as in DeviceStateFactory which is now called WLEDRequestManagerProvider.
Remove the reference of the ManagedObjectContext from the requests, at it can be accessed through the device easily.

@sqrt0b1000 sqrt0b1000 mentioned this pull request Oct 8, 2024
@sqrt0b1000 sqrt0b1000 changed the title Draft: Add MenuBar support for macOS Add MenuBar support for macOS Mar 21, 2025
@sqrt0b1000 sqrt0b1000 changed the title Add MenuBar support for macOS OSX: Add MenuBar support Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant