Commit Graph

23 Commits

Author SHA1 Message Date
Stephen Celis 102ab45e10
Support navigationDestination, alerts, confirmation dialogs, and more! (#28)
* wip

* wip

* Update APIs

* wip

* wip

* docs

* wip

* readme tweaks

* TextState tests

* alert tests

* updates

* dont export swiftui

* wip

* wip

* update ci

* docc

* doc updates

* docs

* docs

* wip

* Update documentation.yml

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip;

* wip

* modernize inventory demo

* more modernization

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* bring back navigationDestination hack;

* wip

* wip

* wip

* wip

* wip;

* wip;

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Fix typos in README and CaseStudies (#30)

* Fix typos in README

* Fix mismatched navigation titles in CaseStudies

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* some <5.7 fixes

* another <5.7 fix

Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2022-11-21 13:35:24 -05:00
유재호 5bf9dadd08
Fix typos in README and CaseStudies (#30)
* Fix typos in README

* Fix mismatched navigation titles in CaseStudies
2022-11-18 08:23:54 -05:00
stephencelis 8d1d922782 Run swift-format 2022-10-19 00:31:24 +00:00
Stephen Celis 8d9ac80c12
Update Package.resolved 2022-10-18 17:22:43 -07:00
Stephen Celis a974c35e3d
Update README.md 2022-10-18 17:18:13 -07:00
Stephen Celis 1276991597
NavigationLink updates; less escaping (#27) 2022-10-18 17:16:24 -07:00
Stephen Celis 128f264790
Runtime warn instead of breakpoint in `Switch` (#26)
* Runtime warn instead of breakpoint in `Switch`

* Bump swift tools version

* update CI

* wip
2022-10-18 17:16:18 -07:00
Stephen Celis 51c7b145a7
Fix CI (#25)
* Fix CI

* wip
2022-09-13 01:33:01 -04:00
Stephen Celis b137013389
Fix CI (#24) 2022-09-13 00:53:54 -04:00
Stephen Celis c3aff0f948 Git-ignore .swiftpm/ 2022-09-13 00:29:53 -04:00
stephencelis 7191be7095 Run swift-format 2022-06-15 00:43:51 +00:00
June Bash 75ad98cc91
Update IfCaseLet.swift (#22)
* Update IfCaseLet.swift

* Conform ElseContent to View
2022-06-14 20:36:50 -04:00
Stephen Celis f615959e71
Add `Binding.removeDuplicates()` (#11)
* Add `Binding.removeDuplicates()`

Because this library makes it easy to add logic around navigation, it's
probably also a good idea to ship with helpers that work around some
surprising bugs/behaviors that currently exist in SwiftUI. For example,
as noticed by #10, `NavigationLink` writes `nil` to its binding twice on
dismissal.

It's probably not appropriate for us to automatically filter duplicate
writes, but we can at least ship a `Binding.removeDuplicates()` that
makes it easy to achieve this behavior.

* wip
2022-01-27 11:25:57 -05:00
stephencelis 7a61fb4199 Run swift-format 2021-11-23 15:26:03 +00:00
Brandon Williams afa0ca9bac
Case study for list of navigation links. (#6)
* Case study for list of navigation links.

* renames

* wip

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2021-11-23 10:16:44 -05:00
Brandon Williams 7d396887e8
Use the alert(unwrapping:case:) API. (#5) 2021-11-23 09:21:09 -05:00
Brandon Williams 5a6176d2a0
Update README.md 2021-11-21 11:06:07 -05:00
Anas Alhasani 3bf9ed534e
Updated README.md (#3) 2021-11-17 07:19:01 -08:00
Brandon Williams c9924a8f38 Update README. 2021-11-17 06:25:38 -06:00
Stephen Celis 72252a66fb
Update README 2021-11-16 18:14:13 -08:00
Stephen Celis 3ede95b6fb
Update README 2021-11-16 11:13:35 -08:00
Stephen Celis 0b3eced8e2 Update README 2021-11-16 10:44:11 -08:00
Stephen Celis 2694c03284 SwiftUI Navigation
Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2021-11-16 10:34:23 -08:00