Skip to content
Blog
  • Apple Developer Academy
  • iOS
  • HealthKit

Mood Garden, a garden that grows when you do

A small iOS app from my year at the Apple Developer Academy, where walking, sleeping, and drinking water earn seeds for a garden you tend yourself.

Muhammad Zhafran

––– views
2 min read––– likes

Mood Garden started with one line, which became the first thing you see when you open it: take care of your garden by taking care of yourself. We built it at the Apple Developer Academy in May and June 2025.

The five of us in front of a screen showing the Mood Garden icon and a garden screen, one holding an iPad with the app icon
The five of us at our Mood Garden presentation.

The idea

Most health apps show you numbers and leave the motivation to you. We wanted something you'd want to come back to. In Mood Garden, looking after yourself grows something.

Four onboarding screens with soft illustrations: a person walking past flowers, a person asleep on a crescent moon, a watering can over flowers, and a person meditating
Audry's onboarding designs, one card for each habit the garden grows from.

There are three daily goals:

  • Walk 5,000 steps.
  • Sleep for 7 hours.
  • Drink 2 litres of water.

Reach a goal and you earn a seed. Drag it into your garden and it grows, from seed to sprout to a full plant, while a butterfly drifts around and comes over to see what you've planted. Miss a day and nothing dies. The garden just waits for you.

How it works

Steps and sleep come from Apple Health, and the app only ever reads them. Water you log yourself, from a home screen widget: each tap adds one refill of your bottle without opening the app, and the app and widget share the same count.

The garden is a SpriteKit scene. You can pan around it, drag seeds into place, and double-tap to reset the view.

Three garden screens: a tip card on dragging and planting a seed, a seed placed in the grass, and a message saying an orchid was planted, beside an illustration of the five team members
Planting a seed: hold and drag it into place, let go to plant it, and come back to watch it bloom.

Nothing leaves the phone. There's no account, no server, and no analytics, so your health data stays on your iPhone.

The team

Mood Garden was five of us:

My part was the onboarding screens, work on the garden scene, and fixes to how the garden saves its state and how it responds to your gestures.