Brevis is a small SwiftUI app I built to demonstrate my Swift skills. It presents Xcode keyboard shortcuts in a clean, searchable interface with thoughtful architecture and theming. This project showcases SwiftUI best practices, view composition, simple MVVM patterns, and attention to UX details.
Screen.Recording.2026-03-30.at.12.04.05.mov
- SwiftUI interface with
NavigationStack,Form, andList. - Searchable hotkeys with
searchable(text:prompt:). - Categorized hotkeys rendered via reusable views (e.g.,
HotkeySectionView). - Simple MVVM with
HotkeyCategoryViewModeland model types. - Theming support via a centralized
Theme(list style, window sizing, etc.). - Preview support with
#Previewfor rapid iteration.
- UI: SwiftUI views composed from small, testable components.
- State: Local view state with
@Stateand data provided by a view model (HotkeyCategoryViewModel). - Models:
HotkeyCategoryModelandHotkeyModel(names may vary) power the list content. - Styling: Central
Themestruct centralizes appearance choices.
This keeps responsibilities separated: views focus on layout and rendering, models describe data, and the view model adapts data for presentation.
- Xcode 15 or later (Swift 5.9+) recommended. Newer Xcode versions also work.
- iOS 17+ or macOS 14+ target (adjust as needed for your project settings).
- Clone the repository.
- Open the
.xcodeprojor.xcworkspacein Xcode. - Build and run the app.
- Browse hotkey categories in the main list.
- Use the search bar to filter hotkeys by name or description.
- Views:
MainHotkeysView,HotkeySectionView,KeySymbolView, etc. - ViewModels:
HotkeyCategoryViewModel. - Models: Category and hotkey models backing the UI.
- Theme: Centralized styling such as list style and frame sizes.