Bite-sized videos on iOS development.
The iOS landscape is large and changes often. With short, bite-sized videos released on a steady schedule, NSScreencast helps keep you continually up to date.
Up to date with Xcode 15 and iOS 17
UIKit, SwiftUI, SwiftData, and macOS
Swift Language
High Quality Videos
Short and Focused
Any Device
Team Plans
Have I mentioned lately how awesome NSScreencast is? No? Worth the subscription. Check it out if you’re an iOS developer. Or even if you’re not and you want an example of how to do coding screencasts well.
Got tired of dead-end googling so I checked to see if @NSScreencast had covered what I was looking for. Of course he had, 4 years ago. Should have checked there first.
One 13-minute episode of @NSScreencast just paid for the yearly subscription fee in amount of time saved. Do it.
Seriously great stuff even for seasoned developers. I’ve learned a good amount from Ben’s videos.
You can really expand your development horizons in just a few minutes a week with NSScreencast.
Random PSA for iOS developers: @NSScreencast is a great resource, and worth every penny. It’s high quality, practical, and honest.
Can’t say enough good things about @NSScreencast There is gold in the Road Trip DJ Series.
I just reuppped my subscription to @NSScreencast. [An] indespensible resource if you’re into iOS or Mac Development.
Just finished @NSScreencast series on Modern CollectionViews. Strongly recommended. Programmatic UI, nicely structured code, easily approachable explanation style. 👌
#538
In this video we discuss a couple of options for implementing drag to reorder so that we can reorder our todos. We also implement a feature to automatically move completed todos to the bottom, and bringing them back when unchecked.
#537
In this episode we'll implement swipe to delete so we can remove todo items.
#536
In this episode we make the todos editable and implement keyboard avoidance. We create a "new todo" button and then set up programmatic control over focus. Along the way we'll see why choosing a proper Hashable value is important.
#535
In this episode we design a checkbox for our todo UI. We see how we can stroke and fill shapes, how to use InsettableShape, and how to apply a shadow without applying it to every view in the hierarchy.
#534
Kicking off a new series on building a Todo App in SwiftUI. In this episode we focus primarily on the preliminary data structure, deciding who owns this data and when to use State versus Bindings when separating our app into distinct views.
#533
Bindings are a core concept in SwiftUI. We can easily convert a @State property wrapper to a binding of its value, and we can traverse keypaths to get Bindings of nested values. What if we wanted to transform the values, or update values inside of collections? In this episode we will explore creating map for transforming bindings, unwrap for transforming optional bindings, and take a look at how bindings with collections work under the hood.
#532
Property Wrappers are great for encapsulating cross-cutting concerns and simplifying common patterns. However, previously it seemed impossible to access the enclosing instance to enable more advanced and useful behaviors. As it turns out, this was supported all along, just in a not-so-obvious way. Let me show you.
#531
Sometimes we run into issues where SwiftUI doesn't quite do what we need. In some cases, SwiftUI views are powered by UIKit under the hood. Wouldn't it be great (and devious) to dig into the underlying UIKit views to customize things when vanilla SwiftUI just won't cut it? In this episode we'll look at a technique for discovering the UIKit underneath SwiftUI views.
#530
In this episode we will examine FocusedValue and FocusedBinding, which are property wrappers that allow you to react to some state when a nearby field gets focused.
#529
There are a number of types, propertyWrappers and view modifiers describing "focus" so it is not immediately obvious what they are all for. In this episode we will see how we can control focus for a text field in SwiftUI. We'll see how to use simple Bools as well as your own types to describe which field has focus. Finally we'll touch on a common request that doesn't yet have a great answer: setting focus in onAppear.
#528
In iOS 15 we can take advantage of the long-awaited OSLogStore, which allows you to capture and filter logs for your process on device. In this episode we will examine the NSScreencast application, which utilizes logging pretty extensively. We will build a rudimentary debug shake menu to show recent logs.
#527
iOS 14 brought some nice improvements to os_log via a new type called Logger. This leverages Swift's StringInterpolation type to make it much more usable for formatting values inside your logs. It does this without sacrificing the privacy and performance that makes os_log so appealing. In this episode we will see how we can adopt this new API as well as how StringInterpolation works under the hood.
#526
One of the most impactful things you can do to improve productivity is to improve turnaround time when iterating on features. Playgrounds and Xcode Live Previews are great, but both have their limitations. In this episode we will explore how to utilize hot module reloading to have the simulator automatically reflect your changes when you save. It's magic, and will blow your mind!
#525
We now have all the pieces in place to make this game playable. We'll choose a random word, and then move on to detecting won/lost games and provide the ability to restart and keep playing.
#524
In this episode we create a custom transition using a GeometryEffect to add a nice flip animation for the letters as they are revealed.
#523
Now that we have some information associated with each of our typed characters, we can use that to color each letter according to its status.
#522
This time we'll focus on moving on from a simple string to a data structure that can capture the status of each guessed letter.
#521
In this episode we will handle the enter key and migrate our state to contain an array of guesses. We will then refactor to an observable object to better encapsulate state changes and to enable testability.
#520
Let's make the letters bounce a little as they are being typed. To do this we'll have to see how animated state changes are performed and how we can restructure our view hierarchy to achieve the results we're after.
#519
In this episode we'll design a letter grid and build up text input using a hidden textfield, displaying the typed letters in our own UI.
#518
In this episode we create an image cache using an actor that provides disk-caching for images from the Unsplash API. We'll also talk about Sendable and enable some compiler warnings to help us catch potential issues.
#517
In this episode we will look at two ways of generating async values with AsyncStream. We'll examine the difference between the push and pull models and how to deal with back pressure.
#516
We explore how we might encapsulate logic within an AsyncSequence and introduce the need for a type erased version. Type-erasure has some pros and cons and in this video we will explore how to create one called AnyAsyncSequence and how we can use it.
#515
In this episode we will see how to create and use our own AsyncSequence, which allow us to iterate over values that can arrive asynchronously. We'll see how this compares to traditional sequences and how to make use of AsyncIterator to build our own AsyncSequence implementations.