Skip to content

Instantly share code, notes, and snippets.

@lucianoschillagi
Last active October 21, 2024 16:01
Show Gist options
  • Save lucianoschillagi/db866116c659d2ed2e2925a336476b02 to your computer and use it in GitHub Desktop.
Save lucianoschillagi/db866116c659d2ed2e2925a336476b02 to your computer and use it in GitHub Desktop.
dump function (SSL)
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