Make your SwiftUI view modifiers safer
Is something wrong with this code?
struct ContentView: View {
var body: some View {
Text("Hello, world!")
padding()
}
}
Look closer 🧐
struct ContentView: View {
var body: some View {
Text("Hello, world!")
...
blog.eidinger.info2 min read
Cédric Bahirwe
iOS Engineer
Interesting tips, I wonder why Apple does not do the same with their own modifiers!?, e.g./
padding()