Method Swizzling in Swift | Guardsquare Method Swizzling in Swift. If you know about method dispatch then… | by Pallavi Dipke | Medium @_dynamicReplacement(for:) attribute Building Stable Preview Views - How SwiftUI Previews Work