ArraySlice In Swift

Apple describes ArraySlice as “Views onto Arrays”. It means that an ArraySlice is an object which represents a subsequence of its array. It’s very powerful and allows us to perform the same array operations on a slice like append, map and so on. In this article, we will see how to create it and some internal behaviors to avoid troubles.


Want to receive more content like this in your inbox?