Hacking with Swift+ Preview
You can browse through the latest tutorials below, or select a category from the left. Some videos in the categories are available for free, but most will be locked until you subscribe. When you subscribe, you'll get access to all these tutorials plus all new tutorials that get released.
In this article we’re going to look at the
reduce() function, which allows us to boil down multiple values to a single value as a way of summing up or summarizing a sequence. Continue Reading >
From iOS 17 onwards, we can dynamically adjust any SwiftUI views using Metal shaders. I’m going to show you how to do it, but not just how to apply them – I’m going to show you how to write your own shaders using Metal shading language! In this first article I’ll introduce how shaders work, along with some fundamental data types and a handful of Metal functions. Continue Reading >