Skip to content

Instantly share code, notes, and snippets.

@yusufozgul
Created July 10, 2019 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusufozgul/5bccd90b7048d2fce6d68ef80e5ef4c1 to your computer and use it in GitHub Desktop.
Save yusufozgul/5bccd90b7048d2fce6d68ef80e5ef4c1 to your computer and use it in GitHub Desktop.
Calculator-SwiftUI-1
var buttonsText = ["AC", "±", "%", "÷",
"7", "8", "9", "x",
"4", "5", "6", "-",
"1", "2", "3", "+",
"0", "00", ".", "="]
@State var screenValue = "0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment