3 ms·
There are 10 different answers for how to take a substring by index+len, depending on which version of Swift. They even changed how arrays as function parameter
by morshu9001 1y ago
There are 10 different answers for how to take a substring by index+len, depending on which version of Swift. They even changed how arrays as function parameters work between versions.
- rTX5CMRXIfFG 1y agoSo then just use one version of Swift
- morshu9001 1y agoNot viable to stay on an old version, especially doing iPhone dev. The real answer back in the Swift 1-4 times was to just use ObjC instead, it still had full support.