Commit Graph

13 Commits

Author SHA1 Message Date
Stephen Celis
f0098d8232 Add cancel overloads that take types (#1078)
* Add cancel overloads that take types

* wip
2022-05-03 21:00:24 -04:00
Thomas Grapperon
1efde6e57a Add icons variants for required resolutions (#1017)
* Add icons variants for required resolutions

* Optimize PNG's size

Even without centralizing the resources, we can already save a few bytes.
The total size was reduced by 75%.

* Replace iTunes variants by a very compact transparent image

This will never hit the AppStore anyway.

* Replace images by lossless optimized variants

The previous optimization pass was lossy. This PR replace images with an optimized lossless variant of the original.

* Restore original iPhone icons

I don't know why images that were supposedly losslessly optimized by ImageOptim were less vibrant than the original.
I restored them by their original variants. Upscaled variants are less vibrant though, but I guess it's acceptable without access to the original vector source.

* Fix color space

ImageOptim seems to change the color space when it optimizes files losslessly.
I've created new variants with Pixelmator Pro and exported as web-compressed from there instead.
2022-03-15 16:15:19 -04:00
bjford
dd084dc147 Fix UIKitCaseStudies' List example (#984) 2022-01-26 08:58:26 -05:00
Stephen Celis
fe97ad6027 Fix UIKit Case Study warning (#924)
* Fix UIKit Case Study warning

* wip

Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2021-12-16 17:14:18 -05:00
filblue
dacd3de63f NavigateAndLoad: Cancel loading on dismiss (#757)
* NavigateAndLoad: Cancel loading on dismiss

* Update Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-NavigateAndLoad.swift

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

* Update Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Sheet-PresentAndLoad.swift

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

* Add cancellation to UIKitCaseStudies/NavigateAndLoad.swift

* Add cancellation to LoadThenNavigate studies

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2021-09-01 17:25:54 -04:00
Brandon Williams
6f1bc259e4 Modernize examples (#525)
* Refactor some of the example code.

* wip

* wip

* wip

* lots more updates

* fixes

* another fix

* todo simplification

* fix compiler issue in 11.7

* Update Examples/Todos/Todos/Todos.swift

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

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2021-05-04 09:17:21 -05:00
Stephen Celis
c53a961920 Add @ViewBuilder to ForEachStore and IfLetStore (#501)
* Add @ViewBuilder to ForEachStore and IfLetStore

* Update IfLetStore else branch to take view builder
2021-04-20 11:10:30 -04:00
Hung Truong
1a7b69cdb5 Fix background colors in UIKit demos to work in light and dark mode (#482) 2021-04-07 17:51:30 -07:00
Stephen Celis
b692a6deaf Simplify UIKit list case study (#365)
Suggestion from @ryanbooker: https://github.com/pointfreeco/swift-composable-architecture/discussions/351
2021-01-26 10:50:29 -05:00
Alejandro Martínez
f40942fa08 Added file and line to optional assert (#218)
* Added file and line to optional assert

* Apply suggestions from code review

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

* Deprecate old optional property and migrated TicTacToe example

* Migrated other examples to optional() and added file/line to forEach

* Update Deprecations.swift

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-07-08 17:18:48 -04:00
Stephen Celis
3d89482da6 Add assertion to Reducer.optional (#157)
* Add assertion to Reducer.optional

* Another bug

* Another potential bug

* best practice?

* WIP

* Clean up language and add more language to index-based forEach

* Re-wrap

* Update Sources/ComposableArchitecture/Reducer.swift

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

* Update Sources/ComposableArchitecture/Reducer.swift

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

* wording

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-06-04 13:57:25 -04: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
Brandon Williams
d2240d0e76 The Composable Architecture
Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-05-03 22:26:28 -07:00