Build Information
Successful build of Puredux, reference 2.2.2 (50b4a1), with Swift 6.2 for macOS (SPM) on 19 Dec 2025 04:36:44 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/Puredux.git
Reference: 2.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KazaiMazai/Puredux
* tag 2.2.2 -> FETCH_HEAD
HEAD is now at 50b4a17 Chained async actions execution fix (#123)
Cloned https://github.com/KazaiMazai/Puredux.git
Revision (git rev-parse @):
50b4a17a1cce2e163a6c439ab42e0fb041522d56
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/Puredux.git at 2.2.2
Fetching https://github.com/KazaiMazai/Crocodil.git
[1/291] Fetching crocodil
Fetched https://github.com/KazaiMazai/Crocodil.git from cache (0.76s)
Computing version for https://github.com/KazaiMazai/Crocodil.git
Computed https://github.com/KazaiMazai/Crocodil.git at 0.4.0 (1.30s)
Fetching https://github.com/swiftlang/swift-syntax
[1/73188] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.57s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.33s)
Creating working copy for https://github.com/KazaiMazai/Crocodil.git
Working copy of https://github.com/KazaiMazai/Crocodil.git resolved at 0.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip (0.15s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "puredux",
"name": "Puredux",
"url": "https://github.com/KazaiMazai/Puredux.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Puredux",
"dependencies": [
{
"identity": "crocodil",
"name": "Crocodil",
"url": "https://github.com/KazaiMazai/Crocodil.git",
"version": "0.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Crocodil",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/KazaiMazai/Puredux.git
[1/6300] Fetching puredux
Fetched https://github.com/KazaiMazai/Puredux.git from cache (1.02s)
Fetching https://github.com/KazaiMazai/Crocodil.git from cache
Fetched https://github.com/KazaiMazai/Crocodil.git from cache (0.46s)
Computing version for https://github.com/KazaiMazai/Crocodil.git
Computed https://github.com/KazaiMazai/Crocodil.git at 0.4.0 (0.52s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (0.93s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (1.00s)
Creating working copy for https://github.com/KazaiMazai/Crocodil.git
Working copy of https://github.com/KazaiMazai/Crocodil.git resolved at 0.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/KazaiMazai/Puredux.git
Working copy of https://github.com/KazaiMazai/Puredux.git resolved at 2.2.2 (50b4a17)
warning: '.resolve-product-dependencies': dependency 'puredux' is not used by any target
Found 1 product dependencies
- Crocodil
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/KazaiMazai/Puredux.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[3/6] Write swift-version-49B95AFC49DCD68C.txt
[5/12] Compiling CrocodilMacros VariableDeclSyntax+Properties.swift
[6/12] Compiling CrocodilMacros Plugin.swift
[7/12] Compiling CrocodilMacros AccessAttribute.swift
[8/12] Emitting module CrocodilMacros
[9/12] Compiling CrocodilMacros DependencyEntryMacro.swift
[10/12] Compiling CrocodilMacros PropertyAttributes.swift
[10/12] Write Objects.LinkFileList
[11/12] Linking CrocodilMacros-tool
[13/20] Compiling Crocodil Injectable.swift
[14/20] Compiling Crocodil InjectableKeyPath.swift
[15/20] Compiling Crocodil DependencyKey.swift
[16/20] Compiling Crocodil Dependency.swift
[17/20] Compiling Crocodil Dependencies.swift
[18/20] Compiling Crocodil Container.swift
[19/20] Compiling Crocodil DependencyEntry.swift
[20/20] Emitting module Crocodil
[21/47] Compiling Puredux CancellableObserver.swift
[22/47] Compiling Puredux Effect.swift
[23/47] Compiling Puredux EffectOperator.swift
[24/47] Compiling Puredux PresentationQueue.swift
[25/47] Compiling Puredux UIKit+StoreBindings.swift
[26/47] Compiling Puredux DispatchQueue+Delay.swift
[27/47] Compiling Puredux AnyStoreObject.swift
[28/47] Compiling Puredux CoreStore.swift
[29/47] Compiling Puredux StoreNode.swift
[30/49] Emitting module Puredux
[31/49] Compiling Puredux ReferencedObject.swift
[32/49] Compiling Puredux UncheckedReference.swift
[33/49] Compiling Puredux Equating.swift
[34/49] Compiling Puredux KeyPath+Sendable.swift
[35/49] Compiling Puredux StoreObjectProtocol.swift
[36/49] Compiling Puredux Observer.swift
[37/49] Compiling Puredux StateStore.swift
[38/49] Compiling Puredux EffectState.swift
[39/49] Compiling Puredux SideEffects.swift
[40/49] Compiling Puredux AnyStore.swift
[41/49] Compiling Puredux Dependencies.swift
[42/49] Compiling Puredux StoreOf.swift
[43/49] Compiling Puredux AsyncAction.swift
[44/49] Compiling Puredux Store.swift
[45/49] Compiling Puredux StateObserverModifier.swift
[46/49] Compiling Puredux StoreView.swift
[47/49] Compiling Puredux View+SideEffects.swift
[48/49] Compiling Puredux View+StoreBindings.swift
[49/49] Compiling Puredux Presentable.swift
Build complete! (11.50s)
Build complete.
{
"dependencies" : [
{
"identity" : "crocodil",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/KazaiMazai/Crocodil.git"
}
],
"manifest_display_name" : "Puredux",
"name" : "Puredux",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "Puredux",
"targets" : [
"Puredux"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PureduxTests",
"module_type" : "SwiftTarget",
"name" : "PureduxTests",
"path" : "Tests/PureduxTests",
"sources" : [
"SideEffectsTests/EffectStateTests.swift",
"SideEffectsTests/SideEfectsBoolTests.swift",
"SideEffectsTests/SideEfectsCollectionTests.swift",
"SideEffectsTests/SideEfectsEquatableTests.swift",
"SideEffectsTests/SideEfectsStateTests.swift",
"SideEffectsTests/SideEffectRefCycleTests.swift",
"StoreTests/ObserverTests.swift",
"StoreTests/RootStoreTests/RootStoreProxyTests.swift",
"StoreTests/RootStoreTests/RootStoreQueueTests.swift",
"StoreTests/RootStoreTests/RootStoreRefCyclesTest.swift",
"StoreTests/RootStoreTests/RootStoreTests.swift",
"StoreTests/StateStoreTests/ActionsMappingTests.swift",
"StoreTests/StateStoreTests/AsyncActionTests.swift",
"StoreTests/StateStoreTests/ChildStoreDispatchActionsTests.swift",
"StoreTests/StateStoreTests/ChildStoreInterceptorTests.swift",
"StoreTests/StateStoreTests/ChildStoreTests.swift",
"StoreTests/StateStoreTests/FactoryRootStoreQueueTests.swift",
"StoreTests/StateStoreTests/FactoryRootStoreTests.swift",
"StoreTests/StateStoreTests/ScopeStoreTests.swift",
"StoreTests/StoreNodeTests/StoreNodeDetachedStoreRefCyclesTests.swift",
"StoreTests/StoreNodeTests/StoreNodeObserverRefCycleTests.swift",
"StoreTests/StoreNodeTests/StoreNodeRefCyclesTests.swift",
"StoreTests/StoreNodeTests/StorePerformanceTests.swift",
"SwiftUITests/StoreViewTests/StoreViewAlwaysEqualDeduplicationPropsTests.swift",
"SwiftUITests/StoreViewTests/StoreViewContentRenderTests.swift",
"SwiftUITests/StoreViewTests/StoreViewDeduplicationPropsTests.swift",
"SwiftUITests/StoreViewTests/StoreViewNoDeduplicationPropsTests.swift",
"SwiftUITests/StoreViewTests/StoreViewPresentationQueueTest.swift",
"TestUtils/StoreExtensions.swift",
"TestUtils/TestActions.swift",
"TestUtils/TestRootAppStore.swift",
"TestUtils/TestState.swift",
"UIKitTests/ChildStorePresenterTests/ChildStorePresenterRefCycleTests.swift",
"UIKitTests/ChildStorePresenterTests/NoDeduplicationPropsStoreObjectTests.swift",
"UIKitTests/PresentationQueueTests/PresentationQueuePropsEvaluationTests.swift",
"UIKitTests/PresentationQueueTests/PresentationQueueVCUpdateTests.swift",
"UIKitTests/PropsEvaluationTests/AlwaysEqualDeduplicationPropsTests.swift",
"UIKitTests/PropsEvaluationTests/DeduplicationPropsTests.swift",
"UIKitTests/PropsEvaluationTests/NoDeduplicationPropsTests.swift",
"UIKitTests/TestUtils/AssertDeallocation.swift",
"UIKitTests/TestUtils/StubViewController.swift",
"UIKitTests/TestUtils/UIWindow+Tests.swift",
"UIKitTests/VCUpdateTests/AlwaysEqualDeduplicationVCTests.swift",
"UIKitTests/VCUpdateTests/DeduplicationVCTests.swift",
"UIKitTests/VCUpdateTests/NoDeduplicationVCTests.swift"
],
"target_dependencies" : [
"Puredux"
],
"type" : "test"
},
{
"c99name" : "Puredux",
"module_type" : "SwiftTarget",
"name" : "Puredux",
"path" : "Sources/Puredux",
"product_dependencies" : [
"Crocodil"
],
"product_memberships" : [
"Puredux"
],
"sources" : [
"DependencyInjection/Dependencies.swift",
"DependencyInjection/StoreOf.swift",
"SideEffects/AsyncAction.swift",
"SideEffects/CancellableObserver.swift",
"SideEffects/Effect.swift",
"SideEffects/EffectOperator.swift",
"SideEffects/EffectState.swift",
"SideEffects/SideEffects.swift",
"Store/AnyStore.swift",
"Store/Core/AnyStoreObject.swift",
"Store/Core/CoreStore.swift",
"Store/Core/StoreNode.swift",
"Store/Core/StoreObjectProtocol.swift",
"Store/Observer.swift",
"Store/StateStore.swift",
"Store/Store.swift",
"SwiftUI/StateObserverModifier.swift",
"SwiftUI/StoreView.swift",
"SwiftUI/View+SideEffects.swift",
"SwiftUI/View+StoreBindings.swift",
"UIKit/Presentable.swift",
"UIKit/PresentationQueue.swift",
"UIKit/UIKit+StoreBindings.swift",
"Utils/DispatchQueue+Delay.swift",
"Utils/Equating.swift",
"Utils/KeyPath+Sendable.swift",
"Utils/ReferencedObject.swift",
"Utils/UncheckedReference.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/kazaimazai/puredux/2.2.2
Repository: KazaiMazai/Puredux
Swift version used: 6.2
Target: Puredux
Extracting symbol information for 'Puredux'...
Finished extracting symbol information for 'Puredux'. (4.43s)
Building documentation for 'Puredux'...
warning: Parameter 'transform' not found in instance method declaration
--> ../Store/StateStore.swift:225:18-225:27
223 | The transformation is applied to the current state whenever it is accessed, resulting in a new `StateStore` of type `T`.
224 |
225 + - Parameter transform: A closure that takes the current state of type `State` and returns a new state of type `T`.
| ╰─suggestion: Replace 'transform' with 'transformation'
226 | - Returns: A new `StateStore` with the transformed state of type `T` and the same action type `Action`.
227 | */
warning: Parameter 'transformation' is missing documentation
--> ../Store/StateStore.swift:225:120-225:120
223 | The transformation is applied to the current state whenever it is accessed, resulting in a new `StateStore` of type `T`.
224 |
225 + - Parameter transform: A closure that takes the current state of type `State` and returns a new state of type `T`.
| ╰─suggestion: Document 'transformation' parameter
226 | - Returns: A new `StateStore` with the transformed state of type `T` and the same action type `Action`.
227 | */
warning: Parameter 'transform' not found in instance method declaration
--> ../Store/StateStore.swift:246:18-246:27
244 | The transformation is applied to the action whenever it is dispatched.
245 |
246 + - Parameter transform: A closure that takes the local action of type `A` and returns a parent actions of type `Action`.
| ╰─suggestion: Replace 'transform' with 'transformation'
247 | - Returns: A new `StateStore` with local to global actions mapping.
248 | */
warning: Parameter 'transformation' is missing documentation
--> ../Store/StateStore.swift:246:125-246:125
244 | The transformation is applied to the action whenever it is dispatched.
245 |
246 + - Parameter transform: A closure that takes the local action of type `A` and returns a parent actions of type `Action`.
| ╰─suggestion: Document 'transformation' parameter
247 | - Returns: A new `StateStore` with local to global actions mapping.
248 | */
warning: Parameter 'transform' not found in instance method declaration
--> ../Store/StateStore.swift:267:18-267:27
265 | depending on the outcome of the transformation closure.
266 |
267 + - Parameter transform: A closure that takes the current state of type `State` and returns an optional new state of type `T?`.
| ╰─suggestion: Replace 'transform' with 'transformation'
268 | - Returns: A new `StateStore` with the transformed state of type `T?` (optional) and the same action type `Action`.
269 | */
warning: Parameter 'transformation' is missing documentation
--> ../Store/StateStore.swift:267:131-267:131
265 | depending on the outcome of the transformation closure.
266 |
267 + - Parameter transform: A closure that takes the current state of type `State` and returns an optional new state of type `T?`.
| ╰─suggestion: Document 'transformation' parameter
268 | - Returns: A new `StateStore` with the transformed state of type `T?` (optional) and the same action type `Action`.
269 | */
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:20:10-20:31
18 | - props: A closure that maps the store's `State` and the `Store` itself to a `Props` instance. This `Props` instance will be passed to the `observe` closure whenever the state changes.
19 | - presentationQueue: A `DispatchQueue` that determines the queue on which props will be evaluated. Defaults to `.sharedPresentationQueue`.
20 + - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered out to avoid unnecessary updates. This is used to compare the current state with the previous one to decide if the view needs to be updated.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
21 | - debounceFor: A `TimeInterval` that specifies the debounce time for state changes. If multiple state changes occur within this interval, only the last one will trigger an update. This helps to reduce the number of updates and improve performance. Defaults to `.uiDebounce`.
22 | - observe: A closure that will be called with the `Props` instance whenever the state changes. This closure is used to update the view based on the new `Props`.
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:20:10-20:31
18 | - props: A closure that maps the store's `State` and the `Store` itself to a `Props` instance. This `Props` instance will be passed to the `observe` closure whenever the state changes.
19 | - presentationQueue: A `DispatchQueue` that determines the queue on which props will be evaluated. Defaults to `.sharedPresentationQueue`.
20 + - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered out to avoid unnecessary updates. This is used to compare the current state with the previous one to decide if the view needs to be updated.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
21 | - debounceFor: A `TimeInterval` that specifies the debounce time for state changes. If multiple state changes occur within this interval, only the last one will trigger an update. This helps to reduce the number of updates and improve performance. Defaults to `.uiDebounce`.
22 | - observe: A closure that will be called with the `Props` instance whenever the state changes. This closure is used to update the view based on the new `Props`.
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:21:10-21:21
19 | - presentationQueue: A `DispatchQueue` that determines the queue on which props will be evaluated. Defaults to `.sharedPresentationQueue`.
20 | - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered out to avoid unnecessary updates. This is used to compare the current state with the previous one to decide if the view needs to be updated.
21 + - debounceFor: A `TimeInterval` that specifies the debounce time for state changes. If multiple state changes occur within this interval, only the last one will trigger an update. This helps to reduce the number of updates and improve performance. Defaults to `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
22 | - observe: A closure that will be called with the `Props` instance whenever the state changes. This closure is used to update the view based on the new `Props`.
23 |
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:21:10-21:21
19 | - presentationQueue: A `DispatchQueue` that determines the queue on which props will be evaluated. Defaults to `.sharedPresentationQueue`.
20 | - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered out to avoid unnecessary updates. This is used to compare the current state with the previous one to decide if the view needs to be updated.
21 + - debounceFor: A `TimeInterval` that specifies the debounce time for state changes. If multiple state changes occur within this interval, only the last one will trigger an update. This helps to reduce the number of updates and improve performance. Defaults to `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
22 | - observe: A closure that will be called with the `Props` instance whenever the state changes. This closure is used to update the view based on the new `Props`.
23 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:81:10-81:31
79 | - props: A closure that converts the `State` and a `Dispatch` function into a `Props` instance. The `Dispatch` function is used to dispatch actions to the store. This `Props` object is used in the `observe` closure to update the view.
80 | - presentationQueue: A `DispatchQueue` specifying where view updates should occur. The default value is `.sharedPresentationQueue`.
81 + - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered to prevent redundant updates. This helps to avoid unnecessary view updates by comparing the current state with the previous state.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
82 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. When multiple state changes occur within this interval, only the last change will trigger an update, reducing the frequency of updates and improving performance. The default value is `.uiDebounce`.
83 | - observe: A closure is performed when the state changes. This closure is invoked whenever the state updates and is used to update the view or trigger side effects.
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:81:10-81:31
79 | - props: A closure that converts the `State` and a `Dispatch` function into a `Props` instance. The `Dispatch` function is used to dispatch actions to the store. This `Props` object is used in the `observe` closure to update the view.
80 | - presentationQueue: A `DispatchQueue` specifying where view updates should occur. The default value is `.sharedPresentationQueue`.
81 + - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered to prevent redundant updates. This helps to avoid unnecessary view updates by comparing the current state with the previous state.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
82 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. When multiple state changes occur within this interval, only the last change will trigger an update, reducing the frequency of updates and improving performance. The default value is `.uiDebounce`.
83 | - observe: A closure is performed when the state changes. This closure is invoked whenever the state updates and is used to update the view or trigger side effects.
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:82:10-82:21
80 | - presentationQueue: A `DispatchQueue` specifying where view updates should occur. The default value is `.sharedPresentationQueue`.
81 | - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered to prevent redundant updates. This helps to avoid unnecessary view updates by comparing the current state with the previous state.
82 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. When multiple state changes occur within this interval, only the last change will trigger an update, reducing the frequency of updates and improving performance. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
83 | - observe: A closure is performed when the state changes. This closure is invoked whenever the state updates and is used to update the view or trigger side effects.
84 |
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:82:10-82:21
80 | - presentationQueue: A `DispatchQueue` specifying where view updates should occur. The default value is `.sharedPresentationQueue`.
81 | - removeStateDuplicates: An optional `Equating` that determines if duplicate states should be filtered to prevent redundant updates. This helps to avoid unnecessary view updates by comparing the current state with the previous state.
82 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. When multiple state changes occur within this interval, only the last change will trigger an update, reducing the frequency of updates and improving performance. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
83 | - observe: A closure is performed when the state changes. This closure is invoked whenever the state updates and is used to update the view or trigger side effects.
84 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:115:10-115:31
113 | - Parameters:
114 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe.
115 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, it compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
116 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This reduces the frequency of updates and can improve performance by preventing unnecessary view updates. The default value is `.uiDebounce`.
117 | - observe: A closure that takes the current state and performs actions whenever the state changes. This closure is invoked whenever the state updates and is used to update the view or perform side effects based on the new state.
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:115:10-115:31
113 | - Parameters:
114 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe.
115 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, it compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
116 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This reduces the frequency of updates and can improve performance by preventing unnecessary view updates. The default value is `.uiDebounce`.
117 | - observe: A closure that takes the current state and performs actions whenever the state changes. This closure is invoked whenever the state updates and is used to update the view or perform side effects based on the new state.
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:116:10-116:21
114 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe.
115 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, it compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
116 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This reduces the frequency of updates and can improve performance by preventing unnecessary view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
117 | - observe: A closure that takes the current state and performs actions whenever the state changes. This closure is invoked whenever the state updates and is used to update the view or perform side effects based on the new state.
118 |
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:116:10-116:21
114 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe.
115 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, it compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
116 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This reduces the frequency of updates and can improve performance by preventing unnecessary view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
117 | - observe: A closure that takes the current state and performs actions whenever the state changes. This closure is invoked whenever the state updates and is used to update the view or perform side effects based on the new state.
118 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:165:11-165:32
163 | - Parameters:
164 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe and the dispatch function for dispatching actions.
165 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
166 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps to reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
167 | - observe: A closure that takes the current state and a `Dispatch` function, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. The `Dispatch` function allows for actions to be dispatched in response to state changes.
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:165:11-165:32
163 | - Parameters:
164 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe and the dispatch function for dispatching actions.
165 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
166 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps to reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
167 | - observe: A closure that takes the current state and a `Dispatch` function, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. The `Dispatch` function allows for actions to be dispatched in response to state changes.
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:166:11-166:22
164 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe and the dispatch function for dispatching actions.
165 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
166 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps to reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
167 | - observe: A closure that takes the current state and a `Dispatch` function, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. The `Dispatch` function allows for actions to be dispatched in response to state changes.
168 |
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:166:11-166:22
164 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view will observe and the dispatch function for dispatching actions.
165 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes trigger an update.
166 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps to reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
167 | - observe: A closure that takes the current state and a `Dispatch` function, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. The `Dispatch` function allows for actions to be dispatched in response to state changes.
168 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:217:11-217:32
215 | - Parameters:
216 | - store: A `Store` instance that manages the application's state and actions. The store holds the state that the view will observe and provides functions for dispatching actions.
217 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes will trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
218 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improves performance by preventing redundant view updates. The default value is `.uiDebounce`.
219 | - observe: A closure that takes the current state and the `Store` itself, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. It provides access to the store for additional interactions.
warning: External name 'removeStateDuplicates' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:217:11-217:32
215 | - Parameters:
216 | - store: A `Store` instance that manages the application's state and actions. The store holds the state that the view will observe and provides functions for dispatching actions.
217 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes will trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
218 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improves performance by preventing redundant view updates. The default value is `.uiDebounce`.
219 | - observe: A closure that takes the current state and the `Store` itself, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. It provides access to the store for additional interactions.
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:218:11-218:22
216 | - store: A `Store` instance that manages the application's state and actions. The store holds the state that the view will observe and provides functions for dispatching actions.
217 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes will trigger an update.
218 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improves performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
219 | - observe: A closure that takes the current state and the `Store` itself, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. It provides access to the store for additional interactions.
220 |
warning: External name 'debounceFor' used to document parameter
--> ../SwiftUI/View+StoreBindings.swift:218:11-218:22
216 | - store: A `Store` instance that manages the application's state and actions. The store holds the state that the view will observe and provides functions for dispatching actions.
217 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view should be updated. If `nil`, all state changes will trigger an update.
218 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improves performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
219 | - observe: A closure that takes the current state and the `Store` itself, performing actions whenever the state changes. This closure is invoked on each state update and is used to update the view or perform side effects based on the new state. It provides access to the store for additional interactions.
220 |
warning: External name 'debounceFor' used to document parameter
--> ../UIKit/Presentable.swift:58:11-58:22
56 | - presentationQueue: The dispatch queue on which the props will be evaluated. Defaults to `DispatchQueue.sharedPresentationQueue`. Must be **Serial DispatchQueue**
57 | - equating: An optional `Equating` that determines whether the state has changed to avoid redundant updates. Defaults to `nil`.
58 + - debounceFor: A time interval for debouncing rapid state changes. Defaults to `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
59 |
60 | Usage Example for `UIViewController`:
warning: Parameter 'timeInterval' is missing documentation
--> ../UIKit/Presentable.swift:124:136-124:136
122 | - props: A closure that maps the state and dispatch closure to the properties needed by the presentable.
123 | - presentationQueue: The dispatch queue on which the props will be evaluated on. Defaults to `DispatchQueue.sharedPresentationQueue`. Must be **Serial DispatchQueue**
124 + - equating: An optional `Equating` that determines whether the state has changed to avoid redundant updates. Defaults to `nil`.
| ╰─suggestion: Document 'timeInterval' parameter
125 | */
126 | func setPresenter<State, Action>(_ store: any Store<State, Action>,
warning: External name 'removeStateDuplicates' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:41:11-41:32
39 | - props: A closure that takes the current state and the `Store` itself, and returns a `Props` instance. This `Props` instance is used to update the view or view controller or trigger side effects. The `props` closure allows for deriving view-specific properties from the state and store.
40 | - presentationQueue: A `DispatchQueue` specifying where props evaluation should occur. The default value is `.sharedPresentationQueue`. Must be a **serial queue**.
41 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
42 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
43 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated `Props` instance and is used to update the view or view controller or perform side effects based on the new properties.
warning: External name 'debounceFor' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:42:11-42:22
40 | - presentationQueue: A `DispatchQueue` specifying where props evaluation should occur. The default value is `.sharedPresentationQueue`. Must be a **serial queue**.
41 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
42 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
43 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated `Props` instance and is used to update the view or view controller or perform side effects based on the new properties.
44 |
warning: Return value documented for instance method returning void
--> ../UIKit/UIKit+StoreBindings.swift:45:6-47:6
43 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated `Props` instance and is used to update the view or view controller or perform side effects based on the new properties.
44 |
45 + - Returns:
| ╰─suggestion: Remove return value documentation
46 + This method does not return a value. It subscribes the view or view controller to the `Store` and sets up the necessary logic to handle state changes and updates.
47 +
48 | Usage Example for `UIViewController`:
49 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:113:11-113:32
111 | - props: A closure that takes the current state and the store's dispatch function, and returns a `Props` instance. This `Props` instance is used to update the view or view controller or trigger side effects. The `props` closure allows for deriving view-specific properties from the state and store.
112 | - presentationQueue: A `DispatchQueue` specifying where props evaluation should occur. The default value is `.sharedPresentationQueue`. Must be a **serial queue**.
113 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
114 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
115 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated `Props` instance and is used to update the view or view controller or perform side effects based on the new properties.
warning: External name 'debounceFor' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:114:11-114:22
112 | - presentationQueue: A `DispatchQueue` specifying where props evaluation should occur. The default value is `.sharedPresentationQueue`. Must be a **serial queue**.
113 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
114 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
115 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated `Props` instance and is used to update the view or view controller or perform side effects based on the new properties.
116 |
warning: Return value documented for instance method returning void
--> ../UIKit/UIKit+StoreBindings.swift:117:6-119:6
115 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated `Props` instance and is used to update the view or view controller or perform side effects based on the new properties.
116 |
117 + - Returns:
| ╰─suggestion: Remove return value documentation
118 + This method does not return a value. It subscribes the view or view controller to the `Store` and sets up the necessary logic to handle state changes and updates.
119 +
120 | Usage Example for `UIViewController`:
121 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:181:11-181:32
179 | - Parameters:
180 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view or view controller will observe.
181 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
182 | - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
183 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and is used to update the view or view controller or perform side effects based on the new state.
warning: External name 'debounceFor' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:182:11-182:22
180 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view or view controller will observe.
181 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
182 + - debounceFor: A `TimeInterval` that specifies the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
183 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and is used to update the view or view controller or perform side effects based on the new state.
184 |
warning: Return value documented for instance method returning void
--> ../UIKit/UIKit+StoreBindings.swift:185:6-187:6
183 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and is used to update the view or view controller or perform side effects based on the new state.
184 |
185 + - Returns:
| ╰─suggestion: Remove return value documentation
186 + This method does not return a value. It subscribes the view or view controller to the `Store` and sets up the necessary logic to handle state changes and updates.
187 +
188 | Usage Example for `UIViewController`:
189 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:237:11-237:32
235 | - Parameters:
236 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view or view controller will observe and provides functions for dispatching actions.
237 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
238 | - debounceFor: A `TimeInterval` specifying the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
239 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and the store's dispatch function. It is used to update the view or view controller or perform side effects based on the new state and provides the dispatch function to dispatch actions if needed.
warning: External name 'debounceFor' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:238:11-238:22
236 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view or view controller will observe and provides functions for dispatching actions.
237 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
238 + - debounceFor: A `TimeInterval` specifying the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
239 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and the store's dispatch function. It is used to update the view or view controller or perform side effects based on the new state and provides the dispatch function to dispatch actions if needed.
240 |
warning: Return value documented for instance method returning void
--> ../UIKit/UIKit+StoreBindings.swift:241:6-243:6
239 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and the store's dispatch function. It is used to update the view or view controller or perform side effects based on the new state and provides the dispatch function to dispatch actions if needed.
240 |
241 + - Returns:
| ╰─suggestion: Remove return value documentation
242 + This method does not return a value. It subscribes the view or view controller to the `Store` and sets up the necessary logic to handle state changes and updates.
243 +
244 | Usage Example for `UIViewController`:
245 |
warning: External name 'removeStateDuplicates' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:291:11-291:32
289 | - Parameters:
290 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view or view controller will observe and provides functions for dispatching actions.
291 + - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
| ╰─suggestion: Replace 'removeStateDuplicates' with 'equating'
292 | - debounceFor: A `TimeInterval` specifying the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
293 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and the store itself. It is used to update the view or view controller or perform side effects based on the new state, and provides direct access to the store for additional interactions.
warning: External name 'debounceFor' used to document parameter
--> ../UIKit/UIKit+StoreBindings.swift:292:11-292:22
290 | - store: A `Store` instance that manages the application's state and actions. It holds the state that the view or view controller will observe and provides functions for dispatching actions.
291 | - removeStateDuplicates: An optional `Equating` used to determine if duplicate states should be filtered out to avoid unnecessary updates. If provided, this closure compares the current state with the previous state to decide if the view or view controller should be updated. If `nil`, all state changes will trigger an update.
292 + - debounceFor: A `TimeInterval` specifying the debounce duration for state changes. If multiple state changes occur within this interval, only the last change will trigger an update. This helps reduce the frequency of updates and improve performance by preventing redundant view updates. The default value is `.uiDebounce`.
| ╰─suggestion: Replace 'debounceFor' with 'timeInterval'
293 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and the store itself. It is used to update the view or view controller or perform side effects based on the new state, and provides direct access to the store for additional interactions.
294 |
warning: Return value documented for instance method returning void
--> ../UIKit/UIKit+StoreBindings.swift:295:6-297:6
293 | - observe: A closure that is called whenever the state changes. This closure is invoked with the updated state and the store itself. It is used to update the view or view controller or perform side effects based on the new state, and provides direct access to the store for additional interactions.
294 |
295 + - Returns:
| ╰─suggestion: Remove return value documentation
296 + This method does not return a value. It subscribes the view or view controller to the `Store` and sets up the necessary logic to handle state changes and updates.
297 +
298 | Usage Example for `UIViewController`:
299 |
Finished building documentation for 'Puredux' (0.75s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/kazaimazai/puredux/2.2.2
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Updating https://github.com/KazaiMazai/Crocodil.git
Updating https://github.com/swiftlang/swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.21s)
Updated https://github.com/swiftlang/swift-syntax (0.92s)
Updated https://github.com/KazaiMazai/Crocodil.git (0.92s)
Computing version for https://github.com/KazaiMazai/Crocodil.git
Computed https://github.com/KazaiMazai/Crocodil.git at 0.4.0 (2.67s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3625] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.87s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit Symbol.swift
[13/57] Compiling SymbolKit SymbolKind.swift
[14/57] Compiling SymbolKit SymbolGraph.swift
[15/57] Compiling SymbolKit GraphCollector.swift
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling SymbolKit SourceRange.swift
[22/57] Compiling SymbolKit Metadata.swift
[23/57] Compiling SymbolKit Module.swift
[24/57] Compiling SymbolKit OperatingSystem.swift
[25/57] Compiling SymbolKit Platform.swift
[26/57] Compiling Snippets SnippetParser.swift
[27/57] Compiling Snippets Snippet.swift
[28/57] Emitting module Snippets
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit Identifier.swift
[35/57] Compiling SymbolKit KindIdentifier.swift
[36/57] Compiling SymbolKit Location.swift
[37/57] Compiling SymbolKit Mutability.swift
[38/57] Compiling SymbolKit GenericConstraint.swift
[39/57] Compiling SymbolKit GenericParameter.swift
[40/57] Compiling SymbolKit Generics.swift
[41/57] Compiling SymbolKit Namespace.swift
[42/57] Compiling SymbolKit Names.swift
[43/57] Compiling SymbolKit SPI.swift
[44/57] Compiling SymbolKit Snippet.swift
[45/57] Compiling SymbolKit Extension.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.47s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'Puredux' complete! (0.69s)
2110
16 /Users/admin/builder/spi-builder-workspace/.docs/kazaimazai/puredux/2.2.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/kazaimazai/puredux/2.2.2
File count: 2110
Doc size: 16.0MB
Preparing doc bundle ...
Uploading prod-kazaimazai-puredux-2.2.2-36e99eb8.zip to s3://spi-docs-inbox/prod-kazaimazai-puredux-2.2.2-36e99eb8.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [52%]
Copying... [60%]
Copying... [71%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.