Join Dave and Sven, the creators of the Swift Package Index open-source project, as they talk about progress on the project and discuss a new set of community package recommendations every episode.
NSScreencast features weekly bite-sized videso on iOS development. This free feed is just a sample of what is available for members. Subscribe today at https://nsscreencast.com.
S
Swift Package Indexing


1
19: The SPI project is growing up, DocC uploading with AWS Lambda, and Are we server yet?
47:09
47:09
Play later
Play later
Lists
Like
Liked
47:09
News Are we server yet? AWS Graviton Packages swift-markdown-ui by Guille Gonzalez KVKCalendar by Sergei Kviatkovskii Draftsman by Nayanda Haberty tart by Cirrus Labs SunKit by Sunlitt PreviewResizable by Joan DuatBy Dave Verwer and Sven A. Schmidt
News AWS Graviton CPU Empower Apps podcast Quiz 46 packages (< 1%) are compatible with Swift 5.6 but not with 5.7 Packages Knob by Brad Howes swift-dependencies by Point-Free swift-dependencies-additions by Thomas Grapperon Foil by Jesse Squires swift-numberkit by Matthias Zenger JXKit by JECTIVE swift-screenshot-scribbler by Christoph Göldner…
News Server Side Swift conference The Future of Foundation Swift Cloud Swift AWS Lambda Runtime Packages RichTextKit by Daniel Saidi Zip by Roy Marmelstein ZIPFoundation by Thomas Zoechling SWCompression by Timofey Solomko DSFQuickActionBar by Darren Ford Lottie by Airbnb ArrayBuilder by Wilhelm Oks swift-backtrace by Nathan S.…
News DocC Quick Navigation feature by Sofía Rodriguez SemanticVersion Docs Preview SPIManifest Docs Preview ArgumentParser Docs Preview ServerSide.swift Conference Packages SwiftCompactor by OpenAlloc VanMoofKit by Sven Tiigi R.swift by Mathijs Kadijk GRDB by Gwendal Roué PonyExpress by Adam WulfBy Dave Verwer and Sven A. Schmidt
News Swift Package Indexing podcast feed DocC Quick Navigation feature by Sofía Rodriguez Argument Parser Quick Navigation preview Packages Atlantis by Proxyman swift-tagged by Pointfree Satin by Hi-Rez LaunchAtLogin-Modern by Sindre Sorhus xcodes by Robots and Pencils WolfLorem by Wolf McNallyBy Dave Verwer and Sven A. Schmidt
News SwiftPackageIndex on Mastodon SwiftPackageUpdates on Mastodon Packages Wave by Janum Trivedi text-to-emoji by Wouter Wisse swift-argument-parser by Apple SwiftGUI by Yonas Kolb (author of Mint) Diligence by InSeven Quick by Quick Nimble by QuickBy Dave Verwer and Sven A. Schmidt
News SPIManifest documentation Swift Argument Parser Raycast Swift Package Index extension by Maxim Krouk Search improvements Packages DynamicIslandUtilities by Suyash Srijan The Composable Architecture by Pointfree. We also mentioned this blog post. RubyGateway by John Fairhurst StatKit by Jimmy M Andersson…
News Package Registry Service Reference implementation Packages Kitura 3.0 by the Kitura Team Snapshot Testing by Pointfree (Brandon Williams & Stephen Celis) Shwift by George Lyon Physical by Jeff Biggus Jeff’s talk at 360|iDevBy Dave Verwer and Sven A. Schmidt
News Virtualization framework VirtualBuddy by Guilherme Rambo. Packages PackageBuildInfo by Dmitriy Borovikov DeckUI by Josh Holtz swift-math-parser by Brad Howes MarkCodable by Marin TodorovBy Dave Verwer and Sven A. Schmidt
Packages SoulverStringParsing by Zac Cohan MarkupEditor by Steve Harris AckGen by Martin Pfundmair Bagbutik by Morten Bjerg Gregersen XCTestHTMLReport by the XCTestHTMLReport teamBy Dave Verwer and Sven A. Schmidt
News Improvements to search by Joe Heck Quiz Which author/organisation has shipped the most releases? by James Sherlock How many packages are there without any build failures? by Nathan Harris What package is most frequently used as a dependency? by Thomas Grapperon Packages ShortcutRecorder by Ilya Kulakov SwiftCommand by Josef Zoller Shwift by Ge…
News CPAN CoRecursive: Coding Stories CPAN - This Day In History Packages VisionFaceAware from Gentian Barileva DSFSparkline from Darren Ford Keyboard and Tonic from AudioKit MarkdownUI from Guille GonzalezBy Dave Verwer and Sven A. Schmidt
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 undernea…
Interview Simon Støvrin on Twitter Runestone simonbs.dev Simon’s Github profile Packages SDWebImage by SDWebImage Motion by Adam Bell Table by Jan Gorman SwiftyTextTable by Scott Hoyt Publish by John Sundell SwiftPackageList by Felix HerrmannBy Dave Verwer and Sven A. Schmidt
Packages AnyCodable by Flight School CompactSlider by Alexey Bukhtin Kodable by João Mourato QRCode by Darren Ford Runestone by Simon Støvring SFSafeSymbols by SFSafeSymbols ShapeScript by Nick Lockwood Time by Oleg Dreyman UIOnboarding by Lukman Aščić Veximoji by Arnold Rozon swiftui-app-icon-creator by Dariusz Rybicki…
Packages Quick and Nimble PythonKit and Violet CodeEditor WebViewKit, SwiftUIKit, and swiftui-system-colors Networking swift-parsing uniqueidBy Dave Verwer and Sven A. Schmidt
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…
One way of achieving modularization is to build frameworks using nested Xcode projects. This has the benefit of having everything in one place and can easily build the entire thing. You can also zero-in on a single project and just work from there if you want. Each sub-project can have its own tests, sample application, etc.…
In this episode we will talk about the overview and motivation for a modular project architecture. Why split things up? I'll talk about the problems we face, what benefits we may achieve, and how can we approach the problem.
One of my favorite new features of Xcode 13 is support for Vim key bindings. In this episode we will see how to enable this and I'll give a quick tour of how to get around using Vim.
In the next few episodes we will explore the concept of Protocol Witnesses. This is an advanced topic that can be somewhat hard to approach, but in learning about Protocol Witnesses you will see how we can leverage the Swift language and functional programming to do some really cool things.
Context menus are a great affordance for performing related actions to a UI element. Users can tap and hold to view the context menu, and the gesture is consistent across the OS so users will likely already be familiar with it. In this episode we'll show how to set up a basic context menu with a custom preview with normal and destructive actions.…
This is a discussion and code overview of another implementation of mapping models using key paths with a special guest, Antoine van der Lee! In this episode we talk about his initial goals and constraints, and some of the design tradeoffs he made while designing a solution that would give him a bidirectional mapping between Core Data entities and …
First introduced in iOS 13, UICollectionViewCompositionalLayout is an amazing and powerful addition that gives you lots of flexibility when describing layouts. There are a few new types to get used to (namely sections, groups, and items) but they all work together allowing you to keep layout separate from your views and your data.…
With UITableView no longer being encouraged for use, we need to replace this behavior with UICollectionView. This is where UICollectionViewListLayout comes into play. Using this layout we can get the familiar table view appearance in plain and grouped styles (as well as additional styles to support sidebars on iPad and macOS). This includes support…
In this episode we migrate our collection view to use the new cell registration API. Using this API we no longer need to cast dequeued cell types to our custom types. Instead, we set up the registration object with the cell type and the data we'll be passing to each cell. This further reduces the code we have to write in our datasource implementati…
In this episode we review the basic example app and start setting up our collection view in code. We start with the basic flow layout which is most common. Later we'll refactor this to use the newer style, but this episode introduces the series and sets up the foundation we'll build upon.
I've been working on rendering waveforms using mathematical functions and have found the experience to be both fun and enlightening. In this episode we will develop a method to render arbitrary functions using a Shape, then explore some mathematical concepts that can help us render a nice looking waveform that could be use to indicate activity in s…
With the introduction of LazyVGrid and LazyHGrid In iOS 14 we now have access to much more powerful grid-based layouts in SwiftUI. In this episode We will examine the different types of layouts we can accomplish with flexible, fixed, and adaptive sizing for our rows and columns. We'll look at how animations work between different layouts, and how t…
A few episodes back we covered how to wrap a UIActivityIndicatorView to show loading progress in SwiftUI. Now in iOS 14 this is built in. In this episode we'll cover the various styles, how to hook it up to a Progress instance, and how to create your own custom progress visualizations.
iOS 14 Beta is now available and one of the new features is Lazy stacks. With a normal stack, all the layout happened at once, which meant poor performance for large lists of content, grids, etc. With Lazy stacks the views are only created when they first come on screen, greatly increasing the usefulness of stacks for large or infinite collections …
Before Swift 5 we used to write our own Result type to contain a value or an error (but never both). A lot of 3rd party libraries brought along their own as well. Then Swift 5 came and brought us Result. Not only is it slightly different than the ones we might be familiar with, Swift's Result type also has some useful functionality up its sleeve.…
Sometimes we need to create variants of our icons. This can be done by using template images and using a UIImageView with a tintColor change, however sometimes this isn't feasible. We can use our icons along with a mask to create new images of whatever color we want. In this episode we'll use UIGraphicsImageRenderer to quickly draw a new dimmed ima…
Attaching gestures works quite a bit differently in SwiftUI than in UIKit. In this episode we will look at the @DragGesture property wrapper and how we can use gestures to update custom state that we can then use to transform our UI.
SwiftUI's declarative nature makes building UIs incredibly easy. In this episode we will build a wallet UI with cards. We will create a CardView so we can reuse it in multiple places. Then we will use transforms to alter it's size and position. Finally we will see how declarative animations work as we expand the cards apart.…
Now that we've seen a taste of SwiftUI, let's dive into a real example and build an app. We'll have a first look at @State variables we can use to creating a binding between our state and our UI, and we'll run into a few puzzling errors and see how we can coax Xcode into giving us the right error message.…
Back from WWDC 19 and blown away by the announcements. There's a lot to cover, but we'll start by digging into the most exciting announcement: SwiftUI. This is going to change everything...
Working with dates is a task that is universally applicable to Swift developers. Particularly when dealing with an API, dates can arrive in all shapes and sizes. We‘ll examine some of the common ones such as ISO 8601, show how to parse these formats into Date instances, and how to use DateFormatter to display them back again as a string. We‘ll also…
In this episode we configure our iOS app to receive push notifications, adding the OneSignal SDK to our project, configuring the Notification Service extension, and testing it out on a real device.
In this episode we look at how to generate a certification for adding push notification support for your app, using OneSignal as our push notification provider
In this episode we will setup iTerm2, profiles, custom color schemes, and fonts.
In this episode we look at some of the basic system preferences on macOS High Sierra. We set up the Dock, Keyboard shortcuts, and show how to customize key repeat timing outside of the preferences window.
UITableView can support scrolling through many rows of data, however fetching large amounts of remote data can slow down your app, use up too much memory, and bog down your web server. This is all wasteful if users aren‘t ever going to scroll down that far. In this episode you‘ll learn how to perform automatic UITableView pagination using an easy t…
In order to use CloudKit to read or write private data (or to write in the public database) the user will have to be signed in to iCloud on their device. If they are not, they'll not have a great experience, and things won't work. In this episode we'll check the account status before trying to save a record in CloudKit. We'll also respond to the no…
The first episode in a new series on CloudKit, here we see how to setup our project to use CloudKit as well as how to create and save our first record.
In this episode I am joined by Soroush Khanlou. Together we pair up to implement the Poker Hands Kata. We start off by parsing the raw string input into structured types, complete with tests.
In this free episode, we take a look at a core Swift 2 feature: Optionals. Unlike Objective-C, where nil is considered a no-op, in Swift nil is specifically recognized by the compiler, which forces you to handle cases where nil might be present in a variable.
In this free episode, Ben explores Swift 2 functions, how argument labels work, returning tuples, the guard clause, as well as extending behavior on core types.
In this episode we take a look at Swift 2's basic types such as Int, Double, Bool, Array, and Dictionary. This episode is part of a series covering Swift 2 from a beginner's perspective.
Continuing our build out of Road Trip DJ, this time I focus on the music player, and keeping the play/pause button in sync on UIToolbar, which proves to be more difficult than it should be.