An open API service indexing awesome lists of open source software.

https://github.com/rogymd/gardenapp

A simple iOS app that simulates a Garden.
https://github.com/rogymd/gardenapp

app appentity appintent appintents apple appshortcuts ios-swift swiftui-example swiftui-learning

Last synced: 3 months ago
JSON representation

A simple iOS app that simulates a Garden.

Awesome Lists containing this project

README

          

# 🌱 Garden App

Welcome to the **Garden App** β€” a playful SwiftUI demo project built to explore and demonstrate the power of **App Intents** and **App Shortcuts** introduced in iOS 16.

This project accompanies the blog post:
πŸ‘‰ [App Shortcuts: Give Superpowers to Your App in a Matter of Minutes](https://rogy.app/1518)

## 🍏 What’s Inside?
This app simulates a tiny digital garden where you can:
- **Plant seeds**
- **Grow fruits**
- **Pick ripe fruits**, which in turn generate new seeds

All of this is done through the UI *and* by teaching Siri how to do it for you using **App Intents**.

## πŸ“¦ Features
- `PlantSeedIntent`: Triggered with no parameters to plant a seed.
- `PickFruitIntent`: Takes a `SeedAppEntity` parameter to pick a ripe fruit.
- `SeedAppEntity`: An `AppEntity` representing fruits, with custom display, search, and suggestions.
- `AppShortcutsProvider`: Registers custom phrases and SF Symbols for Siri & Shortcuts support.

## πŸ› οΈ Technologies Used
- SwiftUI
- App Intents (iOS 16+)
- Combine

## πŸͺ΄ License
MIT β€” use, fork, grow your own version!