Created
October 7, 2018 15:42
-
-
Save vialyx/893eb21e03e9e3dc8dd352730a1141ce to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let speedCamFine = Fine(id: UUID().uuidString, date: Date(), number: "104520", amount: NSNumber(value: 12.5)) | |
var highSpeedFine = speedCamFine | |
highSpeedFine.id = UUID().uuidString | |
highSpeedFine.number = "708908" | |
print("speedCamFine number: \(speedCamFine.number)") | |
print("highSpeedFine number: \(highSpeedFine.number)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment