-
Using the ViewBuilder Attribute to Implement SwiftUI Views in Methods
Meet the ViewBuilder attribute that enables us to create and return SwiftUI views from methods, and read about an additional useful tip.
-
Creating Enums with Custom Raw Type in Swift
Find out in this post how to create enums with raw values of custom types in Swift, and go through a demonstration of all you need to know.
-
Implementing A Custom Formatter in Swift
Learn how to create a custom formatter in Swift in order to validate and format displayed and user input values conveniently.
-
Frame vs Bounds in iOS: Implementing A Visual Demonstration
Find out what is the difference between frame and bounds in iOS through the implementation of a small app that explains everything visually.
-
The Factory Method Design Pattern
Meet the factory method design pattern through simple examples and find out how it helps to keep the various concepts in code separated.
-
Presenting The Preferences Window On macOS Using SwiftUI
Most macOS apps present a Preferences window to configure settings, and this post demonstrates how to do that in your own apps using SwiftUI.
-
Presenting Popovers in SwiftUI
Find out in this quick post how to present a popover in SwiftUI, what's important to remember, and what you should be expecting from it.