From 97846fbf8ccd22bf29d44919e1c41ec04f8a8381 Mon Sep 17 00:00:00 2001 From: Gary Gan Date: Fri, 17 Jan 2025 15:23:34 +0800 Subject: [PATCH] Initial Commit --- Variables.playground/Contents.swift | 13 +++++++++++++ Variables.playground/contents.xcplayground | 2 ++ .../contents.xcworkspacedata | 7 +++++++ 3 files changed, 22 insertions(+) create mode 100644 Variables.playground/Contents.swift create mode 100644 Variables.playground/contents.xcplayground create mode 100644 swift-playground.xcworkspace/contents.xcworkspacedata diff --git a/Variables.playground/Contents.swift b/Variables.playground/Contents.swift new file mode 100644 index 0000000..43686ce --- /dev/null +++ b/Variables.playground/Contents.swift @@ -0,0 +1,13 @@ +import Foundation + + +let myName = "Gary" +let yourName = "Foo" + + +var names = [ + myName, + yourName +] + +names.append("fjflajfa") diff --git a/Variables.playground/contents.xcplayground b/Variables.playground/contents.xcplayground new file mode 100644 index 0000000..10de914 --- /dev/null +++ b/Variables.playground/contents.xcplayground @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/swift-playground.xcworkspace/contents.xcworkspacedata b/swift-playground.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..3264df6 --- /dev/null +++ b/swift-playground.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + +