Paul O'NeillHow to make your Swift code thread safeIn the realm of concurrent programming, encountering unexpected behavior in your code can often lead to a daunting debugging process…Jan 262Jan 262
Paul O'NeillYou should start using the new Observation framework in your SwiftUI codeAfter reading this article from Apple about migrating from the ObservableObject protocol to using the new Observation framework, it…Jan 82Jan 82
Paul O'NeillUnderstand how “lazy” works in SwiftSwift provides several techniques to enhance code performance, and the lazykeyword for properties stands out as a particularly effective…Nov 21, 20232Nov 21, 20232
Paul O'NeillMutability in SwiftIn the realm of Swift programming, understanding the nuances of mutability in classes and structs is crucial for crafting robust and…Nov 11, 2023Nov 11, 2023
Paul O'NeillSix amazing macOS keyboard shortcuts you don’t useLooking to optimize your workflow on macOS? These keyboard shortcuts will surely help you speed things up. If I don’t have to lift my hands…Aug 2, 2023Aug 2, 2023
Paul O'NeillFun hotkeys in Xcode you might not know aboutGetting to know and memorizing hotkeys has greatly improved my developer experience while in Xcode. Recently I searched for some more…Mar 21, 2023Mar 21, 2023
Paul O'NeillThe “any” keyword in SwiftThe Swift team has improved expressing generics in Swift by adding the “some” keyword which allows for converting this line of code:Mar 17, 2023Mar 17, 2023
Paul O'NeillThe “some” keyword in SwiftIf you have started writing your UI Code in SwiftUI, you surely have noticed the “some” keyword in the body variable of a View:Mar 10, 20231Mar 10, 20231