Skip to content

Sleek is a modern, high-performance macOS application built with SwiftUI and clean architecture principles. It features a robust audio engine for sample playback and sleek, native-compliant UI.

License

Notifications You must be signed in to change notification settings

raztronaut/touchbar-midi-pad

Repository files navigation

Sleek

Sleek is a modern, high-performance macOS application built with SwiftUI and clean architecture principles. It features a robust audio engine for sample playback and sleek, native-compliant UI.

inspiration

This project was inspired by @KrishRShah and his work showcased in this tweet: https://x.com/KrishRShah/status/1999576120878883287.

Download

You can download the latest version of Sleek from our Releases page.

  1. Download Sleek_Installer.dmg.
  2. Open the DMG file.
  3. Drag "Sleek" into your Applications folder.

Features

  • Modern UI: Built entirely with SwiftUI, following the latest macOS design guidelines (unified title bar, sidebar).
  • Audio Engine: Low-latency audio playback using AVAudioEngine.
  • MVVM Architecture: Clean separation of concerns with verifiable business logic.
  • Project Generation: Uses XcodeGen for deterministic project files.

Installation

This project uses XcodeGen to generate the .xcodeproj file. Do not edit the project file directly.

Prerequisites

  • Xcode 15+
  • XcodeGen (brew install xcodegen)

Getting Started

  1. Clone the repository:

    git clone https://github.com/yourusername/sleek.git
    cd sleek
  2. Generate the Xcode project:

    xcodegen generate
  3. Open the project: open Sleek.xcodeproj

Usage

  • Audio Playback: Load samples via the main interface.
  • Settings: Configure preferences via the standard macOS settings window.

Development

Architecture

  • Views: declarative SwiftUI views.
  • ViewModels: ObservableObject classes handling state and logic.
  • Services: Protocol-based services for dependency injection.

Testing

Run tests via Xcode or command line:

xcodebuild test -scheme Sleek -destination 'platform=macOS'

Distribution

To create a distributable .dmg installer:

  1. Run the creation script:
    ./scripts/create_dmg.sh
    This command will build the app in Release mode and generate Sleek_Installer.dmg in the project root.

Contributing

Please see CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Sleek is a modern, high-performance macOS application built with SwiftUI and clean architecture principles. It features a robust audio engine for sample playback and sleek, native-compliant UI.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published