Commit Graph

20 Commits

Author SHA1 Message Date
유재호 5ccf329cf3
Fix mismatched words in Routing case study (#78) 2023-02-02 13:00:35 -08:00
Stephen Celis bf0fb9d530
Make `ButtonState` actions more flexible (#71)
* Allow alert state actions to be mapped

Co-authored-by: Skyler Smith <skylers@cricut.com>

* wip

* wip

* reorganize deprecations

* fix

Co-authored-by: Skyler Smith <skylers@cricut.com>
2023-01-25 10:49:28 -08:00
Stephen Celis 34af246f52
Support synchronous `ButtonState` action closures (#70)
* Support synchronous action closures

When we added async support for alert/dialog action closures, we broke
implicit animations, because it's impossible to run an async closure
inside `SwiftUI.withAnimation`. Let's bring back this functionality, and
runtime warn loudly whenever an animated action is emitted to an async
action handler.

* wip
2023-01-23 16:52:59 -08:00
Stephen Celis 2500304089
Alert/ConfirmationDialog updates (#68)
* Always open up closures with global actors

Going point-free style when `async` is involved can be problematic, and
lose things like the current actor.

* Support async confirmation dialog actions
2023-01-19 13:26:24 -08:00
mbrandonw 1db1bcfd1e Run swift-format 2023-01-18 22:07:57 +00:00
Brandon Williams 5e97ce7562
Small improvements (#67)
* wip

* wip

* wip

* simplfiy

* wip

* wip

* wip
2023-01-18 14:02:00 -08:00
Marc Bauer f3ccc0b3a1
Add NSMicrophoneUsageDescription to allow running Standups example on device (#66) 2023-01-15 09:18:09 -08:00
Brandon Williams 6155d6a77c
Update Readme.md 2023-01-12 14:55:39 -08:00
John Flanagan ddc01cdcdd
Fix typo (#62) 2023-01-09 13:06:17 -05:00
mbrandonw 83934f8649 Run swift-format 2023-01-09 17:19:30 +00:00
Brandon Williams 9e41fd55f9
New case study app showing off swift-dependencies (#61)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* lots of helpers

* added a ui test

* clean up

* wip

* wip

* clean up

* wip

* wip

* wip

* wip

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* xcode 13 fix

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2023-01-09 09:08:54 -08:00
유재호 2dbe77c11f
Gardening some examples (#42) 2022-11-28 09:56:29 -06:00
유재호 15644a3758
Change where confirmationDialog modifier applied (#38) 2022-11-23 06:59:41 -05:00
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
Stephen Celis 1276991597
NavigationLink updates; less escaping (#27) 2022-10-18 17:16:24 -07: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
Stephen Celis 2694c03284 SwiftUI Navigation
Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2021-11-16 10:34:23 -08:00