Menu

Planning sourdough backwards in Swift, with quiet hours
📰

Planning sourdough backwards in Swift, with quiet hours

DEV Community: swift·Ivan Chernoknizhnikov·about 11 hours ago
#uDiOWRkK
#devtoswift#devto#dev#hours#time
Long article (2544 words) — no AI summary yet.
Reading 0:00
15s threshold

Proofday is an iPhone sourdough planner: you say when you want bread, and it

works out when to feed the starter, mix, fold, shape and bake, adjusted for

kitchen temperature and kept out of the hours you sleep. It's

on the App Store ,

and the post for bakers

covers what it does. This one is about how: the fermentation model, the dynamic

program that plans backwards, how it refuses an impossible time, and the iOS

limits that shaped the reminders.

The plans below come from running the app's planning package, a Swift package

with no UI, on its Beginner Country Loaf recipe.

The fermentation model is one formula

Proofday's model says every 7 °C doubles or halves fermentation time, relative

to 24 °C:

// FermentationConfig.swift public var referenceTemperatureC : Double = 24 public var degreesPerDoubling : Double = 7 public var trustedTemperatureRangeC : ClosedRange < Double > = 16 . . .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.