Do you think Swift structs are safe? This video may change your mind. “Structs should be the default choice” and “Only use classes when necessary” is common advice but might be misleading. We’d like to show you a different way of looking at the “Structs v... (more…)
Read more »
What are Swift function builders? What is SwiftUI ViewBuilder? How Swift function builders work on the compiler level? How to implement a function builder in Swift? These are the questions to answer in this Swift function builders tutorial. (more…)
Read more »
Hey all, Swift has always been designed to be safe-by-default. This informs runtime features like bounds checking, integer overflow checking, and automatic reference counting, and type system features like optionals. But this safety has never extended to... (more…)
Read more »
Learn how to build an interactive bar chart to visualize data of Taylor Swift lyrics using @Observable and @d3js_org. (more…)
Read more »
At WWDC21, Apple has introduced Swift 5.5, available in beta. Among its new features, one of the most anticipated is better concurrency support using aysnc/await and actors. (more…)
Read more »