From 2e115258b33a25b95bcc4eb8a1da336a036deb9d Mon Sep 17 00:00:00 2001 From: david-swift Date: Fri, 30 Aug 2024 14:01:29 +0200 Subject: [PATCH] Fix explicit setup function required --- Sources/Model/Data Flow/Model.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Model/Data Flow/Model.swift b/Sources/Model/Data Flow/Model.swift index 45e962e..5bc3533 100644 --- a/Sources/Model/Data Flow/Model.swift +++ b/Sources/Model/Data Flow/Model.swift @@ -88,7 +88,7 @@ extension Model { /// /// At the point this function gets called, the model data is available. /// Therefore, you can use it for initializing callbacks of children. - mutating func setup() { } + public mutating func setup() { } /// Update the model. /// - Parameter setModel: Update the model in this closure.