Commit Graph

34 Commits

Author SHA1 Message Date
mbrandonw
36bf097c65 Run swift-format 2020-05-20 22:01:10 +00:00
Kaan Dedeoglu
b82164d4a1 Add and remove map annotations only when necessary (#124)
* Add and remove map annotations only when necessary

* Update Examples/LocationManager/Common/MapView.swift

Co-authored-by: Brandon Williams <mbw234@gmail.com>

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-05-20 14:59:51 -07:00
Stephen Celis
05ed4deabc Make demos render better on iPad (#122) 2020-05-20 15:32:56 -04:00
Brandon Williams
82d2a23e0c ComposableCoreLocation (#120)
* wip

* wip

* wip

* wip

* wip

* basics

* wip

* wip

* wip got LocalSearchClient spm package

* got a common spm package

* basics of desktop

* renamed

* wip

* clean up

* Fix

* clean up

* formatting and remove deprecated

* wip

* move stuff around, readmes

* fix

* clean up

* image

* typo

* docs

* wip

* typo

* rename

* wip

* clean up

* clean up

* rename

* wip

* Update README.md

* custom button

* format

* wip

* fix

* error info

* public interface

* set, alpha

* add error

* fix

* alpha

* internal

* Revert "internal"

This reverts commit 97da6f3086.

* wip

* wip

* docs

* rename

* cleanup

* add fatal error messages to mock

* fixes

* fixes

* clean up

* 13.3 fixes

* another fix

* 13.3 fixes

* wip

* fix mac tests

* wip

* just use double

* fix

* Revert "fix"

This reverts commit 4565a6485f.

* fix

* Fix?

* Fix

* More fix

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-05-20 11:12:59 -07:00
Brandon Williams
0bd288a53a Add location manager examples to readmes. (#114)
* Update readmes

* wip

* remove some old code
2020-05-19 07:49:21 -07:00
Brandon Williams
fbd58747fe Fix equality checks in client models. (#113) 2020-05-18 20:09:31 -07:00
mbrandonw
f277a7316f Run swift-format 2020-05-18 21:33:23 +00:00
Brandon Williams
5bf1dea5ab New example app: Location manager (#112)
* Beginnings of a location-based example.

* wip

* some tests

* update makefile

* clean up

* wip

* clean up

* clean up

* clean up

* no need for raw value

* dont need raw value

* make searches cancellable

* Update Examples/LocationManager/LocationManager/LocationManagerClient/LocationManagerClient.swift

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

* Update Examples/LocationManager/LocationManager/LocalSearchClient/LocalSearchModels.swift

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

* Update Examples/LocationManager/LocationManager/LocalSearchClient/LocalSearchModels.swift

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

* fixes

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-05-18 14:32:32 -07:00
Brandon Williams
dc8ed21a91 Animations case study dark mode (#106)
* Fix animations case study for dark mode.

* format

* clean up
2020-05-15 09:52:09 -07:00
Brandon Williams
812a7fa83f Remove some old tests and guard debug code in #if DEBUG. (#104)
* Remove some old tests and guard debug code in #if DEBUG.

* remove background color

* fix test targets

* clean up more tests
2020-05-15 09:32:05 -07:00
Stephen Celis
4523043993 Remove a few unnecessary initializers from demos (#105) 2020-05-15 12:09:04 -04:00
Stephen Celis
e6fde0c452 Remove helper from demo (#96) 2020-05-14 16:41:50 -04:00
Stephen Celis
0807f9a8f8 Rename certain Effect APIs (#92)
* Rename certain Effect APIs

* Move deprecations

* Fix
2020-05-13 14:12:56 -04:00
Stephen Celis
9c339bf4ae Add "run" function to Reducer (#91)
* Add "run" function to Reducer

* Doc fixes
2020-05-13 13:09:17 -04:00
stephencelis
17439d8c6a Run swift-format 2020-05-13 11:35:58 +00:00
Alejandro Martínez
45407d3a23 Remove unnecessary combine in the example (#86) 2020-05-13 07:34:59 -04:00
stephencelis
52baef0b2d Run swift-format 2020-05-12 15:19:18 +00:00
Stephen Celis
6afab9f3a9 Add binding example to animation demo (#79)
* Add binding example to animation demo

* updated readme

* indentation

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-05-12 11:18:20 -04:00
stephencelis
22b37b8ae0 Run swift-format 2020-05-11 22:43:16 +00:00
Stephen Celis
b4779b36b1 Helpers for making stores stateless/actionless (#45) 2020-05-11 18:40:09 -04:00
stephencelis
0738afa903 Run swift-format 2020-05-11 22:38:18 +00:00
Stephen Celis
6f9dee713f Demos Xcode 11.3.1 support (#52)
* Demos Xcode 11.3.1 support

* Fix

* wip

* Skip test
2020-05-11 18:37:25 -04:00
Stephen Celis
a429d9d3ef Merge Test Support Module (#71)
* Merge Test Support Module

An attempt to fix #70.

* Remove import

* Update README

* Assertion failure

* Cleanup

* Add NB

* Revert format change

* Update Sources/ComposableArchitecture/TestSupport/TestStore.swift

* TicTacToe fixes

* Hide test store in debug flag

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-05-11 17:44:52 -04:00
Brandon Williams
84916aeb21 Move workspace back to root. (#65) 2020-05-10 16:59:36 -04:00
Brandon Williams
ddd110bbbe Move workspace to Examples directory so that it shows up in recents. (#63)
* Move workspace to Examples directory so that it shows up in recents.

* Update makefile
2020-05-09 16:43:53 -07:00
mbrandonw
540b21bb4e Run swift-format 2020-05-08 16:49:11 +00:00
Brandon Williams
de4058af49 Allow motion manager to be demo'd in SwiftUI preview (#46)
* Allow motion manager to be demo'd in SwiftUI preview.

* improvements

* readme

* clean up
2020-05-08 09:48:24 -07:00
Stephen Celis
483150833e Assorted Cleanup (#37) 2020-05-07 17:48:48 -04:00
Stephen Celis
bcb10ae768 Fix Xcode previews crash (#31)
* Fix Xcode previews crash

* Format
2020-05-07 09:39:25 -04:00
Thomas Marsh
be42d850ef Tic-tac-toe minor updates: win condition and fix to placeholder copy (#28)
* Simplify the tic-tac-toe win condition check

* Fix copy for placeholder in tic-tac-toe example

* Update Examples/TicTacToe/Sources/Core/GameCore.swift

Co-authored-by: Thomas Marsh <thomas.marsh@zeropw.com>
Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-05-06 21:43:24 -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
Stephen Celis
33f2c71c5b TestStore.scope tweaks (#10)
* TestStore.scope tweaks

  - Fixed the documentation formatting
  - Added an overload that only takes a state transformation

* Fix
2020-05-04 14:41:36 -04:00
Stephen Celis
d95caece62 Introduce TestStore.scope (#4)
* Introduce TestStore.scope

* Re-constrain TestStore

* Run swift-format

Co-authored-by: stephencelis <stephencelis@users.noreply.github.com>
2020-05-04 11:01:19 -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