Swiftpack.co - Package - finestructure/CompArch

CompArch

This is a library based on Pointfree.co's ComposableArchitecture.

You can find more details here: https://www.pointfree.co/collections/composable-architecture

Github

link
Stars: 2

Dependencies

Used By

Total: 0

Releases

- 2020-03-22 14:30:05

  • Add identifiable array view method (by @slashmo)
    public func view<LocalValue: Identifiable, LocalAction>(
        _ array: WritableKeyPath<Value, [LocalValue]>,
        id: LocalValue.ID,
        action: CasePath<Action, Identified<LocalValue, LocalAction>>
    ) -> Store<LocalValue, LocalAction>

- 2020-03-17 06:40:00

  • Fix memory leak in send (see ep 94)

- 2020-03-14 09:18:21

  • Make public

- 2020-03-14 09:15:25

  • Add SwiftUI binding

- 2020-03-14 09:15:02

- 2020-03-14 09:14:45

- 2020-02-16 11:02:51

  • Identified and Indexed are now type aliases to allow pattern matching child actions:
        let reducer: Reducer<IndexedParent.State, IndexedParent.Action> = { state, action in
            switch action {
                case let .child((index, .childAction1)):
                    return [
                        Just(.childAction(index))
                            .eraseToEffect()
                ]
                case .child(_):
                    return []
                case .childAction(_):
                    return []
            }
        }

- 2020-02-15 15:50:52

  • Change Indexed property to action (from value)

- 2020-02-15 15:49:25

  • Removed test support again (can't have in in the main target)

- 2020-02-14 15:12:38

  • single target, add test support to CompArch

- 2020-02-14 14:52:25

  • Add CompArchTestSupport target

- 2020-02-14 14:03:00

  • CasePath based pullback

- 2020-02-14 11:56:53