SQLite: Observation
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
4d ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- We conclude our introductory series on SQLite by showing how to live update SwiftUI views powered by database using GRDB's "value observation." Along the way we will tackle quite a few Swift 6 concurrency issues, and we will tie things in a bow by showing how the SwiftUI environment can vastly simplify how our application is powered by SQLite ..read more
Visit website
SQLite: The C Library
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
4d ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- SQLite is one of the most well-crafted, battle-tested, widely-deployed pieces of software in history, and it's a great fit for apps with more complex persistence needs than user defaults or a JSON file. Let's get familiar with the library, starting with a crash course in interacting with C code from Swift ..read more
Visit website
SQLite: SwiftUI
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
1w ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- Let’s see how to integrate a SQLite database into a SwiftUI view. We will explore the tools GRDB provides to query the database so that we can display its data in our UI, as well as build and enforce table relations to protect the integrity of our app's state. And we will show how everything can be exercised in Xcode previews ..read more
Visit website
SQLite: GRDB
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
2w ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- Interfacing with SQLite's C library from Swift is possible, but clunky. Luckily there are friendlier, "Swiftier" interfaces the community has built, so let's take a look at the most popular: GRDB. We'll explore how it can help us avoid pitfalls and boilerplate required to use the C library, and how its typed SQL helpers can even help us avoid runtime issues at compile time ..read more
Visit website
Back to Basics: Advanced Hashable
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
1M ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- We zoom out a bit to get a greater appreciation for how `Equatable` and `Hashable` are used throughout the greater language and ecosystem, including actors, standard library types, SwiftUI, and more ..read more
Visit website
Back to Basics: Hashable References
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
1M ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- We've studied `Equatable` and `Hashable`, their laws, and saw how value types as simple bags of data easily conform via "structural" equality. What about reference types? Reference types are an amalgamation of data _and_ behavior, and that data can be mutated in place at any time, so how can they reasonably conform to these protocols ..read more
Visit website
Back to Basics: Hashable
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
1M ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- While the documentation for `Equatable` discusses the notions of "equivalence relation" _and_ "substitutability", there are conformances in the Standard Library that run afoul, but for pragmatic reasons. Let’s explore them and then dive deeper into a related protocol: `Hashable ..read more
Visit website
Back to Basics: Equatable
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
1M ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- In this series we go back to basics with a deep dive into the subject of `Equatable` types. Equatability is a deceptively simple topic. It is a surprisingly tricky protocol that has some very specific semantics that must be upheld baked into it, and there are many misconceptions on how one can or should conform types to this protocol ..read more
Visit website
Cross-Platform Swift: Persistence
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
2M ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- We round out our series with one more feature: the ability for our users to manage a list of their favorite facts. It will allow us to explore a complex side effect, persistence, and show how the same Swift code can save and load data across iOS app launches _and_ web page refreshes ..read more
Visit website
Cross-Platform Swift: New Features
Point-Free Blog
by Brandon Williams, Stephen Celis, Brandon Williams & Stephen Celis
2M ago
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- We've already covered a lot of ground and could have ended the series last week, but let's do a few more things to show just how powerful cross-platform domain modeling can be by adding a _new_ feature to our cross-platform application and see just how easy it is to integrate with SwiftUI, UIKit, _and_ WebAssembly ..read more
Visit website

Follow Point-Free Blog on FeedSpot

Continue with Google
Continue with Apple
OR