Interesting new Swift keyword I learned about today: "nonmutating."
e.g. UnsafeMutablePointer's
var memory: T { get nonmutating set }
Conversation
Replying to
I just discovered this myself. I'm using an enum to manage app defaults, and now I can…
AppDefault.Bounciness.intValue = 5
1
Yikes. What does that mean? Have a gist?
1
1
Show replies



