r/iOSDevelopment • u/3011adi • 1d ago
Turned iOS Home Screen widgets into a real-time farm-to-table loop for my indie pizzeria game (WidgetKit + AppIntent + App Groups)
Hey devs! I just pushed a new update to my solo indie iOS game, Natida: Pizzeria Duo, turning WidgetKit into a live ingredient supply chain for the main game.
Instead of passive timer widgets, players can run the full crop lifecycle directly on the Home Screen:
- Small Widget: Contextual one-tap AppIntent (plants a seed if empty, sprays a beetle if present, waters/fertilizes during care windows, or harvests +4 toppings when ripe).
- Medium & Large Widgets: Interactive tool-belt toggles right inside the widget so players swap between Watering Can, Fertilizer, Bug Spray, and Seeds before tapping individual plant slots.
- State & Timeline Sync: Shared state via App Groups keeps the in-game pantry synced instantaneously, while TimelineProvider schedules exact wake-up entries as 2-hour growth rest intervals finish.
Would love any feedback from fellow iOS devs on the widget responsiveness and layout!
App Store: https://apps.apple.com/app/id6833450224