Point-Free Videos

Point-Free Videos

By Brandon Williams & Stephen CelisTechnologyEducation
Download on the App Store

Point-Free Videos episodes

  • Sharing with SQLite: Dynamic Queries
    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 are now driving several features using SQLite using a simple property wrapper that offers the same ergonomics as Swift Data's `@Query` macro, and automatically keeps the view in sync with the database. Let's add one more feature to leverage _dynamic_ queries by allowing the user to change how the data is sorted.
    40 min
  • Sharing with SQLite: Advanced Queries
    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 leverage our new `@Shared` SQLite strategy by adding a brand new feature: archiving. We will see how easy it is to incorporate queries directly into a SwiftUI view, and we will expand our tools to support even more kinds of queries.
    28 min
  • Sharing with SQLite: The Solution
    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 offers a lot of power and flexibility over a simple JSON file, but it also requires a lot of boilerplate to get working. But we can hide away all that boilerplate using the `@Shared` property wrapper and end up with something that is arguably nicer than Swift Data's `@Query` macro!
    46 min
  • Sharing with SQLite: The Problems
    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.
    ---
    Persisting app state to user defaults or a JSON file is simple and convenient, but it starts to break down when you need to present this data in more complex ways, and this is where SQLite really shines. Let's get a handle on the problem with some state that is currently persisted to a JSON file, and let's see how SQLite fixes it.
    46 min
  • πŸ†“ Tour of Sharing: File Storage: Part 2
    Every once in awhile we release a new episode free for all to see, and today is that day! Please enjoy this episode, and if you find this interesting you may want to consider a subscription https://www.pointfree.co/pricing.
    ---
    We close out our tour of the Sharing library by showing how easy it is to test code that uses
    the `@Shared` property wrapper without worrying about values bleeding between tests and the
    simulator. And we'll take the "in-memory" shared key for a spin by building one final feature.
    29 min
  • πŸ†“ Tour of Sharing: File Storage: Part 1
    Every once in awhile we release a new episode free for all to see, and today is that day! Please enjoy this episode, and if you find this interesting you may want to consider a subscription https://www.pointfree.co/pricing.
    ---
    `@Shared` is far more than a glorified version of `@AppStorage`: it can be customized with additional persistence strategies, including the file storage strategy that comes with the library, which persists far more complex data than user defaults. We will create a complex, new feature that is powered by the file system.
    40 min
  • πŸ†“ Tour of Sharing: App Storage, Part 2
    Every once in awhile we release a new episode free for all to see, and today is that day! Please enjoy this episode, and if you find this interesting you may want to consider a subscription https://www.pointfree.co/pricing.
    ---
    We show how the `@Shared` property wrapper, unlike `@AppStorage`, can be used _anywhere_, not just SwiftUI views. And we show how `@Shared` has some extra bells and whistles that make it easier to write maintainable Xcode previews and avoid potential bugs around "string-ly" typed keys and default values.
    27 min
  • πŸ†“ Tour of Sharing: App Storage, Part 1
    Every once in awhile we release a new episode free for all to see, and today is that day! Please enjoy this episode, and if you find this interesting you may want to consider a subscription https://www.pointfree.co/pricing.
    ---
    "Sharing" is a brand new library for sharing state throughout your application and to external systems like user defaults, the file system, and more. We start our tour of the library by comparing it to a tool that inspired its design: SwiftUI's `@AppStorage`.
    39 min
  • SQLite: Observation
    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.
    37 min
  • SQLite: SwiftUI
    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.
    37 min

About Point-Free Videos

From the publisher's feed

Point-Free is a hub for advanced topics in Swift. Videos cover complex, real world topics including application architecture, concurrency, persistence, and more.