https://github.com/javakanaya/sidebar
A SwiftUI macOS app exploring sidebar navigation patterns and multi-view routing.
https://github.com/javakanaya/sidebar
macos swift swiftui
Last synced: 3 months ago
JSON representation
A SwiftUI macOS app exploring sidebar navigation patterns and multi-view routing.
- Host: GitHub
- URL: https://github.com/javakanaya/sidebar
- Owner: javakanaya
- Created: 2025-09-01T15:39:22.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-08T15:43:00.000Z (10 months ago)
- Last Synced: 2026-04-12T07:34:34.442Z (3 months ago)
- Topics: macos, swift, swiftui
- Language: Swift
- Homepage:
- Size: 21.7 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sidebar
This project is a SwiftUI-based macOS application that explores sidebar navigation patterns. It demonstrates how to implement and manage a sidebar for navigating between different sections of a Mac app, such as Home, Documents, Favorites, Profile, and Settings.
## Features
- Sidebar navigation using SwiftUI
- Multiple views: Home, Documents, Favorites, Profile, Settings
- Simple navigation model and view routing
- Modular code structure for easy exploration and extension
## Project Structure
- `ContentView.swift`: Main view containing the sidebar and navigation logic
- `Utils/ViewRouter.swift`: Utility for routing between views
- `Views/`: Contains individual views for each section
- `Assets.xcassets/`: App icons and accent colors
- `Sidebar.entitlements`: App entitlements for macOS
## Getting Started
1. Open `Sidebar.xcodeproj` in Xcode
2. Build and run the app on macOS
3. Explore the sidebar navigation and switch between different sections
## Motivation
This project is intended for learning and experimentation with sidebar navigation in macOS apps using SwiftUI. It can serve as a reference or starting point for your own projects.