Skip to content

Instantly share code, notes, and snippets.

@azamsharp azamsharp/.swift
Created Oct 9, 2019

What would you like to do?
struct ContentView: View {
@State private var isOn: Bool = false
var body: some View {
return VStack {
Text(self.isOn ? "🌞" : "🌙")
.font(.custom("Arial", size: 100))
DayNightView(isOn: $isOn)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.