Hello, World!
This is the first post on this blog. Let’s make sure syntax highlighting works with a Swift example.
A simple Swift snippet
import SwiftUI
struct ContentView: View {
@State private var count = 0
var body: some View {
VStack(spacing: 16) {
Text("Count: \(count)")
.font(.title)
Button("Increment") {
count += 1
}
}
.padding()
}
}
That’s it for now. More posts to come.