◉RORK LABJP
●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SDK 58 — Beta since 09/15 with no stable date yet; running projects in Expo Go has required login since 09/03●WIDGET — A write-up traces an iOS widget that renders black only in production builds●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SDK 58 — Beta since 09/15 with no stable date yet; running projects in Expo Go has required login since 09/03●WIDGET — A write-up traces an iOS widget that renders black only in production builds●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…
Articles/Dev Tools
⬡ Dev Tools/2026-07-12Intermediate

A symbolEffect Field Memo: Making Icons Move Nicely in Your Rork Max App

Animate SF Symbols in a Swift app generated by Rork Max using bounce, pulse, variableColor, and contentTransition, with working code, OS-version gating, and the mistakes I made from over-animating.

Rork Max236SF SymbolsSwiftUI66symbolEffectAnimation8

✦ Premium Article

As an indie developer running a handful of calm-and-wellness apps, I was bothered for a long time by how the favorite heart responded when you tapped it. Tap it, and the color changed. That was all. Without any motion, the tap barely registered as a tap. Your finger expects a reaction, yet the screen stays still. That small mismatch quietly lowered the warmth of the whole experience.

Because Rork Max outputs real Swift, this kind of tactile detail sits naturally on top of the standard iOS machinery. If an icon already uses SF Symbols, adding a few lines of symbolEffect makes it bounce the moment you press it, or pulse while something loads. No new library, no swapped-out assets.

Using two subjects, a favorite button and a downloading indicator, I will walk through where symbolEffect earns its place, hands on. I will also be honest about the version where I over-animated and made things harder to read.

Start with the smallest step: a one-shot bounce

The first thing I tried was a bounce that fires only at the instant you tap the favorite button. The key idea here is to react to the number of taps rather than to animate continuously. In SwiftUI, you use the overload with value:, which plays the effect once whenever the value changes.

import SwiftUI
 
struct FavoriteButton: View {
    @State private var isFavorite = false
    // Count taps and use it to trigger the bounce
    @State private var tapCount = 0
 
    var body: some View {
        Button {
            isFavorite.toggle()
            tapCount += 1
        } label: {
            Image(systemName: isFavorite ? "heart.fill" : "heart")
                .font(.system(size: 32))
                .foregroundStyle(isFavorite ? .pink : .secondary)
                // Bounces once every time tapCount changes
                .symbolEffect(.bounce, value: tapCount)
        }
    }
}

The important detail is that I pass tapCount (an Int) to value:, not isFavorite (a Bool). If you pass a Bool, the effect may not replay when the state returns to a value it held before. Keeping a separate counter guarantees a bounce on every press. I passed the Bool directly at first and spent a good half hour puzzled by an icon that only bounced every other tap.

The rule for one-shot effects is simple: drive them by a count. Hold onto that one point and the rest falls into place.

Animate continuously: pulse and variableColor while loading

Next is the downloading indicator. It should keep moving as long as work continues, so this one repeats. .pulse fades in and out, while .variableColor lights up layers in sequence, which suits anything that progresses in stages, like a signal strength or a download.

struct DownloadingIcon: View {
    let isDownloading: Bool
 
    var body: some View {
        Image(systemName: "arrow.down.circle")
            .font(.system(size: 28))
            .symbolEffect(
                .variableColor.iterative.reversing,
                isActive: isDownloading
            )
    }
}

For repeating effects you use isActive: instead of value:. The animation runs only while isActive is true and stops naturally when it turns false. Because it wires directly to a state variable, switching the motion on and off around the start and end of a download reads cleanly.

.iterative lights the layers one at a time, and .reversing folds back when it reaches the end. Drop those two and every layer blinks at once, which feels restless. I first built it with .cumulative, where the light builds up, but that "accumulating" look clashed with the "counting down" feeling of a download, so I rebuilt it. Choosing an effect turned out to be less about visual taste and more about matching the direction of the state you want to convey.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦Make a favorite button or a loading icon move naturally with just a few lines of symbolEffect
✦See the difference between the effects available on iOS 17 and 18 in one table, and gate them safely with availability checks
✦Get a practical rule of thumb for using variableColor for progress and contentTransition for state changes
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

⬡ Dev Tools2026-07-18
The Generated Screen That Quietly Jams at AX5 and in German — Putting Layout Resilience Checks on Rork Max SwiftUI
A record of running every Rork Max generated SwiftUI screen through pseudolocalization and the largest text size to find exactly where it jams. Covers when to reach for ViewThatFits, ScaledMetric and layoutPriority, plus the snapshot checks that catch regressions every time you regenerate.
⬡ Dev Tools2026-05-17
Testing Rork Max SwiftUI Features on a Real Wallpaper App — What Worked, What Needed Fixes
I benchmarked Rork Max's SwiftUI generation against the production code of a wallpaper app I actually run. Here is what shipped as-is, what needed fixing, and what I ended up writing by hand — with working code and on-device measurements.
⬡ Dev Tools2026-05-12
Building a Shared UI Component Library with Swift Package Manager in Rork Max
A practical guide to building a shared SwiftUI component library with Swift Package Manager for indie developers running multiple apps — eliminate duplicate code across wallpaper, healing, and similar app families.