Last active
October 21, 2024 16:01
-
-
Save lucianoschillagi/db866116c659d2ed2e2925a336476b02 to your computer and use it in GitHub Desktop.
dump function (SSL)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
struct Beatle { | |
let name = "George Harrison" | |
let instrument = "Guitar and Vocals" | |
let yearOfBorn = 1943 | |
let hisHitsSongs = ["Something", "Here comes the sun", "My Sweet Lord", "While My Guitar Gently Weeps"] | |
let wasAGreatMusician = true | |
} | |
let george = Beatle() // A 'Beatle' struct instance (an object) | |
// print(george) | |
dump(george) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment