● content and resources about iOS & macOS programming ●
Find in this video tutorial how to apply the clipShape modifier in SwiftUI views and apply a mask either using built-in or custom shapes.
Read about the onHover view modifier in SwiftUI that allows to detect and react on hover events and learn how to use it through a simple app.
Read about a special kind of buttons on macOS, the pop up and pull down buttons, and learn how to create them programmatically in Xcode.
Starting from iOS16, presenting modal sheets of various heights is finally possible in SwiftUI, and this post presents all you need to know.
Learn about the Command design pattern and find out how to implement it in Swift projects through a practical code example.
Progress view in SwiftUI got even better by becoming capable of reporting time based progress and this post presents this new useful feature.
Meet ProxyRepresentation in Transferable and learn how to specify additional transferable content along with the main transfer representation.
Get a first taste of the new Transferable protocol in SwiftUI, learning how to drag and drop objects of a custom Codable type using it.
Read about the Facade design pattern in Swift, what it’s all about and what its benefits are, and when and how to put it in motion.
Read about how to test error throwing code that exists in actors asynchronously and what to look out for smooth testing.