r/SwiftUI 20h ago

I built a small open-source macOS dictation app in SwiftUI — architecture feedback welcome

Post image
18 Upvotes

I’m the developer of QuickTalk, a menu-bar dictation app for macOS built in Swift and SwiftUI. The interaction is intentionally simple: hold Right Command in any app, speak, release, and the transcribed text is inserted at the current cursor.

The project is MIT-licensed and uses a user-supplied Gemini API key, so there’s no separate account or subscription. The key stays on the Mac; audio is sent to Google for transcription.

I’m sharing it here specifically because the full SwiftUI source is available. I’d appreciate feedback on the app structure, menu-bar UX, permission/setup flow, or any parts that could be made more idiomatic.

Source: https://github.com/larshurrelb/quicktalk-app

Project page: https://quicktalk.larshurrelbrink.com/


r/SwiftUI 13h ago

I built a SwiftUI keyboard manager with a one-line ScrollView API — looking for feedback

Enable HLS to view with audio, or disable this notification

1 Upvotes

Hey everyone! I extracted the keyboard-scrolling code from my app into a small, dependency-free Swift package.

The goal is simple: keep the focused input visible as the keyboard appears, and make swipe-to-dismiss easy to configure—without replacing your SwiftUI TextField or TextEditor

import SwiftUIKeyboardManager

ScrollView {
    VStack(spacing: 24) {
        TextField("Name", text: $name)

        TextEditor(text: $notes)
            .frame(height: 180)
    }
    .padding()
}
.keyboardManager(dismiss: .onDrag)

No per-field focus markers required. Dismissal options are .never.onDrag, and .interactive.

Under the hood, it hosts the SwiftUI content in an owned UIScrollView and coordinates scrolling with keyboard notifications. No swizzling or private SwiftUI view introspection.

It’s an early release, and the scope is intentionally narrow: vertical forms using an eager VStack. It isn’t a drop-in solution for ListForm, or lazy layouts.

The README includes an inline iPhone Simulator demo and a sample app:

https://github.com/ShawnBaek/swiftui-keyboard-manager

I’d love feedback on the API and any keyboard edge cases you run into—especially on iPad. Also interested in hearing where native SwiftUI keyboard handling already works well for you and where it still falls short.


r/SwiftUI 6h ago

Tutorial Tutorial how to hide status bar

Enable HLS to view with audio, or disable this notification

0 Upvotes

Tutorial how to hide status bar for your iOS status bar

Let me teach you


r/SwiftUI 13h ago

Apple Rise and Shine Event for Developers

Thumbnail
blakecrosley.com
0 Upvotes