Commit Graph

15 Commits

Author SHA1 Message Date
Wendy Liga
1a8bccc62e Support DocC Xcode 13 (#591)
* wip

* finish

* revert back code snippet identation to 5

* Update Sources/ComposableArchitecture/Effect.swift

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>
2021-06-14 14:10:08 -04:00
Steven Sherry
a116fff6d4 Addresses a couple of documentation issues for IdentifiedArray (#414)
* Addresses a couple of documentation issues for IdentifiedArray:
1. The AppState example is missing a generic. Based on the context of the documentation, I filled that into what I thought would be appropriate.
2. The ForEachStore example was missing a colon and comma.

* Update Sources/ComposableArchitecture/SwiftUI/IdentifiedArray.swift

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2021-03-06 12:16:32 -05:00
Stephen Celis
b07596068f Fatal error replacing identified elements with invalid ids (#368)
* Fatal error replacing identified elements with invalid ids

Fixes #366.

* cleanup

* fix
2021-02-01 14:45:44 -05:00
Jefferson Setiawan
59216205cf add reverse implementation (#276) 2020-09-03 19:28:23 -04:00
stephencelis
083a4a8cec Run swift-format 2020-08-13 23:53:57 +00:00
Jefferson Setiawan
fffefb9c22 Add implementation of shuffle on IdentifiedArray (#254)
* add shuffle

* Update Tests/ComposableArchitectureTests/IdentifiedArrayTests.swift

* Update IdentifiedArrayTests.swift

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-08-13 19:52:14 -04:00
Peter Kovacs
11be1b66a1 Implement sort() and sort(by:) for IdentifiedArray. (#128) 2020-05-22 16:14:36 -04:00
Stephen Celis
c77bb6ceaf Update Format Workflow (#127)
* Update Format Workflow

* Update IdentifiedArrayTests.swift
2020-05-22 13:08:00 -04:00
Peter Kovacs
6001603856 Implement IdentifiedArray.replaceSubrange (#126)
* Implement IdentifiedArray.replaceSubrange

* Use callback instead of key path.

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>

* Remove Self from where clause

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-05-22 12:28:46 -04:00
Stephen Celis
05670ca75d Move documentation inside compiler directive (#118)
* Duplicate docs for compiler directive

* Remove RELEASE doc
2020-05-19 17:03:39 -04:00
Stephen Celis
f4d81601af Fatal error for identified array subscript misuse (#95)
* Fatal error for identified array subscript misuse

* More docs

* Remove file/line to support Swift 5.1
2020-05-14 16:43:06 -04:00
Stephen Celis
27915d6524 Identified Array Updates (#80)
* Identifier-based subscript should get direct `modify` access, with
    caveats.
  * Add `remove(id:)` method.
2020-05-12 11:21:22 -04:00
Stephen Celis
bcb10ae768 Fix Xcode previews crash (#31)
* Fix Xcode previews crash

* Format
2020-05-07 09:39:25 -04:00
Stephen Celis
4016008d87 Assorted fixes for collections of state (#25)
* Assorted fixes for collections of state

Fixes #21.

* Update IdentifiedArrayTests.swift

* Update case studies

* Run swift-format on _push_ to master

* Format
2020-05-06 11:57:20 -04:00
Brandon Williams
d2240d0e76 The Composable Architecture
Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-05-03 22:26:28 -07:00