That’s okay, because == will compare the UUIDs themselves in Swift, via -isEqual:. If it looks like a value and talks like a value…
Conversation
So, that’s value semantics, but not value type semantics (if you’ll pardon the, ahem, arguing of semantics)—
1
I think the distinction is academic at best. `var` and `let` will behave the same for it as they would a struct or enum.
1
1
Well, but it isn’t academic: they compile to very different code, & `struct` is documentation.
1
I also don’t want to force Cocoa on every consumer.
1
1
This Is Why We Can’t Have Nice Things
1
1
Because Cocoa? I agree :P
1
Because reinventing the wheel
2
4
When the extant wheel does not suffice, we call it ‘engineering.’
1
2
But it _does_ suffice. You’ve decided that some very marginal benefits outweigh the drawbacks of duplication and confusion.
2
1
Replying to


