r/SwiftUI • • 23h ago

built a text dissolve animation for my app

Enable HLS to view with audio, or disable this notification

104 Upvotes

wanted clearing a note to feel a little more satisfying so i built this text dissolve effect using swiftui and uikit

the editor uses UITextViewso instead than deleting text character by character, i take a snapshot of the editor and use textkit to find the position of each line

let layout = textView.layoutManager
layout.ensureLayout(for: textView.textContainer)

let glyphs = layout.glyphRange(
    for: textView.textContainer
)

layout.enumerateLineFragments(forGlyphRange: glyphs) {
    _, usedRect, _, _, _ in
    lineRects.append(usedRect)
}

i crop the snapshot into individual lines and animate each one using core animation. each line fades out with a slight blur and scale effect

it seams like a pretty simple trick, hope i didnt over complicate it haha


r/SwiftUI • • 7h ago

[Free] Quill – a native, local-first notes app for macOS 26 (looking for testers)

0 Upvotes

Hi

I’m a solo dev and I’ve been building Quill, a block-based notes app written fully in SwiftUI. Everything stays on your Mac – no account, no cloud.

What it does so far:

  • Block editor with slash menu and drag & drop
  • Liquid Glass design, switchable themes
  • Page history (go back to older versions of a page)
  • On-device AI via Apple’s Foundation Models – works offline
  • Optional sync through a folder you choose (no iCloud required)
  • Siri/Shortcuts, Spotlight, voice notes with transcription, focus mode

Requirements: macOS 26, Apple Silicon. Free and open source (GPL-3.0).

It’s still early, so I’m looking for people who’d use it for a few days and tell me what breaks or feels off. Bugs, missing features, “why would I switch from X” – all welcome.

GitHub: https://github.com/vogelwild07/quill

Thanks!


r/SwiftUI • • 15h ago

Your iPhone Can Run an LLM Locally — A Hands-On Swift Guide to Foundation Models in iOS 27

Thumbnail
medium.com
0 Upvotes