|
|
|
|
|
by cosn
4391 days ago
|
|
"Immutability has a slightly different meaning for arrays, however. You are still not allowed to perform any action that has the potential to change the size of an immutable array, but you are allowed to set a new value for an existing index in the array. This enables Swift’s Array type to provide optimal performance for array operations when the size of an array is fixed." https://developer.apple.com/library/prerelease/ios/documenta... |
|