/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

osinski.dev
| | sarunw.com

Learn how to use UIView as a SwiftUI view.
2.5 parsecs

Travel
| |
| | www.iamsim.me

In the first installment of this blog series on UIKit and The Composable Architecture we talked about how we can reduce the boiler plate required to setup a view controller powered by a Store. This post will build on that and see what it takes to implement a collection view. The first thing you need to know about rendering items from a TCA Store in a table or collection view is that we won't be referring to the items by IndexPath.
2.9 parsecs

Travel
| |
| | sintraworks.github.io

Some months ago I read this article by Agnes Vasarhelyi. It's about-guess what-scrollable UIStackViews. More precisely, it's about how to correctly set up a UIStackView within a UIScrollView, using autolayout. Not long after that, I needed extactly that: a scrolling stack view for a screen I was developing at work. I decided to create something simple, yet convenient and reusable. I didn't want to create a fancy view controller with all manner of bells and whistles. Just a simple view, that acts as scrolling stack view. Also, I did not want to have to write something like scrollView.stackView.axis = .vertical, but rather stackView.axis = .vertical.
3.1 parsecs

Travel
| |
| | swiftwithmajid.com

During WWDC 23, SwiftUI introduced a new view modifier called visualEffect. This modifier allows us to attach a set of animatable visual effects by accessing layout information of the particular view. This week, we will learn how to use the new visualEffect view modifier in SwiftUI.
20.5 parsecs

Travel
|